[Webkit-unassigned] [Bug 180640] [Win] Build with -DUCHAR_TYPE=wchar_t for the stopgap for UChar change of ICU 59

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 11 01:55:59 PST 2017


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

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Following compilation error are reported with ICU 59.

> C:\webkit\gb\Source\WTF\wtf/text/StringHasher.h(253): error C2535: 'UChar WTF::StringHasher::defaultConverter(UChar)': member function already defined or declared
> C:\webkit\gb\Source\WTF\wtf/text/StringHasher.h(237): note: see declaration of 'WTF::StringHasher::defaultConverter'

Becuase UChar and char16_t are identical.

>    237	    static constexpr UChar defaultConverter(UChar character)
>    238	    {
>    239	        return character;
>    240	    }
(...)
>    252	    static constexpr UChar defaultConverter(char16_t character)
>    253	    {
>    254	        return character;
>    255	    }

-- 
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/20171211/94afa789/attachment.html>


More information about the webkit-unassigned mailing list