milkytracker / MilkyTracker

An FT2 compatible music tracker
http://milkytracker.github.io/
Other
1.67k stars 160 forks source link

Switch C++ standard to C++11 #328

Open kmosiejczuk opened 9 months ago

kmosiejczuk commented 9 months ago

Non-static initializers require C++11 in at least G++ 8.4.x

coderofsalvation commented 3 months ago

Which platform did you compile? The codebase is trying to stay compatible with non-modern environments. Perhaps it was a certain platformspecific feature (midi?) on your platform which used the non-static initializers. We need to adjust the CMakeLists.txt to switch to C11 in that case.

thesamesam commented 1 month ago

We hit this in Gentoo in https://bugs.gentoo.org/909761.

coderofsalvation commented 1 month ago

thanks for reporting

On Mon, May 27, 2024 at 3:52 PM Sam James @.***> wrote:

We hit this in Gentoo in https://bugs.gentoo.org/909761.

— Reply to this email directly, view it on GitHub https://github.com/milkytracker/MilkyTracker/pull/328#issuecomment-2133531958, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABL6ZGZSXDBSHR62BIYXSLZEM3B5AVCNFSM6AAAAAA5NDXGN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTGUZTCOJVHA . You are receiving this because you commented.Message ID: @.***>

-- L Ξ Ο N V Λ N Κ Λ Μ Μ Ξ N

Creative technologist & researcher https://2wa.isvery.ninja https://www.linkedin.com/in/leonvankammen