error: comparison between pointer and integer

Bug #1284687 reported by Peter Zubkov on 2014-02-25
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libmemcached
Undecided
Unassigned

Bug Description

  CXX clients/memflush.o
clients/memflush.cc:42:19: error: comparison between pointer and integer ('char *' and 'int')
  if (opt_servers == false)
      ~~~~~~~~~~~ ^ ~~~~~
clients/memflush.cc:51:21: error: comparison between pointer and integer ('char *' and 'int')
    if (opt_servers == false)
        ~~~~~~~~~~~ ^ ~~~~~
2 errors generated.
make[1]: *** [clients/memflush.o] Error 1
make: *** [install] Error 2

Mauricio Walters (mauriciow95) wrote :

I'm having the same issue.
libmemcached-1.0.18
Xcode 5.1.1
OS X 10.9.2

I do have the same issue.
libmemcached-1.0.18
Xcode 6.0.1
OSX 10.9.5

Any help would be appreciated

changing the 'false' to 'NULL' in memflush.cc file resulted in success for 'make' command on my computer.

hope it helps.

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

Other bug subscribers