Message-Id: <3.0.16.19980323234116.32d7668e@hem1.passagen.se> Date: Mon, 23 Mar 1998 23:41:42 -0500 To: "Salvador Eduardo Tropea (SET)" From: Peter Palotas Subject: Re: NULL redefined! :( Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk At 11.40 1998-03-23 +0000, you wrote: >Peter Palotas wrote: > >> It seems as the c-library and the C++ library isn't fully compatible or >> something (as of version 2.8.0)... When including or in >> my C++ files I get warnings about NULL being redefined in stdlib.h, and >> string.h ... > >The same is for various headers. I fixed various headers at home. Well, I simply put an #ifndef NULL around all the NULL redefinitions as found by the compiler. The reason I posted this message was to alert people working on DJGPP of this problem, and not so much a question on how to solve it. -- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se -- ****************************************************** * A brief description of DJGPP: * * NEVER BEFORE HAVE SO FEW DONE SO MUCH FOR SO MANY! * ******************************************************