Preprocessor woes

Neil Booth neil@daikokuya.demon.co.uk
Fri Jan 5 13:46:00 GMT 2001


Mark Kettenis wrote:-

> occur.  Since the SHLIB_COMPAT macro uses the ISO C ## concatenation
> operator, -traditional messes things up.  Is there any chance at
> convincing the GCC folks to provide a preprocessor that's backwards
> compatible with cccp?

Try using the portable CONCAT macros that GCC does.  That's much
simpler than rewriting tradcpp (which is what this would require).

Neil.


More information about the Gcc mailing list