From 3997e36bdb2f013a615214299f8dc3b4d57a412f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 21 Aug 2025 14:20:59 +1000 Subject: [PATCH] Cleanup: disable -Wnontrivial-memcall for CLANG with remove_strict_flags Suppresses noisy warnings in extern/bullet/ & extern/mantaflow/. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 64b8fb71c97..10ae5258000 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2479,6 +2479,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "Clang") add_check_cxx_compiler_flags( CXX_REMOVE_STRICT_FLAGS + CXX_WARN_NO_NONTRIVIAL_MEMCALL -Wno-nontrivial-memcall CXX_WARN_NO_UNUSED_PARAMETER -Wno-unused-parameter CXX_WARN_NO_UNUSED_PRIVATE_FIELD -Wno-unused-private-field CXX_WARN_NO_CXX11_NARROWING -Wno-c++11-narrowing