[Webkit-unassigned] [Bug 278715] New: no matching conversion for functional-style cast from 'WebCore::TextUnderElementMode::Children' to 'WebCore::TextUnderElementMode'
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 27 04:30:09 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=278715
Bug ID: 278715
Summary: no matching conversion for functional-style cast from
'WebCore::TextUnderElementMode::Children' to
'WebCore::TextUnderElementMode'
Product: WebKit
Version: WebKit Local Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: d.romanovskii at ritm.media
Created attachment 472315
--> https://bugs.webkit.org/attachment.cgi?id=472315&action=review
webkit build
Hello! I`m trying to build webkit GTK Port.
My current flow is bellow:
1) apt -y install ca-certificates git cmake pkg-config libbrotli-dev libgif-dev libjpeg-dev libopenexr-dev libpng-dev libwebp-dev asciidoctor freeglut3-dev doxygen clang
2) export CC=clang CXX=clang++
3) git clone https://github.com/libjxl/libjxl.git --recursive
4) mkdir /libjxl/build && cd /libjxl/build
5) cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF ..
6) cmake --build . -- -j$(nproc)
7) cmake --install . --prefix=/usr
8) cd / && git clone https://github.com/ianlancetaylor/libbacktrace.git
9) mkdir libbacktrace/build && cd libbacktrace/build
10) ../configure
11) make
12) make install
13) cd / && git clone --depth 1 --single-branch --branch "$TAG" https://github.com/WebKit/WebKit.git webkit
14) mkdir -p /opt/webkit
15) cd webkit
16) yes | DEBIAN_FRONTEND=noninteractive Tools/gtk/install-dependencies
17) cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/webkit -DUSE_WPE_RENDERER=OFF -DENABLE_MINIBROWSER=ON -DENABLE_BUBBLEWRAP_SANDBOX=OFF -DENABLE_GAMEPAD=OFF -DENABLE_SPELLCHECK=OFF -DENABLE_WAYLAND_TARGET=OFF -DUSE_OPENJPEG=OFF -GNinja -DUSE_SYSTEM_SYSPROF_CAPTURE=NO
18) ninja
19) ninja install
And on step 17) i have error:
In file included from /webkit/WebCore/DerivedSources/unified-sources/UnifiedSource-aba958d6-7.cpp:7:
/webkit/Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp:292:48: error: no matching conversion for functional-style cast from 'WebCore::TextUnderElementMode::Children' to 'WebCore::TextUnderElementMode'
auto text = m_coreObject->textUnderElement(TextUnderElementMode(TextUnderElementMode::Children::IncludeAllChildren));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/webkit/Source/WebCore/accessibility/AXCoreObject.h:664:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'WebCore::TextUnderElementMode::Children' to 'const WebCore::TextUnderElementMode' for 1st argument
struct TextUnderElementMode {
^
/webkit/Source/WebCore/accessibility/AXCoreObject.h:664:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'WebCore::TextUnderElementMode::Children' to 'WebCore::TextUnderElementMode' for 1st argument
/webkit/Source/WebCore/accessibility/AXCoreObject.h:664:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
In file included from /webkit/WebCore/DerivedSources/unified-sources/UnifiedSource-aba958d6-7.cpp:7:
/webkit/Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp:318:39: error: no matching conversion for functional-style cast from 'WebCore::TextUnderElementMode::Children' to 'WebCore::TextUnderElementMode'
textLength = textUnderElement(TextUnderElementMode(TextUnderElementMode::Children::IncludeAllChildren)).length();
#10 2487.8 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/webkit/Source/WebCore/accessibility/AXCoreObject.h:664:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'WebCore::TextUnderElementMode::Children' to 'const WebCore::TextUnderElementMode' for 1st argument
struct TextUnderElementMode {
^
/webkit/Source/WebCore/accessibility/AXCoreObject.h:664:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'WebCore::TextUnderElementMode::Children' to 'WebCore::TextUnderElementMode' for 1st argument
/webkit/Source/WebCore/accessibility/AXCoreObject.h:664:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
2 errors generated.
Full build log in attachment
For build I`m use ubuntu:22.04 and lastes versions of packets
--
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/20240827/23f2c689/attachment.htm>
More information about the webkit-unassigned
mailing list