[ROSAPPS]
authorDaniel Reimer <reimer.daniel@freenet.de>
Sun, 19 Apr 2015 12:14:36 +0000 (12:14 +0000)
committerDaniel Reimer <reimer.daniel@freenet.de>
Sun, 19 Apr 2015 12:14:36 +0000 (12:14 +0000)
Remove not needed -Wno-error and allow_warnings()

svn path=/trunk/; revision=67295

rosapps/applications/explorer-old/CMakeLists.txt
rosapps/applications/winfile/CMakeLists.txt

index 73d0381..2123f18 100644 (file)
@@ -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()
index bfa5f94..8b52282 100644 (file)
@@ -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()