aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/Synchronization.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CPP/Windows/Synchronization.h5
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()