Mercurial > octave
diff libinterp/corefcn/error.cc @ 33382:79cfa1b7a813
replace nearly all remaining uses of panic_impossible with error
Affected files: data.cc, error.cc, find.cc, graphics.in.h, ls-hdf5.cc,
oct-hist.cc, oct-stream.cc, pr-output.cc, quad.cc, __init_fltk__.cc,
cdef-class.cc, cdef-utils.cc, ov.h, octave.cc, pt-anon-scopes.cc,
pt-array-list.cc, pt-assign.cc, pt-cmd.h, pt-eval.cc, pt-idx.cc,
pt-stmt.cc, pt-walk.cc, and Sparse.cc.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 12 Apr 2024 11:15:32 -0400 |
parents | 55e1412aca35 |
children |
line wrap: on
line diff
--- a/libinterp/corefcn/error.cc Fri Apr 12 11:17:04 2024 -0400 +++ b/libinterp/corefcn/error.cc Fri Apr 12 11:15:32 2024 -0400 @@ -753,7 +753,7 @@ else if (all_state == "error") os << "By default, warnings are treated as errors."; else - panic_impossible (); + error ("unexpected default warning state '%s' - please report this bug", all_state.c_str ()); if (nel > 1) {