I was looking at some open source project that I thought was interesting and wanted to compile the code for myself. Unfortunately my visual studio 2010 isn't c++11 compliant enough so I installed gcc/g++ 4.7.2 and that doesn't work either
Here is a snippet that shows my problem.
> g++ --version
g++ (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Any help welcomed.
>g++ -std=c++11 main.cpp
main.cpp: In function 'int main()':
main.cpp:5:2: error: 'mutex' is not a member of 'std'
main.cpp:5:13: error: expected ';' before 'mutex_'