Просмотр исходного кода

CTestCustom: Generalize comment on warning summary suppression

Brad King 8 лет назад
Родитель
Сommit
81b2b08911
1 измененных файлов с 3 добавлено и 4 удалено
  1. 3 4
      CTestCustom.cmake.in

+ 3 - 4
CTestCustom.cmake.in

@@ -70,11 +70,10 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
   "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto
   "IPA warning: function.*multiply defined in"
 
-  # Ignore clang's summary warning, assuming prior text has matched some
+  # Ignore compiler summary warning, assuming prior text has matched some
   # other warning expression:
-  "[0-9,]+ warnings? generated."
-  # similarly for PGI
-  "compilation completed with warnings"
+  "[0-9,]+ warnings? generated." # Clang
+  "compilation completed with warnings" # PGI
 
 # scanbuild exceptions
   "char_traits.h:.*: warning: Null pointer argument in call to string length function"