From c4bb9e1ca60fd7e82548aa2e5d72e9ab7efda9ca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 13 Jan 2022 15:27:41 -0500 Subject: Define _POSIX_C_SOURCE globally in the build system Using inconsistent defines like this that affect the standard library implementation can cause issues. So, doing this consistently for the whole library is a better approach, although it unfortunately makes the code more difficult to compile manually. --- src/.clang-tidy | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/.clang-tidy') diff --git a/src/.clang-tidy b/src/.clang-tidy index b47291f2..d39ee7e8 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -7,8 +7,6 @@ Checks: > -bugprone-easily-swappable-parameters, -bugprone-reserved-identifier, -bugprone-suspicious-string-compare, - -cert-dcl37-c, - -cert-dcl51-cpp, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, -concurrency-mt-unsafe, -google-readability-todo, -- cgit v1.2.1