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: C/ObjC: Fast enumeration for Objective-C


> * decided that, unlike in the Apple compiler, "for (id object in collection)" is only available
> when using -std=c99.

By the way, I have a slight preference for this solution as it makes the code simpler (and it
makes more sense to me) but I don't have a strong opinion; if someone was to produce a patch
to have the compiler accept that syntax even without -std=c99, for compatibility with Apple
compilers, it would be fine by me. ;-)

Thanks


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