Mail Archives: djgpp-workers/2000/03/08/07:25:44
On Wed, 8 Mar 2000, Eli Zaretskii wrote:
> On Wed, 8 Mar 2000, Hans-Bernhard Broeker wrote:
>
> > Just add the same two lines to wchar.h that are already in all the other
> > ANSI headers that also define NULL (it's defined by half a dozen of
> > them...):
> >
> > #undef NULL
> > #define NULL 0
>
> Won't this make trouble in C++ programs?
Why should it? This is the exact definition found in current DJGPP
headers, already. So if there were trouble to expected from that, C++
programmers would have told us. If memory serves, C++ is what makes it
necessary to write '0' for NULL, instead of the more traditional
'(void*)0'.
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -