delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/16/10:32:37

Message-Id: <m0ylwhN-000S3nC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: zoey4pres AT aol DOT com (Zoey4Pres), djgpp AT delorie DOT com
Date: Tue, 16 Jun 1998 11:31:39 +0000
MIME-Version: 1.0
Subject: Re: NULL redefined in djgpp headers
In-reply-to: <1998061221285400.RAA04550@ladder03.news.aol.com>

zoey4pres AT aol DOT com (Zoey4Pres) wrote:

> I #included <string> in a small test program, running gcc 2.80, and got the
> following errors:  from .../stl_alloc.h:57,
>                         from .../alloc.h:21,
>                         from .../std/bastring.h:39,
>                         from .../string:6,
> ...
> .../stdlib.h:16: warning: 'NULL' redefined
> .../libio.h:88: warning: this is the location of the previous definition
> 
> I checked and there was no #ifndef around the NULL in stdlib.h
> I haven't checked all the intermediate files.  Any comments?  Thanks.

Is a known problem with djgpp v2.01. You must add your own #ifndef NULL.

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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