C++ is evolving faster than C, so it's useful to enable new standards, especially for standard library. Update to most recent standard available in our build environments.
Signed-off-by: Pierrick Bouvier <[email protected]> --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ecfacaf2ac1..9eaa7e2c8d4 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('qemu', ['c'], meson_version: '>=1.5.0', - default_options: ['warning_level=1', 'c_std=gnu11', 'cpp_std=gnu++11', 'b_colorout=auto', + default_options: ['warning_level=1', 'c_std=gnu11', 'cpp_std=gnu++23', 'b_colorout=auto', 'b_staticpic=false', 'stdsplit=false', 'optimization=2', 'b_pie=true', 'rust_std=2021', 'build.rust_std=2021'], version: files('VERSION')) -- 2.47.3
