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

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #0)
> The C++11 standard says that <complex.h> should just include the C++
> <complex> header and completely ignore the C library's header.

I am very surprised that nobody has cared enough to get the standard fixed. But
I can't complain, I didn't write a proposal either.

> For C++11 mode we should #undef the macros that <complex.h> defines with
> non-reserved names, and maybe consider not including <complex.h> at all for
> -std=c++1* modes.

I guess so.

Reply via email to