kdelibs/kjs - ambiguous call to AllocatedValueImp *KJS::String()

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Wed Feb 1 17:22:21 GMT 2006


Hi,

While compiling khtml with msvc I get a lot of errors when
KJS::String(QString) is used (for example
kdelibs\khtml\ecma\kjs_html.cpp:124) because the compiler don't know
which function to use (either String(const char*) or String(UString)).
The easiest way to solve this is to create another String() function
which uses QString as a parameter - should I add this?

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060201/ffab5768/attachment.sig>


More information about the kde-core-devel mailing list