[WINETESTS]
authorThomas Faber <thomas.faber@reactos.org>
Wed, 26 Mar 2014 12:15:55 +0000 (12:15 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Wed, 26 Mar 2014 12:15:55 +0000 (12:15 +0000)
- 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
rostests/winetests/winmm/CMakeLists.txt
rostests/winetests/ws2_32/CMakeLists.txt

index de329a9..a703a98 100644 (file)
@@ -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()
index 914ee71..4f6743c 100644 (file)
@@ -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()
index f09a62b..58bbfbc 100644 (file)
@@ -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()