Bug 274578
Summary: | [GTK] Build failures in TestWebKitAPI for WebKitGTK | ||
---|---|---|---|
Product: | WebKit | Reporter: | Georges Basile Stavracas Neto <feaneron> |
Component: | WebKitGTK | Assignee: | Georges Basile Stavracas Neto <feaneron> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Georges Basile Stavracas Neto
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
Pull request: https://github.com/WebKit/WebKit/pull/28977
EWS
Committed 279185@main (aa28356f83b8): <https://commits.webkit.org/279185@main>
Reviewed commits have been landed. Closing PR #28977 and removing active labels.
Michael Catanzaro
Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4001#note_2119296