Mercurial > octave
comparison libinterp/corefcn/error.h @ 21134:2e5c1f766ac9
provide replacement hints for deprecated C++ functions
* oct-conf-post.in.h (OCTAVE_DEPRECATED): Accept message argument.
* error.h, errwarn.h, gripes.h, symtab.h, variables.h,
* ov-base-sparse.h, ov-base.h, ov.h, Array.h, DiagArray2.h,
* PermMatrix.h, Range.h, Sparse.h, dSparse.h, lo-array-errwarn.h,
* lo-array-gripes.h, unwind-prot.h: Change all uses of
OCTAVE_DEPRECATED.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 22 Jan 2016 12:15:12 -0500 |
parents | 3e7cfee5f786 |
children | 94fc5f13d51b |
comparison
equal
deleted
inserted
replaced
21133:31674b9d202b | 21134:2e5c1f766ac9 |
---|---|
41 extern OCTINTERP_API void | 41 extern OCTINTERP_API void |
42 vmessage (const char *name, const char *fmt, va_list args); | 42 vmessage (const char *name, const char *fmt, va_list args); |
43 | 43 |
44 extern OCTINTERP_API void message (const char *name, const char *fmt, ...); | 44 extern OCTINTERP_API void message (const char *name, const char *fmt, ...); |
45 | 45 |
46 OCTAVE_DEPRECATED OCTAVE_NORETURN OCTINTERP_API extern | 46 OCTAVE_DEPRECATED ("use 'print_usage' or 'verror' instead") |
47 OCTAVE_NORETURN OCTINTERP_API extern | |
47 void vusage (const char *fmt, va_list args); | 48 void vusage (const char *fmt, va_list args); |
48 | 49 |
49 OCTAVE_DEPRECATED OCTAVE_NORETURN OCTINTERP_API extern | 50 OCTAVE_DEPRECATED ("use 'print_usage' or 'error' instead") |
51 OCTAVE_NORETURN OCTINTERP_API extern | |
50 void usage (const char *fmt, ...); | 52 void usage (const char *fmt, ...); |
51 | 53 |
52 extern OCTINTERP_API void vwarning (const char *fmt, va_list args); | 54 extern OCTINTERP_API void vwarning (const char *fmt, va_list args); |
53 extern OCTINTERP_API void warning (const char *fmt, ...); | 55 extern OCTINTERP_API void warning (const char *fmt, ...); |
54 | 56 |