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]

Re: GCC Pre-processor bug?


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


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