Reactos

[WINETESTS] Fix warnings when compiling comctl32_winetest (#7316)

fix warnings when compiling comctl32_winetest
the comctl32 winetest just does a few things so properly mark the ros diff.

authored by

Justin Miller and committed by
GitHub
770adbc8 b15963ab

+11
+5
modules/rostests/winetests/comctl32/CMakeLists.txt
··· 47 47 target_compile_options(comctl32_winetest PRIVATE /wd4334) 48 48 endif() 49 49 50 + if(MSVC) 51 + # warning C4045: 'large_truncated_80_w': array bounds overflow 52 + target_compile_options(comctl32_winetest PRIVATE /wd4045) 53 + endif() 54 + 50 55 target_compile_options(comctl32_winetest PRIVATE $<$<NOT:$<C_COMPILER_ID:MSVC>>:-Wno-format>) 51 56 52 57 set_module_type(comctl32_winetest win32cui)
+4
modules/rostests/winetests/comctl32/rebar.c
··· 18 18 */ 19 19 20 20 /* make sure the structures work with a comctl32 v5.x */ 21 + #ifdef __REACTOS__ 22 + #undef _WIN32_WINNT 23 + #undef _WIN32_IE 24 + #endif 21 25 #define _WIN32_WINNT 0x500 22 26 #define _WIN32_IE 0x500 23 27
+2
modules/rostests/winetests/comctl32/static.c
··· 20 20 #include <stdarg.h> 21 21 #include <stdio.h> 22 22 23 + #ifndef __REACTOS__ 23 24 #define STRICT 25 + #endif 24 26 #define WIN32_LEAN_AND_MEAN 25 27 #include <windows.h> 26 28 #include "commctrl.h"