mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[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.
This commit is contained in:
@@ -47,6 +47,11 @@ if(MSVC AND ARCH STREQUAL "amd64")
|
||||
target_compile_options(comctl32_winetest PRIVATE /wd4334)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
# warning C4045: 'large_truncated_80_w': array bounds overflow
|
||||
target_compile_options(comctl32_winetest PRIVATE /wd4045)
|
||||
endif()
|
||||
|
||||
target_compile_options(comctl32_winetest PRIVATE $<$<NOT:$<C_COMPILER_ID:MSVC>>:-Wno-format>)
|
||||
|
||||
set_module_type(comctl32_winetest win32cui)
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
*/
|
||||
|
||||
/* make sure the structures work with a comctl32 v5.x */
|
||||
#ifdef __REACTOS__
|
||||
#undef _WIN32_WINNT
|
||||
#undef _WIN32_IE
|
||||
#endif
|
||||
#define _WIN32_WINNT 0x500
|
||||
#define _WIN32_IE 0x500
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef __REACTOS__
|
||||
#define STRICT
|
||||
#endif
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include "commctrl.h"
|
||||
|
||||
Reference in New Issue
Block a user