瀏覽代碼

Merge topic 'suppress-Wshadow-single'

b947fc27 CTestCustom: Suppress -Wshadow warning about Solaris 'single' typedef
Brad King 10 年之前
父節點
當前提交
bbf962bf8a
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      CTestCustom.cmake.in

+ 2 - 1
CTestCustom.cmake.in

@@ -21,7 +21,8 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
   "Utilities.cmcurl"
   "Utilities.cmcurl"
   "Utilities.cmexpat."
   "Utilities.cmexpat."
   "Utilities.cmlibarchive"
   "Utilities.cmlibarchive"
-  "/usr/include.*warning.*shadowed declaration is here"
+  "warning: declaration of .single. shadows a global declaration"
+  "/usr/include.*(warning|note).*shadowed declaration is here"
   "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
   "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
   "Redeclaration of .send..... with a different storage class specifier"
   "Redeclaration of .send..... with a different storage class specifier"
   "is not used for resolving any symbol"
   "is not used for resolving any symbol"