[Bug c++/56111] {float,double} complex not accepted by g++-4.8 anymore
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 25 19:14:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56111
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |glisse at gcc dot gnu.org
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> 2013-01-25 19:14:03 UTC ---
You need to write _Complex or __complex__. complex is a macro that breaks code
from the standard library (think std::complex<double>) so we are forced to
undefine it. See PR54112 for details of the change.
If we really wanted to, I guess we could #undef complex at the beginning of
<complex> and condition the #undef in <complex.h> to the fact that <complex>
has been included before...
More information about the Gcc-bugs
mailing list