This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA:] cpplib, c-opts: Don't warn on dollars in builtin macro definitions.
Hans-Peter Nilsson wrote:-
> > [ 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 "$".
Yes. My confusion convinced me that the issue wasn't at built-in
creation time.
Neil.