This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Some way for an application to detect -traditional?
- To: dstarner98 at aasaa dot ofe dot org
- Subject: Re: Some way for an application to detect -traditional?
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Fri, 14 Apr 2000 09:24:44 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <20000414091921.A21944@x8b4e53cd.dhcp.okstate.edu>
On Fri, Apr 14, 2000 at 09:19:21AM -0500, David Starner wrote:
> 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.
__STDC__ is not defined in -traditional mode.
zw