MAJVER=1
MINVER=0
-PATCHLEVEL=22
+PATCHLEVEL=23
PACKAGENAME=flower
#PROFILEFLAG=-pg
-DEBUGFLAG=-g -O2 -DNDEBUG
+DEBUGFLAG= -O2 -DNDEBUG # -g
OPTIFLAG=-DNDEBUG -DNPRINT -O2
#########################################
DFILES=$(ALLSOURCES) Makefile Variables.make make_version\
Sources.make TODO README NEWS
DDIR=$(DNAME)
+
r.message("not enough fields in Dstream init.");
continue;
}
- (*silent)[r[0]] = bool(Scalar(r[1]));
+ (*silent)[r[0]] = (bool)(int)(Scalar(r[1]));
}
}
if rcfile == 0, then do not read any rc file
*/
+ virtual ~Dstream();
Dstream &identify_as(String s);
Dstream &operator << (String s);
/****************/
- T center() { return (left + right) /2;}
+ T center() { return (left + right) / T(2);}
void translate(T t) {
left += t;
right += t;
#ifdef AIX
const Real INFTY = 1e8; // ARGh. AIX sucks
#else
-const Real INFTY = HUGE;
+const Real INFTY = HUGE_VAL;
#endif
template<class T>
File_path(String);
/// add to end of path.
- Array<String>:: push;
+ Array<String>::push;
+ void add(String str) { push(str); }
};
/**
#include <builtin.h>
#include <minmax.h>
-#include <std/cmath.h>
+#include <math.h>
typedef double Real;
*this = n;
if (r.denominator() != 1) {
char * d = Itoa(r.denominator());
- *this += '/' + String(d);
+ *this += String( '/' ) + String(d);
//delete d;
}
/* delete n;