From d11d8527f5a524d0fec8fca8e64e41b27f0760d0 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Fri, 13 Aug 2010 09:12:09 +0000
Subject: [PATCH] bug 1362: disabled all warnings in MPI and Boost on
 BGPION/BGPCN

---
 CMake/variants/BGPCN.cmake  | 7 +++++--
 CMake/variants/BGPION.cmake | 8 ++++++--
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/CMake/variants/BGPCN.cmake b/CMake/variants/BGPCN.cmake
index 325125d4b24..62330b11285 100644
--- a/CMake/variants/BGPCN.cmake
+++ b/CMake/variants/BGPCN.cmake
@@ -37,8 +37,11 @@ set(BGPCN_COMPILE_DEFINITIONS
   -DHAVE_BGP_CN
   -DHAVE_FCNP
   -DHAVE_MPI
-  -I/bgsys/drivers/ppcfloor/comm/include
-  -I/bgsys/drivers/ppcfloor/arch/include)
+  -isystem /bgsys/drivers/ppcfloor/comm/include
+  -isystem /bgsys/drivers/ppcfloor/arch/include
+
+  # disable compiler warnings in the following directories
+  -isystem /bgsys/drivers/V1R4M2_200_2010-100508P/ppc/comm/default/include)
 set(BGPCN_COMPILE_DEFINITIONS_DEBUG
   -DENABLE_DBGASSERT
   -DENABLE_TRACER
diff --git a/CMake/variants/BGPION.cmake b/CMake/variants/BGPION.cmake
index 1d8dd92406a..b7c3f5e7682 100644
--- a/CMake/variants/BGPION.cmake
+++ b/CMake/variants/BGPION.cmake
@@ -37,8 +37,12 @@ set(BGPION_COMPILE_DEFINITIONS
   -DHAVE_BGP
   -DHAVE_BGP_ION
   -DHAVE_FCNP
-  -I/bgsys/drivers/ppcfloor/comm/include
-  -I/bgsys/drivers/ppcfloor/arch/include)
+  -isystem /bgsys/drivers/ppcfloor/comm/include
+  -isystem /bgsys/drivers/ppcfloor/arch/include
+
+  # disable compiler warnings in the following directories
+  -isystem /bgsys/LOFAR/openmpi-1.4.1-ion/include
+  -isystem /globalhome/lofarsystem/packages/root/bgp_ion/boost/include)
 set(BGPION_COMPILE_DEFINITIONS_DEBUG
   -DENABLE_DBGASSERT
   -DENABLE_TRACER
-- 
GitLab