http://bugs.winehq.org/show_bug.cgi?id=4741
Summary: wine fails to compile with flex-2.5.33 Product: Wine Version: CVS Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: vapier@gentoo.org
with newer versions of flex, wine's parser.l fails:
$ flex ./parser.l $ gcc -c lex.yy.c ... lex.yy.c:2610: error: parse error before numeric constant lex.yy.c: In function `yy_scan_string': lex.yy.c:2611: error: number of arguments doesn't match prototype
this is because flex-2.5.33 introduces a new internal function: YY_BUFFER_STATE yy_scan_string (yyconst char * yystr)
which conflicts with wine's parser.l: /* Exclusive string handling */ %x yystr
i reported this against flex and their answer was that this is a bug in flex: http://sourceforge.net/tracker/index.php?func=detail&aid=1439346&gro...
so, wine's parser.l needs to rename or prefix all of its yy* variables