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


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


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