mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[RTL] Disable an MSVC warning in wine source
This commit is contained in:
parent
eb39c408af
commit
9d8ea85398
1 changed files with 12 additions and 3 deletions
|
@ -10,10 +10,21 @@ if (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||||
add_compile_options(-Wunused-result)
|
add_compile_options(-Wunused-result)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
list(APPEND RTL_WINE_SOURCE
|
||||||
|
actctx.c
|
||||||
|
timerqueue.c
|
||||||
|
wait.c
|
||||||
|
)
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
# Silence warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data
|
||||||
|
set_source_files_properties(${RTL_WINE_SOURCE} PROPERTIES COMPILE_FLAGS /wd4267)
|
||||||
|
endif()
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
|
${RTL_WINE_SOURCE}
|
||||||
access.c
|
access.c
|
||||||
acl.c
|
acl.c
|
||||||
actctx.c
|
|
||||||
appverifier.c
|
appverifier.c
|
||||||
assert.c
|
assert.c
|
||||||
atom.c
|
atom.c
|
||||||
|
@ -64,14 +75,12 @@ list(APPEND SOURCE
|
||||||
sysvol.c
|
sysvol.c
|
||||||
thread.c
|
thread.c
|
||||||
time.c
|
time.c
|
||||||
timerqueue.c
|
|
||||||
timezone.c
|
timezone.c
|
||||||
trace.c
|
trace.c
|
||||||
unicode.c
|
unicode.c
|
||||||
unicodeprefix.c
|
unicodeprefix.c
|
||||||
vectoreh.c
|
vectoreh.c
|
||||||
version.c
|
version.c
|
||||||
wait.c
|
|
||||||
workitem.c
|
workitem.c
|
||||||
rtl.h)
|
rtl.h)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue