Code::Blocks doesn't recognize C++11 !!!

I'm trying to use c++11 std::thread, including <thread> header, but it says this:
error: 'thread' is not a member of 'std'

I checked the flag -std=c++11 in my compiler, it didn't work, so i created and checked -std=gnu++11 flag. It didn't work neither. My CodeBlocks version is 13.12, compiler GCC version unknown.
You should get GCC version with
gcc -version
The default codeblocks compiler doesn't support std::thread
Topic archived. No new replies allowed.