This is the mail archive of the gcc@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: Preprocessor woes


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

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