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: [RFA:] cpplib, c-opts: Don't warn on dollars in builtin macro definitions.


> Date: Thu, 12 Jun 2003 06:56:11 +0100
> From: Neil Booth <neil@daikokuya.co.uk>

> Hans-Peter Nilsson wrote:-
> > Ok to commit?
> Yes, this is great, thanks a lot for looking into this.
No worries: all ends well; thanks for the review.

> [ I'm still confused by how this warning arises, since cris.h only
> puts the '$' in a string literal, but one day when I have time I'll
> build a cross and see. ]

I think I can answer that: it's a string literal in the port tm.h
(REGISTER_PREFIX), but for cpplib to see it as a string literal
at __REGISTER_PREFIX__ define time, it'd had to be "\"$\"", not
just "$".

brgds, H-P


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