From 6bc8cd648ae4d91fd106c78cdca98c9c9e24f222 Mon Sep 17 00:00:00 2001
From: Florian Uhlig <f.uhlig@gsi.de>
Date: Mon, 31 Aug 2020 11:53:47 +0200
Subject: [PATCH] Filter compiler warnings

Filter warnings about unused attributes
Filter warnings which come from external package AnalysisTree
---
 CTestCustom.cmake | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/CTestCustom.cmake b/CTestCustom.cmake
index 2a447c56f7..9bc31f8531 100644
--- a/CTestCustom.cmake
+++ b/CTestCustom.cmake
@@ -44,6 +44,7 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION
         "external/flib_dpb"
 #        "external/flib_dpb_20"
         "external/ipc" 
+        "include/AnalysisTree"
 
         # -- remove intended fall through warnings
         "CbmMcbm2018UnpackerAlgoTof.cxx.*warning: this statement may fall through"
@@ -67,6 +68,9 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION
 
         # -- don't show pragma message warnings
         "Compiling CBM Configuration"
+
+        # -- filter warnings about unused attributes
+        "attribute directive ignored"
   )
 
 # -----------------------------------------------------------
-- 
GitLab