Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while make - OSX 10.10.3 #415

Open
GoogleCodeExporter opened this issue Nov 5, 2015 · 0 comments
Open

Error while make - OSX 10.10.3 #415

GoogleCodeExporter opened this issue Nov 5, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. execute make

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

getting the below error message

/Library/Developer/CommandLineTools/usr/bin/make  all-recursive
Making all in doc
/Library/Developer/CommandLineTools/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
gcc -DHAVE_CONFIG_H -I.    -fprofile-arcs -ftest-coverage -g -O2 -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
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...
                        ^
1 error generated.
make[2]: *** [memcached_debug-items.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


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

memcached-1.4.24
Mac OSX 10.10.3

Please provide any additional information below.


Original issue reported on code.google.com by sumac...@gmail.com on 27 Jun 2015 at 3:13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant