https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d1ac13c64bfaad8fbfee0…
commit d1ac13c64bfaad8fbfee0520de286fda21edddb7
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Feb 24 09:43:58 2020 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Mon Feb 24 09:43:58 2020 +0900
[MSVCRT_WINETEST] Fix build by adding '-Wno-format'
ed909ba broke build.
---
modules/rostests/winetests/msvcrt/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/rostests/winetests/msvcrt/CMakeLists.txt
b/modules/rostests/winetests/msvcrt/CMakeLists.txt
index f69446b084c..f63fa637a9b 100644
--- a/modules/rostests/winetests/msvcrt/CMakeLists.txt
+++ b/modules/rostests/winetests/msvcrt/CMakeLists.txt
@@ -27,6 +27,10 @@ list(APPEND SOURCE
add_executable(msvcrt_winetest ${SOURCE} testlist.c)
+if(USE_CLANG_CL OR (NOT MSVC))
+ add_target_compile_flags(msvcrt_winetest "-Wno-format")
+endif()
+
set_module_type(msvcrt_winetest win32cui)
add_importlibs(msvcrt_winetest advapi32 msvcrt kernel32)