Hi, I tried to use flex 2.5.4 with the GLR option, but the compile gives the following errors:
smartsExpr_tab.cpp: In function `void yyinitStateSet(yyGLRStateSet*)': smartsExpr_tab.cpp:1573: error: invalid conversion from `void*' to `yyGLRState** ' smartsExpr_tab.cpp: In function `void yyinitGLRStack(yyGLRStack*, size_t)': smartsExpr_tab.cpp:1592: error: invalid conversion from `void*' to `yyGLRStackIt em*' smartsExpr_tab.cpp: In function `int yysplitStack(yyGLRStack*, int)': smartsExpr_tab.cpp:1936: error: invalid conversion from `void*' to `yyGLRState** ' smartsExpr_lex.cpp: At global scope: smartsExpr_lex.cpp:1631: warning: 'void yyunput(int, char*)' defined but not use d If I compare the output with the one of a SUSE flex 2.5.4. I noticed that the casts are left out. For example what in SUSE is yyset->yystates = (yyGLRState**) YYMALLOC (16 * sizeof yyset->yystates[0]); under RH is yyset->yystates = YYMALLOC (16 * sizeof yyset->yystates[0]); As both flex claim to be the same versions this is confusing me. Is this a known issue? Unfortunately I can't just add the cast into the tab file because it is automatically generated in our builds. Is there another known workaround? Thanks Timm --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison