-Wall incorrectly complains about scanf with %a

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

 



gcc 3.3.1 (suse 9.0) & 3.2.2 (rh9)
 
#include <stdio.h>
void foo()
{
   char x;
   scanf("%a", &x);
}
 
compiled with -Wall incorrectly complains
"float format, pointer arg (arg2)"

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux