Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4579

Fails to build from source with GCC 4.8.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.20
    • 0.21
    • C++ Broker, C++ Client
    • 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 {
      ^

      Attachments

        Activity

          People

            mcpierce Darryl Pierce
            mcpierce Darryl Pierce
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: