[webkit-dev] Heads up: ICU source compatibility breakage in 59.1 release

Konstantin Tokarev annulen at yandex.ru
Tue May 2 10:31:33 PDT 2017


Hello,

ICU 59.1 release came out recently, featuring major source compatibility break. Notably, they've changed type of UChar to be char16_t, which does not allow automatic type conversion from unsigned short in C++ code.

Possible compilation fix is patch [1], however it changes definitions of JSChar and WKChar in public headers. Another problem is keeping compatibility with older ICU releases, that requires ICU version check in public headers.

Any thoughts how should it be resolved?

[1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/icu59.patch?h=packages/webkit2gtk

-- 
Regards,
Konstantin


More information about the webkit-dev mailing list