Could we get glibc2.1 to check __STDC__ and complain if it's not
defined? Something like
#ifndef __STDC__
        #error You can't use glibc 2.1 with -traditional
#endif ?

----- Forwarded message from Zack Weinberg <[EMAIL PROTECTED]> -----

From: Zack Weinberg <[EMAIL PROTECTED]>
Date: Fri, 14 Apr 2000 09:24:44 -0700
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: Some way for an application to detect -traditional?
User-Agent: Mutt/1.1.9i
In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Fri, Apr 14, 2000 
at 09:19:21AM -0500

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

----- End forwarded message -----

-- 
David Starner - [EMAIL PROTECTED]
Only a nerd would worry about wrong parentheses with
square brackets. But that's what mathematicians are.
   -- Dr. Burchard, math professor at OSU

Reply via email to