On 09/04/2013 09:18 AM, [email protected] wrote:
On 03-Sep-2013 15:35:51 +0200, John Spencer wrote:
> > /home/gremlin/RPM/BUILD/mysql-5.6.13/sql/rpl_gtid_set.cc: In
> > function 'rpl_gno parse_gno(const char**)':
> > /home/gremlin/RPM/BUILD/mysql-5.6.13/sql/rpl_gtid_set.cc:396:25:
> > error: 'LLONG_MAX' was not declared in this scope
> > I didn't investigate that thoroughly yet.
> that looks as if rpl_gtid_set.cc should include limits.h
Obviously, that was the first thing I tried. And, of course, it didn't
help.
in my owl install here, the header only defines LLONG_MAX when
__USE_ISOC99 is defined. seems that's due to the ancient versions owl uses.
so you either have to add this directly to CFLAGS or use -std=c99 (but
then it will probably fail elsewhere unless you add -D_GNU_SOURCE to
CFLAGS...)