[Bug c++/86227] invalid suffix on floating constant
zhonghao at pku dot org.cn
gcc-bugzilla@gcc.gnu.org
Wed Jun 20 05:07:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86227
--- Comment #3 from zhonghao at pku dot org.cn ---
(In reply to zhonghao from comment #2)
> (In reply to Andrew Pinski from comment #1)
> > Did you add -pedantic-error or use -std=c++11 ? This is the decimal
> > floating point extension that gcc supports that llvm does not.
>
> I tried.g++ still accepts it and does not produce any error messages.
With the flag, -pedantic -error, g++ produces a warning message, but the
message seems to be irrelevant.
More information about the Gcc-bugs
mailing list