This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
iso C++ and âhash_mapâ problem
- From: mahmoodn <nt_mahmood at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 20 Jan 2010 04:34:14 -0800 (PST)
- Subject: 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.