Skip to content

Commit

Permalink
[win] Disable warning 4244 on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Apr 16, 2020
1 parent ae9c37e commit 58e78ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if(MSVC)

add_definitions(-D_SCL_SECURE_NO_WARNINGS)
add_definitions(-wd4267) # disable warnings about signed/unsigned comparison
add_definitions(-wd4244) # disable warnings about possible loss of data
else()
# disable warnings about signed/unsigned comparison
add_definitions(-Wno-sign-compare)
Expand Down

0 comments on commit 58e78ad

Please sign in to comment.