From ecced5a6cb4734712fc8d4da822e260d5b783083 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Thu, 19 Dec 2013 21:30:10 +0000 Subject: [PATCH] [WINETESTS] - Do not suppress nonexistent warnings svn path=/trunk/; revision=61302 --- rostests/winetests/gdi32/CMakeLists.txt | 6 ------ rostests/winetests/kernel32/CMakeLists.txt | 7 ------- rostests/winetests/user32/CMakeLists.txt | 7 ------- 3 files changed, 20 deletions(-) diff --git a/rostests/winetests/gdi32/CMakeLists.txt b/rostests/winetests/gdi32/CMakeLists.txt index 1ec436264f6..90dede3a217 100644 --- a/rostests/winetests/gdi32/CMakeLists.txt +++ b/rostests/winetests/gdi32/CMakeLists.txt @@ -20,12 +20,6 @@ list(APPEND SOURCE add_executable(gdi32_winetest ${SOURCE} resource.rc) -if(NOT MSVC) - # FIXME: http://www.cmake.org/Bug/view.php?id=12998 - #allow_warnings(gdi32_winetest) - set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error") -endif() - set_module_type(gdi32_winetest win32cui) add_importlibs(gdi32_winetest gdi32 user32 advapi32 msvcrt kernel32 ntdll) add_cd_file(TARGET gdi32_winetest DESTINATION reactos/bin FOR all) diff --git a/rostests/winetests/kernel32/CMakeLists.txt b/rostests/winetests/kernel32/CMakeLists.txt index 8ada336c4eb..71a661fc9e4 100644 --- a/rostests/winetests/kernel32/CMakeLists.txt +++ b/rostests/winetests/kernel32/CMakeLists.txt @@ -50,11 +50,4 @@ target_link_libraries(kernel32_winetest wine) set_module_type(kernel32_winetest win32cui) add_importlibs(kernel32_winetest user32 advapi32 msvcrt kernel32 ntdll) -if(NOT MSVC) - # FIXME: http://www.cmake.org/Bug/view.php?id=12998 - #add_target_compile_flags(kernel32_winetest "-Wno-format") - #allow_warnings(kernel32_winetest) - set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format -Wno-error") -endif() - add_cd_file(TARGET kernel32_winetest DESTINATION reactos/bin FOR all) diff --git a/rostests/winetests/user32/CMakeLists.txt b/rostests/winetests/user32/CMakeLists.txt index 0d22f12a265..7759513cc83 100644 --- a/rostests/winetests/user32/CMakeLists.txt +++ b/rostests/winetests/user32/CMakeLists.txt @@ -30,10 +30,3 @@ add_executable(user32_winetest ${SOURCE} resource.rc) set_module_type(user32_winetest win32cui) add_importlibs(user32_winetest user32 gdi32 advapi32 msvcrt kernel32) add_cd_file(TARGET user32_winetest DESTINATION reactos/bin FOR all) - -if(NOT MSVC) - # FIXME: http://www.cmake.org/Bug/view.php?id=12998 - #add_target_compile_flags(user32_winetest "-Wno-format") - #allow_warnings(user32_winetest) - set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format") -endif()