There was a similar patch that came through recently. I believe the consensus was to not put a lot of effort into supporting older systems:
http://groups.google.com/group/memcached/browse_thread/thread/a546cee63d0afc9f/4e15305e4db1de48 On Sep 27, 5:54 am, "Akira Kitada" <[EMAIL PROTECTED]> wrote: > Hi, > > The file attached fixes compile errors and warnings that appear when > building with a C89 (ISO C90) compiler. > > - moved variable declarations to the start of a block > - fixed malloc.h warning on old FreeBSD > - changed to use inttypes.h if it is available and stdint.h is not. > - changed to use zero-length arrays when using old gcc that does not > support a flexible array member yet. > http://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Zero-Length.html > > I'm not sure whether C89 compiler is still supported by memcached or > not, but I think > it's good thing to support broader range of compilers as long as the > changes will not damage the readability much. > > Any comments? > > iso_c90_compat.diff > 4KViewDownload
