patches/openjade-02-forte.diff
author Jon Tibble <meths@btinternet.com>
Sat, 06 Oct 2012 16:11:50 +0100
branchs11express-2010-11
changeset 22109 db10202d5f6d
parent 9397 b16e349d18c5
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca

--- openjade-1.3.2.orig/config/configure.in	Mon Jan  5 18:00:49 2004
+++ openjade-1.3.2/config/configure.in	Mon Jan  5 18:03:02 2004
@@ -130,6 +130,9 @@
               [define this to compile explicit template instantiations])
             CXXFLAGS="$CXXFLAGS -fno-implicit-templates"
         fi
+    else
+        AC_DEFINE(SP_DEFINE_TEMPLATES,1,
+          [define this to include template definitions in the headers])
     fi
     ;;
 esac
--- openjade-1.3.2/style/primitive.cxx.orig	Tue Jan  6 05:45:14 2004
+++ openjade-1.3.2/style/primitive.cxx	Tue Jan  6 05:45:39 2004
@@ -5047,7 +5047,7 @@
     if (!argv[1]->exactIntegerValue(n2))
       return argError(interp, loc,
   		      InterpreterMessages::notAnExactInteger, 1, argv[1]);
-    return new (interp) QuantityObj(pow(d1,n2), dim1*n2);
+    return new (interp) QuantityObj(pow(d1,(int)n2), dim1*n2);
   }
   else {
     if ((q2 == ELObj::noQuantity) || (dim2 != 0))