--fatal-warnings patch for gas
Ian Lance Taylor
Sun Oct 10 13:40:00 GMT 1999
Date: Sun, 10 Oct 1999 16:55:54 +1000
From: Geoff Keating <firstname.lastname@example.org>
This lets you specify that warnings are fatal for GAS.
--no-warn and --fatal-warnings are apparently standard GNU names.
Sun Oct 10 15:12:10 1999 Geoffrey Keating <email@example.com>
* 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.
This patch looks good to me. Please also add some documentation to
doc/as.texinfo and doc/as.1, and mention them in NEWS. Thanks.
More information about the Binutils