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.
This commit is contained in:
parent
e981d93fa6
commit
3994084e6a
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue