build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.
Change-Id: I4e2760dfa3cdd579a7d157f3c216aa612f595cd2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index f5d371c..e287c7b 100644
--- a/meson.build
+++ b/meson.build
@@ -4,14 +4,14 @@
default_options: [
'warning_level=3',
'werror=true',
- 'cpp_std=c++20',
+ 'cpp_std=c++23',
'prefix=/usr',
'b_lundef=false',
'buildtype=debugoptimized',
],
license: 'Apache-2.0',
version: '1.0',
- meson_version: '>=0.57.0',
+ meson_version: '>=1.1.1',
)
phosphor_logging = dependency('phosphor-logging')