-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
The 3.2.3 tarball includes the files src/libmps/monomial/yacc-parser.c and src/libmps/monomial/yacc-parser.h, apparently generated by byacc 1.9:
/* original parser id follows */
/* yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93" */
/* (use YYMAJOR/YYMINOR for ifdefs dependent on parser version) */
#define YYBYACC 1
#define YYMAJOR 2
#define YYMINOR 0
#define YYPATCH 20221106However, when compiling this code with GCC 14, we get the following error:
CC monomial/tokenizer.lo
../../../src/libmps/monomial/tokenizer.l: In function 'mps_monomial_yacc_parser':
../../../src/libmps/monomial/tokenizer.l:51:3: error: implicit declaration of function 'yyparse'; did you mean 'pause'? [-Wimplicit-function-declaration]
make[4]: *** [Makefile:1507: monomial/tokenizer.lo] Error 1Replacing these generated files with ones generated by bison 3.8.2 fixes this.
mkoeppe
Metadata
Metadata
Assignees
Labels
No labels