Skip to content

Commit

Permalink
fix: Add warning disable C4273
Browse files Browse the repository at this point in the history
- 'torch::jit::tracer::addInputs': inconsistent dll linkage
  • Loading branch information
utilForever committed May 1, 2019
1 parent 6dd0f6f commit 5597d93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Builds/CMake/CompileOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
/wd4458 # -> disable warning: declaration of 'pyobj' hides class member (caused by Torch)
/wd4305 # -> disable warning: 'initializing': truncation from 'double' to 'float' (caused by Torch)
/wd4018 # -> disable warning: '>': signed/unsigned mismatch (caused by Torch)
/wd4273 # -> disable warning: 'torch::jit::tracer::addInputs': inconsistent dll linkage (caused by Torch)

#$<$<CONFIG:Debug>:
#/RTCc # -> value is assigned to a smaller data type and results in a data loss
Expand Down

0 comments on commit 5597d93

Please sign in to comment.