Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59700

alloca test fails on platforms were it is available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.0 Beta 4
    • 5.9
    • Core: Other
    • None
    • QNX
    • qtbase/98c1d516b7f7624f7fcd7b9046783e3903a6a42b, qtdeclarative/a225bddf67f4786c845193630d4ab20b99a2fc3a

    Description

      config.test/common/alloca fails on multiple platforms where it is available.

      • On mingw32,msvc* there is no alloca.h, but alloca() is defined in malloc.h
      • On *BSD, there is no alloca.h, but alloca() is defined in stdlib.h
      • On QNX7, there is alloca.h, but it's buggy and needs another header (such as stdlib.h) to define NULL for it.

      This causes e.g., qtdeclarative/v4 to use malloc/free where alloca() could be used.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes