Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 408 by wendal1...@gmail.com: build memcached fail in windows 7
cygwin
https://code.google.com/p/memcached/issues/detail?id=408
What steps will reproduce the problem?
1. download 1.4.24 to /tmp/memcached-1.4.24
2. run ./configure
3. run make
What is the expected output? What do you see instead?
expected make success without any error
I see:
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/local/include -g -O2
-pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes
-Wmissing-declarations -Wredundant-decls -MT memcached-memcached.o -MD -MP
-MF .deps/memcached-memcached.Tpo -c -o memcached-memcached.o `test
-f 'memcached.c' || echo './'`memcached.c
memcached.c: In function 'sanitycheck':
memcached.c:5048:13: error: array subscript has type 'char'
[-Werror=char-subscripts]
if ((ever[2] == '1' || ever[2] == '2') && !isdigit(ever[3])) {
^
cc1: all warnings being treated as errors
Makefile:620: recipe for target 'memcached-memcached.o' failed
make[2]: *** [memcached-memcached.o] Error 1
make[2]: Leaving directory '/tmp/memcached-1.4.24'
Makefile:1039: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/memcached-1.4.24'
Makefile:446: recipe for target 'all' failed
make: *** [all] Error 2
What version of the product are you using? On what operating system?
memcached 1.4.24
cygwin
windows 7 sp1 x64
Please provide any additional information below.
--
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.