This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
nothrow (cross-posted to gcc-help)
- From: Michael Sullivan <msulli1355 at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 08 Mar 2009 09:30:34 -0500
- Subject: nothrow (cross-posted to gcc-help)
I sent this message to gcc-help@gcc.gnu.org yesterday, but have not
gotten any mail on any thread from them? Are they active? Is there a
problem with the mail server? Anyway
I wrote a program, and when I compile it, I get:
michael@camille OurRPG $ make
g++ -O2 -W -Wall -pedantic `sdl-config --cflags` -c draw.cpp
enemyparty.o allyparty.o
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/memory: In function
'std::pair<_Tp*, int> std::__get_temporary_buffer(ptrdiff_t, _Tp*)':
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/memory:83: error:
'nothrow' was not declared in this scope
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/memory: In function
'void std::return_temporary_buffer(_Tp*)':
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/memory:123: error:
'nothrow' was not declared in this scope
Is this a bug?
I'm running gcc-4.1.2 on a Gentoo system:
camille local # emerge -pv gcc
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-devel/gcc-4.1.2 USE="doc fortran gtk mudflap nls
vanilla (-altivec) -bootstrap -build -d -gcj (-hardened) -ip28 -ip32r10k
-libffi (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++
-objc-gc -test" 0 kB
camille local # uname -a
Linux camille 2.6.26-gentoo-r4 #1 SMP Sat Dec 13 17:31:25 CST 2008 i686
GNU/Linux
Please advise...