I recently switched from Code::Blocks 10.05 to 12.11 and have a problem I did not have before and I did not find anything on the forums about it: I have some projects that use C++11. Until then, I checked "Use C++0x" in compiler options, and naturally switched to "Use C++11", expecting it to work fine.
However, when I do this, G++ sometimes works fine and sometimes tells me "You need to enable C++11 to use this feature". Well, I tried many things to have it work. When I type "-std=c++11" in "Other Options" and then compile, it works fine once. Then option disappears (I bet it is automatically converted to "Compiler Flags") and if I try to compile again, G++ tells me again to enable C++11.
I had no problem with Code::Blocks 10.05 and I can get the work done properly with make alone or combined with cmake. So I'm wondering whether the compiler flag works properly.
EDIT: I'm using MinGW TDM-GCC 4.7.1 with Windows 7.