Warning for unadorned 0 in varargs lists?

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Mon Aug 23 17:04:00 GMT 2004


 > How can you differentiate 0 from NULL given that NULL is usually
 > defined as 0?
 >      paul

GCC supplies headers that define NULL to (void*)0 for C and to __null
for G++.  So if you use the NULL macro GCC should never see an
unadorned 0.

--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu



More information about the Gcc mailing list