This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33983] <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:10:32 -0000
- Subject: [Bug c++/33983] <stdexcept> and <ostream> invalid_argument name clash with -std=gnu++0x
- References: <bug-33983-7390@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from cppljevans at suddenlink dot net 2007-11-02 15:10 -------
Created an attachment (id=14468)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14468&action=view)
Shows nameclash when using -std=-std=gnu++0x
The following is compile commands and output:
/home/evansl/download/gcc/4.3-20071026/install/bin/g++ -c -std=gnu++0x -Wall
-ftemplate-depth-100 -O0 -fno-inline
-I/home/evansl/prog_dev/boost-svn/ro/trunk/sandbox/..
-I/home/evansl/prog_dev/boost-svn/ro/trunk/sandbox/lje
/home/evansl/prog_dev/boost-svn/ro/trunk/sandbox/lje/libs/xpressive/proto/example/std_invalid_argument_name_clash.cpp
-o
/home/evansl/prog_dev/boost-svn/ro/trunk/sandbox/build/gcc4_3v/lje/libs/xpressive/proto/example/std_invalid_argument_name_clash.o
-MMD
/home/evansl/prog_dev/boost-svn/ro/trunk/sandbox/lje/libs/xpressive/proto/example/std_invalid_argument_name_clash.cpp:10:
error: expected constructor, destructor, or type conversion before 'const'
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33983