-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MinGW have no std::to_string #80
Comments
Thanks for reporting! Does the rest of the code compile? I am asking, because I do not want to add changes, before knowing that MinGW can work in principle. Furthermore, what version of MinGW and compiler do you use? |
bash-3.1$ g++.exe --version i am compile with -std=c++11 option and i have another some errors with MinGW |
Could you please try whether it works now? |
Ok. Thank's. I'll try at home a couple of hours. |
I could compile it with |
i try and get error
|
if delete
compiles and works fine |
I adjusted the code in the last commit. I should compile now with MinGW. |
fixed float serialization (nlohmann#81 and nlohmann#80)
Thank you. It helped :) |
c:/Users/Pavel/workspace/Jupiter/3rdparty/json/src/json.hpp:2015:24: error: 'to_string' is not a member of 'std'
please use somethink like that:
template
std::string to_string(T t){
std::stringstream s;
s << t;
return s.str();
}
sorry. my english is bad
The text was updated successfully, but these errors were encountered: