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

Harald van Dijk <harald at gigawatt dot nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harald at gigawatt dot nl

--- Comment #8 from Harald van Dijk <harald at gigawatt dot nl> ---
(In reply to Andrew Pinski from comment #7)
> Isn't doing the extern "C" around standard C++ headers declared by the C++
> standard as undefined behavior?

It is (as is doing extern "C++" around standard C++ headers, for that matter),
but <complex.h> only became a standard C++ header in C++11. This bug is from
2003 and the comment before yours was from 2009, so I think <complex.h> was not
a standard C++ header yet.

Reply via email to