Broken build with GCC 7

Bug #1663985 reported by Remi Collet on 2017-02-12
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libmemcached
Undecided
Unassigned

Bug Description

When building with latest GCC version 7

clients/memflush.cc:42:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if (opt_servers == false)
                      ^~~~~
clients/memflush.cc:51:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if (opt_servers == false)
                        ^~~~~

Trivial fix:
http://pkgs.fedoraproject.org/cgit/rpms/libmemcached.git/plain/libmemcached-build.patch

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers