This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: deprecated GNU ## extension used


> Why do you still want to change something?

One of the goals of gcc is to implement the international standards,
if possible all of it. GCC also provides extensions, you have to use
--pedantic to disable them. Normally extensions can be used while
still complying to the standard. In the rare cases where GNU C differs
from ISO C, -ansi must activate the standard-complying behaviour. It
is highly undesirable to have many cases where -ansi makes a
difference.

The proposed change allows to keep the GNU extension alongside with
the standard behaviour, focussing on the case where the extension
really adds expressiveness, instead of merely being an alternative way
to express the same thing.

GCC is often critized for providing too many extensions, and for not
enforcing standards. We should strive for improving gcc here.

Regards,
Martin

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]