Warnings win over strictness on command line.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 20 Dec 2010 11:10:56 +0000 (12:10 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 15 Jan 2011 14:25:07 +0000 (15:25 +0100)
commitb67240eb097e5b1ef2b76492e07dc706ee5103bd
treebe9c10752c06c37af0e742d9cc4e2a1fe2c65d84
parentb638d1355fa5e685e0011196247b81a875dbe523
Warnings win over strictness on command line.

This change ensures that, on the command line at least, explicitly
defined warnings always take precedence over implicit strictness
implied warnings.  Related to Automake bug#7669 a.k.a. PR/547.

* automake.in (parse_arguments): Parse warnings only after the
strictness level has been processed.
* tests/gnuwarn.test: Update, plus miscellaneous improvements.
* tests/warnings-win-over-strictness.test: New test.
* tests/Makefile.am (TESTS): Update.
ChangeLog
automake.in
tests/Makefile.am
tests/Makefile.in
tests/gnuwarn.test
tests/warnings-win-over-strictness.test [new file with mode: 0755]