Print 'warnings are treated as errors' note if needed.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 11 Apr 2010 20:00:09 +0000 (22:00 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 11 Apr 2010 20:00:09 +0000 (22:00 +0200)
commit1655285990bc5ff11335b7a03e683cb4062bf0ef
tree5850db3000e78848ad10f692e0e79e68323c0080
parentf7587e184a52785913eda87fbb6ff6f0bc2aeb29
Print 'warnings are treated as errors' note if needed.

* lib/Automake/Channels.pm: Fix typo in comment.
(_print_message): If -Werror is enabled, print a 'warnings are
treated as errors' note before the first such warning.
* tests/warnopts.test: Adjust comment to mention expected warning.
Adjust code to ignore 'warnings are treated as errors' note.
* tests/location.test: Adjust expected output with -Werror.
* tests/werror4.test: New test.
* tests/Makefile.am: Update.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
NEWS
lib/Automake/Channels.pm
tests/Makefile.am
tests/Makefile.in
tests/location.test
tests/warnopts.test
tests/werror4.test [new file with mode: 0755]