[Kde-windows] kdelibs\kdecore & msvc

Ralf Habacker ralf.habacker at freenet.de
Tue Oct 18 21:55:17 CEST 2005


Am Dienstag, 18. Oktober 2005 21:18 schrieb Christian Ehrlicher:
> Hello
>
> I'm just compiling kdecore with msvc and it looks ok. But I hit some
> compiler warnings:
>
> kdeui\kstdaction_p.h -> a semicolon too much in line 154 ?
If not the if statement would be obsolate. You may ask in kde-core-devel 
mailing list. 


> kdecore\kapplication_win.cpp -> KApplication::invokeHelp() seems to be
> gone...

The relating code has to be moved to ktoolinvocation_win.cpp (done in svn) and 
merge with the relaing x11 part (not done). I have also removed the unused 
code in kapplication.cpp 

> private variables are stored in an own class/struct
> (KAboutPerson::Private for example). But the problem is, that sometimes
> it is declared as a struct and sometimes as a class. This wouldn't be a
> problem when it is defined correct in the base class definition but
> sometimes I see this (and msvc is complaining):
>
> struct KAboutPerson::Private
> {
> ...
> }
>
> class KAboutPerson
> {
> ...
> private:
>     class Private;
>     Private *const d;
> }
>
> How to solve this? I would prefer 'class' to not change all headers and
> it would confuse others when one class is using 'class' and the other
> 'struct' for their private variables...

You may report this problem on kde-core-devel at kde.org 

> Christian
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows



More information about the Kde-windows mailing list