C client and ubuntu 12.04 + gcc4.8


#1

Please, fix c client package for Ubuntu 12.04. Gcc 4.8 produce error:

/usr/include/aerospike/aerospike_batch.h: In function ‘as_batch_read_record* as_batch_read_reserve(as_batch_read_records*)’: /usr/include/aerospike/aerospike_batch.h:193:41: error: invalid conversion from ‘void*’ to ‘as_batch_read_record* {aka as_batch_read_record_s*}’ [-fpermissive] return as_vector_reserve(&records->list);

I fix it with replace

return as_vector_reserve(&records->list);

to

return (as_batch_read_record*) as_vector_reserve(&records->list);

#2

Could you fork aerospike/aerospike-client-c, modify yours and open a pull request?


#3

This should be out in the next C client release.

Thanks.