[Bug c++/33983] <stdexcept> and <ostream> invalid_argument name clash with -std=gnu++0x
cppljevans at suddenlink dot net
gcc-bugzilla@gcc.gnu.org
Fri Nov 2 15:10:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list