This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More sensible ObjC handling in cpplib.
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org, Stan Shebs <shebs at apple dot com>
- Date: Wed, 15 May 2002 15:24:04 -0700
- Subject: Re: More sensible ObjC handling in cpplib.
- References: <20020515220319.GA9280@daikokuya.demon.co.uk>
On Wed, May 15, 2002 at 11:03:19PM +0100, Neil Booth wrote:
> When looking to remove most of the remaining alpha/ specs, most of which
> are based on the choice of language, I noticed that we don't seem to be
> handling ObjC intelligently as a language selector in cpplib.
>
> IMO, "-std=c99 -lang-objc" and "-lang-objc -std=c99" should both give
> the C99 standard with ObjC extensions (namely, @ strings). However,
> with the current implementation the former gives C89 ObjC, and the latter
> C99 with no ObjC, because they are considered mutually exclusive, and
> the latter wins.
I have no problem with this, but wait for what Stan says.
zw