This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: work-around for bug in -traditional-cpp
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Marc Espie <espie at nerim dot net>
- Cc: Andreas Schwab <schwab at suse dot de>, gcc at gcc dot gnu dot org,gcc-patches at gcc dot gnu dot org
- Date: Sat, 29 Nov 2003 21:50:42 +0000
- Subject: Re: PATCH: work-around for bug in -traditional-cpp
- References: <20031125125336.GA3717@tetto.gentiane.org> <email@example.com> <20031129154742.GA17134@tetto.gentiane.org>
Marc Espie wrote:-
> On Tue, Nov 25, 2003 at 02:27:50PM +0100, Andreas Schwab wrote:
> > An even simpler test case:
> > #define a(b,c)
> > #if 0
> > #define b(x,y) a(x)
> > #endif
> > cpp.c:3: macro "a" requires 2 arguments, but only 1 given
> > Interestingly, changing #if 0 to #if 1 removes the error.
> Okay, it looks like trad-cpp is messing with skipping.
If you're skipping you shouldn't even be attempting to expand