Preprocessor: some dollars-in-identifiers mishap broke cris-axis-elf
Hans-Peter Nilsson
hp@bitrange.com
Wed Jun 11 00:51:00 GMT 2003
On Tue, 10 Jun 2003, Hans-Peter Nilsson wrote:
> On Tue, 10 Jun 2003, Neil Booth wrote:
> > Since you have this issue, if you're happy with my suggestion,
>
> Nope, I'll come up with something different, perhaps for
> __REGISTER_PREFIX__ only.
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?
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.)
brgds, H-P
More information about the Gcc-bugs
mailing list