meson.build: switch to C11
It's been 9 years already, and there's no point in insisting on the 21 year old C standard. MPD doesn't have a lot of C code left, but why not compile it with the latest language revision.
This commit is contained in:
parent
4f40b9f7cf
commit
e0d3ca71b3
|
@ -4,8 +4,8 @@ project(
|
||||||
version: '0.22.2',
|
version: '0.22.2',
|
||||||
meson_version: '>= 0.49.0',
|
meson_version: '>= 0.49.0',
|
||||||
default_options: [
|
default_options: [
|
||||||
'c_std=c99',
|
'c_std=c11',
|
||||||
'build.c_std=c99',
|
'build.c_std=c11',
|
||||||
'cpp_std=c++17',
|
'cpp_std=c++17',
|
||||||
'build.cpp_std=c++17',
|
'build.cpp_std=c++17',
|
||||||
'warning_level=3',
|
'warning_level=3',
|
||||||
|
|
Loading…
Reference in New Issue