1 --- openjade-1.3.2/config/configure.in.orig
2 +++ openjade-1.3.2/config/configure.in
4 [define this to compile explicit template instantiations])
5 CXXFLAGS="$CXXFLAGS -fno-implicit-templates"
8 + AC_DEFINE(SP_DEFINE_TEMPLATES,1,
9 + [define this to include template definitions in the headers])
13 --- openjade-1.3.2/style/primitive.cxx.orig
14 +++ openjade-1.3.2/style/primitive.cxx
16 if (!argv[1]->exactIntegerValue(n2))
17 return argError(interp, loc,
18 InterpreterMessages::notAnExactInteger, 1, argv[1]);
19 - return new (interp) QuantityObj(pow(d1,n2), dim1*n2);
20 + return new (interp) QuantityObj(pow(d1,(int)n2), dim1*n2);
23 if ((q2 == ELObj::noQuantity) || (dim2 != 0))