[Bug c++/54361] Compiling for c++11 gives a warning on scanf() with %as format specifier
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 24 08:02:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54361
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-08-24 08:02:39 UTC ---
It has a lot with C++11, if you read that standard, you'll see that for C
library stuff it refers to ISO C99 standard. Therefore, using %as is really
invalid in C++11 programs.
More information about the Gcc-bugs
mailing list