*_EXPORT not needed for static members

Jarosław Staniek js at iidea.pl
Wed Jun 20 16:35:52 CEST 2007


Hello,
See the attached patch, fixing compialtion for msvc.net (2003).
*_EXPORT is not needed for static members since class is exported itself.

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

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice: http://www.kexi.pl/en, http://www.koffice.org
  KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: static_export.patch
Url: http://mail.kde.org/pipermail/kde-windows/attachments/20070620/53811f74/attachment.ksh 


More information about the Kde-windows mailing list