This is the mail archive of the
mailing list for the GCC project.
Re: ObjC/ObjC++: updated documentation on supported standards, and added -fobjc-std=objc1
On 2 Nov 2010, at 13:44, Nicola Pero wrote:
.. the only issue with using 'std' is that there are no 'standards'
But I'd like to use "std" in the name because it does the same
-std=... does for C/C++: it makes the compiler conform to a certain
of the language. In this case, the dialect ("Objective-C 1.0") is
by referring to a reference implementation (GCC 4.0). I'd say that
same as what an option like -std=gnu89 does. Most GCC users are
-std=c90 and similar and it makes sense for them to have an option
a similar name (-fobjc-std=...) for the Objective-C dialect. (it
argued that it should be -objc-std=... to be more similar to -std=...)
If we don't want to use "std", maybe I'd be happy with -fobjc-
Mike OK'd it already ;-)