On Sun, 2009-03-08 at 17:27 +0200, Arttu V. wrote:
> On 3/7/09, Michael Sullivan <msulli1...@gmail.com> wrote:
> > mich...@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
>
> Have you tried to help the compiler find nothrow declaration by
> explicitly doing:
>
> #include <new>
>
> (Disclaimer: I'm no c++ guru, just googled for that.)
>
I put it in there, but it didn't help. Thanks for trying.