1 |
On 3/8/09, Michael Sullivan <msulli1355@×××××.com> wrote: |
2 |
> On Sun, 2009-03-08 at 17:27 +0200, Arttu V. wrote: |
3 |
>> On 3/7/09, Michael Sullivan <msulli1355@×××××.com> wrote: |
4 |
>> > michael@camille OurRPG $ make |
5 |
>> > g++ -O2 -W -Wall -pedantic `sdl-config --cflags` -c draw.cpp |
6 |
>> > enemyparty.o allyparty.o |
7 |
>> > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/memory: In function |
8 |
>> > 'std::pair<_Tp*, int> std::__get_temporary_buffer(ptrdiff_t, _Tp*)': |
9 |
>> > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/memory:83: error: |
10 |
>> > 'nothrow' was not declared in this scope |
11 |
>> |
12 |
>> Have you tried to help the compiler find nothrow declaration by |
13 |
>> explicitly doing: |
14 |
>> |
15 |
>> #include <new> |
16 |
>> |
17 |
>> (Disclaimer: I'm no c++ guru, just googled for that.) |
18 |
>> |
19 |
> I put it in there, but it didn't help. Thanks for trying. |
20 |
|
21 |
Another thing might be to try the -E option for gcc, and check the |
22 |
results to see if it actually correctly includes everything necessary |
23 |
when preprocessing. After that, I'm out of ideas, it could be your |
24 |
code or it could be the compiler. |
25 |
|
26 |
-- |
27 |
Arttu V. |