forked from Imagelibrary/binutils-gdb
* defs.h (error): Add printf format attribute.
* thread-db.c (thread_from_lwp): Fix error format string. * stack.c (parse_frame_specification): Ditto. * cli/cli-decode.c (undef_cmd_error): Ditto. * scm-lang.c (scm_lookup_name): Ditto. * tracepoint.c (trace_error): Ditto. * remote-utils.c (usage): Ditto. * remote.c (compare_sections_command): Ditto. Fix PR gdb/328.
This commit is contained in:
@@ -866,7 +866,7 @@ extern char *warning_pre_print;
|
||||
|
||||
extern NORETURN void verror (const char *fmt, va_list ap) ATTR_NORETURN;
|
||||
|
||||
extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN;
|
||||
extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
|
||||
|
||||
extern NORETURN void error_stream (struct ui_file *) ATTR_NORETURN;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user