I\'m writing a simple C++ program to demonstrate the use of locks. I am using codeblocks and gnu gcc compiler.
codeblocks
gnu
gcc
#inclu
I got the same error with gcc4.7.7.
After adding "-std=c++0x", it is fixed.