Bug 274578

Summary: [GTK] Build failures in TestWebKitAPI for WebKitGTK
Product: WebKit Reporter: Georges Basile Stavracas Neto <feaneron>
Component: WebKitGTKAssignee: 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
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
Georges Basile Stavracas Neto
Comment 1 2024-05-23 00:40:48 PDT
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
Note You need to log in before you can comment on or make changes to this bug.