iso C++ and ‘hash_map’ problem

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

 



Hi,
With this piece of code I get an error that "ISO C++ forbids declaration of
hash_map with no type":confused:

#include <hash_map>  
...
hash_map<uint32_t,uint32_t> _regsMap;
...

The file has the extension hxx. I searched and some say that hash_map is not
stanrad in GCC. Any help?:wistle:
thanks,
-- 
View this message in context: http://old.nabble.com/iso-C%2B%2B-and-%E2%80%98hash_map%E2%80%99-problem-tp27241004p27241004.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[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