[webkit-dev] Rename wtf/unicode/UTF8.h

Mathias Bynens mths at google.com
Wed Oct 31 00:43:00 PDT 2018


Note that "WTF-8" is an encoding: https://simonsapin.github.io/wtf-8/
"WTFUTF8" might be ambiguous.

On Wed, Oct 31, 2018 at 3:18 AM Fujii Hironori <fujii.hironori at gmail.com>
wrote:

> wtf/unicode/UTF8.h is conflicting with ICU header in MSVC builds. I'd like
> to rename wtf/unicode/UTF8.h to wtf/unicode/WTFUTF8.h.
> Any suggestion?
>
> Here is ICU's #include "unicode/utf8.h" which happens to include
> wtf/unicode/UTF8.h
>
> https://github.com/unicode-org/icu/blob/master/icu4c/source/common/unicode/utf.h#L217
>
> Here is MSVC quoted form #include behavior documented.
> https://msdn.microsoft.com/en-us/library/36k2cdd4.aspx
>
> Bug 189693 – [Win][Clang] warning: #include resolved using non-portable
> Microsoft search rules as: ..\..\Source\WTF\wtf/unicode/utf8.h
> https://bugs.webkit.org/show_bug.cgi?id=189693
>
> -- Fujii
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20181031/e1c362a0/attachment.html>


More information about the webkit-dev mailing list