my os : windows xp sp3
compilers : gcc 4.5(minGW)
IDE : code blocks 10.05
As the title, when I didn't enable the command -std=c++0x
CImg can work with gcc4.5 and code block(after Build Options > Linker Settings > Link libraries > Add and enter gdi32)
Or use this kind of command
g++ -o hello_word.exe hello_word.cpp -O2 -lgdi32
But when I enable the option of the command of code block
(after Build Options->Compiler Flags->Have g++ follow the coming C++ ISO C++0x.... )
I got error message
error: '_fileno' was not declared in this scope
I don't even know how to alter the command after I want to enable -std=c++0x
Thanks a lot