# HG changeset patch # User John W. Eaton # Date 1668704915 18000 # Node ID c09bd3c7905bb09764b07cdebe152f85bb013f7b # Parent 344e1152ed88cc04440d4e30fe9dbbb194a705ad remove function deprecated in Octave 7 * error.h, error.cc (error_system::display_exception): Delete 2-argument version of this function that was deprecated in version 7. diff -r 344e1152ed88 -r c09bd3c7905b libinterp/corefcn/error.cc --- a/libinterp/corefcn/error.cc Thu Nov 17 11:50:20 2022 -0500 +++ b/libinterp/corefcn/error.cc Thu Nov 17 12:08:35 2022 -0500 @@ -901,17 +901,6 @@ last_error_stack (make_stack_map (ee.stack_info ())); } - // DEPRECATED in Octave 7. - void error_system::display_exception (const execution_exception& ee, - std::ostream& os) const - { - if (m_beep_on_error) - os << "\a"; - - ee.display (octave_diary); - ee.display (os); - } - void error_system::display_exception (const execution_exception& ee) const { // FIXME: How should we handle beep_on_error? diff -r 344e1152ed88 -r c09bd3c7905b libinterp/corefcn/error.h --- a/libinterp/corefcn/error.h Thu Nov 17 11:50:20 2022 -0500 +++ b/libinterp/corefcn/error.h Thu Nov 17 12:08:35 2022 -0500 @@ -334,13 +334,6 @@ OCTINTERP_API void save_exception (const execution_exception& ee); - // FIXME - //#if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS) - OCTAVE_DEPRECATED (7, "second argument is no longer accepted") - OCTINTERP_API void display_exception (const execution_exception& ee, - std::ostream& os) const; - //#endif - OCTINTERP_API void display_exception (const execution_exception& ee) const; private: