From ef1f80bd88445f842c8df2c87b2787e572f296ba Mon Sep 17 00:00:00 2001 From: Daniel Reimer Date: Sun, 19 Apr 2015 12:14:36 +0000 Subject: [PATCH 1/1] [ROSAPPS] Remove not needed -Wno-error and allow_warnings() svn path=/trunk/; revision=67295 --- rosapps/applications/explorer-old/CMakeLists.txt | 9 --------- rosapps/applications/winfile/CMakeLists.txt | 9 ++++----- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/rosapps/applications/explorer-old/CMakeLists.txt b/rosapps/applications/explorer-old/CMakeLists.txt index 73d0381b3d5..2123f18549e 100644 --- a/rosapps/applications/explorer-old/CMakeLists.txt +++ b/rosapps/applications/explorer-old/CMakeLists.txt @@ -59,12 +59,3 @@ add_pch(explorer_old precomp.h SOURCE) add_dependencies(explorer_old psdk) add_cd_file(TARGET explorer_old DESTINATION reactos FOR all) add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATION reactos FOR all) - -if(NOT MSVC) - add_compile_flags("-Wno-error=narrowing") - - # GCC bug #59472 - if(LTCG) - add_target_link_flags(explorer_old "-Wno-error") - endif() -endif() diff --git a/rosapps/applications/winfile/CMakeLists.txt b/rosapps/applications/winfile/CMakeLists.txt index bfa5f9458fc..8b5228201c5 100644 --- a/rosapps/applications/winfile/CMakeLists.txt +++ b/rosapps/applications/winfile/CMakeLists.txt @@ -7,8 +7,7 @@ target_link_libraries(winefile uuid) add_cd_file(TARGET winefile DESTINATION reactos/system32 FOR all) -if(NOT MSVC) - # FIXME: http://www.cmake.org/Bug/view.php?id=12998 - #add_target_compile_flags(winefile "-Wno-format") - allow_warnings(winefile) -endif() +#if(NOT MSVC) +# FIXME: http://www.cmake.org/Bug/view.php?id=12998 +# add_target_compile_flags(winefile "-Wno-format") +#endif() -- 2.17.1