--fatal-warnings patch for gas
Ian Lance Taylor
ian@zembu.com
Sun Oct 10 13:40:00 GMT 1999
Date: Sun, 10 Oct 1999 16:55:54 +1000
From: Geoff Keating <geoffk@ozemail.com.au>
This lets you specify that warnings are fatal for GAS.
--no-warn and --fatal-warnings are apparently standard GNU names.
Index: binutils/gas/ChangeLog
0a
Sun Oct 10 15:12:10 1999 Geoffrey Keating <geoffk@cygnus.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.
Ian
More information about the Binutils
mailing list