Mail Archives: djgpp/1998/03/23/23:29:08
At 11.40 1998-03-23 +0000, you wrote:
>Peter Palotas <blizzar AT hem1 DOT passagen DOT se> 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 <algo.h> or <stack.h> 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! *
******************************************************
- Raw text -