introduce -Wdeprecated
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 20 Aug 2012 07:29:05 +0000 (09:29 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 3 Sep 2012 14:23:15 +0000 (16:23 +0200)
commit518e88308f2c9f1c7964fd35ca057f6f8e8aa41a
tree4fd01ab4e4620ad0fe1f86bf4f2b48971ce524de
parent31557b9eadace23bfd6ee3441f06fbf7dfbc4a32
introduce -Wdeprecated

GCC seems to be using "deprecated" consistently over "obsoleted", so
use -Wdeprecated rather than -Wobsolete.

* src/complain.h (warnings): Add Wdeprecated.
* src/complain.c (warnings_print_categories): Adjust.
* src/getargs.c: Likewise.
* doc/bison.texi: Document it.

* src/scan-code.l: Use this category for the trailing ';' support.
* tests/actions.at: Adjust expected output.
NEWS
doc/bison.texi
src/complain.c
src/complain.h
src/getargs.c
src/scan-code.l
tests/actions.at