summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-15 14:22:20 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-04-15 14:22:20 (GMT)
commit18e480a5e9f4e061714cc414feec6e59dc4bb753 (patch)
tree081463a27d6b58c51ffad53978d8a17834666bd4
parent27c141131ead0eec87195724f3d21cb246168a32 (diff)
parentf9f91fa8b9eee3002aed62a205b57b0d6b5581fd (diff)
downloadCMake-18e480a5e9f4e061714cc414feec6e59dc4bb753.zip
CMake-18e480a5e9f4e061714cc414feec6e59dc4bb753.tar.gz
CMake-18e480a5e9f4e061714cc414feec6e59dc4bb753.tar.bz2
Merge topic 'openbsd-warnings'
f9f91fa8 CTestCustom: Suppress warnings about rand() and srand() on OpenBSD
-rw-r--r--CTestCustom.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index fd5d744..f499be1 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -56,6 +56,8 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION
"warning.*This version of Mac OS X is unsupported"
"clang.*: warning: argument unused during compilation: .-g"
"note: in expansion of macro" # diagnostic context note
+ "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*isn.*t random" # we do not do crypto
+ "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto
# Ignore clang's summary warning, assuming prior text has matched some
# other warning expression: