Re: [PATCH] eliminate warnings in generated module files

From: Linus Torvalds (torvalds@transmeta.com)
Date: Tue Feb 18 2003 - 22:29:15 EST


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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:24 EST