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
What is C++ version for cocos? #19069
Comments
All the build with c++11 standard for now. No c++14 feature was used. is the c++ 14 feature supported well by compilers, included android NDK & GCC ? |
I even use C++17 which is 100% supported by android and linux. Most probably by windows and apple OSes too. We will have to replace some things in build files. @drelaptop Can you check it or I'll have to do pull request by myself? I'm quite busy now, so one or two month later. |
refer to https://en.cppreference.com/w/cpp/compiler_support , we can found 99% of the C++14 features was supported by GCC & Clang & MSVC . if we decide to update from C++ 11 to C++ 14,developer will need update GCC 4.9 to 5.0+, VS2015 to VS2017. So do we need it? I invite @minggo @PatriceJiang to share options. |
If C++ 14 is well supported, i think it is ok to update to it. But it is not urgent, we can support it in next version(the version after 3.18). |
I want to do some contribution to cocos2d-x, but not sure about using
std::make_unique
.Is it ok to use c++14 or not?
The text was updated successfully, but these errors were encountered: