Mail Archives: djgpp/1998/06/16/10:32:37
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 -