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]
Other format: [Raw text]

Re: Preprocessor: some dollars-in-identifiers mishap broke cris-axis-elf


Hans-Peter Nilsson wrote:-

> Actually, I think I can work from your suggestion, with a
> difference: set cpp_opts->warn_dollars = 0 around the builtin
> macro definitions, or better initially set it to 0, then set it
> to your proposed expression after the builtin macro definitions
> in finish_options.  Deal?

Ah, I see the problem now.  It's actually the macro definition that is
causing the warning.  That hadn't clicked, sorry.

> This means no "conforming" C program can work with
> __REGISTER_PREFIX__, but I guess that's as it should be; that
> macro is for use only in assembly files.  (*Please* correct-me.)

Sure, this sounds like a plan, and we shouldn't have to change
the condition for its final setting that was in cppinit.c.

Thanks,

Neil.


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