Bug#155835: libc6-dev: scanf a flag conflicts with C99
At Wed, 07 Aug 2002 23:51:54 +0300,
Antti-Juhani Kaijanaho wrote:
> The "a" flag to scanf (a GNU extension, used like %as) conflicts with
> the C99 definition of the a conversion. GCC 3 already warns about the
> use of %a with -std=c99 and -std=gnu99, but the libc version uses the
> GNU semantics. This should be fixed eventually. In the meantime, the
> documentation should be changed to warn about this.
> From ISO/IEC 9899:1999 (E), page 278:
> a,A A double argument representing a floating-point number [...]
Could you provide a sample test program for the latest sarge glibc/gcc?