Date: Sun, 2 Feb 2003 08:06:43 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Richard Dawe cc: djgpp-workers AT delorie DOT com Subject: Re: stdio.h: vfscanf(), vscanf(), vsscanf() In-Reply-To: <3E3C602C.C2EDF04B@phekda.freeserve.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk On Sun, 2 Feb 2003, Richard Dawe wrote: > I think we should have another ANSI section in the header files. Something > like this, perhaps: > > #ifndef __dj_ENFORCE_ANSI_FREESTANDING > > ...C89 declarations here... > > #if (__STDC_VERSION__ >= 199901L) || !defined(__STRICT_ANSI) > ...C99 declarations here > #endif > > #ifndef __STRICT_ANSI__ > > ... > > #ifndef _POSIX_SOURCE > > ... Yes. Please also change the sample header to have this template. > There would also be another section in for ANSI C89 functions > that call ANSI C99 functions (if there are any). Right.