From 30a0d6bfb4c48a0136b1f23e71170ad77e2ceb91 Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Fri, 30 Jul 2021 13:35:27 +0200 Subject: [PATCH] Filter some build warnings There are some warnings which only show up on some systems and can't be avoided. Filter them such that they don't show up on CDash. --- CTestCustom.cmake | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/CTestCustom.cmake b/CTestCustom.cmake index a63b438446..1044ebd897 100644 --- a/CTestCustom.cmake +++ b/CTestCustom.cmake @@ -43,6 +43,7 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION # -- warnings from our external packages "external/flib_dpb" "external/ipc" + "maybe_unused" "include/AnalysisTree" # -- remove intended fall through warnings @@ -53,6 +54,15 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION "CbmDeviceUnpackTofMcbm2018.cxx.*warning: attributes at the beginning of statement are ignored" "CbmDeviceUnpackTofMcbm2018.cxx.*warning: this statement may fall through" "CbmDeviceUnpackTofMcbm2018.cxx.*note: here" + "CbmMcbm2018TofPar.cxx.*warning: attributes at the beginning of statement are ignored" + "CbmMcbm2018TofPar.cxx.*warning: this statement may fall through" + "CbmMcbm2018TofPar.cxx.*note: here" + + # -- warnings from a feature we want and which is okay + "CbmCheckEvents.cxx:86:52" + + # -- warnings about to long function for debugging + "variable tracking size limit exceeded" # -- warnings from structures for HADAQ memory casting "struct hadaq::HadTu" @@ -63,8 +73,9 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION # -- warnings from structures for MBS/LMD memory casting "struct mbs::Header" - # -- warnings from my test machine demac006 - "warning: text-based stub file" + # -- warnings from macosx test machines + "ld: warning: dylib.*was built for newer macOS version.*than being linked" + ".*^.*" # -- don't show pragma message warnings "Compiling CBM Configuration" -- GitLab