delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/06/21:43:54

Sender: nate AT cartsys DOT com
Message-ID: <375B22C8.8F55301B@cartsys.com>
Date: Sun, 06 Jun 1999 18:39:20 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: NULL redefined
References: <MPG DOT 11c5026ccc7874e998ad38 AT news DOT freeserve DOT net>
Reply-To: djgpp AT delorie DOT com

Andrew R. Gillett wrote:
> 
> In file included from c:/tools/djgpp/lang/cxx/stl_alloc.h:57,
>                  from c:/tools/djgpp/lang/cxx/alloc.h:21,
>                  from c:/tools/djgpp/lang/cxx/std/bastring.h:39,
>                  from c:/tools/djgpp/lang/cxx/string:6
>                  from map.cpp:2:
> c:/tools/djgpp/include/stdlib.h:16: warning: 'NULL' redefined
> c:/tools/djgpp/lang/cxx/libio.h:88: warning: this is the location of the
> previous definition
> 
> map.cpp is simply:
> 
> #include <cstdio>
> #include <string>
> #include <map>
> 
> int main (void) {}

What version of DJGPP is this?  According to the sources, it shouldn't
happen with v2.02.

The warning is harmless and may be ignored, if you don't want to trouble
to investigate it.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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