4 #include "timedescription.hh"
6 ostream &warnout (cerr);
22 cerr << "\nerror: " << s << "\n";
28 error_t(const String& s, const Moment& r)
30 String t_mom = String(trunc(r)) + (r - Moment(trunc(r)));
31 String e=s+ "(t = " + t_mom + ")";
37 error_t(const String& s, Time_description const &t_tdes)
39 String e=s+ "(at " + t_tdes.bars + ": " + t_tdes.whole_in_measure + ")\n";