From 965eb50cda15a2b991684fce2d9e64556ca38523 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 26 Sep 2016 14:49:08 -0400 Subject: [PATCH] CTestCustom: Suppress PGI compiler warning summary line We will match/ignore the actual warning lines, if any, so we can always ignore the summary line if present. --- CTestCustom.cmake.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index 848917842..93efdb4f5 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -70,6 +70,8 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION # Ignore clang's summary warning, assuming prior text has matched some # other warning expression: "[0-9,]+ warnings? generated." + # similarly for PGI + "compilation completed with warnings" # scanbuild exceptions "char_traits.h:.*: warning: Null pointer argument in call to string length function"