diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.cc | 5 | ||||
-rw-r--r-- | src/Makefile.am | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/Main.cc b/src/Main.cc index cd74b60..e712a95 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -125,6 +125,11 @@ int main(int argc, char ** argv) { exit(-1); } + catch (...) { + cerr << "Unknow exception.\n" << endl; + exit(-1); + } + delete in; exit(0); } diff --git a/src/Makefile.am b/src/Makefile.am index 20c7ab2..3f87315 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -AM_CFLAGS = -O3 -Wall -Wstrict-prototypes $(CFLAGS) -AM_CXXFLAGS = -O3 -Wall -Wstrict-prototypes $(CXXFLAGS) +AM_CFLAGS = -O3 -Wall -Wstrict-prototypes +AM_CXXFLAGS = -O3 -Wall -Wstrict-prototypes INCLUDES = -I. -I.. -I$(includedir) -I../include bin_PROGRAMS = Baltisot |