mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Disable a MSVC warning seen in protobuf generated code
This warning is not very useful and is disabled by default when not using /Wall
This commit is contained in:
parent
c9b1134417
commit
2b1f56ebc8
@ -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…
Reference in New Issue
Block a user