Replies: 3 comments
-
|
Technically DOSBox-X compiles as C++11 or C++14, though C++11 is deprecated now. I think I'll require C++14 soon. For reference, as far as I know, the main DOSBox project is still compiling as C++03, unless they've updated that recently. |
Beta Was this translation helpful? Give feedback.
-
|
After the late March release, I made a change that now requires at least C++14 to compile. |
Beta Was this translation helpful? Give feedback.
-
|
Recently there was a video by the Sea of Thieves devs about their experience moving from C++14 to C++20. https://www.youtube.com/watch?v=b6j6SZiXmoo He mentions starting to use "/permissive-" in Visual Studio ( i use that for my personal projects ), which might be worth looking into too. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently the codebase is set to use the C++14 standard.
Would moving to a more modern standard be worth thinking about ?
C++17 and C++20 introduce a few niceties.
As an experiment i got the source to compile with MSVC on C++17, C++20, C++23preview and C++latest.
Some code changes were needed obviously but not many. Bumping the VS Toolset to 143 would also be needed i guess.
Just an idea, it would definitely be understandable to stay with C++14 for the time being.
Beta Was this translation helpful? Give feedback.
All reactions