This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

iso C++ and âhash_mapâ problem


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]