mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[KERNEL32] Disable some warnings for wine code
This commit is contained in:
parent
bbb3b00398
commit
c04377bf03
1 changed files with 6 additions and 0 deletions
|
@ -95,6 +95,12 @@ list(APPEND SOURCE
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
# Disable warning C4146: unary minus operator applied to unsigned type, result still unsigned
|
# Disable warning C4146: unary minus operator applied to unsigned type, result still unsigned
|
||||||
set_source_files_properties(wine/res.c PROPERTIES COMPILE_FLAGS /wd4146)
|
set_source_files_properties(wine/res.c PROPERTIES COMPILE_FLAGS /wd4146)
|
||||||
|
|
||||||
|
# Disable warning C4267: 'initializing': conversion from 'size_t' to 'DWORD', possible loss of data
|
||||||
|
set_source_files_properties(winnls/string/locale.c PROPERTIES COMPILE_FLAGS /wd4267)
|
||||||
|
else()
|
||||||
|
# Disable warning: 'variable' defined but not used
|
||||||
|
set_source_files_properties(winnls/string/locale.c PROPERTIES COMPILE_FLAGS -Wno-unused-variable)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
|
|
Loading…
Reference in a new issue