Skip to content

Commit

Permalink
Add missing warning ignoring flags to onnx_proto CMake target (onnx#1105
Browse files Browse the repository at this point in the history
)
  • Loading branch information
bddppq authored and Raymond Yang committed Jun 18, 2018
1 parent 2ac91d6 commit 3376d44
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 @@ -316,6 +316,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 3376d44

Please sign in to comment.