From 2be3e7c16aed09ec9dc2112e5f19d8b62ccdea72 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 2 Oct 2023 09:56:44 +0200 Subject: [PATCH] Cleanup: Suppress strict compiler warning for external code The new Clang which came with XCode 15 introduced the new warning: -Wsingle-bit-bitfield-constant-conversion. It is a bit too noisy in the Bullet code. Since the warning is in the code which we do not maintain suppress it similar to other similar warnings. Pull Request: https://projects.blender.org/blender/blender/pulls/113136 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c3f026bc52..0cc2fe2870f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1891,6 +1891,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "Clang") C_WARN_NO_STRICT_PROTOTYPES -Wno-strict-prototypes C_WARN_NO_BITWISE_INSTEAD_OF_LOGICAL -Wno-bitwise-instead-of-logical C_WARN_NO_IMPLICIT_CONST_INT_FLOAT_CONVERSION -Wno-implicit-const-int-float-conversion + C_WARN_NO_SINGLE_BIT_BITFIELD_CONSTANT_CONVERSION -Wno-single-bit-bitfield-constant-conversion ) add_check_cxx_compiler_flags(