This is the mail archive of the gcc-bugs@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]

Re: preprocessor bug: @ + MACRO does not work in gcc-3.0


Ovidiu Predescu wrote:-

> I'm sorry for any confusion I might have caused. What I actually meant
> to say is that the @CPP_MACRO is perfectly valid syntax in
> Objective-C, because the preprocessor is assumed to expand CPP_MACRO
> before passing it to the front-end. There is a lot of code out there
> relying on this feature of the compiler.

OK, great, we've got that clear.  Something along the lines of Zack's
patch is definitely the right way to go, then.

> I believe this was solution 2) that you proposed, am I right? As messy
> as it looks, I believe this is the right solution to the problem.

No it's solution 3).  Solution 2) is definitely not a good idea.

Neil.


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