Skip to content

Commit

Permalink
trigger rerun of action
Browse files Browse the repository at this point in the history
and try sanitizers in clang64 mode
  • Loading branch information
oschonrock committed Dec 17, 2024
1 parent 841767d commit 2d091a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ else() # *nix
list(APPEND PROJECT_COMPILE_OPTIONS -Wall -Wextra -Wpedantic -Wshadow -Wextra-semi
-Wmissing-noreturn -Wconversion -Wsign-conversion -Wno-ignored-attributes -Werror)

if (NOT MINGW) # sanitizers are not working under mingw
# sanitizers are not working under mingw, except in CLANG64 configuration
if (NOT MINGW OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
string(APPEND CMAKE_CXX_FLAGS_DEBUG " -fsanitize=address,undefined,leak")
endif()
endif()
Expand Down

0 comments on commit 2d091a8

Please sign in to comment.