[Bug c++/87274] -std=c++11 breaks quadmath macros
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 11 09:19:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87274
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-09-11
Ever confirmed|0 |1
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Patrick J. LoPresti from comment #0)
> Note that my code does not use any quad-precision literals; just the
> documented `FLT128_MAX` macro.
Which is a quad-precision literal, of course.
> I realize quadmath is more a C thing than a C++ thing... But it would still
> be nice if this worked, IMO.
It does work if you use the right options to allow the necessary extensions.
> On a possibly related note, writing "__extension__" before a quad-precision
> literal does not silence this error. Perhaps it should (?)
Yes, maybe. Confirming for that feature request.
More information about the Gcc-bugs
mailing list