diff options
author | Roelf-Jilling <r-j.wolthuis@live.com> | 2020-01-15 20:33:37 +0300 |
---|---|---|
committer | Roelf-Jilling <r-j.wolthuis@live.com> | 2020-01-16 13:49:15 +0300 |
commit | 81f56796a1c844eada87c4bf91a479a29715703e (patch) | |
tree | 974183c212a77ac24ebb69f798e8604f1c96091e /tests/notnull_tests.cpp | |
parent | 4cbd8948125a9070d8f342b6cb51bc02d108ca82 (diff) |
MSVC and CoreChecker warning suppression for tests to CMake
Suppress CppCoreCheck warnings on GTest macros.
Suppress CppCoreCheck advice to use the GSL
Diffstat (limited to 'tests/notnull_tests.cpp')
-rw-r--r-- | tests/notnull_tests.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/notnull_tests.cpp b/tests/notnull_tests.cpp index 3e91cfd..d4c8cf4 100644 --- a/tests/notnull_tests.cpp +++ b/tests/notnull_tests.cpp @@ -14,15 +14,6 @@ // /////////////////////////////////////////////////////////////////////////////// -#ifdef _MSC_VER -// blanket turn off warnings from CppCoreCheck from catch -// so people aren't annoyed by them when running the tool. -#pragma warning(disable : 26440 26426) // from catch - -// Fix VS2015 build breaks in Release -#pragma warning(disable : 4702) // unreachable code -#endif - #include <gtest/gtest.h> #include <gsl/pointers> // for not_null, operator<, operator<=, operator> |