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. |