1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-13 08:05:52 +01:00

Make Audacity build in C++17 ...

... Fixing many conditional operators with explicit construction of wxString
instead of simple string literals;

And fixing allocation of more strictly aligned structures on Mac, without need
for 10.14 as the minimum SDK, by means of some class-specific operators new
and delete.
This commit is contained in:
Paul Licameli
2021-02-02 11:44:00 -05:00
committed by Dmitry Vedenko
parent e6e81399f7
commit 77dab158c3
19 changed files with 112 additions and 32 deletions

View File

@@ -116,7 +116,7 @@ set( CMAKE_PREFIX_PATH
#set( CMAKE_INTERPROCEDURAL_OPTIMIZATION_DEBUG OFF )
# Set the required C++ standard
set( CMAKE_CXX_STANDARD 14 )
set( CMAKE_CXX_STANDARD 17 )
set( CMAKE_CXX_STANDARD_REQUIRED ON )
# Use ccache if available