mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:22:58 +00:00
[TOOLS] Fix/suppress all MSVC/x64 warnings (#1525)
This commit is contained in:
parent
0aed8b09a4
commit
f47f45dbdd
29 changed files with 140 additions and 37 deletions
|
@ -11,6 +11,13 @@ if(MSVC)
|
|||
add_definitions(-Dvsnprintf=_vsnprintf)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Disable warning " unary minus operator applied to unsigned type, result still unsigned"
|
||||
add_compile_flags("/wd4146")
|
||||
|
||||
# Disable warning "'=': conversion from 'a' to 'b', possible loss of data"
|
||||
add_compile_flags("/wd4244")
|
||||
|
||||
endif()
|
||||
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue