* Re: SID compile error on older custom version [not found] <20050113210621.5540.qmail@web40527.mail.yahoo.com> @ 2005-01-14 16:00 ` Frank Ch. Eigler 0 siblings, 0 replies; only message in thread From: Frank Ch. Eigler @ 2005-01-14 16:00 UTC (permalink / raw) To: Shane Volpe; +Cc: sid [-- 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 --] ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-14 16:00 UTC | newest] Thread overview: (only message) (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20050113210621.5540.qmail@web40527.mail.yahoo.com> 2005-01-14 16:00 ` SID compile error on older custom version Frank Ch. Eigler
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).