[Bug 4741] New: wine fails to compile with flex-2.5.33

Wine Bugs wine-bugs at winehq.org
Sun Mar 5 18:28:23 CST 2006


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 at winehq.org
        ReportedBy: vapier at 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&group_id=97492&atid=618177

so, wine's parser.l needs to rename or prefix all of its yy* variables

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list