From 2bdd6cf5996b717fe7539ab07b6b0aec10f38934 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Mon, 11 Oct 1999 04:07:10 +0000 Subject: * as.c (show_usage): Document new options. (parse_args): Add --no-warn, --warn, --fatal-warnings, which become 'W', OPTION_WARN, and OPTION_WARN_FATAL. (parse_args): Parse the new options. (main): If there were warnings, and --fatal-warnings was specified, print an error. * as.h: New variable, flag_fatal_warnings, for new option. --- gas/as.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gas/as.h') diff --git a/gas/as.h b/gas/as.h index e72902b..62ef376 100644 --- a/gas/as.h +++ b/gas/as.h @@ -427,6 +427,9 @@ COMMON unsigned char flag_readonly_data_in_text; /* -R */ /* True if warnings should be inhibited. */ COMMON int flag_no_warnings; /* -W */ +/* True if warnings count as errors. */ +COMMON int flag_fatal_warnings; /* --fatal-warnings */ + /* True if we should attempt to generate output even if non-fatal errors are detected. */ COMMON unsigned char flag_always_generate_output; /* -Z */ -- cgit v1.1