On Fri, 30 May 2003 at 16:07 +1200, Bernard Mentink <[email protected]>...:
> Ok, fair comment. However, note the: CONCAT4(123,456,789,1_2) macro > is interpreted by the compiler (pre-compiler) as `1234567891', i.e the > _2 is left off. See below. > > This example is independent of any header files. > > Work that one out? ;-) > > If you put the two lines: > #define CONCAT4(a,b,c,d) a##b##c##d > CONCAT4(123,456,789,1_2) > into a file and compile it. What does your compiler say? Well, this has nothing to do with the pre-processor "gcc -E" nor mspgcc as the same 'problem' will show up if you put 1234567891_2 in a c source file :-) noumbers don't have underscores in them, right?
