What steps will reproduce the problem?
1. portsnap fetch install
2. cd /usr/ports/databases/memcached
3. make
What is the expected output? What do you see instead?
cc -DHAVE_CONFIG_H -I. -I/usr/local/include -m64 -O2 -pipe -march=core2
-fstack-protector -fno-strict-aliasing -std=c99 -pthread -Wall -Werror
-pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT
memcached_debug-items.o -MD -MP -MF .deps/memcached_debug-items.Tpo -c -o
memcached_debug-items.o `test -f 'items.c' || echo './'`items.c
cc1: warnings being treated as errors
items.c: In function 'crawler_crawl_q':
items.c:1141: warning: comparison is always true due to limited range of data
type
*** [memcached_debug-items.o] Error code 1
What version of the product are you using? On what operating system?
===> Building for memcached-1.4.24
FreeBSD 9.3-RELEASE-p13
Please provide any additional information below.
Because there is -Werror, the build fails on the warning.
Original issue reported on code.google.com by
marian.c...@gmail.comon 20 Jul 2015 at 7:04