Bug#155835: libc6-dev: scanf a flag conflicts with C99
At Sun, 19 Dec 2004 16:23:44 +0200,
Antti-Juhani Kaijanaho wrote:
> On 20041219T124113+0900, GOTO Masanori wrote:
> > This warning is come from gcc, not glibc. Gcc parses the first
> > argument of scanf. When gcc mets %as in C99 mode, GNU extension
> > should not be treated. This is gcc's expected behavior, so this is
> > not bug.
> And you should reread the report if you think that was the bug I
> reported. The warning is not the issue. The *bug* is that glibc uses
> a GNU semantics that is incompatible with C99 semantics.
> Frankly, I don't see an easy way to fix this bug, since old programs
> probably depend on the GNU behaviour.
> > (If you don't have complain about it, I'll close it)
> Don't close it, the bug is still valid, as demonstrated.
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.