From webkit-dev Thu Apr 03 19:13:40 2008 From: Simon Hausmann Date: Thu, 03 Apr 2008 19:13:40 +0000 To: webkit-dev Subject: Re: [webkit-dev] Qt Webkit compile error with QChar Message-Id: <200804032113.44493.hausmann () kde ! org> X-MARC-Message: https://marc.info/?l=webkit-dev&m=120732209320687 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1612765964==" --===============1612765964== Content-Type: multipart/signed; boundary="nextPart10792109.Dz6xpekdol"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart10792109.Dz6xpekdol Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 02 April 2008 13:16:15 rachid pstomer wrote: > Hi, I'm trying to build QT-4.4.0 Webkit under visual studio 2005. The bui= ld > failed and i had these errors: > > > cl -c -FIWebKit_pch.h -YuWebKit_pch.h -Fptmp\obj\debug_shared\QtWebKitd_ > pch.pch -nologo -Zm200 -Zi -MDd -GR -GX -DQT_SHARED -DQT_THREAD_SUPPORT > -DUNICOD E -DQT_LARGEFILE_SUPPORT -DBUILDING_QT__=3D1 -DUSE_SYSTEM_MALLOC > -DNDEBUG -DQT_MAK EDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS > -DQT_44_API_QSQLQUERY_FINISH -DQT3_SUPPORT -DQT_MOC_COMPAT > -D_USE_MATH_DEFINES -DBUILD_WEBKIT -DENABLE_ICOND ATABASE=3D0 > -DENABLE_XPATH=3D1 -DENABLE_SVG=3D1 -DWTF_CHANGES=3D1 -DBUILDING_QT__ -DW= TF_ > USE_JAVASCRIPTCORE_BINDINGS=3D1 -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB > -DQT_CORE_L IB -I"..\..\..\..\include\QtCore" > -I"..\..\..\..\include\QtCore" -I"..\..\..\..\ include\QtNetwork" > -I"..\..\..\..\include\QtNetwork" -I"..\..\..\..\include\QtGu i" > -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include" -I"..\WebKit\qt\Api" > -I "..\JavaScriptCore" -I"..\JavaScriptCore\kjs" > -I"..\JavaScriptCore\bindings" -I" ..\JavaScriptCore\bindings\c" > -I"..\JavaScriptCore\wtf" -I"..\JavaScriptCore\For wardingHeaders" -I"." > -I"ForwardingHeaders" -I"platform" -I"platform\network" -I > "platform\graphics" -I"loader" -I"page" -I"css" -I"dom" -I"bridge" > -I"editing" - I"rendering" -I"history" -I"xml" -I"html" > -I"..\..\..\..\include\QtWebKit" -I"tm p" -I"generated" -I"tmp" > -I"..\JavaScriptCore" -I"..\JavaScriptCore\kjs" -I"..\J > avaScriptCore\bindings" -I"..\JavaScriptCore\bindings\c" > -I"..\JavaScriptCore\wt f" -I"..\JavaScriptCore\bindings\qt" > -I"..\JavaScriptCore\os-win32" -I"..\JavaSc riptCore\pcre" > -I"c:\Qt\4.4.0\src\3rdparty\webkit\WebKitBuild\Debug\JavaScriptCo > re\kjs\tmp" -I"platform\qt" -I"platform\network\qt" > -I"platform\graphics\qt" -I" platform\graphics\svg\qt" -I"loader\qt" > -I"page\qt" -I"..\WebKit\qt\WebCoreSuppo rt" -I"..\WebKit\qt\Api" -I"." > -I"ForwardingHeaders" -I"..\..\webkit" -I"..\Java ScriptCore\kjs" > -I"..\JavaScriptCore\bindings" -I"platform" -I"platform\network" > -I"platform\graphics" -I"platform\graphics\svg" > -I"platform\graphics\svg\filter s" -I"loader" -I"loader\icon" -I"css" > -I"dom" -I"page" -I"bridge" -I"editing" -I "rendering" -I"history" -I"xml" > -I"html" -I"bindings\js" -I"ksvg2" -I"ksvg2\css" -I"ksvg2\svg" > -I"ksvg2\misc" -I"ksvg2\events" -I"platform\image-decoders" -I"c: > \Qt\4.4.0\include\ActiveQt" -I"tmp\moc\debug_shared" -I"." > -I"..\..\..\..\mkspec s\win32-msvc" -Fotmp\obj\debug_shared\function.obj > ..\JavaScriptCore\kjs\functio n.cpp > cl : Command line warning D9035 : option 'GX' has been deprecated and will > be re moved in a future release > cl : Command line warning D9036 : use 'EHsc' instead of 'GX' > function.cpp > c:\qt\4.4.0\src\3rdparty\webkit\javascriptcore\kjs\nodes.h(231) : warning > C4355: 'this' : used in base member initializer list > c:\qt\4.4.0\src\3rdparty\webkit\javascriptcore\kjs\nodes.h(288) : warning > C4355: 'this' : used in base member initializer list > c:\qt\4.4.0\src\3rdparty\webkit\javascriptcore\kjs\nodes.h(347) : warning > C4355: 'this' : used in base member initializer list > c:\qt\4.4.0\src\3rdparty\webkit\javascriptcore\kjs\nodes.h(809) : warning > C4355: 'this' : used in base member initializer list > c:\qt\4.4.0\src\3rdparty\webkit\javascriptcore\kjs\nodes.h(1004) : warning > C4355 > > : 'this' : used in base member initializer list > > c:\qt\4.4.0\src\3rdparty\webkit\javascriptcore\kjs\nodes.h(1116) : warning > C4355 > > : 'this' : used in base member initializer list > > c:\qt\4.4.0\src\3rdparty\webkit\javascriptcore\wtf\unicode\qt4/UnicodeQt4= =2Eh >(307) > > : error C2668: 'QChar::toCaseFolded' : ambiguous call to overloaded > : function > > c:\qt\4.4.0\include\qtcore\../../src/corelib/tools/qchar.h(325): > could b e 'ushort QChar::toCaseFolded(ushort)' > c:\qt\4.4.0\include\qtcore\../../src/corelib/tools/qchar.h(324): = or > 'uin t QChar::toCaseFolded(uint)' > while trying to match the argument list '(UChar)' > c:\qt\4.4.0\src\3rdparty\webkit\javascriptcore\wtf\unicode\qt4/UnicodeQt4= =2Eh >(379) > > : error C2668: 'QChar::toCaseFolded' : ambiguous call to overloaded > : function > > c:\qt\4.4.0\include\qtcore\../../src/corelib/tools/qchar.h(325): > could b e 'ushort QChar::toCaseFolded(ushort)' > c:\qt\4.4.0\include\qtcore\../../src/corelib/tools/qchar.h(324): = or > 'uin t QChar::toCaseFolded(uint)' > while trying to match the argument list '(const UChar)' > c:\qt\4.4.0\src\3rdparty\webkit\javascriptcore\wtf\unicode\qt4/UnicodeQt4= =2Eh >(380) > > : error C2668: 'QChar::toCaseFolded' : ambiguous call to overloaded > : function > > c:\qt\4.4.0\include\qtcore\../../src/corelib/tools/qchar.h(325): > could b e 'ushort QChar::toCaseFolded(ushort)' > c:\qt\4.4.0\include\qtcore\../../src/corelib/tools/qchar.h(324): = or > 'uin t QChar::toCaseFolded(uint)' > while trying to match the argument list '(const UChar)' > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio > 8\VC\BIN\c l.EXE"' : return code '0x2' > Stop. > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio > 8\VC\BIN\n make.exe"' : return code '0x2' > Stop. > NMAKE : fatal error U1077: 'cd' : return code '0x2' > Stop. > > Any idea to resolve this problem?? This happens when compiling without -Zc:wchar_t- (or with -Zc:wchar_t). Qt'= s=20 makespec has -Zc:wchat_t- by default though. Did you happen to edit your=20 qmake.conf? Simon --nextPart10792109.Dz6xpekdol Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBH9SxoWXvMThJCpvIRAhJVAJ9IMUyGoMWpVDheL8ctf3QP4eOyNQCg99Fj TVCa5rZCDeCcl16QFkG3f3E= =kxaq -----END PGP SIGNATURE----- --nextPart10792109.Dz6xpekdol-- --===============1612765964== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev --===============1612765964==--