@hqt
Firstly, check that you can build your code from the command line (i.e outside of Code::Blocks).
Then check that your CB toolchain settings are pointing at the up-to-date compiler - go to Settings|Compiler & Debugger, then go to the Toolchain Executables tab and make sure the path in the first field is pointing to the up-to-date TDM installation.
If you still can't compile, compile this simple program:
int main() {
auto x = 1;
}
and post the resulting build log here.
Do you use the correct compiler for you project?
I have checked and I'm using GNU C++. is it right ?
Firstly, check that you can build your code from the command line (i.e outside of Code::Blocks).
I don't know what you mean, but I have tested it on MS Studio 2010 successfully. And my program is very simple, it just tests feature of C++0x. it just have one line:
void f_function(int&&a){} // this feature just has in C++0x
So, who can solve this problem for me, please.
thanks :)