Serious error-causing change in new CPP's -traditional behavior

Neil Booth NeilB@earthling.net
Wed May 10 15:16:00 GMT 2000


Zack Weinberg wrote:-

> A marginally better stupid game:
> 
> #define IMMED(n) # ##n
> #define foo() mov	r0, IMMED(5)

Or I could just get the lexer to drop all CPP_HASH tokens that are not
the first token (so we still allow directives) if the assembler option
is true?

Neil.



More information about the Gcc-bugs mailing list