delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/09/12/21:31:26

Date: Sat, 12 Sep 1998 21:30:11 -0400 (EDT)
Message-Id: <199809130130.VAA23839@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: nate AT cartsys DOT com
CC: djgpp-workers AT delorie DOT com
In-reply-to: <35FAED35.50495E82@cartsys.com> (message from Nate Eldredge on
Sat, 12 Sep 1998 14:52:53 -0700)
Subject: Re: inlines/pc.h not inside #ifndef...

> All the definitions in inlines/pc.h are not inside #ifndef
> __STRICT_ANSI__ or anything else.  This means that a compilation under
> `-ansi' that #includes that or pc.h will get the definitions. 
> Obviously, a real ANSI program will not include them, but all the other
> non-portable headers have these wrappers.  Should inlines/pc.h?

inlines should be protected by a separate #ifdef in the file that
includes them (include/pc.h), but they probably should be
ansi-protected separately as well.  I never intended those to be
included by themselves.

- Raw text -


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