Skip to content

error: type qualifiers ignored on function return type #16

@nkhine

Description

@nkhine

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions