Forráskód Böngészése

Merge topic 'openbsd-warnings'

f9f91fa8 CTestCustom: Suppress warnings about rand() and srand() on OpenBSD
Brad King 11 éve
szülő
commit
18e480a5e9
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      CTestCustom.cmake.in

+ 2 - 0
CTestCustom.cmake.in

@@ -56,6 +56,8 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION
   "warning.*This version of Mac OS X is unsupported"
   "warning.*This version of Mac OS X is unsupported"
   "clang.*: warning: argument unused during compilation: .-g"
   "clang.*: warning: argument unused during compilation: .-g"
   "note: in expansion of macro" # diagnostic context note
   "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
   # Ignore clang's summary warning, assuming prior text has matched some
   # other warning expression:
   # other warning expression: