Skip to content

parser_bison: Get rid of (most) bison compiler warnings

Phil Sutter netfilter-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Drop nfnl_osf patch, Fernando took care of that already.
- Split remaining patch in two.
- Document which warnings are being silenced.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2parser_bison: Fix for deprecated statementssrc/parser_bison.y+2 -20 replies
2/2src: Call bison with -Wno-yacc to silence warningssrc/Makefile.am+1 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPablo Neira Ayuso
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [nft PATCH v2 0/2] parser_bison: Get rid of (most) bison compiler warnings

Eliminate as many bison warnings emitted since bison-3.3 as possible. Sadly getting bison, flex and automake right is full of pitfalls so on one hand this series does not fix for deprecated %name-prefix statement and on the other passes -Wno-yacc to bison to not complain about POSIX incompatibilities although automake causes to run bison in POSIX compat mode in the first place. Fixing either of those turned out to be non-trivial.

Changes since v1:
- Drop nfnl_osf patch, Fernando took care of that already.
- Split remaining patch in two.
- Document which warnings are being silenced.

Phil Sutter (2):
parser_bison: Fix for deprecated statements
src: Call bison with -Wno-yacc to silence warnings

 src/Makefile.am    | 2 +-
 src/parser_bison.y | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.22.0