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

From: Horst von Brand (
Date: Tue Jul 31 2001 - 09:15:09 EST

Gareth Hughes <> said:


> Yes, unfortunately GCC 3.0 deprecated multiline string literals

AFAIU, they are non-standard, and can easily hide bugs (in opening a string
and forgetting to close you are in escence commenting out lines of code)

> -- I saw
> someone arguing on the GCC mailing lists that writing large chunks of
> inline asm shouldn't be "easy",

Right. If you use a compiler, you shouldn't need it much. Better make
other, more important, things easy/more foolproof, even at some cost for
the asm() writer. (Hint: Count the lines of asm in the kernel (an
_extremely_ heavy asm user!) vs the lines of plain C)

> as it interferes with the compiler's
> optimization passes. There were other such braindead arguments
> supporting the deprecation.

Yep, this is a braindead argument. There must have been others (sensible
> The thread should be pretty easy to find in
> the archives. Don't know if the deprecation will be removed in future
> versions.

I hope they disallow multiline strings pretty soon.

Dr. Horst H. von Brand                Usuario #22616
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:51 EST