Skip to content

Commit

Permalink
Add missing warning ignoring flags to onnx_proto CMake target (#1105)
Browse files Browse the repository at this point in the history
  • Loading branch information
bddppq authored and linkerzhang committed Jun 10, 2018
1 parent 5ed684e commit 4b4085c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ if (MSVC)
target_compile_options(onnx_proto PRIVATE
/MP
/WX
/wd4800 # disable warning type' : forcing value to bool 'true' or 'false' (performance warning)
/wd4503 # identifier' : decorated name length exceeded, name was truncated
/wd4146 # unary minus operator applied to unsigned type, result still unsigned: include\google\protobuf\wire_format_lite.h
)
target_compile_options(onnx PRIVATE
Expand Down

0 comments on commit 4b4085c

Please sign in to comment.