Re: 2.4.7 -- GCC-3.0 -- "multiline string literals deprecated" -- PATCH

Gareth Hughes (gareth.hughes@acm.org)
Tue, 31 Jul 2001 23:52:56 +1000


paulr wrote:
>
> Folks,
>
> While building both kernels 2.4.6 and 2.4.7,
> I encountered a series of compiler warnings,
>
> warning: multiline string literals are deprecated.
>
> The build environment was gcc3.0 and binutils-2.11.2.

Yes, unfortunately GCC 3.0 deprecated multiline string literals -- I saw
someone arguing on the GCC mailing lists that writing large chunks of
inline asm shouldn't be "easy", as it interferes with the compiler's
optimization passes. There were other such braindead arguments
supporting the deprecation. The thread should be pretty easy to find in
the archives. Don't know if the deprecation will be removed in future
versions.

-- Gareth
-
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/