This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, ObjC/C++] Recognize attributes on class, category and protocol declarations.



On 26 Sep 2010, at 15:26, Nicola Pero wrote:

I wonder about the warning messages though. They mention "ObjC Version 1",
but I'm not even sure I know myself what "ObjC Version 1" is ;-)

Hm. I wonder if it was ever official
Perhaps we can only go by release dates (of XCode versions supporting additional features)
--- that will require a trawl through the release notes (see below).


I would suggest we use something more neutral (for now), such as

class attributes are ignored (not supported by the compiler)

fine by me - I intend that the 'unimplemented' phase will only last for a short time.


We'll need to classify and document the Objective-C features as we're going to be
adding all the new ones, so we may want to revisit the message once we have done
some classification (which should probably go in the gcc/doc/ standards.texi).

I would like to have (very soon) something equivalent to the
-std= option (maybe -objc-std= ) so that we can have an enum (e.g. apple_200x ... or gnu_xxx ) so that we can provide decent diagnostics for compatibility.
I think this needs discussion on a separate thread tho.


Iain


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]