https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92008
Bug ID: 92008 Summary: Build failure on cygwin Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Created attachment 46999 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46999&action=edit config.log With current cygwin and current trunk, I get gcc -c -g -DHAVE_CONFIG_H -I. -I/home/ig25/trunk/intl plural.c In file included from /home/ig25/trunk/intl/plural.y:35:0: /home/ig25/trunk/intl/plural-exp.h:102:23: error: conflicting types for 'libintl_gettextparse' # define PLURAL_PARSE libintl_gettextparse ^ /home/ig25/trunk/intl/plural.y:40:25: note: in expansion of macro 'PLURAL_PARSE' # define __gettextparse PLURAL_PARSE ^~~~~~~~~~~~ plural.c:184:5: note: in expansion of macro '__gettextparse' int __gettextparse (void); ^~~~~~~~~~~~~~ /home/ig25/trunk/intl/plural-exp.h:102:23: note: previous declaration of 'libintl_gettextparse' was here # define PLURAL_PARSE libintl_gettextparse ^ /home/ig25/trunk/intl/plural-exp.h:114:12: note: in expansion of macro 'PLURAL_PARSE' extern int PLURAL_PARSE PARAMS ((void *arg)); ^~~~~~~~~~~~ /home/ig25/trunk/intl/plural-exp.h:102:23: error: conflicting types for 'libintl_gettextparse' # define PLURAL_PARSE libintl_gettextparse ^ /home/ig25/trunk/intl/plural.y:40:25: note: in expansion of macro 'PLURAL_PARSE' # define __gettextparse PLURAL_PARSE ^~~~~~~~~~~~ plural.c:63:25: note: in expansion of macro '__gettextparse' #define yyparse __gettextparse ^~~~~~~~~~~~~~ plural.c:1129:1: note: in expansion of macro 'yyparse' yyparse (void) ^~~~~~~ /home/ig25/trunk/intl/plural-exp.h:102:23: note: previous declaration of 'libintl_gettextparse' was here # define PLURAL_PARSE libintl_gettextparse ^ /home/ig25/trunk/intl/plural-exp.h:114:12: note: in expansion of macro 'PLURAL_PARSE' extern int PLURAL_PARSE PARAMS ((void *arg)); ^~~~~~~~~~~~ plural.c: In function 'libintl_gettextparse': plural.c:64:25: error: too few arguments to function '__gettextlex' #define yylex __gettextlex ^ plural.c:1298:16: note: in expansion of macro 'yylex' yychar = yylex (&yylval); ^~~~~ plural.c:64:25: note: declared here #define yylex __gettextlex ^ /home/ig25/trunk/intl/plural.y:69:12: note: in expansion of macro 'yylex' static int yylex PARAMS ((YYSTYPE *lval, const char **pexp)); ^~~~~ /home/ig25/trunk/intl/plural.y:178:29: error: 'arg' undeclared (first use in this function) ((struct parse_args *) arg)->res = $1; ^~~ /home/ig25/trunk/intl/plural.y:178:29: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [Makefile:133: plural.o] Error 1 make[3]: Leaving directory '/cygdrive/e/trunk-bin/intl'