[Bug c++/87274] -std=c++11 breaks quadmath macros

2022-02-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87274 --- Comment #7 from Jonathan Wakely --- There's a related (but slightly different) problem for F128 suffixes: auto f = __FLT128_MIN__; f128.C:1:10: error: unable to find numeric literal operator ‘operator""F128’ The macros for the F128 constan

[Bug c++/87274] -std=c++11 breaks quadmath macros

2022-02-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87274 Jonathan Wakely changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #6

[Bug c++/87274] -std=c++11 breaks quadmath macros

2019-07-07 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87274 --- Comment #5 from Eric Gallager --- (In reply to Manuel López-Ibáñez from comment #4) > (In reply to Jonathan Wakely from comment #2) > > (In reply to Patrick J. LoPresti from comment #0) > > > Note that my code does not use any quad-precision

[Bug c++/87274] -std=c++11 breaks quadmath macros

2018-10-08 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87274 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Commen

[Bug c++/87274] -std=c++11 breaks quadmath macros

2018-09-11 Thread lopresti at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87274 --- Comment #3 from Patrick J. LoPresti --- Yes, is an extension. But it would be nice, IMO, if it were a standard-compatible extension. So this is, as you say, a feature request somehow to enable quad-precision literals in standard compilation

[Bug c++/87274] -std=c++11 breaks quadmath macros

2018-09-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87274 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/87274] -std=c++11 breaks quadmath macros

2018-09-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87274 --- Comment #1 from Jonathan Wakely --- This is not a bug. If you want to use the non-standard extensions in then either use -std=gnu++11 instead of -std=c++11, or use -fext-numeric-literals to enable the non-standard suffixes, as suggested. Us