Gentoo Archives: gentoo-user

From: "Arttu V." <arttuv69@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gcc: error: 'nothrow' was not declared in this scope
Date: Sun, 08 Mar 2009 15:27:49
Message-Id: fecdbac60903080827wf121c91n94469ef75bf6dc91@mail.gmail.com
In Reply to: [gentoo-user] gcc: error: 'nothrow' was not declared in this scope by Michael Sullivan
1 On 3/7/09, Michael Sullivan <msulli1355@×××××.com> wrote:
2 > michael@camille OurRPG $ make
3 > g++ -O2 -W -Wall -pedantic `sdl-config --cflags` -c draw.cpp
4 > enemyparty.o allyparty.o
5 > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/memory: In function
6 > 'std::pair<_Tp*, int> std::__get_temporary_buffer(ptrdiff_t, _Tp*)':
7 > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/memory:83: error:
8 > 'nothrow' was not declared in this scope
9
10 Have you tried to help the compiler find nothrow declaration by
11 explicitly doing:
12
13 #include <new>
14
15 (Disclaimer: I'm no c++ guru, just googled for that.)
16
17 --
18 Arttu V.

Replies

Subject Author
Re: [gentoo-user] gcc: error: 'nothrow' was not declared in this scope Michael Sullivan <msulli1355@×××××.com>