[linux-audio-dev] [ot] [rant] gcc, you let me down one time too many
Clemens Ladisch
clemens at ladisch.de
Mon Jun 6 13:17:36 UTC 2005
Tim Goetze wrote:
> [Clemens Ladisch]
>
> > You mean you want to omit \n and the quotes? That was always invalid
> > in both C and C++.
>
> Makes me wonder how come it used to compile cleanly then. Now please
> don't tell me "it's a gcc extension so it is evil"
It's a gcc extension so^H^Hfor compatibility with some old Unix
compilers that accidentally allowed it. AFAIK it was dropped from g++
but not gcc because those old compilers didn't know about C++ anyway.
> because __asm__ is already kissing portability goodbye.
This issue is at a lower level, i.e., how to parse string literals.
Regards,
Clemens
More information about the Linux-audio-dev
mailing list