Broken build with GCC 7

Bug #1663985 reported by Remi Collet
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
libmemcached
New
Undecided
Unassigned
libmemcached (Ubuntu)
Incomplete
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

Revision history for this message
Tom Barbette (me-b7) wrote :

I'm affected too

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Need more information

Thank you for taking the time to file a bug report.

Unfortunately it seems that you are trying to compile a source code that is not
present in our repositories, right ? I see you have marked the upstream project
AND the Ubuntu project, althought you haven't provided any information on what
you are exactly doing and how you are trying to build the source code, and which
version of the source code you're trying to build.

Since there is not enough information in your report to begin triage or to
differentiate between a local configuration problem and a bug in Ubuntu, I
am marking this bug as "Incomplete". We would be grateful if you would:
provide a more complete description of the problem, explain why you
believe this is a bug in Ubuntu rather than a problem specific to your
system, and then change the bug status back to "New".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community

Changed in libmemcached (Ubuntu):
status: New → Incomplete
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.