This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Strange gcc-3.0.1 preprocessor
Nick Kurshev wrote:-
> But for me - no.
I don't believe you.
> #undef __MACHINE__
> #define __MACHINE__ ia32
> #define _INLINES <biewlib/sysdep/__MACHINE__/_inlines.h>
> #define __CONFIG <biewlib/sysdep/__MACHINE__/__config.h>
> #include __CONFIG
> #include _INLINES
>
> In file included from biewlib/biewlib.c:24:
> biewlib/sysdep/__config.h:27:14: warning: pasting "/" and "__MACHINE__" does not give a valid preprocessing token
> biewlib/sysdep/__config.h:27:22: biewlib/sysdep/__MACHINE__/__config.h: No such file or directory
> make: *** [biewlib/biewlib.o] 1
Why is it complaining about pasting? I don't think the code you quote
above is not the code you are using; the code you are using still has
the ## that I asked you to remove.
Neil.