This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Handling of extern inline in c99 mode
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Andrew Pinski <pinskia at gmail dot com>, Geoffrey Keating <geoffk at apple dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 01 Nov 2006 09:04:36 -0800
- Subject: Re: Handling of extern inline in c99 mode
- References: <2F4A331E-BB1F-4E0A-98E5-DF337E926B79@apple.com> <1162359635.19236.1.camel@celery.andrew.com> <m34ptj5f4g.fsf_-_@dhcp-172-18-118-195.corp.google.com>
Ian Lance Taylor wrote:
Here is a review followed by a proposal.
How does this proposal handle the current problematic situation that
-std=c99 is broken on Linux?
We could either revert Geoff's patch, or conditionalize it on Linux.
I'd argue against the latter approach (which is what I believe Geoff
posted), in that it would break one of the key advantages of GCC: that
the compiler behaves the same way on multiple systems.
I think the proposal is as good as we can do, given the box that we're
in (and let this be a caution to us with respect to implementing
extensions before standardization, especially without use of GNU
keywords/syntax), but I think we should preserve both cross-system
compatibility and Linux compilation in the meanwhile.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713