From 8773f032cc37ef991984f4e8e7d97447e5ffd886 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Thu, 29 Aug 2024 09:11:13 +0200 Subject: [PATCH] Disable warnings as errors until we move to GCC 13 (#5596) -Wno-error=dangling-reference is available only there. --- o2physics.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/o2physics.sh b/o2physics.sh index b4d5c820a4..48f7a3251a 100644 --- a/o2physics.sh +++ b/o2physics.sh @@ -34,7 +34,7 @@ cmake "$SOURCEDIR" "-DCMAKE_INSTALL_PREFIX=$INSTALLROOT" \ ${CLANG_REVISION:+-DCLANG_EXECUTABLE="$CLANG_ROOT/bin-safe/clang"} \ ${CLANG_REVISION:+-DLLVM_LINK_EXECUTABLE="$CLANG_ROOT/bin/llvm-link"} \ ${LIBUV_ROOT:+-DLibUV_ROOT=$LIBUV_ROOT} \ - ${ALIBUILD_O2PHYSICS_TESTS:+-DO2PHYSICS_WARNINGS_AS_ERRORS=ON} + ${ALIBUILD_O2PHYSICS_TESTS:+-DO2PHYSICS_WARNINGS_AS_ERRORS=OFF} cmake --build . -- ${JOBS+-j $JOBS} install # export compile_commands.json in (taken from o2.sh)