Re: 'size_t' undeclared (first use in this function)

2015-07-24 Thread Hans Aberg
> On 24 Jul 2015, at 11:58, Tom Wang A wrote: > > Thanks very much! You are welcome! > In my system, YYSIZE_T is always defined as __SIZE_TYPE__ in the output > file(y.tab.c .*), which are compiled by bison 2.1 and bison 2.3. And > __SIZE_TYPE__ is actually a 8-byte size type on the server.

RE: 'size_t' undeclared (first use in this function)

2015-07-24 Thread Tom Wang A
Thanks very much! In my system, YYSIZE_T is always defined as __SIZE_TYPE__ in the output file(y.tab.c .*), which are compiled by bison 2.1 and bison 2.3. And __SIZE_TYPE__ is actually a 8-byte size type on the server. And I find another way to resolve my problem: If I remove the line #define