[Webkit-unassigned] [Bug 193029] New: [Win][Clang] Fix compilation warnings of MiniBrowser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 24 22:28:00 PST 2018


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

            Bug ID: 193029
           Summary: [Win][Clang] Fix compilation warnings of MiniBrowser
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com
                CC: lforschler at apple.com
            Blocks: 171618

[Win][Clang] Fix compilation warnings of MiniBrowser

clang-cl reports the following warnings:

> ..\..\Tools\MiniBrowser\win/MiniBrowserReplace.h(32,13):  warning: unused function 'processCrashReport' [-Wunused-function]
> ..\..\Tools\MiniBrowser\win/MiniBrowserWebHost.h(37,11):  warning: field 'm_client' will be initialized after field 'm_hURLBarWnd' [-Wreorder]
> ..\..\Tools\MiniBrowser\win/MiniBrowserWebHost.h(81,13):  warning: private field 'm_URLBarFont' is not used [-Wunused-private-field]
> ..\..\Tools\MiniBrowser\win/MiniBrowserWebHost.h(82,13):  warning: private field 'm_oldFont' is not used [-Wunused-private-field]
> ..\..\Tools\MiniBrowser\win/PageLoadTestClient.h(149,14):  warning: private field 'm_currentURLIndex' is not used [-Wunused-private-field]
> ..\..\Tools\MiniBrowser\win\MiniBrowserWebHost.cpp(170,38):  warning: ISO C++11 does not allow conversion from string literal to 'BSTR' (aka 'wchar_t *') [-Wwritable-strings]
> ..\..\Tools\MiniBrowser\win\MiniBrowserWebHost.cpp(178,35):  warning: ISO C++11 does not allow conversion from string literal to 'BSTR' (aka 'wchar_t *') [-Wwritable-strings]
> ..\..\Tools\MiniBrowser\win\MiniBrowserWebHost.cpp(178,70):  warning: ISO C++11 does not allow conversion from string literal to 'LPWSTR' (aka 'wchar_t *') [-Wwritable-strings]
> ..\..\Tools\MiniBrowser\win\PageLoadTestClient.cpp(40,7):  warning: field 'm_repetitions' will be initialized after field 'm_waitForLoadToReallyEnd' [-Wreorder]
> ..\..\Tools\MiniBrowser\win\WebKitBrowserWindow.cpp(107,61):  warning: missing field 'decidePolicyForNavigationAction' initializer [-Wmissing-field-initializers]
> ..\..\Tools\MiniBrowser\win\WebKitLegacyBrowserWindow.cpp(649,24):  warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'wchar_t *') [-Wwritable-strings]
> ..\..\Tools\MiniBrowser\win\WebKitLegacyBrowserWindow.cpp(71,7):  warning: field 'm_useLayeredWebView' will be initialized after field 'm_pageLoadTestClient' [-Wreorder]


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/20181225/271425d7/attachment-0001.html>


More information about the webkit-unassigned mailing list