[Webkit-unassigned] [Bug 193271] [Win][WebKitLegacy] wchar_t strings shouldn't be treated as BSTR
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 8 20:31:12 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=193271
--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
clang-cl reports the following warnings:
> ..\..\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]
> HRESULT hr = doc->getElementById(L"webkit logo", &element.GetInterfacePtr());
> ^
> ..\..\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]
> hr = target->addEventListener(L"click", new SimpleEventListener (L"webkit logo click"), FALSE);
> ^
> ..\..\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]
> hr = target->addEventListener(L"click", new SimpleEventListener (L"webkit logo click"), FALSE);
> ^
--
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/20190109/4ed03848/attachment.html>
More information about the webkit-unassigned
mailing list