https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a385a78cf0e0385071d67…
commit a385a78cf0e0385071d67d9d8919250768538b80
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Thu Oct 15 11:53:11 2020 +0200
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Thu Oct 15 11:53:11 2020 +0200
[OLE32_WINETEST] Fix build with lower optimization level
---
modules/rostests/winetests/ole32/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/rostests/winetests/ole32/CMakeLists.txt
b/modules/rostests/winetests/ole32/CMakeLists.txt
index 0b54eae962e..dd2aa62975d 100644
--- a/modules/rostests/winetests/ole32/CMakeLists.txt
+++ b/modules/rostests/winetests/ole32/CMakeLists.txt
@@ -30,6 +30,8 @@ add_importlibs(ole32_winetest oleaut32 ole32 user32 gdi32 advapi32
msvcrt kernel
if(MSVC)
add_importlibs(ole32_winetest ntdll)
+else()
+ target_compile_options(ole32_winetest PRIVATE -Wno-format-overflow)
endif()
add_pch(ole32_winetest precomp.h "${PCH_SKIP_SOURCE}")