7 #include "flower-debug.hh"
18 nulldev
= new ofstream ("/dev/null");
19 monitor
= new Dstream (&cout
,".dstreamrc");
31 want to do a stacktrace .
42 cerr
<< "Floating point exception .. \n"<< flush
;
46 /// just to make sure print_rat is linked in
47 static void (*rat_printer
)(Moment
const&);
52 rat_printer
= print_rat
;
54 set_new_handler (&mynewhandler
);
56 set_flower_debug (*monitor
, check_debug
);
58 signal (SIGFPE
, float_handler
);
61 bool check_debug
=false;
67 set_flower_debug (*monitor
, check_debug
);