Skip to content

build(cmake): mark nuget package includes as SYSTEM to suppress third-party warnings - #422

Open
Shan-Zhou wants to merge 1 commit into
CobaltFusion:developfrom
Shan-Zhou:build/cmake-system-includes
Open

Shan-Zhou wants to merge 1 commit into
CobaltFusion:developfrom
Shan-Zhou:build/cmake-system-includes

Conversation

@Shan-Zhou

Copy link
Copy Markdown

suppress warnings like

D:\a\DebugViewPP\DebugViewPP\application\nuget\packages\boost.1.80.0\lib\native\include\boost\asio\detail\impl\win_iocp_socket_service_base.ipp(629,26): warning C4242: '=': conversion from 'int' to 'ADDRESS_FAMILY', possible loss of data [D:\a\DebugViewPP\DebugViewPP\build\application\DebugViewppLib\DebugView++Lib.vcxproj]
  (compiling source file '../../../application/DebugViewppLib/DbgviewReader.cpp')
  
D:\a\DebugViewPP\DebugViewPP\application\nuget\packages\boost.1.80.0\lib\native\include\boost\asio\impl\serial_port_base.ipp(511,22): warning C4242: '=': conversion from 'const unsigned int' to 'BYTE', possible loss of data [D:\a\DebugViewPP\DebugViewPP\build\application\DebugViewppLib\DebugView++Lib.vcxproj]
  (compiling source file '../../../application/DebugViewppLib/DbgviewReader.cpp')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant