[Webkit-unassigned] [Bug 274095] New: SerializedScriptValue.cpp:367:16: error: use of overloaded operator '[]' is ambiguous (with operand types 'ASCIILiteral' and 'int')
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 13 09:37:37 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=274095
Bug ID: 274095
Summary: SerializedScriptValue.cpp:367:16: error: use of
overloaded operator '[]' is ambiguous (with operand
types 'ASCIILiteral' and 'int')
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at redhat.com
CC: bugs-noreply at webkitgtk.org
WebKitGTK 2.45.1 fails to build on i686:
In file included from /buildstream/gnome/sdk/webkitgtk-6.0.bst/_builddir/WebCore/DerivedSources/unified-sources/UnifiedSource-68aea4ac-20.cpp:6:
/buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebCore/bindings/js/SerializedScriptValue.cpp:367:16: error: use of overloaded operator '[]' is ambiguous (with operand types 'ASCIILiteral' and 'int')
367 | if (tagName[0] != '<')
| ~~~~~~~^~
/buildstream/gnome/sdk/webkitgtk-6.0.bst/_builddir/WTF/Headers/wtf/text/ASCIILiteral.h:70:20: note: candidate function
70 | constexpr char operator[](unsigned index) const { return m_charactersWithNullTerminator[index]; }
| ^
/buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebCore/bindings/js/SerializedScriptValue.cpp:367:16: note: built-in candidate operator[](const char *, int)
367 | if (tagName[0] != '<')
| ^
/buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebCore/bindings/js/SerializedScriptValue.cpp:367:16: note: built-in candidate operator[](const volatile char *, int)
1 error generated.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240513/abe44240/attachment.htm>
More information about the webkit-unassigned
mailing list