Skip to content

Commit

Permalink
Add visibility attributes for exception handlers (bug #66451).
Browse files Browse the repository at this point in the history
* libinterp/parse-tree/oct-parse.yy (octave::interrupt_exception),
liboctave/util/quit.h (octave::interrupt_exception): Add visibility attributes
to class definitions.
  • Loading branch information
mmuetzel committed Nov 18, 2024
1 parent 737ae68 commit b7e7aa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libinterp/parse-tree/oct-parse.yy
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion liboctave/util/quit.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit b7e7aa3

Please sign in to comment.