glibc/intl
Adhemerval Zanella 6ee5a9767a intl: Fix clang -Wunused-but-set-variable on plural.c
Clang warns that '__gettextnerrs' set but not used:

  intl/plural.c:1034:9: error: variable '__gettextnerrs' set but not used
  [-Werror,-Wunused-but-set-variable]
      int yynerrs = 0;
        ^

Clang 15 (https://reviews.llvm.org/D122271) -Wunused-but-set-variable
gives a warning while GCC doesn't.  The -Wunused-but-set-variable is
available in GCC 4.6, lower than the minimum required version 6.2.

Since the file is auto-generated, suppress the warning with a compiler
flag.

Reviewed-by: Fangrui Song <maskray@google.com>
2022-11-01 09:45:34 -03:00
..
bindtextdom.c
dcgettext.c
dcigettext.c
dcngettext.c
Depend
dgettext.c
dngettext.c
eval-plural.h
explodename.c
finddomain.c
gettext.c
gettextP.h
gmo.h
hash-string.c
hash-string.h
l10nflist.c
libintl.h
loadinfo.h
loadmsgcat.c
locale.alias
localealias.c intl: Avoid -Wuse-after-free [BZ #26779] 2022-01-25 17:38:31 -07:00
Makefile intl: Fix clang -Wunused-but-set-variable on plural.c 2022-11-01 09:45:34 -03:00
ngettext.c
plural-exp.c
plural-exp.h
plural.y
po2test.awk
textdomain.c
translit.po
tst-codeset.c
tst-gettext2.c
tst-gettext2.sh
tst-gettext3.c
tst-gettext4-de.po
tst-gettext4-fr.po
tst-gettext4.c
tst-gettext4.sh
tst-gettext5.c
tst-gettext6.c
tst-gettext6.sh
tst-gettext.c
tst-gettext.sh
tst-ngettext.c
tst-translit.c
tst-translit.sh
tstcodeset.po
tstlang1.po
tstlang2.po
Versions