Install <unordered_set>

I included #include <unordered_set> at the header and it's giving me this warning

1
2
error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. 
This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.


Any idea on how to fix this?
Last edited on
must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
ok thanks already got it

g++ -std=c++0x file.cpp -o file
Topic archived. No new replies allowed.