Building qpid-0.20 with gcc-4.9.2 fails
Issue
- Building perl-0.20 fails with below error messages
[ 2%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/framing/AMQP_ServerProxy.o
In file included from /home/AFadeev/projects/qpid-0.20/cpp/src/qpid/framing/FrameHandler.h:23:0,
from /home/AFadeev/projects/qpid-0.20/cpp/src/qpid/framing/Proxy.h:22,
from /home/AFadeev/projects/qpid-0.20/cpp/build/src/qpid/framing/AMQP_ServerProxy.h:30,
from /home/AFadeev/projects/qpid-0.20/cpp/build/src/qpid/framing/AMQP_ServerProxy.cpp:29:
/home/AFadeev/projects/qpid-0.20/cpp/src/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> {
^
/home/AFadeev/projects/qpid-0.20/cpp/src/qpid/framing/Handler.h:32:8: error: declaration of ‘struct qpid::framing::Handler<T>’ [-Werror]
struct Handler {
^
/home/AFadeev/projects/qpid-0.20/cpp/src/qpid/framing/Handler.h:64:30: error: invalid use of incomplete type ‘struct qpid::framing::Handler<T>’ [-Werror]
class MemFunRef : public Handler<T> {
^
/home/AFadeev/projects/qpid-0.20/cpp/src/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[2]: *** [src/CMakeFiles/qpidcommon.dir/qpid/framing/AMQP_ServerProxy.o] Error 1
make[1]: *** [src/CMakeFiles/qpidcommon.dir/all] Error 2
Environment
- Red Hat Enterprise Linux
- qpid-0.20
- gcc-4.9.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.