This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Pre-processor bug?
- To: Geoff Keating <geoffk at geoffk dot org>
- Subject: Re: GCC Pre-processor bug?
- From: Dave Brolley <brolley at redhat dot com>
- Date: Tue, 31 Oct 2000 16:03:48 -0500
- CC: nismo at freeuk dot com, gcc-bugs at gcc dot gnu dot org
- Organization: Red Hat Canada, Inc
- References: <E13qgOw-0001pP-00@scrabble.freeuk.net> <jmaebkvkgj.fsf@envy.cygnus.com>
Geoff Keating wrote:
> You probably want to wrap the 'Concat3' macro in another macro, like
>
> #define Concat3_2(a,b,c) Concat3(a,b,c)
> DIRNAME=Concat3_2(Parent,PathChar,Child)
>
> -
This still won't work in -traditional because it does not pre-expand arguments.
Dave