Bug#155835: libc6-dev: scanf a flag conflicts with C99
Package: libc6-dev
Version: 2.2.5-12
Severity: normal
Tags: upstream
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 [...]
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux kukkaruukku 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686
Locale: LANG=fi_FI@euro, LC_CTYPE=fi_FI@euro
Versions of packages libc6-dev depends on:
ii libc6 2.2.5-12 GNU C Library: Shared libraries an
-- no debconf information
Reply to: