Re: Errors which may be related to hash_map

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Zahra-A <zhr2930@xxxxxxxxx> writes:

> I am running Fedora 10 and have been trying to compile & install a project by
> using the included make file, but I'm getting a bunch of errors. The make
> file specifies g++ 4.3.2. Here is my error (libAnomaly is a library which I
> am trying to compile):

> ../../include/libAnomaly/item.h:149: error: 'hash' is not a template
> ../../include/libAnomaly/item.h:150: error: explicit specialization of non-template 'std::hash'

It looks like the code expects that std::hash is defined.  The C++
language does not define any such thing (C++0X does define
std::unordered_map).  So it looks like your code is simply not valid
C++.  You should contact the author of the code to see which compiler
they expect to use.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux