From 68f718943e9cb87465869f9421e38515034bede0 Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Tue, 9 Feb 2021 21:27:12 -0500 Subject: [PATCH] core: Add -fsized-dealloction as a Clang flag Prevents a operator delete error when compiling with Clang 11. --- src/core/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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() $<$:-Werror=unused-but-set-parameter> $<$:-Werror=unused-but-set-variable> + $<$:-fsized-deallocation> + -Wno-sign-conversion ) endif()