Still problems with gcc 3.4 and visibility

Hans Meine hans_meine at gmx.net
Tue Nov 23 20:39:21 GMT 2004


Hi everybody!

On Tuesday 23 November 2004 20:40, Reinhold Kainhofer wrote:
> If I change this to
>
> 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)

Ciao, /  /                                                    .o.
     /--/                                                     ..o
    /  / ANS                                                  ooo

PS: In case someone still remembers me - yes my last post has been a looong 
time ago.. after an accident I did not receive my lists anymore, and since I 
was about to finish my Diploma thesis, I did not really care too much about 
that. Now I am prepared to be distracted again. ;-)




More information about the kde-core-devel mailing list