How to use C++ 11?

edited December 2017 in General Discussions
Hello! How would one use C++ 11 when compiling a game using Raylib?

Upon trying to use features such as "std::to_string" I discovered I was not using C++ 11. Or at least that appears to be the case because the following error occurs: "to_string is not a member of std".

I tried using the "-std=c++11" option when running "MinGW/bin/g++.exe", but it results in a giant list of errors. (https://imgur.com/a/mFnIc)

Using "-std=gnu++11" compiles just fine, but it still states that to_string is not a part of std.

Is there anyway to resolve this issue?

Comments

Sign In or Register to comment.