diff options
author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2024-05-14 00:00:00 +0000 |
---|---|---|
committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2024-05-15 23:55:04 +0500 |
commit | fc662341e6f85da78ada0e443f6116b978f79f22 (patch) | |
tree | 1be1cc402a7a9cbc18d4eeea6b141354c2d559e3 /CPP/Windows/Synchronization.h | |
parent | 5b39dc76f1bc82f941d5c800ab9f34407a06b53a (diff) | |
download | 7zip-24.05.tar.gz 7zip-24.05.tar.bz2 7zip-24.05.zip |
24.0524.05
Diffstat (limited to 'CPP/Windows/Synchronization.h')
-rw-r--r-- | CPP/Windows/Synchronization.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CPP/Windows/Synchronization.h b/CPP/Windows/Synchronization.h index afd03d2..1df84d3 100644 --- a/CPP/Windows/Synchronization.h +++ b/CPP/Windows/Synchronization.h | |||
@@ -234,6 +234,11 @@ public: | |||
234 | } | 234 | } |
235 | WRes Enter() | 235 | WRes Enter() |
236 | { | 236 | { |
237 | #if defined(Z7_LLVM_CLANG_VERSION) && (__clang_major__ == 13) \ | ||
238 | && defined(__FreeBSD__) | ||
239 | #pragma GCC diagnostic ignored "-Wthread-safety-negative" | ||
240 | #pragma GCC diagnostic ignored "-Wthread-safety-analysis" | ||
241 | #endif | ||
237 | return ::pthread_mutex_lock(&_mutex); | 242 | return ::pthread_mutex_lock(&_mutex); |
238 | } | 243 | } |
239 | WRes Leave() | 244 | WRes Leave() |