Mail Archives: djgpp/1997/08/10/10:49:49
On Mon, 4 Aug 1997, Erik Max Francis wrote:
> This, I would suspect, is because the -ansi switch only affects how the
> _language_ is processed, not which functions rae included when you link in
> the standard library.
The -ansi switch is not seen by the linker at all. However, note that
-ansi causes the __STRICT_ANSI__ symbol to be predefined, and the
DJGPP C headers will exclude prototypes of all the non-ANSI function
in this case. So if you use -ansi -Wall, the compiler will warn about
functions without prototypes.
- Raw text -