From: Daniel Reimer Date: Sun, 19 Apr 2015 12:14:36 +0000 (+0000) Subject: [ROSAPPS] X-Git-Tag: backups/colins-printing-for-freedom@73041~321 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=ef1f80bd88445f842c8df2c87b2787e572f296ba;hp=8d7d45ce07bccf4c49422823b6034079de134e56 [ROSAPPS] Remove not needed -Wno-error and allow_warnings() svn path=/trunk/; revision=67295 --- 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()