You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. I package a memcached.rpm on rhel5;
2. The default option of gcc is warnings being treated as errors;
3. Then an error happened.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
memcached-1.4.24
rhel5
Please provide any additional information below.
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
Original issue reported on code.google.com by [email protected] on 27 May 2015 at 3:50
The text was updated successfully, but these errors were encountered:
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.
Original issue reported on code.google.com by
[email protected]
on 27 May 2015 at 3:50The text was updated successfully, but these errors were encountered: