Summary: | Build failure with ICU 50 and C++11 because of a different UChar definition | ||
---|---|---|---|
Product: | WebKit | Reporter: | Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | ap, glenn, jshin, markus.icu+webkit, mcatanzaro, msaboff, srl295, zilla |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Arfrever Frehtes Taifersar Arahesis
2012-11-04 21:51:35 PST
Could you please post a snippet of how exactly ICU 5.0 defines UChar? (In reply to comment #1) > Could you please post a snippet of how exactly ICU 5.0 defines UChar? See http://gcc.gnu.org/ml/gcc-help/2012-11/msg00018.html (In reply to comment #1) > ICU 5.0 Versioning of ICU has changed since 49: http://userguide.icu-project.org/design#TOC-ICU-Release-Version-Number-ICU-49-and-later- (In reply to comment #2) > See http://gcc.gnu.org/ml/gcc-help/2012-11/msg00018.html (Undefined references mentioned in that thread will occur when building WebKit with older version of C++11 if ICU has been built with C++11.) (In reply to comment #3) > older version of C++11 s/older version of C++11/older version of C++/ Maybe caused by http://bugs.icu-project.org/trac/ticket/9717 (In reply to comment #5) > Maybe caused by http://bugs.icu-project.org/trac/ticket/9717 see there for a possible workaround. (In reply to comment #5) > Maybe caused by http://bugs.icu-project.org/trac/ticket/9717 This bug in WebKit was caused by solution for ICU ticket 9469. ICU ticket 9717 only suggests temporary workaround (forceful disabling of C++11). The proper solution in WebKit is to add appropriate casts (or use char16_t in more places in WebKit code). In ICU, I just changed UChar to not automatically become char16_t, but users can add something like CPPFLAGS=-DUCHAR_TYPE=char16_t. See http://bugs.icu-project.org/trac/changeset/32780 If this does not work for WebKit then please reply to http://bugs.icu-project.org/trac/ticket/9728 or on the icu-support mailing list (http://site.icu-project.org/contacts). Best regards, markus Looks like this is obsolete as per comment #8. |