diff --git a/libinterp/parse-tree/oct-parse.yy b/libinterp/parse-tree/oct-parse.yy index a958879f87..75a9b6fb9a 100644 --- a/libinterp/parse-tree/oct-parse.yy +++ b/libinterp/parse-tree/oct-parse.yy @@ -2205,7 +2205,7 @@ yyerror (octave::base_parser& parser, const char *s) OCTAVE_BEGIN_NAMESPACE(octave) -class parse_exception : public std::runtime_error +class OCTINTERP_EXCEPTION_API parse_exception : public std::runtime_error { public: diff --git a/liboctave/util/quit.h b/liboctave/util/quit.h index 0e12ed28ab..a07b21ce19 100644 --- a/liboctave/util/quit.h +++ b/liboctave/util/quit.h @@ -182,7 +182,7 @@ class OCTAVE_EXCEPTION_API exit_exception : public std::exception bool m_safe_to_return; }; -class interrupt_exception : public std::exception +class OCTAVE_EXCEPTION_API interrupt_exception : public std::exception { public: