warning: "GEARMAND_BINARY" redefined

Bug #850399 reported by Ladar Levison
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
Low
Vijay Samuel

Bug Description

I'm sure its very minor, but I finally grabbed Gearmand and noticed that configure detects the installation, and then places the path in the config.h header, and defines it via the compiler command. Just a minor bug:

In file included from ./libtest/common.h:28,
                 from libtest/binaries.cc:23:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-cmdline.lo
In file included from ./libtest/common.h:28,
                 from libtest/cmdline.cc:22:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-core.lo
In file included from ./libtest/common.h:28,
                 from libtest/core.cc:22:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-framework.lo
In file included from ./libtest/common.h:28,
                 from libtest/framework.cc:23:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-is_local.lo
In file included from ./libtest/common.h:28,
                 from libtest/is_local.cc:22:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-killpid.lo
In file included from ./libtest/common.h:28,
                 from libtest/killpid.cc:23:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-libtool.lo
In file included from ./libtest/common.h:28,
                 from libtest/libtool.cc:22:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-port.lo
In file included from ./libtest/common.h:28,
                 from libtest/port.cc:22:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-runner.lo
In file included from ./libtest/common.h:28,
                 from libtest/runner.cc:23:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-server.lo
In file included from ./libtest/common.h:28,
                 from libtest/server.cc:23:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-server_container.lo
In file included from ./libtest/common.h:28,
                 from libtest/server_container.cc:22:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-signal.lo
In file included from ./libtest/common.h:28,
                 from libtest/signal.cc:23:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-socket.lo
In file included from ./libtest/common.h:28,
                 from libtest/socket.cc:22:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-strerror.lo
In file included from ./libtest/common.h:28,
                 from libtest/strerror.cc:22:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-test.lo
In file included from ./libtest/common.h:28,
                 from libtest/test.cc:22:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition
  CXX libtest/libtest_libtest_la-memcached.lo
In file included from ./libtest/common.h:28,
                 from libtest/memcached.cc:23:
./config.h:28:1: warning: "GEARMAND_BINARY" redefined
<command-line>: warning: this is the location of the previous definition

Related branches

Vijay Samuel (vjsamuel)
Changed in libmemcached:
status: New → Confirmed
assignee: nobody → Vijay Samuel (vjsamuel)
status: Confirmed → Fix Committed
Revision history for this message
Brian Aker (brianaker) wrote :

gearmand is used in a patch (dance server) that has yet to make it to trunk. The resolve for this is to just use gourmand.m4's output and not set it via the include.am.

Brian Aker (brianaker)
Changed in libmemcached:
importance: Undecided → Low
Brian Aker (brianaker)
Changed in libmemcached:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers