Skip to contentSkip to conversation

nftables build warning, parser_bison.y:206.1-19: warning: deprecated directive: ‘%name-prefix "nft_"’

DISCUSSION pgnd 1 participant 1 message Aug 21, 2024 netfilter

lore
Share & tools
lore

pgnd

author
#0 lore raw

i'm building nftables from source, currently master branch on fedora40.

i'm getting functional builds, but did catch this in build log output

...
config.status: executing depfiles commands
config.status: executing libtool commands

nft configuration:

  cli support:                  editline
  enable debugging symbols:     yes
  use mini-gmp:                 no
  enable man page:              yes
  libxtables support:           no
  json output support:          yes
+ make V=0 -j16
  YACC     src/parser_bison.c
/builddir/build/BUILD/nftables/src/parser_bison.y:206.1-19: warning: deprecated directive: ‘%name-prefix "nft_"’, use ‘%define api.prefix {nft_}’ [-Wdeprecated]
  206 | %name-prefix "nft_"
      | ^~~~~~~~~~~~~~~~~~~
      | %define api.prefix {nft_}

/builddir/build/BUILD/nftables/src/parser_bison.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] updating src/parser_bison.h
...

certainly _not_ fatal.

checking here 1st b4 reporting @ any BZ ... is this a nftables or bison, or build config, or to be ignored?