----- Original Message ----- From: "Emiliano" <[EMAIL PROTECTED]> > Adam Blomberg wrote: > > > > preparser-scanner.l: In function `mgdlex': > > preparser-scanner.l:219: `mgdlval' undeclared (first use in this function) > > preparser-scanner.l:219: (Each undeclared identifier is reported only once > > preparser-scanner.l:219: for each function it appears in.) > > preparser-scanner.l: At top level: > > lex.yy.c:1742: warning: `yyunput' defined but not used > > lex.yy.c:2165: warning: `yy_top_state' defined but not used > > gmake[1]: *** [preparser-scanner.slo] Error 1 > > rm preparser-scanner.c > > gmake[1]: Leaving directory `/export/home/adam/build2/midgard-php4-1.4.1-7' > > gmake: *** [all-recursive] Error 1 > > Talk to [EMAIL PROTECTED], he's just seen the same > problem and I think he fixed it. But it appears to be a flex issue: > flex -Pmgd ought to rename all the yylval et al to mgdlval etc. It seems it didn't, however, we added the line extern YYSTYPE mgdlval; to preparser-parser.h, and that did the trick. > What version flex are you using? bash-2.03$ flex --version flex version 2.5.4 bash-2.03$ which flex /usr/local/bin/flex // Adam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
