Hi,
I want to use SGI's hash_map in my code, but when compiling (with gcc 3.3.3) I get the following error:
hash_map_test.h :3: error: syntax error before `;' token
I reduced the code to minimum:
[CODE=cpp]
#include <ext/hash_map>
std::hash_map<i nt, int> x;
[/CODE]
Could someone explain what the problem is and how to solve it?
Thanks,
I want to use SGI's hash_map in my code, but when compiling (with gcc 3.3.3) I get the following error:
hash_map_test.h :3: error: syntax error before `;' token
I reduced the code to minimum:
[CODE=cpp]
#include <ext/hash_map>
std::hash_map<i nt, int> x;
[/CODE]
Could someone explain what the problem is and how to solve it?
Thanks,
Comment