[Webkit-unassigned] [Bug 88310] [Qt][Win] Fix UString related build problem in Source/WebCore/bridge/qt/qt_instance.cpp

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


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


Csaba Osztrogonac <ossy at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ossy at webkit.org




--- Comment #1 from Csaba Osztrogonac <ossy at webkit.org>  2012-06-05 06:17:08 PST ---
Error log:
f:\WebKit\Source\WebCore\bridge\qt\qt_instance.cpp(242) : error C2665: 'JSC::UString::UString' : none of the 11 overloads could convert all the argument types
        f:\webkit\source\javascriptcore\runtime\UString.h(36): could be 'JSC::UString::UString(const UChar *,unsigned int)'
        f:\webkit\source\javascriptcore\runtime\UString.h(42): or       'JSC::UString::UString(const LChar *,unsigned int)'
        f:\webkit\source\javascriptcore\runtime\UString.h(43): or       'JSC::UString::UString(const char *,unsigned int)'
        while trying to match the argument list '(const ushort *, int)'

qt_instance.cpp: 
-----------------
240: #if HAVE(QT5)
241:     QString sig = QString::fromLatin1(method.methodSignature());
242:     array.add(Identifier(exec, UString(sig.utf16(), sig.length())));
243: #else
244:     array.add(Identifier(exec, method.signature()));
245: #endif

Qstring.utf16() returns with const ushort * on all platform, but it works
fine on Linux 32/64 bit too. Maybe the sizeof(ushort) is different on win.

-- 
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