[Webkit-unassigned] [Bug 200123] New: [GTK] Indistinguishable overloaded callback function inspectorViewDestroyed if RemoteWebInspectorProxyGtk.cpp and WebInspectorProxyGtk.cpp are in a unified build bundle

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 25 04:00:19 PDT 2019


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

            Bug ID: 200123
           Summary: [GTK] Indistinguishable overloaded callback function
                    inspectorViewDestroyed if
                    RemoteWebInspectorProxyGtk.cpp and
                    WebInspectorProxyGtk.cpp are in a unified build bundle
           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: Hironori.Fujii at sony.com
                CC: bugs-noreply at webkitgtk.org

[GTK] Indistinguishable overloaded callback function inspectorViewDestroyed if RemoteWebInspectorProxyGtk.cpp and WebInspectorProxyGtk.cpp are in a unified build bundle

If UIProcess/gtk/RemoteWebInspectorProxyGtk.cpp and
UIProcess/gtk/WebInspectorProxyGtk.cpp are in a same unified build
bundle, the following compilation error occurs.

> In file included from ../DependenciesGTK/Root/include/glib-2.0/gobject/gobject.h:28,
>                  from ../DependenciesGTK/Root/include/glib-2.0/gobject/gbinding.h:29,
>                  from ../DependenciesGTK/Root/include/glib-2.0/glib-object.h:23,
>                  from ../DependenciesGTK/Root/include/glib-2.0/gio/gioenums.h:28,
>                  from ../DependenciesGTK/Root/include/glib-2.0/gio/giotypes.h:28,
>                  from ../DependenciesGTK/Root/include/glib-2.0/gio/gio.h:26,
>                  from ../DependenciesGTK/Root/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
>                  from ../DependenciesGTK/Root/include/gtk-3.0/gdk/gdk.h:32,
>                  from ../DependenciesGTK/Root/include/gtk-3.0/gtk/gtk.h:30,
>                  from ../../Source/WebKit/UIProcess/gtk/GestureController.cpp:30,
>                  from DerivedSources/WebKit/unified-sources/UnifiedSource-88d1702b-26.cpp:1:
> ../../Source/WebKit/UIProcess/gtk/WebInspectorProxyGtk.cpp: In member function ‘WebKit::WebPageProxy* WebKit::WebInspectorProxy::platformCreateFrontendPage()’:
> ../../Source/WebKit/UIProcess/gtk/WebInspectorProxyGtk.cpp:157:50: error: overloaded function with no contextual type information
>      g_signal_connect(m_inspectorView, "destroy", G_CALLBACK(inspectorViewDestroyed), this);
>                                                   ^~~~~~~~~~
> ../../Source/WebKit/UIProcess/gtk/WebInspectorProxyGtk.cpp: In member function ‘void WebKit::WebInspectorProxy::platformCloseFrontendPageAndWindow()’:
> ../../Source/WebKit/UIProcess/gtk/WebInspectorProxyGtk.cpp:279:109: error: overloaded function with no contextual type information
>          g_signal_handlers_disconnect_by_func(m_inspectorView, reinterpret_cast<void*>(inspectorViewDestroyed), this);
>                                                                                                              ^
> ../../Source/WebKit/UIProcess/gtk/WebInspectorProxyGtk.cpp: In member function ‘void WebKit::WebInspectorProxy::platformDetach()’:
> ../../Source/WebKit/UIProcess/gtk/WebInspectorProxyGtk.cpp:423:109: error: overloaded function with no contextual type information
>          g_signal_handlers_disconnect_by_func(m_inspectorView, reinterpret_cast<void*>(inspectorViewDestroyed), this);
>                                                                                                              ^
> In file included from DerivedSources/WebKit/unified-sources/UnifiedSource-88d1702b-26.cpp:9:
> ../../Source/WebKit/UIProcess/gtk/WebInspectorProxyGtk.cpp: At global scope:
> ../../Source/WebKit/UIProcess/gtk/WebInspectorProxyGtk.cpp:53:13: warning: ‘void WebKit::inspectorViewDestroyed(GtkWidget*, gpointer)’ defined but not used [-Wunused-function]
>  static void inspectorViewDestroyed(GtkWidget*, gpointer userData)
>              ^~~~~~~~~~~~~~~~~~~~~~

-- 
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/20190725/188b4aab/attachment.html>


More information about the webkit-unassigned mailing list