1Fix pointer comparaison 2 3opt_servers is a pointer, not a boolean, so testing against false to 4know if the pointer is NULL no longer works with the more strict gcc 57.x checks. 6 7[Taken from http://pkgs.fedoraproject.org/cgit/rpms/libmemcached.git/plain/libmemcached-build.patch.] 8Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 9 10diff -up ./clients/memflush.cc.old ./clients/memflush.cc 11--- ./clients/memflush.cc.old 2017-02-12 10:12:59.615209225 +0100 12+++ ./clients/memflush.cc 2017-02-12 10:13:39.998382783 +0100 13@@ -39,7 +39,7 @@ int main(int argc, char *argv[]) 14 { 15 options_parse(argc, argv); 16 17- if (opt_servers == false) 18+ if (!opt_servers) 19 { 20 char *temp; 21 22@@ -48,7 +48,7 @@ int main(int argc, char *argv[]) 23 opt_servers= strdup(temp); 24 } 25 26- if (opt_servers == false) 27+ if (!opt_servers) 28 { 29 std::cerr << "No Servers provided" << std::endl; 30 exit(EXIT_FAILURE); 31