Still problems with gcc 3.4 and visibility

Jarosław Staniek js at iidea.pl
Wed Nov 24 12:44:32 GMT 2004


Hans Meine wrote:

>> K_EXPORT_COMPONENT_FACTORY(resourcecalendarexchange,
>> KRES::PluginFactory<ResourceExchange,ResourceExchangeConfig> )
>>
>> the compiler will complain that K_EXPORT_COMPONENT_FACTORY got three
>> arguments, but only expects two...
> 
> What about
> 
> typedef
>    KRES::PluginFactory<ResourceExchange,ResourceExchangeConfig>
>    MacroCompatibleFactory;
> K_EXPORT_COMPONENT_FACTORY(resourcecalendarexchange,MacroCompatibleFactory)

Yes, that's good. I've updated 
http://wiki.kdenews.org/tiki-index.php?page=KDElibs%2Fwin32+Porting+Guidelines

Thanks.


-- 
regards / pozdrawiam,
 Jaroslaw Staniek / OpenOffice Polska
 Developers wanted! Kexi Project: http://www.kexi-project.org
 KDElibs/Windows: http://wiki.kde.org/tiki-index.php?page=KDElibs+for+win32




More information about the kde-core-devel mailing list