[Webkit-unassigned] [Bug 192581] New: [Win][WebKitLegacy][Clang] WebKit.h warning: 'IWebEditingDelegate2::shouldInsertNode' hides overloaded virtual function [-Woverloaded-virtual]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 10 23:00:22 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=192581
Bug ID: 192581
Summary: [Win][WebKitLegacy][Clang] WebKit.h warning:
'IWebEditingDelegate2::shouldInsertNode' hides
overloaded virtual function [-Woverloaded-virtual]
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit API
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Hironori.Fujii at sony.com
Blocks: 171618
[Win][WebKitLegacy][Clang] WebKit.h warning: 'IWebEditingDelegate2::shouldInsertNode' hides overloaded virtual function [-Woverloaded-virtual]
clang-cl reports the following compilation warnings:
> [5697/6307] Building CXX object Source\WebKitLegacy\CMakeFiles\WebKitLegacy.dir\win\WebKitPrefix.cpp.obj
> In file included from <built-in>:1:
> In file included from ..\..\Source\WebKitLegacy\win\WebKitPrefix.h:46:
> DerivedSources\WebKitLegacy\Interfaces\WebKit.h(1571,99): warning: suggest braces around initialization of subobject [-Wmissing-braces]
> extern const GUID __declspec(selectany) SID_AccessibleComparable = { 0x62b8cb5f, 0xfb7a, 0x4faf, 0x81, 0xe8, 0x52, 0xb6, 0x5f, 0x12, 0x8b, 0x31 };
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> { }
> DerivedSources\WebKitLegacy\Interfaces\WebKit.h(23610,43): warning: 'IWebEditingDelegate2::shouldInsertNode' hides overloaded virtual function [-Woverloaded-virtual]
> virtual HRESULT STDMETHODCALLTYPE shouldInsertNode(
> ^
> DerivedSources\WebKitLegacy\Interfaces\WebKit.h(23188,43): note: hidden overloaded virtual function 'IWebEditingDelegate::shouldInsertNode' declared here: different number of parameters (4 vs 5)
> virtual HRESULT STDMETHODCALLTYPE shouldInsertNode(
> ^
> DerivedSources\WebKitLegacy\Interfaces\WebKit.h(46015,43): warning: 'IWebViewPrivate2::addUserScriptToGroup' hides overloaded virtual function [-Woverloaded-virtual]
> virtual HRESULT STDMETHODCALLTYPE addUserScriptToGroup(
> ^
> DerivedSources\WebKitLegacy\Interfaces\WebKit.h(45046,43): note: hidden overloaded virtual function 'IWebViewPrivate::addUserScriptToGroup' declared here: different number of parameters (9 vs 10)
> virtual HRESULT STDMETHODCALLTYPE addUserScriptToGroup(
> ^
> DerivedSources\WebKitLegacy\Interfaces\WebKit.h(46027,43): warning: 'IWebViewPrivate2::addUserStyleSheetToGroup' hides overloaded virtual function [-Woverloaded-virtual]
> virtual HRESULT STDMETHODCALLTYPE addUserStyleSheetToGroup(
> ^
> DerivedSources\WebKitLegacy\Interfaces\WebKit.h(45057,43): note: hidden overloaded virtual function 'IWebViewPrivate::addUserStyleSheetToGroup' declared here: different number of parameters (8 vs 9)
> virtual HRESULT STDMETHODCALLTYPE addUserStyleSheetToGroup(
> ^
> 4 warnings generated.
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=171618
[Bug 171618] [Win][Meta] Build WebKit using Clang
--
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/20181211/1fd1e412/attachment-0001.html>
More information about the webkit-unassigned
mailing list