delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/23/23:29:08

Message-Id: <3.0.16.19980323234116.32d7668e@hem1.passagen.se>
Date: Mon, 23 Mar 1998 23:41:42 -0500
To: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
From: Peter Palotas <blizzar AT hem1 DOT passagen DOT se>
Subject: Re: NULL redefined! :(
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019