gcc -DHAVE_CONFIG_H -I. -DFIRST_SHOGI_PROGRAM=\"gnushogi\" -DSECOND_SHOGI_PROGRAM=\"gnushogi\" -DFIRST_HOST=\"localhost\" -DSECOND_HOST=\"localhost\" -Wdate-time -D_FORTIFY_SOURCE=2 -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xshogi-parser.o `test -f 'parser.c' || echo './'`parser.c
parser.y:73:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
73 | static void yyerror();
| ^~~~~~
parser.c: In function ‘yyparse’:
parser.c:1250:16: error: implicit declaration of function ‘yylex’ [-Werror=implicit-function-declaration]
1250 | yychar = yylex ();
| ^~~~~
parser.y:179:17: error: implicit declaration of function ‘DisplayMessage’ [-Werror=implicit-function-declaration]
179 | DisplayMessage("Black wins", False);
| ^~~~~~~~~~~~~~
parser.y: At top level:
parser.y:222:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
222 | void parseGameFile()
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [Makefile:749: xshogi-parser.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 07:46:35 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,185 |