delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/07/20/18:31:06

Date: Thu, 20 Jul 2000 18:30:42 -0400
Message-Id: <200007202230.SAA00855@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: martin AT loewis DOT home DOT cs DOT tu-berlin DOT de
CC: djgpp-workers AT delorie DOT com, gcc AT gcc DOT gnu DOT org
In-reply-to: <200007202042.WAA00946@loewis.home.cs.tu-berlin.de>
(martin AT loewis DOT home DOT cs DOT tu-berlin DOT de)
Subject: Re: GCC headers and DJGPP port
References: <200007180918 DOT FAA06988 AT indy DOT delorie DOT com> <200007181913 DOT VAA01170 AT loewis DOT home DOT cs DOT tu-berlin DOT de> <200007191826 DOT OAA08693 AT indy DOT delorie DOT com> <200007200729 DOT JAA01060 AT loewis DOT home DOT cs DOT tu-berlin DOT de> <200007201024 DOT GAA09536 AT indy DOT delorie DOT com> <200007201205 DOT OAA15361 AT loewis DOT home DOT cs DOT tu-berlin DOT de> <200007201437 DOT KAA29757 AT envy DOT delorie DOT com> <200007202042 DOT WAA00946 AT loewis DOT home DOT cs DOT tu-berlin DOT de>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > It doesn't.  It shouldn't have to.  ANSI says that stdio.h provides
> > NULL.  
>
> so it is not all that clear that it is provided by stdio.h
> exclusively.

I didn't say exclusively.  I said stdio.h provides it.  Headers that
expect stdio.h to *relinquish* its provision of NULL are broken.  The
other djgpp headers that also provide NULL cooperate so that none of
them have to relinquish their provisions to the others.

> Please tell me how you implement the above requirement without testing
> whether NULL has been defined?

They all define it to exactly the same thing: 0

- Raw text -


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