[Kde-windows] kdelibs\kdecore & msvc

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Tue Oct 18 21:18:27 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 ?
kdecore\kapplication_win.cpp -> KApplication::invokeHelp() seems to be
gone...

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...

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDVUqDnNKwkgf+zVMRAlW7AJ9jwJtIKW1dkttsH931xnONGThBYQCfa/a9
OidvnsX4VUSiVWEL4zranfU=
=qyHR
-----END PGP SIGNATURE-----



More information about the Kde-windows mailing list