[Webkit-unassigned] [Bug 274578] New: [GTK] Build failures in TestWebKitAPI for WebKitGTK

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 23 00:25:56 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=274578

            Bug ID: 274578
           Summary: [GTK] Build failures in TestWebKitAPI for WebKitGTK
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: georges.stavracas at gmail.com
                CC: bugs-noreply at webkitgtk.org

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.

-- 
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/20240523/e7ea5548/attachment-0001.htm>


More information about the webkit-unassigned mailing list