This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Preprocessor: some dollars-in-identifiers mishap broke cris-axis-elf
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Jun 2003 20:51:15 -0400 (EDT)
- Subject: 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