allen8807 / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

Error during installation in "make" #419

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. /configure
2.make

What is the expected output? What do you see instead?

expected: no errors

instead: 

items.c:1141:28: error: comparison of constant 256 with expression of type 
'uint8_t' (aka 'unsigned char') is always true 
[-Werror,-Wtautological-constant-out-of-range-compare]
    assert(it->slabs_clsid < LARGEST_ID);
           ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)

1 error generated.
make[2]: *** [memcached_debug-items.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

What version of the product are you using? On what operating system?

memcached-1.4.24

Mac os x

Please provide any additional information below.

Using previous version 23 solved the problem

Original issue reported on code.google.com by gastonEs...@gmail.com on 16 Jul 2015 at 1:48