This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: work-around for bug in -traditional-cpp
- From: Marc Espie <espie at nerim dot net>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: Andreas Schwab <schwab at suse dot de>, gcc at gcc dot gnu dot org,gcc-patches at gcc dot gnu dot org
- Date: Sun, 30 Nov 2003 00:21:07 +0100
- Subject: Re: PATCH: work-around for bug in -traditional-cpp
- References: <20031125125336.GA3717@tetto.gentiane.org> <email@example.com> <20031129154742.GA17134@tetto.gentiane.org> <20031129215042.GA18674@daikokuya.co.uk>
- Reply-to: espie at nerim dot net
On Sat, Nov 29, 2003 at 09:50:42PM +0000, Neil Booth wrote:
> > Okay, it looks like trad-cpp is messing with skipping.
> If you're skipping you shouldn't even be attempting to expand
Yes, sure. But I don't think trad-cpp knows whether it's skipping
at this point. It does expand macros early, and then it will use
them or discard them when it finds out whether it's skipping or not.
This is not my code. I'm only concerned about not getting warnings
when I should not get any, e.g., make the code work.
If you can figure what's actually going on, and can clean it up,
that will be fine.