autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem in Tru64 with autoconf choosen cc flags [PATCH]


From: Paul Eggert
Subject: Re: Problem in Tru64 with autoconf choosen cc flags [PATCH]
Date: 14 Jan 2004 13:17:40 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Nicolás Lichtmaier <address@hidden> writes:

> So it seems to me that the retionale for definining __STDC__ to 0 is:
> "We allow code which is not strictly ANSI in this mode". This is also
> true for the normal gcc mode!

That is a bug in GCC that should be fixed.  I fixed it long ago for
GCC on Solaris: ot defines __STDC__ to be 1 in user code (though it is
still 0 in system headers, since that's what the Solaris system
headers want).

But if -std doesn't handle \x in strings, then it's not upward
compatible with C89, so it still seems to me that -std1 would
be more appropriate.

What exactly does -std1 disable?  Why is it bad to use -std1?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]