build: require c++17

We don't technically need it yet, but will do so during the 1.7.x series.
This commit is contained in:
Dirk-Jan C. Binnema
2021-08-28 09:54:05 +03:00
parent ec40b18ae4
commit 286d6f70c8
4 changed files with 41 additions and 6 deletions

View File

@ -25,7 +25,7 @@ project('mu', ['c', 'cpp'],
'buildtype=debugoptimized',
'warning_level=1',
'c_std=c11',
'cpp_std=c++14'
'cpp_std=c++17'
]
)
@ -51,7 +51,6 @@ extra_flags = [
'-Winit-self',
'-Wmissing-include-dirs',
'-Wpointer-arith',
#'-Wswitch-enum',
'-Wswitch-default',
]