Mercurial > octave
changeset 27129:7ff128cf978e
mark global error_state variable as deprecated
* error.h (error_state): Mark as deprecated. This variable has been
obsolete since Octave version 4.2.0 but was left declared and defined
so that existing code would not have to change. But by now, no one
should be relying on this variable for error handling.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 29 May 2019 22:45:42 +0000 |
parents | 50b795da64dc |
children | 396d17dcfb9f |
files | libinterp/corefcn/error.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/error.h Wed May 29 19:49:53 2019 +0000 +++ b/libinterp/corefcn/error.h Wed May 29 22:45:42 2019 +0000 @@ -164,6 +164,7 @@ //! Current error state. +OCTAVE_DEPRECATED (6, "this variable is obsolete and always has the value 0") extern OCTINTERP_API int error_state; //! Tell the error handler whether to print messages, or just store