Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - alloca.h has no define for NULL: (2 Items)
   
alloca.h has no define for NULL  
The alloca.h header in QNX7 is using NULL but has no #define for it.

This causes compilation failure when no other system header is include:
alloca.cpp:44:5: error: 'NULL' was not declared in this scope

This occurs in Qt configure tests which tests for presence of alloca()

Re: alloca.h has no define for NULL  
You are correct. The header should not be using NULL.

--Elad