On Thu, Apr 28, 2011 at 6:24 PM, Geoff McLane <ubu...@geoffair.info> wrote:
> On Thu, 2011-04-28 at 13:40 +0200, Csaba Halász wrote:
> []
>> NULL has never been officially defined in any C++ header that I know.
>> So code that relies on that is broken.
> []
>
> It is interesting you say that... do you have a reference?
> Always interested to learn, know more ;=))

Erm, standards won't list things NOT defined, sorry :)

> Does that not indicate NULL is defined in <stdio.h>, or
> in another header included by it, or do you not consider
> this a C++ header? Or something...

Indeed, stdio.h is not a c++ header. In C++ code, you can get NULL
defined if you include <cstddef> or <cstdio> (and probably others, for
which the C standard says it defines NULL).

-- 
Csaba/Jester

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to