-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Compile LMMS using C++17 #5838
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
Compile LMMS using C++17 #5838
Conversation
|
Quoting @DomClark 's response from Discord: Regarding C++17: I really don't think it will take us three years to fix a few compiler errors.
|
|
IMO all mentioned points should be handled in separate PRs. 2 and 3 can be done now, 1 must wait until May. -> This PR will remain draft until May 2021. |
|
@irrenhaus3 Did you start fixing any of the 3 blockers above already? If yes, can you reference the PRs? |
Blocker 3 (using namespace std; in LMMS headers) should be resolved via #6076 |
|
(2) is now resolved by #6133. May has come and gone, so it is possible to resolve (1) as well now. |
|
Additional lines to change are:
Line 7 in ace502f
Also, |
7045f0e to
727785f
Compare
Thanks. Reworked it all, force-pushed and rebased to current master. Result: Only CircleCi's linux.gcc is not compiling, due to the too old Ubuntu version (which @PhysSong plans to update soon). |
|
I don't think the |
|
Thanks again Dom, all fixed and pushed. |
This replaces `set(CMAKE_CXX_STANDARD 14)` by `set(CMAKE_CXX_STANDARD 17)` wherever it is required. Additionally: * raise `CMAKE_MINIMUM_REQUIRED(VERSION ...)` to `3.8` (the minimum that supports C++17) * `stdshims.h` is now unused and thus removed
f2dce6e to
290a2e7
Compare
|
Rebased on master commit which uses the 18.04 docker container. No further changes made after Dom's review. Build passed (AppVeyor failed now due to problems on Will merge in 3 days if there are no more complaints. |
Just to prove that it does not work with our CI.