glibc/intl
Andrea Monaco c6d7d6312c intl/plural.y: Avoid conflicting declarations of yyerror and yylex
bison-3.8 includes these lines in the generated intl/plural.c:

  #if !defined __gettexterror && !defined YYERROR_IS_DECLARED
  void __gettexterror (struct parse_args *arg, const char *msg);
  #endif
  #if !defined __gettextlex && !defined YYLEX_IS_DECLARED
  int __gettextlex (YYSTYPE *yylvalp, struct parse_args *arg);
  #endif

Those default prototypes provided by bison conflict with the
declarations later on in plural.y.  This patch solves the issue.

Reviewed-by: Arjun Shankar <arjun@redhat.com>
2021-12-22 14:46:39 +01: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
Makefile intl: Emit no lines in bison generated files 2021-12-14 09:33:25 -03:00
ngettext.c
plural-exp.c
plural-exp.h
plural.y intl/plural.y: Avoid conflicting declarations of yyerror and yylex 2021-12-22 14:46:39 +01:00
po2test.awk
textdomain.c
translit.po
tst-codeset.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-gettext2.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-gettext2.sh
tst-gettext3.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-gettext4-de.po
tst-gettext4-fr.po
tst-gettext4.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-gettext4.sh
tst-gettext5.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-gettext6.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-gettext6.sh
tst-gettext.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-gettext.sh Move malloc hooks into a compat DSO 2021-07-22 18:37:59 +05:30
tst-ngettext.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-translit.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-translit.sh
tstcodeset.po
tstlang1.po
tstlang2.po
Versions