When trying to install memcached-1.5.0 and 1.5.1 via gem on FreeBSD 9.1-RELEASE, I received many errors where C++ conventions / code were used in C files. cc would fail to compile as a result. Examples: declaring loop variables within the loop (for (unsigned int x=0;...)), commas on the last items in an enum, and C++ style // comments. Affected files were:
When trying to install memcached-1.5.0 and 1.5.1 via gem on FreeBSD 9.1-RELEASE, I received many errors where C++ conventions / code were used in C files. cc would fail to compile as a result. Examples: declaring loop variables within the loop (for (unsigned int x=0;...)), commas on the last items in an enum, and C++ style // comments. Affected files were:
memcached_exist.h memcached/protocol_binary.h libmemcached/memcached_do.c libmemcached/memcached_io.c libmemcached/memcached_flush_buffers.c
I can provide a diff that I used to get it to compile properly on my system if it would help.