summaryrefslogtreecommitdiff
path: root/src/warn.cc
blob: 426173ee0c2d63a95b3440f54ae21ca68c484804 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);
}