This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: --fatal-warnings patch for gas
- To: geoffk at ozemail dot com dot au
- Subject: Re: --fatal-warnings patch for gas
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 10 Oct 1999 16:38:30 -0400
- CC: binutils at sourceware dot cygnus dot com
- References: <199910100655.QAA00828@gluttony.geoffk.wattle.id.au>
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