This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Make ObjC an extension of C (Take 2)
- From: Ziemowit Laski <zlaski at apple dot com>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: Ziemowit Laski <zlaski at apple dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 8 Aug 2002 23:56:37 -0700
- Subject: Re: PATCH: Make ObjC an extension of C (Take 2)
On Thursday, August 8, 2002, at 11:51 , Neil Booth wrote:
Ziemowit Laski wrote:-
Further to what you said in your mail, IMO FSF ObjC shouldn't move
to GNU99 as default before FSF C does. Joseph isn't keen on doing
that for quite a while I think.
That actually makes sense too. Still, I'll soon (tomorrow, perhaps?)
offer a patch that should allow people to use C99 with ObjC if they
choose to.
But your existing patch already does that (as does existing GCC):
gcc myfile.m -std=gnu99
Yes, but C99 designated initializers will not work in ObjC until I put
in the parser fix. That's what I was referring to; sorry for not being
clearer.
--Zem
--------------------------------------------------------------
Ziemowit Laski 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group Cupertino, CA USA 95014-2083
Apple Computer, Inc. +1.408.974.6229 Fax .5477