diff --git a/checkin_notes b/checkin_notes index 2585b3e5bf..93fa006fe1 100755 --- a/checkin_notes +++ b/checkin_notes @@ -10806,6 +10806,7 @@ Rom Mar 24 2004 - I was a little to agressive in cleaning up boinc_api.c and removed some signal handling code, added that back in. - The new exceptions use string's, so include in the exception header. + - gcc has stronger exception enforcement than mscl lib/ diagnostics.c diff --git a/lib/exception.h b/lib/exception.h index 1c1e642e19..e56616a633 100644 --- a/lib/exception.h +++ b/lib/exception.h @@ -54,6 +54,8 @@ public: boinc_base_exception(const char *f, int l, const char *s=0) : m_strErrorData(s), m_strFilename(f), m_lLineNumber(l){}; + ~boinc_base_exception() throw () {}; + virtual const char * ErrorType(); virtual const char * ErrorMessage(); virtual long ErrorValue(); @@ -74,6 +76,8 @@ public: boinc_runtime_base_exception(const char *f, int l, const char *s=0) : boinc_base_exception(f, l, s){} + ~boinc_runtime_base_exception() throw () {}; + virtual const char * ErrorType(); virtual const char * ErrorMessage(); }; @@ -90,6 +94,8 @@ public: boinc_out_of_memory_exception(const char *f, int l, const char *s=0) : boinc_runtime_base_exception(f, l, s){} + ~boinc_out_of_memory_exception() throw () {}; + virtual const char * ErrorMessage(); virtual long ErrorValue(); }; @@ -103,6 +109,8 @@ public: boinc_invalid_parameter_exception(const char *f, int l, const char *s=0) : boinc_runtime_base_exception(f, l, s){} + ~boinc_invalid_parameter_exception() throw () {}; + virtual const char * ErrorMessage(); virtual long ErrorValue(); }; @@ -116,6 +124,8 @@ public: boinc_file_operation_exception(const char *f, int l, const char *s=0) : boinc_runtime_base_exception(f, l, s){} + ~boinc_file_operation_exception() throw () {}; + virtual const char * ErrorMessage(); virtual long ErrorValue(); }; @@ -129,6 +139,8 @@ public: boinc_signal_operation_exception(const char *f, int l, const char *s=0) : boinc_runtime_base_exception(f, l, s){} + ~boinc_signal_operation_exception() throw () {}; + virtual const char * ErrorMessage(); virtual long ErrorValue(); };