From: "Frank Ch. Eigler" <fche@redhat.com>
To: Shane Volpe <shanevolpe@yahoo.com>
Cc: sid@sources.redhat.com
Subject: Re: SID compile error on older custom version
Date: Fri, 14 Jan 2005 16:00:00 -0000 [thread overview]
Message-ID: <20050114155944.GC9662@redhat.com> (raw)
In-Reply-To: <20050113210621.5540.qmail@web40527.mail.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
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
#include <ext/hash_map>
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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
parent reply other threads:[~2005-01-14 16:00 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20050113210621.5540.qmail@web40527.mail.yahoo.com>]
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=20050114155944.GC9662@redhat.com \
--to=fche@redhat.com \
--cc=shanevolpe@yahoo.com \
--cc=sid@sources.redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).