From a54507d81bcbc32d592bb70bc1038f9975207c89 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 1 May 2021 17:32:53 -0400 Subject: [PATCH] suppress spurious warning --- dlib/test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/dlib/test/CMakeLists.txt b/dlib/test/CMakeLists.txt index 8d05fdce5..ea4cf7768 100644 --- a/dlib/test/CMakeLists.txt +++ b/dlib/test/CMakeLists.txt @@ -171,6 +171,7 @@ if (CMAKE_COMPILER_IS_GNUCXX) # I don't care about unused testing functions though. I like to keep them # around. Don't warn about it. add_definitions("-Wno-unused-function") + add_definitions("-Wno-strict-overflow") endif()