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: type qualifiers ignored on function return type #16

Open
nkhine opened this issue Apr 10, 2019 · 0 comments
Open

error: type qualifiers ignored on function return type #16

nkhine opened this issue Apr 10, 2019 · 0 comments

Comments

@nkhine
Copy link

nkhine commented Apr 10, 2019

Hello,
I am trying to build this on CentOS, and get this error:

In file included from ./libmemcached-1.0/memcached.h:113:0,
                 from ./libmemcached/common.h:125,
                 from ./libmemcached/csl/common.h:50,
                 from libmemcached/csl/context.cc:38:
./libmemcached-1.0/server.h:118:74: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
 const bool has_memcached_server_ipaddress(const memcached_server_st *self);
                                                                          ^
./libmemcached-1.0/server.h:121:78: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
 const bool has_memcached_instance_ipaddress(const memcached_instance_st *self);
                                                                              ^
cc1plus: all warnings being treated as errors
make[1]: *** [libmemcached/csl/libmemcached_libmemcached_la-context.lo] Error 1
make[1]: Leaving directory `/root/aws-elasticache-cluster-client-libmemcached'
make: *** [all] Error 2

how do i install this on CentoOS?

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