Bug 251594 - [GTK] 2.38.4 fails to build
Summary: [GTK] 2.38.4 fails to build
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-02 08:43 PST by Hussam Al-Tayeb
Modified: 2023-02-16 06:11 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hussam Al-Tayeb 2023-02-02 08:43:05 PST
While compiling webkit2gtk 2.38.4 using gcc 11.3 snapshot, I got: /home/hussam/cache/system/webkit2gtk/src/webkitgtk/Source/WebCore/html/HTMLInputElement.cpp:2031:36: error: invalid use of incomplete type ‘class WebCore::EventLoopTaskGroup’
2031 | m_element->document().eventLoop().queueTask(TaskSource::DOMManipulation, [element = m_element] {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/hussam/cache/system/webkit2gtk/src/webkitgtk/Source/WebCore/dom/ScriptExecutionContext.h:30,

Michael Catanzaro suggested adding #include "EventLoop.h" to the file that won't compile.
Comment 1 Hussam Al-Tayeb 2023-02-16 03:20:00 PST
2.38.5 builds fine.
Comment 2 Adrian Perez 2023-02-16 06:11:27 PST
(In reply to Hussam Al-Tayeb from comment #1)
> 2.38.5 builds fine.

Great, thanks for confirming =)