Default arguments need to be specified in the class declaration and cannot be redeclared. https://bugs.gentoo.org/show_bug.cgi?id=570102 --- iulib-0.4/imglib/imgops.cc +++ iulib-0.4/imglib/imgops.cc @@ -133,7 +133,7 @@ template void addscaled(narray &dest,narray &src, - V scale=1,int dx=0,int dy=0) { + V scale,int dx,int dy) { for (int i=0; i - void addscaled(colib::narray &, colib::narray &, V, int, int); + void addscaled(colib::narray &dest, colib::narray &src, V scale=1, int dx=0, int dy=0); template void tighten(colib::narray &image); template