delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/10/10:49:49

Date: Sun, 10 Aug 1997 17:49:27 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Erik Max Francis <max AT alcyone DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: "Missing" functions
In-Reply-To: <33E60A13.DAA26A8@alcyone.com>
Message-ID: <Pine.SUN.3.91.970810174903.4651U-100000@is>
MIME-Version: 1.0

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 -


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