[Bug c++/79228] __complex__ extension interferes with C++14 UDLs for std::complex

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 25 11:27:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79228

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-01-25
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #0)
> Clang simply disables the non-standard 'i' suffix for C++14 and above:

Clang disables it in all cases for gnu+=14, i.e. 0.0fi and 0.0li don't work
either. They still work for gnu++98 and gnu++11, and 0.0fj and 0.0j and 0.0lj 
work with gnu++14.


More information about the Gcc-bugs mailing list