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.