[Bug c++/52818] printf format %lf is erroneously rejected by C++11
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Apr 1 17:35:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52818
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-04-01
Ever Confirmed|0 |1
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-01 17:35:16 UTC ---
Confirmed.
The format checking code doesn't currently distinguish between C++ standards:
/* The C standard version C++ is treated as equivalent to
or inheriting from, for the purpose of format features supported. */
#define CPLUSPLUS_STD_VER STD_C94
More information about the Gcc-bugs
mailing list