Still having major problems with cpplib and imake

Neil Booth NeilB@earthling.net
Fri May 12 02:41:00 GMT 2000


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.


More information about the Gcc-bugs mailing list