summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2021-02-09 23:45:36 -0500
committerGitHub <noreply@github.com>2021-02-09 23:45:36 -0500
commit3c22ce035bc1b1d3b8e507af79bbd25ca5d68c7f (patch)
tree30e1fcda6b4fc39820d61f47b85cb82f1df00d99 /src
parenta5e184e9487cb622f488587291fb2ee4843ead4d (diff)
parent68f718943e9cb87465869f9421e38515034bede0 (diff)
Merge pull request #5905 from lat9nq/core-sized-dealloc
core: Add -fsized-dealloction as a Clang flag
Diffstat (limited to 'src')
-rw-r--r--src/core/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 386d7bddf..987076956 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -653,6 +653,8 @@ else()
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
+ $<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation>
+
-Wno-sign-conversion
)
endif()