aboutsummaryrefslogtreecommitdiffstats
path: root/src/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-01-13 15:27:41 -0500
committerDavid Robillard <d@drobilla.net>2022-01-13 15:33:51 -0500
commitc4bb9e1ca60fd7e82548aa2e5d72e9ab7efda9ca (patch)
tree67da9e248bae7e66a7eeae98659592ea36c47bcd /src/.clang-tidy
parent7d2183d13b298f33733e67184dd86a34a71723bf (diff)
downloadserd-c4bb9e1ca60fd7e82548aa2e5d72e9ab7efda9ca.tar.gz
serd-c4bb9e1ca60fd7e82548aa2e5d72e9ab7efda9ca.tar.bz2
serd-c4bb9e1ca60fd7e82548aa2e5d72e9ab7efda9ca.zip
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.
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy2
1 files changed, 0 insertions, 2 deletions
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,