From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13779 invoked by alias); 14 Jan 2005 16:00:08 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 13622 invoked from network); 14 Jan 2005 15:59:54 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 14 Jan 2005 15:59:54 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j0EFxsdw020872 for ; Fri, 14 Jan 2005 10:59:54 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j0EFxsr28697; Fri, 14 Jan 2005 10:59:54 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id j0EFxjoS008527; Fri, 14 Jan 2005 10:59:53 -0500 Received: from toenail.toronto.redhat.com (toenail.toronto.redhat.com [172.16.14.211]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 82CAA800001; Fri, 14 Jan 2005 10:59:45 -0500 (EST) Received: from toenail.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by toenail.toronto.redhat.com (8.12.10/8.12.5) with ESMTP id j0EFxjMT012751; Fri, 14 Jan 2005 10:59:45 -0500 Received: (from fche@localhost) by toenail.toronto.redhat.com (8.12.10/8.12.10/Submit) id j0EFxiBw012749; Fri, 14 Jan 2005 10:59:44 -0500 Date: Fri, 14 Jan 2005 16:00:00 -0000 From: "Frank Ch. Eigler" To: Shane Volpe Cc: sid@sources.redhat.com Subject: Re: SID compile error on older custom version Message-ID: <20050114155944.GC9662@redhat.com> References: <20050113210621.5540.qmail@web40527.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <20050113210621.5540.qmail@web40527.mail.yahoo.com> User-Agent: Mutt/1.4.1i OpenPGP: id=0xE9BF653D X-SW-Source: 2005-q1/txt/msg00003.txt.bz2 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 611 Hi - On Thu, Jan 13, 2005 at 01:06:21PM -0800, Shane Volpe wrote: > I'm trying to compile an older version of SID in > Linux. [...] > When I try to compile SID I get the following error: > error: `hash' undeclared in namespace 'std' > [...] The hashing-related functions are in a different namespace in recent versions of libstdc++. The code needs to=20 #include and perhaps something like this: using namespace __gnu_cxx; Though I recall once just giving up on hash tables altogether because it was too painful to get autoconf to find the right set of headers and namespaces. - FChE --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFB5+xwVZbdDOm/ZT0RAudxAJ9MM/Beyk5uMEZ5+GpAHizUx9yARACfZ9HJ FB+jw66G9T3sk5ZP2Td1aBc= =aIIJ -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--