[Bug c++/86227] invalid suffix on floating constant

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86227 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/86227] invalid suffix on floating constant

2018-06-19 Thread zhonghao at pku dot org.cn
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

[Bug c++/86227] invalid suffix on floating constant

2018-06-19 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86227 --- Comment #2 from zhonghao at pku dot org.cn --- (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++ sti

[Bug c++/86227] invalid suffix on floating constant

2018-06-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86227 --- Comment #1 from Andrew Pinski --- Did you add -pedantic-error or use -std=c++11 ? This is the decimal floating point extension that gcc supports that llvm does not.