From 2cc0229ae235f1ea6e5af9d094220cb94b97de3a Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Wed, 26 Mar 2014 12:15:55 +0000 Subject: [PATCH] [WINETESTS] - Remove unnecessary use of allow_warnings - Do not hide warnings that indicate actual problems in setuapi (non-Wine test, should move to apitests) and winmm (Wine bugs, fixed upstream) svn path=/trunk/; revision=62569 --- rostests/winetests/setupapi/CMakeLists.txt | 2 +- rostests/winetests/winmm/CMakeLists.txt | 2 +- rostests/winetests/ws2_32/CMakeLists.txt | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/rostests/winetests/setupapi/CMakeLists.txt b/rostests/winetests/setupapi/CMakeLists.txt index de329a9dfaa..a703a98727f 100644 --- a/rostests/winetests/setupapi/CMakeLists.txt +++ b/rostests/winetests/setupapi/CMakeLists.txt @@ -17,5 +17,5 @@ add_importlibs(setupapi_winetest advapi32 setupapi user32 msvcrt kernel32) add_cd_file(TARGET setupapi_winetest DESTINATION reactos/bin FOR all) if(NOT MSVC) - add_target_compile_flags(setupapi_winetest "-Wno-format") + add_target_compile_flags(setupapi_winetest "-Wno-error=format") endif() diff --git a/rostests/winetests/winmm/CMakeLists.txt b/rostests/winetests/winmm/CMakeLists.txt index 914ee71e4ae..4f6743c0279 100644 --- a/rostests/winetests/winmm/CMakeLists.txt +++ b/rostests/winetests/winmm/CMakeLists.txt @@ -17,5 +17,5 @@ add_importlibs(winmm_winetest winmm user32 msvcrt kernel32 ntdll) add_cd_file(TARGET winmm_winetest DESTINATION reactos/bin FOR all) if(NOT MSVC) - add_target_compile_flags(winmm_winetest "-Wno-format -Wno-unused-but-set-variable") + add_target_compile_flags(winmm_winetest "-Wno-error=format -Wno-error=unused-but-set-variable") endif() diff --git a/rostests/winetests/ws2_32/CMakeLists.txt b/rostests/winetests/ws2_32/CMakeLists.txt index f09a62b7132..58bbfbc94c2 100644 --- a/rostests/winetests/ws2_32/CMakeLists.txt +++ b/rostests/winetests/ws2_32/CMakeLists.txt @@ -6,5 +6,4 @@ add_cd_file(TARGET ws2_32_winetest DESTINATION reactos/bin FOR all) if(NOT MSVC) add_target_compile_flags(ws2_32_winetest "-Wno-format") - allow_warnings(ws2_32_winetest) endif()