Skip to contentSkip to conversation

Strange compilation messages with gcc 2.96.2

DISCUSSION Brad Chapman 2 participants 2 messages Aug 7, 2001

lore
Share & tools
lore
#0 lore raw

Hello,

When I compile the 2.4.7 kernel on a RedHat system with an Athlon
1GHz processor
and gcc 2.96.2, I get a LOT of messages similar to the following:

<source file>:<number>:<number>: pasting would not give a valid
preprocessor token

They don't seem to be a problem; they're annoying, but they don't
prevent the compilation
of the kernel. Is this a problem? Or is it just another compile-time annoyance?

Thanks,

Brad

#1 lore raw
Quoted 2 lines · Brad Chapman

<source file>:<number>:<number>: pasting would not give a valid
preprocessor token

It means the compiler ran into something like:

#define foo(a) do { a ## 2 ## .something() } while(0)

which should be

... a ## 2 .something() ...

justin