diff options
author | David Robillard <d@drobilla.net> | 2022-07-15 15:42:52 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-16 09:33:02 -0400 |
commit | 51326d59fc1054b2a1c33467130cae7e159f0983 (patch) | |
tree | dcd1bb1e320f00b3d5a5db6caef2bd8c81c8cf80 /src/.clang-tidy | |
parent | 208f680a7d2fc6b0b2fe11aea416de784235c6bb (diff) | |
download | serd-51326d59fc1054b2a1c33467130cae7e159f0983.tar.gz serd-51326d59fc1054b2a1c33467130cae7e159f0983.tar.bz2 serd-51326d59fc1054b2a1c33467130cae7e159f0983.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-tidy | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy index 44d02929..b7fff31a 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, -cert-err33-c, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, -concurrency-mt-unsafe, |