Re: [PATCH] eliminate warnings in generated module files

Linus Torvalds (torvalds@transmeta.com)
Tue, 18 Feb 2003 19:29:15 -0800 (PST)


On Tue, 18 Feb 2003, Richard Henderson wrote:
>
> The compiler.h fragment should describe the problem well enough.

Have you tested this with older compilers?

In particular, I have this dim memory of gcc historically not liking
multiple separate __attribute__ bits, ie

__attribute__((unused,__section__ ...))

would be fine, but

__attribute__((unused)) __attribute__((__section__ ...))

would not compile.

But hey, my brain is cabbage, and my memory might be crap.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/