[Webkit-unassigned] [Bug 108373] [harfbuzz] WebKit fails to build with MinGW compiler because of invalid cast in HarfBuzzShaper.cpp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 3 14:14:22 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=108373
Kalev Lember <kalevlember at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kalevlember at gmail.com
--- Comment #12 from Kalev Lember <kalevlember at gmail.com> 2013-06-03 14:12:54 PST ---
UChar is always defined as a 16 bit type. Depending on the build configuration, the exact type can vary, but it's always a 16 bit type.
In the GTK+/MinGW configuration, the preprocessor magic chooses it to be wchar_t, but only after making sure wchar_t is a 16 bit type.
Unfortunately, even though the source and target types are both 16 bit, gcc considers them to be different, so it needs an explicit reinterpret_cast.
More information about the webkit-unassigned
mailing list