Mercurial > hg > octave-nkf
diff src/error.h @ 1426:29f274b42cb1
[project @ 1995-09-19 03:41:32 by jwe]
author | jwe |
---|---|
date | Tue, 19 Sep 1995 03:48:06 +0000 |
parents | 611d403c7f3d |
children | fb6f8b634333 |
line wrap: on
line diff
--- a/src/error.h +++ b/src/error.h @@ -28,19 +28,14 @@ panic ("impossible state reached in file `%s' at line %d", \ __FILE__, __LINE__) -// Tell g++ that panic doesn't return; - -#ifdef __GNUG__ -typedef void v_fcn_cpc_x (const char *, ...); -volatile v_fcn_cpc_x panic; -#endif +class string; extern void message (const char *name, const char *fmt, ...); extern void usage (const char *fmt, ...); extern void warning (const char *fmt, ...); extern void error (const char *fmt, ...); extern void parse_error (const char *fmt, ...); -extern void panic (const char *fmt, ...); +extern void panic (const char *fmt, ...) NORETURN; // Current error state. extern int error_state;