From 2e30333d7fe05a1b46ed1f39cdf991d7efdf5418 Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Thu, 19 Jan 2023 18:45:46 +0100 Subject: [PATCH] DD4hepBuild: add -Wno-psabi to compiler flags to ignore warnings about ABI changes that we will never have issues with --- cmake/DD4hepBuild.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/DD4hepBuild.cmake b/cmake/DD4hepBuild.cmake index 20d08880c..a27e47b70 100644 --- a/cmake/DD4hepBuild.cmake +++ b/cmake/DD4hepBuild.cmake @@ -39,7 +39,7 @@ endmacro(dd4hep_use_python_executable) macro(dd4hep_set_compiler_flags) include(CheckCXXCompilerFlag) - SET(COMPILER_FLAGS -Wshadow -Wformat-security -Wno-long-long -Wdeprecated -fdiagnostics-color=auto -Wall -Wextra -pedantic) + SET(COMPILER_FLAGS -Wshadow -Wformat-security -Wno-long-long -Wdeprecated -fdiagnostics-color=auto -Wall -Wextra -pedantic -Wno-psabi) # AppleClang/Clang specific warning flags if(CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$") -- GitLab