mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 17:57:05 +02:00
Ignode tsan errors
This commit is contained in:
parent
e69e7f621d
commit
67f8453586
2 changed files with 4 additions and 3 deletions
|
@ -64,12 +64,12 @@ else()
|
|||
endif()
|
||||
|
||||
if(ASAN)
|
||||
add_compile_options(-fsanitize=address)
|
||||
add_compile_options(-fsanitize=address -Wno-error=tsan)
|
||||
add_link_options(-fsanitize=address)
|
||||
endif()
|
||||
|
||||
if(TSAN)
|
||||
add_compile_options(-fsanitize=thread)
|
||||
add_compile_options(-fsanitize=thread -Wno-error=tsan)
|
||||
add_link_options(-fsanitize=thread)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif // NOMINMAX
|
||||
|
||||
|
||||
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
|
|
Loading…
Add table
Reference in a new issue