This is the mail archive of the gcc-bugs@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]

[Bug c++/54361] Compiling for c++11 gives a warning on scanf() with %as format specifier


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]