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: More sensible ObjC handling in cpplib.


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


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