Bug#62327: [aj@oss.sgi.com: Re: Some way for an application to detect -traditional?]
----- Forwarded message from Andreas Jaeger <aj@oss.sgi.com> -----
To: David
Cc: gcc@gcc.gnu.org
Subject: Re:
From: Andreas
User-Agent: Gnus/5.0804 (Gnus v5.8.4) XEmacs/21.1 (Bryce Canyon)
Date: 14 Apr 2000 11:51:56 -0700
> Is there some way for an application to detect if -traditional
> was used on the command line? glibc2.1 no longer supports
> -traditional, and it is the path of least resistance to get
> glibc2.1 header files to detect that and emit a clear error
> instead of many confusing ones.
glibc 2.2 will have in <sys/cdefs.h>:
/* The GNU libc does not support any K&R compilers or the traditional mode
of ISO C compilers anymore. Check for some of the combinations not
anymore supported. */
#if defined __GNUC__ && !defined __STDC__
# error "You need a ISO C conforming compiler to use the glibc headers"
#endif
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
currently: aj@oss.sgi.com
----- End forwarded message -----
--
David Starner - dstarner98@aasaa.ofe.org
Only a nerd would worry about wrong parentheses with
square brackets. But that's what mathematicians are.
-- Dr. Burchard, math professor at OSU
Reply to: