Title: [185055] trunk
- Revision
- 185055
- Author
- [email protected]
- Date
- 2015-06-01 02:11:05 -0700 (Mon, 01 Jun 2015)
Log Message
[cmake] Suppress parentheses-equality warnings
https://bugs.webkit.org/show_bug.cgi?id=145126
Reviewed by Darin Adler.
* Source/cmake/WebKitHelpers.cmake:
Modified Paths
Diff
Modified: trunk/ChangeLog (185054 => 185055)
--- trunk/ChangeLog 2015-06-01 03:27:20 UTC (rev 185054)
+++ trunk/ChangeLog 2015-06-01 09:11:05 UTC (rev 185055)
@@ -1,3 +1,12 @@
+2015-06-01 Csaba Osztrogonác <[email protected]>
+
+ [cmake] Suppress parentheses-equality warnings
+ https://bugs.webkit.org/show_bug.cgi?id=145126
+
+ Reviewed by Darin Adler.
+
+ * Source/cmake/WebKitHelpers.cmake:
+
2015-05-28 Carlos Alberto Lopez Perez <[email protected]>
[CMake] Improve detection and usage of GL/GLES/EGL libraries.
Modified: trunk/Source/cmake/WebKitHelpers.cmake (185054 => 185055)
--- trunk/Source/cmake/WebKitHelpers.cmake 2015-06-01 03:27:20 UTC (rev 185054)
+++ trunk/Source/cmake/WebKitHelpers.cmake 2015-06-01 09:11:05 UTC (rev 185055)
@@ -15,6 +15,11 @@
set(OLD_COMPILE_FLAGS "-fPIC ${OLD_COMPILE_FLAGS}")
endif ()
+ # Suppress -Wparentheses-equality warning of Clang
+ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+ set(OLD_COMPILE_FLAGS "-Wno-parentheses-equality ${OLD_COMPILE_FLAGS}")
+ endif ()
+
# Enable warnings by default
if (NOT ${OPTION_IGNORECXX_WARNINGS})
set(OLD_COMPILE_FLAGS "-Wall -Wextra -Wcast-align -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wundef -Wwrite-strings ${OLD_COMPILE_FLAGS}")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes