emerge of kdelibs fails with "2 overloads have similar conversions"
Andreas Holzammer
andreas.holzammer at kdab.com
Mon Jun 6 13:28:06 CEST 2011
Hi,
as it seems, somebody has added that there is no direct conversion of an
ascii to an QString, so thats where these errors are comming from. I
started to fix these but as it seems it is too much for me. I dont have
the time to fix them all. To get the impression, i added the fix for the
below problem, but after that there are others showing up like this. So
feel free to fix the issues.
cheers
Andreas
Am 06.06.2011 01:38, schrieb Andrius da Costa Ribas:
> I also still get this same error :(
>
> 2011/5/8 Thomas Fischer <ml at t-fischer.net>
>
>> Hello,
>>
>> I am trying to emerge kdelibs, but it fails at 70%
>> with the following output:
>>
>>
>> ls w[ 70%] Building CXX object khtml/CMakeFiles/khtml.dir/xpath/parser.obj
>> parser.cpp
>> parser.tab.c(827) : warning C4065: switch statement contains 'default' but
>> no 'case' labels
>> parser.tab.c(1193) : warning C4065: switch statement contains 'default' but
>> no 'case' labels
>> parser.y(204) : error C2666: 'DOM::DOMString::operator +' : 2 overloads
>> have similar conversions
>> C:\Users\N00B\KDE-devel\git\kdelibs\khtml\dom\dom_string.h(75):
>> could be 'DOM::DOMString DOM::DOMString::operator +(const DOM::DOMString &)'
>> C:\Users\N00B\KDE-devel\include\QtCore/qstringbuilder.h(307): or
>> 'QStringBuilder operator +<DOM::DOMString,const char[3]>(const A&,B (&))'
>> with
>> [
>> A=DOM::DOMString,
>> B=const char [3]
>> ]
>> while trying to match the argument list '(DOM::DOMString, const char
>> [3])'
>> note: qualification adjustment (const/volatile) may be causing the
>> ambiguity
>> NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe' : return
>> code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
>> 10.0\VC\BIN\nmake.exe"' : return code '0x2'
>> Stop.
>> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
>> 10.0\VC\BIN\nmake.exe"' : return code '0x2'
>> Stop.
>> emerge fatal error: while running make cmd: nmake /NOLOGO
>> emerge fatal error: running python
>> C:\Users\N00B\KDE-devel\emerge\portage\kde\kdelibs\kdelibs-20110130.py
>> compile
>>
>>
>> Any ideas how to fix this? I guess the original
>> developer used gcc and a different interpretation
>> of operators and overloading compared to msvc...
>>
>> How to proceed here?
>>
>> Thanks in advance!
>>
>> -- Thomas
>> _______________________________________________
>> Kde-windows mailing list
>> Kde-windows at kde.org
>> https://mail.kde.org/mailman/listinfo/kde-windows
>>
>
>
>
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
--
Andreas Holzammer | andreas.holzammer at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-compile-fix.patch
Url: http://mail.kde.org/pipermail/kde-windows/attachments/20110606/5d6e9ea9/attachment.bat
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-compile-fix.patch
Url: http://mail.kde.org/pipermail/kde-windows/attachments/20110606/5d6e9ea9/attachment-0001.bat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5840 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20110606/5d6e9ea9/attachment.p7s
More information about the Kde-windows
mailing list