From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LgKur-0007nl-4y for garchives@archives.gentoo.org; Sun, 08 Mar 2009 15:27:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5F78E0574; Sun, 8 Mar 2009 15:27:47 +0000 (UTC) Received: from mail-bw0-f171.google.com (mail-bw0-f171.google.com [209.85.218.171]) by pigeon.gentoo.org (Postfix) with ESMTP id 72B90E0574 for ; Sun, 8 Mar 2009 15:27:47 +0000 (UTC) Received: by bwz19 with SMTP id 19so878762bwz.34 for ; Sun, 08 Mar 2009 08:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=tyIDb0C+WXDBAsiatX9greTtFCf3A9GDeBowlzEkTRA=; b=EgJZOqeTWOiOIglC4XvCTNl9juRZUvSQ6OvqTxTK43nkmxun4wYzBLbJPjrGPcwFrC LHFjVf5oq6ALrNHAjp6PvaVGZQGuMoGlB0X/Ux7+5ww0OEw8b+r2naXDLJZR1Ezm05FJ mYp5iYELNf/WnIcPKh0cgPeKxLnwsk/GkgQCU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=M2KpYU5rLh8PEigi7TWUJQn5yBnob82oQuhMDwLb6ASnAcxNk4mgVz6mH23VFPmexZ aY1XavyKWpAaEpzR4WZsTsOuABSx6/FeDAocK2U5ri4o+PEuE6c3N/10MMHkHzBNzEup 2KNm14qlZlY+Px67uaspQw/Z5myI7zCBJUKQM= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.103.193.13 with SMTP id v13mr2150185mup.1.1236526066590; Sun, 08 Mar 2009 08:27:46 -0700 (PDT) In-Reply-To: <1236439606.15761.65.camel@camille.espersunited.com> References: <1236439606.15761.65.camel@camille.espersunited.com> Date: Sun, 8 Mar 2009 17:27:46 +0200 Message-ID: Subject: Re: [gentoo-user] gcc: error: 'nothrow' was not declared in this scope From: "Arttu V." To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: f6803dae-ac1f-4fc4-a096-898cace2ef18 X-Archives-Hash: d9d42c5b3b819a2cd6a67d39b31560c8 On 3/7/09, Michael Sullivan 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 (Disclaimer: I'm no c++ guru, just googled for that.) -- Arttu V.