[Bug 14055] Heroes of Might and Magic III occasionally crashes in mp3dec.asi

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Mar 24 17:06:10 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=14055

--- Comment #42 from Marek Paśnikowski <marek.pasnikowski at gmail.com> 2011-03-24 17:06:10 CDT ---
Briefly:
git clone
git checkout wine-0.9
./configure
make depend
"lex.yy.c:9221:48: error: expected ‘;’, ‘,’ or ‘)’ before numeric constant"

I found this place:
/* %if-c-only */
/** Setup the input buffer state to scan a string. The next call to yylex()
will
 * scan from a @e copy of @a str.
 * @param yystr a NUL-terminated string to scan
 * 
 * @return the newly allocated buffer state object.
 * @note If you want to scan bytes that may contain NUL values, then use
 *       yy_scan_bytes() instead.
 */
YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
----------------------------------------------^-------

What now? Should it be (yyconst char * (yystr) )?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list