[Webkit-unassigned] [Bug 88307] [Qt][Win] Fix misc ICU related build problems

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 5 08:06:33 PDT 2012


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





--- Comment #2 from Csaba Osztrogonac <ossy at webkit.org>  2012-06-05 08:06:33 PST ---
U8_MAX_LENGTH is 4 on my Linux machine and defined by /usr/include/unicode/utf8.h. Which is included by /usr/include/unicode/utf.h <--- .... <--- /usr/include/unicode/uchar.h <--- Source/WTF/wtf/unicode/icu/UnicodeIcu.h <--- Source/WTF/wtf/unicode/Unicode.h <--- Source/WebCore/platform/text/TextCodec.h

Pffff ... I think I got it after preprocessing the source ...


Here is a part of ICU/include/unicode/utf.h:

[snip]

/* include the utfXX.h ------------------------------------------------------ */

#if !U_NO_DEFAULT_INCLUDE_UTF_HEADERS

#include "unicode/utf8.h" ----> HERE is the problem !!!
#include "unicode/utf16.h" 

[end]

Unfortunately MSVC includes WebKit/Source/WTF/wtf/unicode/utf8.h here
instead of ICU's unicode/utf8.h and it caused all of these problem ...

Here I have no idea how can we fix it properly ... How I hate filename clashing ... Any idea?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list