From: Amir Goldstein Date: Fri, 3 Jan 2025 11:57:15 +0000 (+0100) Subject: Fix build of memfs_ll without manual meson reconfigure X-Git-Tag: fuse-3.17.1-rc0~26 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=92cfa4088a58815ecb99b40c396c253aa7257990;p=qemu-gpiodev%2Flibfuse.git Fix build of memfs_ll without manual meson reconfigure After pulling latest code, memfs_ll build would fail because it builds with C++11. Changing the default of cpp_std in meson.build is not enough to fix this problem even if user runs 'meson setup --reconfigure'. I had to run 'meson setup -Dcpp_std= --reconfigure' to fix the build as mentioned in this meson issue: https://github.com/mesonbuild/meson/issues/8062#issuecomment-1568249672 Signed-off-by: Amir Goldstein --- diff --git a/example/meson.build b/example/meson.build index 5c02cc1..b2e896c 100644 --- a/example/meson.build +++ b/example/meson.build @@ -37,6 +37,7 @@ if not platform.endswith('bsd') and platform != 'dragonfly' and add_languages('c install: false) executable('memfs_ll', 'memfs_ll.cc', dependencies: [ thread_dep, libfuse_dep ], + cpp_args : '-std=c++17', install: false) endif