https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7d77ec28f7f8135db4ad9…
commit 7d77ec28f7f8135db4ad96c240700ab7213f4a79
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Thu Nov 12 01:22:46 2020 +0100
Commit: Victor Perevertkin <victor(a)perevertkin.ru>
CommitDate: Fri Apr 16 15:00:03 2021 +0300
[CMAKE] winetests/: Move '/wd4133' to gdiplus/ only
Addendum to 42d2d5e.
CORE-7538
---
modules/rostests/winetests/CMakeLists.txt | 1 -
modules/rostests/winetests/gdiplus/CMakeLists.txt | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rostests/winetests/CMakeLists.txt
b/modules/rostests/winetests/CMakeLists.txt
index abf5f5efe4b..e9a5b33613b 100644
--- a/modules/rostests/winetests/CMakeLists.txt
+++ b/modules/rostests/winetests/CMakeLists.txt
@@ -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
diff --git a/modules/rostests/winetests/gdiplus/CMakeLists.txt
b/modules/rostests/winetests/gdiplus/CMakeLists.txt
index df3cbc98e07..e0fc7fcb6bd 100644
--- a/modules/rostests/winetests/gdiplus/CMakeLists.txt
+++ b/modules/rostests/winetests/gdiplus/CMakeLists.txt
@@ -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()