Hi!
>>>>> "sdiz" == sdiz <\(UHome\)" <sdiz@stripped>> writes:
>> Looks more like compiler problem to me, but thanks ...
sdiz> just be sure you havn't missed this.
sdiz> < bool my_yyoverflow(short **yyss, YYSTYPE **yyvs, int *yystacksize)
>> bool my_yyoverflow(short **yyss, YYSTYPE **yyvs, unsigned int
sdiz> *yystacksize)
sdiz> the bison i am using require yystacksize to be unsigned.
sdiz> ~$ bison -V
sdiz> bison (GNU Bison) 1.32
Unfortunately the fix your proposed is not good enough for us as this
will brake things with old bison version.
Try the following patch instead:
(/my/mysql-3.23) bk diffs -c sql/sql_yacc.yy
===== sql/sql_yacc.yy 1.90 vs edited =====
*** /tmp/sql_yacc.yy-1.90-22922 Thu Feb 14 15:04:13 2002
--- edited/sql/sql_yacc.yy Mon Mar 4 03:04:36 2002
***************
*** 30,36 ****
extern void yyerror(const char*);
int yylex(void *yylval);
! #define yyoverflow(A,B,C,D,E,F) if (my_yyoverflow((B),(D),(F))) { yyerror((char*) (A));
return 2; }
inline Item *or_or_concat(Item* A, Item* B)
{
--- 30,36 ----
extern void yyerror(const char*);
int yylex(void *yylval);
! #define yyoverflow(A,B,C,D,E,F) if (my_yyoverflow((B),(D),(int*) (F))) { yyerror((char*)
(A)); return 2; }
inline Item *or_or_concat(Item* A, Item* B)
{
Regards,
Monty