Don't let -Wnone disable -Werror.
authorJoel E. Denny <joeldenny@joeldenny.org>
Sun, 27 Mar 2011 19:39:25 +0000 (15:39 -0400)
committerJoel E. Denny <joeldenny@joeldenny.org>
Sun, 3 Apr 2011 21:51:14 +0000 (17:51 -0400)
commitdab9663283437092d17af8ede75f3aff33380d53
tree137945cb07e4d37065dbe520e56492c902e0bab8
parent248dba53cb3a33b6cea83050263080f6f000fbfe
Don't let -Wnone disable -Werror.

Discussed at
<http://lists.gnu.org/archive/html/bison-patches/2010-08/msg00009.html>.
* NEWS (2.5): Document.
* src/getargs.c (flags_argmatch): Accept a new argument that
specifies what flags "all" and thus "none" affect.
(FLAGS_ARGMATCH): Update flags_argmatch invocation.
* tests/input.at (-Werror is not affected by -Wnone and -Wall):
New test group.
ChangeLog
NEWS
src/getargs.c
tests/input.at