From 92cfa4088a58815ecb99b40c396c253aa7257990 Mon Sep 17 00:00:00 2001 From: Amir Goldstein Date: Fri, 3 Jan 2025 12:57:15 +0100 Subject: [PATCH] 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 --- example/meson.build | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2