Re: [linux-audio-dev] [ot] [rant] gcc, you let me down one time too many

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Mon Jun 06 2005 - 16:17:36 EEST

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
Received on Mon Jun 6 20:15:04 2005

This archive was generated by hypermail 2.1.8 : Mon Jun 06 2005 - 20:15:05 EEST