summaryrefslogtreecommitdiffstats
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorMichael Dickens <mlk@alum.mit.edu>2019-12-16 19:23:26 (GMT)
committerBrad King <brad.king@kitware.com>2019-12-18 10:45:08 (GMT)
commite8dbe4bba10dff2ac865b145830c931d1154d8fc (patch)
tree64a220e9da79f74838657132ef7514c4389c1eb5 /CTestCustom.cmake.in
parent4771c4e447c88a0e6a361d98c2c6f44ac7746ad3 (diff)
downloadCMake-e8dbe4bba10dff2ac865b145830c931d1154d8fc.zip
CMake-e8dbe4bba10dff2ac865b145830c931d1154d8fc.tar.gz
CMake-e8dbe4bba10dff2ac865b145830c931d1154d8fc.tar.bz2
Tests: Fix testCTestResourceSpec struct initialization for some compilers
Some compilers do not like the nested `{{{}}}` member initialization syntax, so use just `{}`. GCC 4.8 warns about the latter, so add a suppression. Fixes: #20097
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index 823ee3c..d3ab9d3 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -49,6 +49,7 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
"WarningMessagesDialog\\.cxx"
"warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
"stl_deque.h:1051"
+ "Tests/CMakeLib/testCTestResourceSpec.cxx:.*warning: missing initializer for member.*cmCTestResourceSpec::.*" # GCC 4.8 disagrees with later compilers on C++11 initializer list conversion
"(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"