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++/52818] printf format %lf is erroneously rejected by C++11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52818

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-15 17:07:34 UTC ---
Author: jason
Date: Sun Apr 15 17:07:30 2012
New Revision: 186468

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186468
Log:
    PR c++/52818
    * c-format.c (CPLUSPLUS_STD_VER): C++11 inherits from C99.
    (C_STD_NAME): Distinguish between C++98 and C++11.

Added:
    trunk/gcc/testsuite/g++.dg/warn/format8.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-format.c
    trunk/gcc/testsuite/ChangeLog


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