Unverified Commit b220b647 authored by Evangelos Voyiatzis's avatar Evangelos Voyiatzis Committed by GitHub
Browse files

Update error.cpp

When compiling with g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18) an error occurs: 
error.cpp: In member function ‘void Error::generate_error(unsigned int, std::string, std::string)’:
error.cpp:146: error: ‘exit’ was not declared in this scope
The fix is to include the #include <cstdlib> where the exit() function is decleared in the error.cpp file
parent 7e78738c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@

#include "error.h"
#include <cstring>
#include <cstdlib>

Notice::Notice() {
	nullout=new ostream(NULL);