Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9
-
None
-
-
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
For Gerrit Dashboard: QTBUG-59700 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
189358,3 | qnx: make alloca config test pass on QNX 7 | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |
191570,8 | alloca: detect whether alloca.h exists | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |
191571,7 | Update the alloca() support in QtQml | 5.9.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |