From 3994084e6a33a32b111188b91c28440181405f1d Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Sat, 29 Jun 2019 09:42:49 -0600 Subject: Cleanup: Fix build warnings with MSVC gflags emits a few unused variable warnings since the main CMakeLists.txt raised the warning from w4 down to w3. This restores it back to w4 in the remove_strict_flags macro. --- build_files/cmake/macros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index e781186ca74..c2f608de921 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -713,7 +713,7 @@ macro(remove_strict_flags) endif() if(MSVC) - # TODO + remove_cc_flag(/w34189) # Restore warn C4189 (unused variable) back to w4 endif() endmacro() -- cgit v1.2.3