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: Still having major problems with cpplib and imake


Neil Booth wrote:-

> I don't understand your example, either.  Doesn't that work for any
> preprocessor, regardless of -traditional?

I understand the example now.  If we do two passes for traditional, it
would work, unless you're trying to achieve the macro expansion within
a preprocessor directive like #include.  i.e. if in

#define SomeMacro(lib) SomeOtherMacro(lib.a)

lib were a single token like <myfile>, the preprocessor would see
<myfile><.><a>, but the front-end would see <myfile.a>.  Is that
enough?

Neil.

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