Build failures on windows

Silvio Heinrich plassy at web.de
Fri Apr 15 15:08:13 CEST 2011


On 04/15/2011 11:38 AM, Boudewijn Rempt wrote:
> Pierre Stirnweiss reported a build failure in pigment on windows this morning. I'm definitely out of my depth here:
>
> c:\users\pierre\shared\hacking\calligra_test\calligra\libs\pigment\colorspaces\../compositeops/KoCompositeOps.h(65) : error C2973: '_Private::AddGeneralOps<Traits,flag>::add' : invalid template argument 'Traits::channels_type (__cdecl *)(Traits::channels_type,Traits::channels_type)'
>          with
>          [
>              Traits=KoLabU16Traits,
>              flag=true
>          ]
>          c:\users\pierre\shared\hacking\calligra_test\calligra\libs\pigment\colorspaces\../compositeops/KoCompositeOps.h(52) : see declaration of '_Private::AddGeneralOps<Traits,flag>::add'
>          with
>          [
>              Traits=KoLabU16Traits,
>              flag=true
>          ]
Hmm... ok. Maybe VC++ cannot deduce the right function type here.
He should try to replace all lines in 
_Private::AddGeneralOps<...>::add(...) that look like:

_add<&cfOverlay>_(cs, COMPOSITE_OVERLAY, i18n("Overlay"), 
KoCompositeOp::categoryMix());

with:

_add< &cfOverlay<Arg,Arg> >_(cs, COMPOSITE_OVERLAY, i18n("Overlay"), 
KoCompositeOp::categoryMix());


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20110415/70a97fa1/attachment.htm 


More information about the kimageshop mailing list