aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2025-01-03 12:57:15 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-01-03 21:20:22 +0100
commit9b92c988eed637c8186360481b949ffa4397e942 (patch)
tree6d4db12cf5ce3067e39a02e886b1a6a6151d03c6
parentaca2557ba40c81c10244a06f29e364a3ece429b6 (diff)
downloadlibfuse-9b92c988eed637c8186360481b949ffa4397e942.tar.gz
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 <amir73il@gmail.com>
-rw-r--r--example/meson.build1
1 files changed, 1 insertions, 0 deletions
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