netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH conntrack-tools 0/4] Fixes for yacc parser compilation warnings
@ 2023-08-26 16:32 Jeremy Sowden
  2023-08-26 16:32 ` [PATCH conntrack-tools 1/4] build: reformat and sort `conntrack_LDADD` and `conntrackd_SOURCES` Jeremy Sowden
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jeremy Sowden @ 2023-08-26 16:32 UTC (permalink / raw)
  To: Netfilter Devel

Certain classes of compiler warnings have in the past been disabled for
the sources generated by yacc and flex because "yacc and lex generate
dirty code", to quote the comment in the Makefile.  However, even if
this may have been the case at one time, currently none of the warnings
being suppressed relate to generated code.

The number of disabled classes was reduced last year:

  https://lore.kernel.org/netfilter-devel/20221124100804.25674-1-pablo@netfilter.org/#r

This patch-set fixes the remaining warnings.

* Patch 1 improves the formatting of src/Makefile.am a bit.
* Patch 2 removes the `-Wno-*` flags.
* Patches 3 & 4 fix the resulting warnings.

Jeremy Sowden (4):
  build: reformat and sort `conntrack_LDADD` and `conntrackd_SOURCES`
  build: stop suppressing warnings for generated sources
  read_config_yy: correct `yyerror` prototype
  read_config_yy: correct arguments passed to `inet_aton`

 src/Makefile.am      | 80 +++++++++++++++++++++++++++++++++-----------
 src/read_config_yy.y | 30 ++++++++++++-----
 2 files changed, 81 insertions(+), 29 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-28 15:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-26 16:32 [PATCH conntrack-tools 0/4] Fixes for yacc parser compilation warnings Jeremy Sowden
2023-08-26 16:32 ` [PATCH conntrack-tools 1/4] build: reformat and sort `conntrack_LDADD` and `conntrackd_SOURCES` Jeremy Sowden
2023-08-26 16:32 ` [PATCH conntrack-tools 2/4] build: stop suppressing warnings for generated sources Jeremy Sowden
2023-08-26 16:32 ` [PATCH conntrack-tools 3/4] read_config_yy: correct `yyerror` prototype Jeremy Sowden
2023-08-26 16:32 ` [PATCH conntrack-tools 4/4] read_config_yy: correct arguments passed to `inet_aton` Jeremy Sowden
2023-08-28 15:26 ` [PATCH conntrack-tools 0/4] Fixes for yacc parser compilation warnings Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).