Allow warnings for sanitizers

This commit is contained in:
badaix 2025-01-25 18:02:30 +01:00
parent b0463fdd0c
commit d7ddfc8b88
2 changed files with 3 additions and 3 deletions

View file

@ -129,7 +129,7 @@ jobs:
- name: configure
run: |
cmake -S . -B build \
-DWERROR=ON \
-DWERROR=OFF \
-DBUILD_TESTS=ON \
-D${{ matrix.param }} \
-DBOOST_ROOT=boost_${BOOST_VERSION} \

View file

@ -69,12 +69,12 @@ else()
endif()
if(ASAN)
add_compile_options(-fsanitize=address -Wno-error=maybe-uninitialized)
add_compile_options(-fsanitize=address)
add_link_options(-fsanitize=address)
endif()
if(TSAN)
add_compile_options(-fsanitize=thread -Wno-error=tsan)
add_compile_options(-fsanitize=thread)
add_link_options(-fsanitize=thread)
endif()