This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC headers and DJGPP port
- To: eliz at is dot elta dot co dot il, martin at loewis dot home dot cs dot tu-berlin dot de
- Subject: Re: GCC headers and DJGPP port
- From: Mike Stump <mrs at windriver dot com>
- Date: Wed, 19 Jul 2000 14:38:04 -0700 (PDT)
- Cc: djgpp-workers at delorie dot com, gcc at gcc dot gnu dot org, lauras at softhome dot net
> Date: Wed, 19 Jul 2000 14:26:25 -0400 (EDT)
> From: Eli Zaretskii <eliz@delorie.com>
> To: martin@loewis.home.cs.tu-berlin.de
> Seriously, though: the conclusion was that we didn't like the
> redefinition of NULL in C++ headers (see my other message for the
> problems this causes). But we couldn't understand why does the C++
> compiler redefines NULL in its headers, so we couldn't find a
> solution that would satisfy us all and avoid breaking the C++
> compiler at the same time. Perhaps you could help.
Sure, change all definitions of NULL to more closely match gcc's
notion of null, and you're done. Sprinkle in #undef NULL if you get
redefinition errors.