Somebody with msvc please test (kdevplatform patch)

Ralf Habacker ralf.habacker at freenet.de
Fri Aug 24 18:27:01 CEST 2007


Andreas Pakulat schrieb:
> Hi,
>
> seemingly msvc is somehow broken wrt. QHash::insert() and wants a
> const pointer for the value argument (see
> http://lxr.kde.org/source/KDE/kdevplatform/shell/languagecontroller.cpp#126
> ) which needs a totally ugly reinterpret_cast.
>
> I'd like to ask that somebody with msvc 
> (is express edition really needed for that?)
what else ? The express version is the only free compiler from microsoft 
and debugging with mingw is a night mare.

>  to test the attached patch so we can get rid of the
> ugliness and the compiler-check-macro (which is for whatever reason a
> krazy-"error").
>   
I have tried this patch and it compiles so far.

I had to remove the const in the LanguageController::language definition 
which isn't defined in the declaration.

ILanguage *LanguageController::language(const QString &name) const
{
    return d->languages[name];
}

Ralf




More information about the Kde-windows mailing list