This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

-Wall incorrectly complains about scanf with %a


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]