mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
[win] Disable warning 4244 on MSVC
This commit is contained in:
parent
ae9c37e90c
commit
58e78ad886
@ -19,6 +19,7 @@ if(MSVC)
|
|||||||
|
|
||||||
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
|
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
|
||||||
add_definitions(-wd4267) # disable warnings about signed/unsigned comparison
|
add_definitions(-wd4267) # disable warnings about signed/unsigned comparison
|
||||||
|
add_definitions(-wd4244) # disable warnings about possible loss of data
|
||||||
else()
|
else()
|
||||||
# disable warnings about signed/unsigned comparison
|
# disable warnings about signed/unsigned comparison
|
||||||
add_definitions(-Wno-sign-compare)
|
add_definitions(-Wno-sign-compare)
|
||||||
|
Loading…
Reference in New Issue
Block a user