https://bugs.webkit.org/show_bug.cgi?id=142338
Reviewed by Gyuyoung Kim.
.:
* Source/cmake/WebKitHelpers.cmake:
Source/WebKit2:
* CMakeLists.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181318
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-03-10 Csaba Osztrogonác <ossy@webkit.org>
+
+ [cmake] Handle unused parameter warnings as build errors except in WebKit2
+ https://bugs.webkit.org/show_bug.cgi?id=142338
+
+ Reviewed by Gyuyoung Kim.
+
+ * Source/cmake/WebKitHelpers.cmake:
+
2015-03-03 Daniel Bates <dabates@apple.com>
Convert ManualTests/svg-tooltip.svg to a DRT test
endif ()
endmacro()
+# Suppress unused parameter warnings for sources in WebKit2.
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter")
+
WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
GENERATE_WEBKIT2_MESSAGE_SOURCES(WebKit2_DERIVED_SOURCES "${WebKit2_MESSAGES_IN_FILES}")
+2015-03-10 Csaba Osztrogonác <ossy@webkit.org>
+
+ [cmake] Handle unused parameter warnings as build errors except in WebKit2
+ https://bugs.webkit.org/show_bug.cgi?id=142338
+
+ Reviewed by Gyuyoung Kim.
+
+ * CMakeLists.txt:
+
2015-03-10 Dan Bernstein <mitz@apple.com>
WebKit2 part of <rdar://problem/20086546> [Cocoa] Add an option to treat certificate chains with SHA1-signed certificates as insecure
# Enable errors on warning
if (OPTION_ENABLE_WERROR)
- set(OLD_COMPILE_FLAGS "-Werror -Wno-error=unused-parameter ${OLD_COMPILE_FLAGS}")
+ set(OLD_COMPILE_FLAGS "-Werror ${OLD_COMPILE_FLAGS}")
endif ()
set_target_properties(${_target} PROPERTIES