[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#155835: libc6-dev: scanf a flag conflicts with C99

On 20041220T010216+0900, GOTO Masanori wrote:
> GNU extension is GNU's feature, not a bug.  Glibc provides %as with
> the historical reasons.  If you don't want to use it, you should just
> remove it.  If you have another opinion or point of view to improve
> it, show us your proposal.

Well, if GNU Libc wants to stay C99 incompatible, it's their choice.
I hope that the decision is widely published so that people know to
choose some other libc.

However, the decision is upstream's.  I'd appreciate if you could
forward this bug upstream like you're supposed to.

Note that I compiled the demonstration program with --std=c99, and I
would hope that this choice of language dialect is communicated to the
libc.  Libc could then choose whether to use the legacy GNU semantics or
C99 semantics based on the dialect selection (I believe that a
conditional #define in <stdio.h> can choose which scanf implementation
is used).

Antti-Juhani Kaijanaho, Debian developer 


Attachment: signature.asc
Description: Digital signature

Reply to: