WebKit Bugzilla
New
Browse
Log In
×
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 274578
[GTK] Build failures in TestWebKitAPI for WebKitGTK
https://bugs.webkit.org/show_bug.cgi?id=274578
Summary
[GTK] Build failures in TestWebKitAPI for WebKitGTK
Georges Basile Stavracas Neto
Reported
2024-05-23 00:25:56 PDT
Tools/TestWebKitAPI/Tests/WebKitGtk/TestWebViewEditor.cpp:138:13: error: return type 'gboolean' (aka 'int') must match previous return type 'bool' when lambda expression has unspecified explicit return type 138 | return test.clipboardPermissionRequested(request); | ^ 1 error generated. and Tools/TestWebKitAPI/Tests/WebKitGtk/TestInspectorServer.cpp:67:21: error: no matching function for call to 'g_timeout_add' 67 | g_timeout_add(100, [](gpointer userData) { | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmain.h:786:10: note: candidate function not viable: no known conversion from '(lambda at /home/feaneron/Documentos/Projetos/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestInspectorServer.cpp:67:40)' to 'GSourceFunc' (aka 'int (*)(void *)') for 2nd argument 786 | guint g_timeout_add (guint interval, | ^ 787 | GSourceFunc function, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
Attachments
Add attachment
proposed patch, testcase, etc.
Georges Basile Stavracas Neto
Comment 1
2024-05-23 00:40:48 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/28977
EWS
Comment 2
2024-05-23 02:06:07 PDT
Committed
279185@main
(aa28356f83b8): <
https://commits.webkit.org/279185@main
> Reviewed commits have been landed. Closing PR #28977 and removing active labels.
Michael Catanzaro
Comment 3
2024-05-28 17:12:59 PDT
Reference:
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4001#note_2119296
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug