Recent history shows that there are many features in Bison that occasionally need to be upgraded. Having a means to report deprecated features will certainly help.
I hesitated on the name, as for instance Automake uses -Wobsolete. But GCC seems to prefer "deprecated" to "obsolete", so I preferred that path. We can always add -Wobsolete as an alias for -Wdeprecated. Not pushed, waiting for comments. Akim Demaille (4): undefined but unused is a warning introduce -Wdeprecated use -Wdeprecated for obsolete %define variable names news: style changes NEWS | 39 +++++++++++++++++------------- doc/bison.texi | 4 ++++ src/complain.c | 4 +++- src/complain.h | 3 ++- src/getargs.c | 2 ++ src/muscle-tab.c | 17 +++++++++---- src/scan-code.l | 4 ++-- src/symtab.c | 26 +++++--------------- tests/actions.at | 72 ++++++++++++++++++++++++++++---------------------------- tests/input.at | 20 +++++++++------- 10 files changed, 101 insertions(+), 90 deletions(-) -- 1.7.11.5
