summaryrefslogtreecommitdiffstats
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-08-03 13:45:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-08-03 13:45:15 (GMT)
commite2112b37786eee4f4f47bc2dd548e51349076254 (patch)
treee424f75bcd555bbba861a72f4ec4c4a248b20613 /CTestCustom.cmake.in
parentf6917a2f1f434ddb5c27ba59e3332f2d92e66057 (diff)
parent4f95e6b284205c7c01ba1923e6d7f2f5a6dc849a (diff)
downloadCMake-e2112b37786eee4f4f47bc2dd548e51349076254.zip
CMake-e2112b37786eee4f4f47bc2dd548e51349076254.tar.gz
CMake-e2112b37786eee4f4f47bc2dd548e51349076254.tar.bz2
Merge topic 'cpp-named-module-support-msvc'
4f95e6b284 ci: test BMI exporting and installation with GCC in CI c49d5f137b RunCMake/CXXModules: add a "deep-chain" test 297e0f4dce cmCxxModuleMapper: support MSVC module map format b3c2880cb2 cmCxxModuleMapper: track transitive modules for MSVC a43713d615 CTestCustom: ignore `cm::optional` uninitialized memory false positive b90de0b492 RunCMake/CXXModules: support MSVC extensions a84c186a7d cmScanDepFormat: support the MSVC 17.3 toolchain temporarily d7f5064ff7 cmScanDepFormat: support P1689R5 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7481
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index 967e1bf..85af8ed 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -84,6 +84,11 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
"compilation completed with warnings" # PGI
"[0-9]+ Warning\\(s\\) detected" # SunPro
+ # Ignore false positive on `cm::optional` usage from GCC
+ "cmGlobalNinjaGenerator.cxx:[0-9]*:[0-9]*: warning: '.*cm::optional<CxxModuleMapFormat>::_mem\\)\\)' may be used uninitialized \\[-Wmaybe-uninitialized\\]"
+ "cmGlobalNinjaGenerator.cxx:[0-9]*:[0-9]*: note: '.*cm::optional<CxxModuleMapFormat>::_mem\\)\\)' was declared here"
+ "cmGlobalNinjaGenerator.cxx:[0-9]*:[0-9]*: warning: '\\*\\(\\(void\\*\\)& modmap_fmt \\+4\\)' may be used uninitialized in this function \\[-Wmaybe-uninitialized\\]"
+
# clang-analyzer exceptions
"cmListFileLexer.c:[0-9]+:[0-9]+: warning: Array subscript is undefined"
"jsoncpp/src/.*:[0-9]+:[0-9]+: warning: Value stored to .* is never read"