Qpid
  1. Qpid
  2. QPID-4579

Fails to build from source with GCC 4.8.0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.20
    • Fix Version/s: 0.21
    • Component/s: C++ Broker, C++ Client
    • Labels:
      None

      Description

      The compiler error seen is:

      In file included from ./qpid/framing/FrameHandler.h:23:0,
      from ./qpid/framing/Proxy.h:22,
      from qpid/framing/Proxy.cpp:19:
      ./qpid/framing/Handler.h:52:47: error: invalid use of incomplete type 'struct qpid::framing::Handler<T>' [-Werror]
      template <class F> class Functor : public Handler<T> {
      ^
      ./qpid/framing/Handler.h:32:8: error: declaration of 'struct qpid::framing::Handler<T>' [-Werror]
      struct Handler {
      ^
      ./qpid/framing/Handler.h:64:30: error: invalid use of incomplete type 'struct qpid::framing::Handler<T>' [-Werror]
      class MemFunRef : public Handler<T> {
      ^
      ./qpid/framing/Handler.h:32:8: error: declaration of 'struct qpid::framing::Handler<T>' [-Werror]
      struct Handler {
      ^
      cc1plus: all warnings being treated as errors
      make[3]: *** [qpid/framing/Proxy.lo] Error 1
      In file included from ./qpid/framing/FrameHandler.h:23:0,
      from ./qpid/framing/InputHandler.h:24,
      from ./qpid/framing/amqp_framing.h:28,
      from ./qpid/framing/SendContent.h:22,
      from qpid/framing/SendContent.cpp:22:
      ./qpid/framing/Handler.h:52:47: error: invalid use of incomplete type 'struct qpid::framing::Handler<T>' [-Werror]
      template <class F> class Functor : public Handler<T> {
      ^
      ./qpid/framing/Handler.h:32:8: error: declaration of 'struct qpid::framing::Handler<T>' [-Werror]
      struct Handler {
      ^
      ./qpid/framing/Handler.h:64:30: error: invalid use of incomplete type 'struct qpid::framing::Handler<T>' [-Werror]
      class MemFunRef : public Handler<T> {
      ^
      ./qpid/framing/Handler.h:32:8: error: declaration of 'struct qpid::framing::Handler<T>' [-Werror]
      struct Handler {
      ^

        Activity

        Hide
        Darryl L. Pierce added a comment -

        A build attempt under Fedora 19 can be seen here:

        http://kojipkgs.fedoraproject.org//work/tasks/7232/4947232/build.log

        Show
        Darryl L. Pierce added a comment - A build attempt under Fedora 19 can be seen here: http://kojipkgs.fedoraproject.org//work/tasks/7232/4947232/build.log

          People

          • Assignee:
            Darryl L. Pierce
            Reporter:
            Darryl L. Pierce
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development