Comment #1 on issue 412 by fabien.d...@gmail.com:   A compile warning
https://code.google.com/p/memcached/issues/detail?id=412

Having the same issue in CentOS 5.11.

What steps will reproduce the problem?
1. Start with a blank CentOS 5.11 machine
2. Install the following packages in order to compile Memcached: autoconf, automake, gcc-c++, libevent, libevent-devel
3. wget http://www.memcached.org/files/memcached-1.4.24.tar.gz
4. tar xf memcached-1.4.24.tar.gz
5. ./configure --enable-64-bit (I need the 64-bit part, but that's not the issue here as I tried running just ./configure and got the same error)
6. make && make install

What is the expected output? What do you see instead?
I would expect it to compile successfully. Instead, I get the same output as noted in the initial report above:
cc1: warnings being treated as errors
items.c: In function ‘crawler_crawl_q’:
items.c:1141: Warning: due to the limit data types, comparison results is true forever
make[2]: *** [memcached_debug-items.o] error  1
make[2]: Leaving directory `/tmp/memcached-1.4.24'
make[1]: *** [all-recursive] error  1
make[1]: Leaving directory `/tmp/memcached-1.4.24'
make: *** [all]error 2

What version of the product are you using? On what operating system?
memcached 1.4.24
CentOS 5.11

Please provide any additional information below.
For what it's worth, 1.4.22 and 1.4.23 compile fine in CentOS 5.11, and 1.4.24 compiles fine in CentOS 6.5.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to