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.
This commit is contained in:
parent
1a5fddfe6d
commit
965eb50cda
|
@ -70,6 +70,8 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
|
||||||
# Ignore clang's summary warning, assuming prior text has matched some
|
# Ignore clang's summary warning, assuming prior text has matched some
|
||||||
# other warning expression:
|
# other warning expression:
|
||||||
"[0-9,]+ warnings? generated."
|
"[0-9,]+ warnings? generated."
|
||||||
|
# similarly for PGI
|
||||||
|
"compilation completed with warnings"
|
||||||
|
|
||||||
# scanbuild exceptions
|
# scanbuild exceptions
|
||||||
"char_traits.h:.*: warning: Null pointer argument in call to string length function"
|
"char_traits.h:.*: warning: Null pointer argument in call to string length function"
|
||||||
|
|
Loading…
Reference in New Issue