Skip to content

Commit

Permalink
Disable warnings as errors until we move to GCC 13 (#5596)
Browse files Browse the repository at this point in the history
-Wno-error=dangling-reference is available only there.
  • Loading branch information
ktf authored Aug 29, 2024
1 parent 4adcc3b commit 8773f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion o2physics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8773f03

Please sign in to comment.