Title: [264578] trunk/Source/_javascript_Core
- Revision
- 264578
- Author
- [email protected]
- Date
- 2020-07-19 11:23:07 -0700 (Sun, 19 Jul 2020)
Log Message
-Warray-bounds warnings in testb3 and testair
https://bugs.webkit.org/show_bug.cgi?id=214533
Patch by Michael Catanzaro <[email protected]> on 2020-07-19
Reviewed by Darin Adler.
Suppress these warnings when building testb3 and testair.
* shell/CMakeLists.txt:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (264577 => 264578)
--- trunk/Source/_javascript_Core/ChangeLog 2020-07-19 17:59:04 UTC (rev 264577)
+++ trunk/Source/_javascript_Core/ChangeLog 2020-07-19 18:23:07 UTC (rev 264578)
@@ -1,5 +1,16 @@
2020-07-19 Michael Catanzaro <[email protected]>
+ -Warray-bounds warnings in testb3 and testair
+ https://bugs.webkit.org/show_bug.cgi?id=214533
+
+ Reviewed by Darin Adler.
+
+ Suppress these warnings when building testb3 and testair.
+
+ * shell/CMakeLists.txt:
+
+2020-07-19 Michael Catanzaro <[email protected]>
+
cpp_generator.py:134: SyntaxWarning: "is" with a literal. Did you mean "=="?
https://bugs.webkit.org/show_bug.cgi?id=214530
Modified: trunk/Source/_javascript_Core/shell/CMakeLists.txt (264577 => 264578)
--- trunk/Source/_javascript_Core/shell/CMakeLists.txt 2020-07-19 17:59:04 UTC (rev 264577)
+++ trunk/Source/_javascript_Core/shell/CMakeLists.txt 2020-07-19 18:23:07 UTC (rev 264578)
@@ -86,6 +86,11 @@
WEBKIT_EXECUTABLE_DECLARE(testb3)
WEBKIT_EXECUTABLE_DECLARE(testair)
WEBKIT_EXECUTABLE_DECLARE(testdfg)
+
+ if (COMPILER_IS_GCC_OR_CLANG)
+ WEBKIT_ADD_TARGET_CXX_FLAGS(testb3 -Wno-array-bounds)
+ WEBKIT_ADD_TARGET_CXX_FLAGS(testair -Wno-array-bounds)
+ endif ()
endif ()
WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes