[cfe-dev] Fixing selector types on the GNU runtime

Mike Stump mrs at apple.com
Mon Jan 19 13:25:37 PST 2009


On Jan 18, 2009, at 3:01 PM, David Chisnall wrote:
> NULL is #defined as 0 for C++ on FreeBSD.

This is wrong.  If you're using a recent g++ based compiler, NULL  
should be __null in g++.  :-)

> I get missing sentinels in a huge numbers of missing sentinel errors  
> when
> building LLVM.

And do they go away if you have NULL defined correctly?



More information about the cfe-dev mailing list