[webkit-changes] [WebKit/WebKit] 88ba17: [JSC] Unreviewed: Fix build after 288688 at main
Alicia Boya García
noreply at github.com
Fri Jan 10 07:49:00 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 88ba179329756fab61537ea1912aae7fa0d76441
https://github.com/WebKit/WebKit/commit/88ba179329756fab61537ea1912aae7fa0d76441
Author: Alicia Boya Garcia <aboya at igalia.com>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M Source/JavaScriptCore/API/glib/JSCValue.cpp
Log Message:
-----------
[JSC] Unreviewed: Fix build after 288688 at main
https://bugs.webkit.org/show_bug.cgi?id=285747
288688 at main introduced usage of raw C arrays, which is not allowed in
the current safer C++ guidelines enforced by the clang build:
```
JavaScriptCore/API/glib/JSCValue.cpp:2194:5: error: unsafe buffer access [-Werror,-Wunsafe-buffer-usage]
2194 | arguments[1] = rejectObj;
| ^~~~~~~~~
```
This patch replaces that particular usage with std::array<> to fix the
build error.
* Source/JavaScriptCore/API/glib/JSCValue.cpp:
(jsc_value_new_promise):
Canonical link: https://commits.webkit.org/288709@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list