Title: [202479] trunk/Source/WebCore
- Revision
- 202479
- Author
- [email protected]
- Date
- 2016-06-26 22:10:05 -0700 (Sun, 26 Jun 2016)
Log Message
[EFL] Fix build warning when using geoclue2
https://bugs.webkit.org/show_bug.cgi?id=159128
Reviewed by Antonio Gomes.
EFL port has handled build warning as error. So EFL port
hasn't been built when we use geoclue2 library because a generated geoclue2 file
has unused-parameter build warning. To fix it this patch set to ignore the build warning
in the generated geoclue2 file.
* PlatformEfl.cmake:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (202478 => 202479)
--- trunk/Source/WebCore/ChangeLog 2016-06-27 01:29:34 UTC (rev 202478)
+++ trunk/Source/WebCore/ChangeLog 2016-06-27 05:10:05 UTC (rev 202479)
@@ -1,3 +1,17 @@
+2016-06-26 Gyuyoung Kim <[email protected]>
+
+ [EFL] Fix build warning when using geoclue2
+ https://bugs.webkit.org/show_bug.cgi?id=159128
+
+ Reviewed by Antonio Gomes.
+
+ EFL port has handled build warning as error. So EFL port
+ hasn't been built when we use geoclue2 library because a generated geoclue2 file
+ has unused-parameter build warning. To fix it this patch set to ignore the build warning
+ in the generated geoclue2 file.
+
+ * PlatformEfl.cmake:
+
2016-06-26 Chris Dumez <[email protected]>
Regression: HTMLOptionsCollection's named properties have precedence over indexed properties
Modified: trunk/Source/WebCore/PlatformEfl.cmake (202478 => 202479)
--- trunk/Source/WebCore/PlatformEfl.cmake 2016-06-27 01:29:34 UTC (rev 202478)
+++ trunk/Source/WebCore/PlatformEfl.cmake 2016-06-27 05:10:05 UTC (rev 202479)
@@ -232,6 +232,8 @@
OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.c ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.h
COMMAND gdbus-codegen --interface-prefix org.freedesktop.GeoClue2. --c-namespace Geoclue --generate-c-code ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface ${GEOCLUE_DBUS_INTERFACE}
)
+ # Geoclue2Interface.c generates unused-parameter build warning, it causes build error when using geoclue2 library.
+ set_source_files_properties(${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.c PROPERTIES COMPILE_FLAGS -Wno-error)
endif ()
if (ENABLE_GAMEPAD_DEPRECATED)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes