[Bug c++/55080] -pedantic produces error: floating-point literal cannot appear in a constant-expression
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 26 12:11:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55080
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-10-26
Ever Confirmed|0 |1
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-26 12:10:43 UTC ---
cp_parser_primary_expression in parser.c only calls
cp_parser_non_integral_constant_expression (which prints the error) when
pedantic is false
More information about the Gcc-bugs
mailing list