summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-27 12:23:00 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-09-27 12:23:00 (GMT)
commita9cb60a9513531c7f8e50bc0e81683ad4008f84d (patch)
tree3048c49f2d07845727afdad4192c477b5c266954
parent069d0e2431294606b160d1e1cee4677bf6a2747a (diff)
parent89c20300ed55e06459325a981eb1ae0f6bb8378a (diff)
downloadCMake-a9cb60a9513531c7f8e50bc0e81683ad4008f84d.zip
CMake-a9cb60a9513531c7f8e50bc0e81683ad4008f84d.tar.gz
CMake-a9cb60a9513531c7f8e50bc0e81683ad4008f84d.tar.bz2
Merge topic 'suppress-pgi-warnings'
89c20300 CTestCustom: Suppress PGI warnings in generated Lexer/Parser code 965eb50c CTestCustom: Suppress PGI compiler warning summary line
-rw-r--r--CTestCustom.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index 8489178..710681c 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -49,6 +49,7 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
"stl_deque.h:1051"
"(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
"(Lexer|Parser).*warning.*(statement is unreachable|will never be executed)"
+ "(Lexer|Parser).*warning.*variable.*was set but never used"
"PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c"
"[Qq]t([Cc]ore|[Gg]ui|[Ww]idgets).*warning.*conversion.*may alter its value"
"warning:.*is.*very unsafe.*consider using.*"
@@ -70,6 +71,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"