*_EXPORT not needed for static members

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Wed Jun 20 17:21:08 CEST 2007


Jarosław Staniek schrieb:
> Hello,
> See the attached patch, fixing compialtion for msvc.net (2003).
> *_EXPORT is not needed for static members since class is exported itself.
> 
I think this will break msvc2005 compile.
> As the static members are public, to increase cross-dll safety (simply, 
> their behaviour is not well defined across runtimes), wouldn't it be 
> nice to add static functions instead of variables? Similar to 
> KGlobal::locale().
> 
Ask Jos :)

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-windows/attachments/20070620/89b10cb3/attachment.pgp 


More information about the Kde-windows mailing list