This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33983] New: <stdexcept> and <ostream> invalid_argument name clash with -std=gnu++0x
- From: "cppljevans at suddenlink dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Nov 2007 15:06:10 -0000
- Subject: [Bug c++/33983] New: <stdexcept> and <ostream> invalid_argument name clash with -std=gnu++0x
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Both these system include files define invalid_argument.
ostream does this by indrectly including
i686-pc-linux-gnu/bits/error_constants.h.
This is for the 20071026 snapshot.
--
Summary: <stdexcept> and <ostream> invalid_argument name clash
with -std=gnu++0x
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cppljevans at suddenlink dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33983