error: comparison between pointer and integer

Bug #1284687 reported by Peter Zubkov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libmemcached
New
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

Revision history for this message
Mauricio Walters (mauriciow95) wrote :

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

Revision history for this message
Sonny Theo Tumbur Manurung (sonthehottest) wrote :

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

Any help would be appreciated

Revision history for this message
Sonny Theo Tumbur Manurung (sonthehottest) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.