[ROSAPPS]

Remove not needed -Wno-error and allow_warnings()

svn path=/trunk/; revision=67295
This commit is contained in:
Daniel Reimer 2015-04-19 12:14:36 +00:00
parent 8d7d45ce07
commit ef1f80bd88
2 changed files with 4 additions and 14 deletions

View file

@ -59,12 +59,3 @@ add_pch(explorer_old precomp.h SOURCE)
add_dependencies(explorer_old psdk) add_dependencies(explorer_old psdk)
add_cd_file(TARGET explorer_old DESTINATION reactos FOR all) 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) 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()

View file

@ -7,8 +7,7 @@ target_link_libraries(winefile uuid)
add_cd_file(TARGET winefile DESTINATION reactos/system32 FOR all) add_cd_file(TARGET winefile DESTINATION reactos/system32 FOR all)
if(NOT MSVC) #if(NOT MSVC)
# FIXME: http://www.cmake.org/Bug/view.php?id=12998 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
#add_target_compile_flags(winefile "-Wno-format") # add_target_compile_flags(winefile "-Wno-format")
allow_warnings(winefile) #endif()
endif()