Browse Source

Disable a MSVC warning seen in protobuf generated code

This warning is not very useful and is disabled
by default when not using /Wall
newinvert
Jon Evans 2 years ago
parent
commit
2b1f56ebc8
  1. 2
      cmake/Warnings.cmake

2
cmake/Warnings.cmake

@ -272,4 +272,6 @@ if( MSVC )
string( APPEND WARN_FLAGS_CXX " /wd4668" )
# disable "definition of implicit copy constructor for 'X' is deprecated because it has a user-provided destructor"
string( APPEND WARN_FLAGS_CXX " /wd5267" )
# disable "reinterpret_cast used between related classes"
string( APPEND WARN_FLAGS_CXX " /wd4946" )
endif()
Loading…
Cancel
Save