[Bug driver/13071] no easy way to exclude backward C++ headers from include path
- To: debian-gcc@lists.debian.org
- Subject: [Bug driver/13071] no easy way to exclude backward C++ headers from include path
- From: "harald at gigawatt dot nl" <gcc-bugzilla@gcc.gnu.org>
- Date: Mon, 06 Sep 2021 07:53:23 +0000
- Message-id: <bug-13071-5724-n6qod4at0b@http.gcc.gnu.org/bugzilla/>
- In-reply-to: <bug-13071-5724@http.gcc.gnu.org/bugzilla/>
- References: <bug-13071-5724@http.gcc.gnu.org/bugzilla/>
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.
--
You are receiving this mail because:
You reported the bug.
Reply to: