mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 16:23:04 +00:00
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.
This commit is contained in:
6
NEWS
6
NEWS
@@ -13,6 +13,12 @@ GNU Bison NEWS
|
||||
|
||||
** Warnings
|
||||
|
||||
*** Deprecated constructs
|
||||
|
||||
A new warning category, 'deprecated', is used to flag obsolete constructs
|
||||
whose support will be discontinued. It is enabled by default. These
|
||||
warnings used to be reported as 'other' warnings.
|
||||
|
||||
*** Warning categories are now displayed
|
||||
|
||||
For instance:
|
||||
|
||||
Reference in New Issue
Block a user