From: fred Date: Mon, 7 Oct 1996 21:29:10 +0000 (+0000) Subject: lilypond-0.0.9 X-Git-Tag: release/1.5.59~7148 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=be15a381c04a589debb608e086d37a2d5eb24d7c;p=lilypond.git lilypond-0.0.9 --- diff --git a/src/warn.cc b/src/warn.cc new file mode 100644 index 0000000000..426173ee0c --- /dev/null +++ b/src/warn.cc @@ -0,0 +1,18 @@ +#include "debug.hh" + ostream &warnout (cerr); + ostream *mlog(&cerr); + + + +void warning(String s) +{ + WARN << s; +} + + +void error(String s) +{ + cerr << "\n" << s << "\nexiting..\n"; + exit(1); +} +