Mail Archives: djgpp-workers/1998/09/12/17:56:29
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?
Alternatively, the #inclusion from pc.h could be moved inside the
#ifndefs.
I noticed this when trying to make a tool to automatically write
portability notes.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -