emerge of kdelibs fails with "2 overloads have similar conversions"

Andrius da Costa Ribas andriusmao at gmail.com
Mon Jun 6 01:38:54 CEST 2011


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20110605/041b1b41/attachment.htm 


More information about the Kde-windows mailing list