From d7ddfc8b885873fa165f68d698a204f17f04c743 Mon Sep 17 00:00:00 2001 From: badaix Date: Sat, 25 Jan 2025 18:02:30 +0100 Subject: [PATCH] Allow warnings for sanitizers --- .github/workflows/ci.yml | 2 +- CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ede6b996..3eed82be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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} \ diff --git a/CMakeLists.txt b/CMakeLists.txt index 66d76515..57380fb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()