On Sat, Jul 26, 2008 Paul Coccoli wrote:
On Sat, Jul 26, 2008 at 1:28 PM, Dave Phillips
wrote:
> dlphilp@The3800:~/src/kodisein/linux> g++ --version
> g++ (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)
Are hash_map and hash declared in namespace std? I
see a using
declaration for std, but hash and hash_map are not standard.
I guess you're using stlport though, and I'm not really familiar with it.
Recent GNU/libstdc++ declares hash_map a deprecated extension enclosed in the
namespace __gnu_cxx. Quick fix: add a line with "using namespace __gnu_cxx;".
More information:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/backwards.html#id365186
Regards,
Pedro