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

Bug#155835: libc6-dev: scanf a flag conflicts with C99



Hello

I tried to reproduced the bug at
https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;att=0;bug=155835
you reported back in 2002, but I couldn't.
See attached log file.

I suppose it has been fixed.
scanf(3) now includes a note about specific '%a' behaviour when -std=c99
is used.

Can we now close this bug?
Or could you provide another test case, please?

-- 
Nirgal
bug155835.c: In function â??mainâ??:
bug155835.c:6:9: warning: format â??%aâ?? expects argument of type â??float *â??, but argument 2 has type â??char **â?? [-Wformat=]
         scanf("%as", &s);
         ^

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: