Preprocessor woes
Zack Weinberg
zackw@stanford.edu
Fri Jan 5 14:41:00 GMT 2001
On Fri, Jan 05, 2001 at 09:45:55PM +0000, Neil Booth wrote:
> 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).
Concatenation with ## has never worked in -traditional mode. The real
problem is something else.
zw
More information about the Gcc
mailing list