On Fri, 02 Jan 2026 23:47, Pierrick Bouvier <[email protected]> wrote:
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]>
---

Reviewed-by: Manos Pitsidianakis <[email protected]>

meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 38767c2c68a..564cdde9153 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


Reply via email to