9397
|
1 |
--- openjade-1.3.2.orig/config/configure.in Mon Jan 5 18:00:49 2004
|
|
2 |
+++ openjade-1.3.2/config/configure.in Mon Jan 5 18:03:02 2004
|
|
3 |
@@ -130,6 +130,9 @@
|
|
4 |
[define this to compile explicit template instantiations])
|
|
5 |
CXXFLAGS="$CXXFLAGS -fno-implicit-templates"
|
|
6 |
fi
|
|
7 |
+ else
|
|
8 |
+ AC_DEFINE(SP_DEFINE_TEMPLATES,1,
|
|
9 |
+ [define this to include template definitions in the headers])
|
|
10 |
fi
|
|
11 |
;;
|
|
12 |
esac
|
|
13 |
--- openjade-1.3.2/style/primitive.cxx.orig Tue Jan 6 05:45:14 2004
|
|
14 |
+++ openjade-1.3.2/style/primitive.cxx Tue Jan 6 05:45:39 2004
|
|
15 |
@@ -5047,7 +5047,7 @@
|
|
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);
|
|
21 |
}
|
|
22 |
else {
|
|
23 |
if ((q2 == ELObj::noQuantity) || (dim2 != 0))
|