I started a project and I'll use SFML and threads. When using sf::Thread, everything is fine. When I tried to add C++11 (I didn't even change the code!), <ctime> shows all stuff inside namespace std (in the file) is not declared. What's happening? How can I fix it?
||=== Build: Debug in TermiNET (compiler: GNU GCC Compiler) ===|
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\ctime|65|error: '::difftime' has not been declared|
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\ctime|66|error: '::mktime' has not been declared|
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\ctime|67|error: '::time' has not been declared|
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\ctime|69|error: '::ctime' has not been declared|
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\ctime|70|error: '::gmtime' has not been declared|
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\ctime|71|error: '::localtime' has not been declared|
||=== Build failed: 6 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|