From: "Arttu V." <arttuv69@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] gcc: error: 'nothrow' was not declared in this scope
Date: Sun, 8 Mar 2009 17:27:46 +0200 [thread overview]
Message-ID: <fecdbac60903080827wf121c91n94469ef75bf6dc91@mail.gmail.com> (raw)
In-Reply-To: <1236439606.15761.65.camel@camille.espersunited.com>
On 3/7/09, Michael Sullivan <msulli1355@gmail.com> wrote:
> michael@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.)
--
Arttu V.
next prev parent reply other threads:[~2009-03-08 15:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-07 15:26 [gentoo-user] gcc: error: 'nothrow' was not declared in this scope Michael Sullivan
2009-03-08 15:27 ` Arttu V. [this message]
2009-03-08 15:48 ` Michael Sullivan
2009-03-08 16:56 ` Arttu V.
2009-03-08 16:50 ` [gentoo-user] " Nikos Chantziaras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fecdbac60903080827wf121c91n94469ef75bf6dc91@mail.gmail.com \
--to=arttuv69@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox