Closed dvzrv closed 1 year ago
the obvious "fix" (that i'm employing for the Debian package) is to simply set the CMAKE_CXX_STANDARD to 11
in https://github.com/milkytracker/MilkyTracker/blob/3533e5d836e3ac642b277b0a96ba044a9af5d8d4/CMakeLists.txt#L25-L26
afaict, setting this value to 98
is an attempt to keep the codebase of milkytracker itself clean of newer C++ constructs (probably to allow compilation on older compilers) but there's nothing really enforcing the old standard in the codebase.
@umlaeute yes, that's also what I ended up doing.
From an outsider's perspective it would be great to be able to solve this upstream of course.
While there might be a way to keep using C++98, after doing some investigating, I'm thinking it'd probably be okay to bump the Milkytracker C++ standard up to C++11 officially:
Primary versions should be fine:
Other versions:
thank you very much, it has been adressed in v1.04 🎉
Hi! I'm packaging rtmidi for Arch Linux and am currently attempting a rebuild of all depending packages (due to a soname change).
It appears, that rtmidi switched to C++11, which is incompatible with milkytracker, as it relies on C++98.
Are there any plans to update this project's C++ standard? :)