Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" 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 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: NULL redefined in djgpp headers In-reply-to: <1998061221285400.RAA04550@ladder03.news.aol.com> Precedence: bulk zoey4pres AT aol DOT com (Zoey4Pres) wrote: > I #included 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