Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
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