diff options
author | Bernd Schubert <bernd@bsbernd.com> | 2025-07-15 18:46:44 +0200 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-07-15 20:15:41 +0200 |
commit | 3be844147764b96496bcae6d92fa4b0e43ebff42 (patch) | |
tree | b0b7d9ccbc264341c3d9b41e5349612d0d14ddee | |
parent | fc9888e0b281dc0d0fcebcfe0c8c392263b1b308 (diff) | |
download | libfuse-3be844147764b96496bcae6d92fa4b0e43ebff42.tar.gz |
Switch to c++20
This only effects example/{passthrough_hp.cc,memfs_ll.cc} and is mainly
to avoid these warnings
../example/memfs_ll.cc:1100:1: warning: missing field 'statx' initializer
[-Wmissing-designated-field-initializers]
Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
-rw-r--r-- | example/meson.build | 2 | ||||
-rw-r--r-- | meson.build | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/example/meson.build b/example/meson.build index 701afa7..21e8317 100644 --- a/example/meson.build +++ b/example/meson.build @@ -37,7 +37,7 @@ if platform != 'dragonfly' and add_languages('cpp', required : false) install: false) executable('memfs_ll', 'memfs_ll.cc', dependencies: [ thread_dep, libfuse_dep ], - cpp_args : '-std=c++17', + cpp_args : '-std=c++20', install: false) endif diff --git a/meson.build b/meson.build index 16b804e..7091d5f 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project('libfuse3', ['c'], default_options: [ 'buildtype=debugoptimized', 'c_std=gnu11', - 'cpp_std=c++17', + 'cpp_std=c++20', 'warning_level=2', ]) |