bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/4] {master} introduce and use -Wdeprecated


From: Akim Demaille
Subject: [PATCH 0/4] {master} introduce and use -Wdeprecated
Date: Tue, 4 Sep 2012 13:58:12 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]