-
Notifications
You must be signed in to change notification settings - Fork 195
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
Switch to C++17? #2105
Comments
What's your view @galabovaa ? |
Not sure, it's only the runtime options which are not included in the library. Seems a bit silly to upgrade just for this. Thank you @FlorianSchwendinger, I did not notice cxxopts have increased the C++ version when I updated our version of cxxopts with their latest one. I'm a bit worried we may break highs for users who are still using C++11 or 14. Perhaps it is time I add the "library only" build option, so we can require c++11 if only the library is being built? But that doesn't sounds great either. We could just downgrade cxxopts back to when they used c++11 only, or find another command line parsing tool? |
I agree with @galabovaa |
Build optionWhat I am doing now to aviod the
message from CRAN is C++11 vs C++14 vs C++17Some good news, the last version I submitted to CRAN I used already |
I would suggest to switch to C++17 since C++11 was released a long time ago and HiGHS already uses C++17 features here.
In
HiGHS/app/cxxopts.hpp
fallthrough
is used which seams to be available since C++17.The text was updated successfully, but these errors were encountered: