re PR c++/52818 (printf format %lf is erroneously rejected by C++11)
authorJason Merrill <jason@redhat.com>
Sun, 15 Apr 2012 17:07:30 +0000 (13:07 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 15 Apr 2012 17:07:30 +0000 (13:07 -0400)
commit04b391c164bca9a8a332d5a5b8e3ee8cf86224b9
tree4a2774c3a084439cf23480106d39252af28343d5
parent79617d7e2e4e868da8bca85ea3d6d61ad1e89e4c
re PR c++/52818 (printf format %lf is erroneously rejected by C++11)

PR c++/52818
* c-format.c (CPLUSPLUS_STD_VER): C++11 inherits from C99.
(C_STD_NAME): Distinguish between C++98 and C++11.

From-SVN: r186468
gcc/c-family/ChangeLog
gcc/c-family/c-format.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/format8.C [new file with mode: 0644]