1 |
On Sun, 2009-03-08 at 17:27 +0200, Arttu V. wrote: |
2 |
> On 3/7/09, Michael Sullivan <msulli1355@×××××.com> wrote: |
3 |
> > michael@camille OurRPG $ make |
4 |
> > g++ -O2 -W -Wall -pedantic `sdl-config --cflags` -c draw.cpp |
5 |
> > enemyparty.o allyparty.o |
6 |
> > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/memory: In function |
7 |
> > 'std::pair<_Tp*, int> std::__get_temporary_buffer(ptrdiff_t, _Tp*)': |
8 |
> > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/memory:83: error: |
9 |
> > 'nothrow' was not declared in this scope |
10 |
> |
11 |
> Have you tried to help the compiler find nothrow declaration by |
12 |
> explicitly doing: |
13 |
> |
14 |
> #include <new> |
15 |
> |
16 |
> (Disclaimer: I'm no c++ guru, just googled for that.) |
17 |
> |
18 |
I put it in there, but it didn't help. Thanks for trying. |