<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 04/15/2011 11:38 AM, Boudewijn Rempt wrote:
<blockquote cite="mid:201104151138.26944.boud@valdyas.org"
type="cite">
<pre wrap="">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
]
</pre>
</blockquote>
Hmm... ok. Maybe VC++ cannot deduce the right function type here.<br>
He should try to replace all lines in
_Private::AddGeneralOps<...>::add(...) that look like:<br>
<br>
<tt> <u>add<&cfOverlay></u>(cs, COMPOSITE_OVERLAY,
i18n("Overlay"), KoCompositeOp::categoryMix());</tt><br>
<br>
with:<br>
<br>
<tt> <u>add< &cfOverlay<Arg,Arg> ></u>(cs,
COMPOSITE_OVERLAY, i18n("Overlay"), KoCompositeOp::categoryMix());</tt><br>
<br>
<br>
</body>
</html>