mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[CMAKE] winetests/: Move '/wd4133' to gdiplus/ only
Addendum to 42d2d5e
.
CORE-7538
This commit is contained in:
parent
3fa57b8ff7
commit
7d77ec28f7
2 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,6 @@ add_definitions(-D__ROS_LONG64__)
|
|||
if(MSVC)
|
||||
add_compile_options(
|
||||
/wd4090 # C4090: 'function': different 'const' qualifiers
|
||||
/wd4133 # C4133: 'function': incompatible types - from '<enum> *' to 'UINT *'
|
||||
/wd4146 # C4146: unary minus operator applied to unsigned type, result still unsigned
|
||||
/wd4189 # C4189: 'x': local variable is initialized but not referenced
|
||||
/wd4267 # C4267: '=': conversion from 'size_t' to 'int', possible loss of data
|
||||
|
|
|
@ -32,4 +32,5 @@ add_rostests_file(TARGET gdiplus_winetest)
|
|||
if(MSVC)
|
||||
# error C4133: 'function': incompatible types - from 'ImageFlags *' to 'UINT *'
|
||||
remove_target_compile_option(gdiplus_winetest "/we4133")
|
||||
target_compile_options(gdiplus_winetest PRIVATE /wd4133)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue