🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Syst{ Kari Fri, 20 Nov 1992 11:44
xboard 2.0 pl25 problems
#151
Author: Syst{ Kari
Date: Fri, 20 Nov 1992 11:44
23 lines
1464 bytes
% make
rm -f parser.c
lex  -t parser.l > parser.c
614/1000 nodes(%e), 1796/2500 positions(%p), 256/500 (%n), 11357 transitions
, 885/1000 packed char classes(%k), 2368/5000 packed transitions(%a), 3195/5000 output slots(%o)
gcc -O   -I/usr/include     -DHAS_GETTIMEOFDAY   -target sun4 -c  parser.c
gcc -O   -I/usr/include     -DHAS_GETTIMEOFDAY   -target sun4 -c  xboard.c
xboard.c: In function MakeAlg:
xboard.c:1404: too many arguments to function `yylexstr'
xboard.c:1415: too many arguments to function `yylexstr'
xboard.c:1434: too many arguments to function `yylexstr'
xboard.c:1442: too many arguments to function `yylexstr'
xboard.c:1449: too many arguments to function `yylexstr'
xboard.c:1460: too many arguments to function `yylexstr'
*** Error code 1
make: Fatal error: Command failed for target `xboard.o'

--
% This article represents my personal views.
% Kari Systa, Tampere Univ. Technology, Box 553, 33101 Tampere, Finland
% work: +358 31 162585      fax: +358 31 162913      home: +358 31 177412
% Internet: ks@cs.tut.fi    X.400: C=fi ADMD=fumail O=TUT OU=CS S=ks
Re: xboard 2.0 pl25 problems
#159
Author: Tim Mann
Date: Sun, 22 Nov 1992 02:50
9 lines
685 bytes
Oops, sorry for that blunder.  The fix is to change the declaration of
yylexstr near the top of xboard.c.

< extern ChessMove yylexstr P((void));
-----
> extern ChessMove yylexstr P((int boardIndex, char *s));

	--Tim
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads