qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-4855) [AMQP 1.0] compilation error on older compilers
Date Thu, 16 May 2013 16:43:15 GMT

     [ https://issues.apache.org/jira/browse/QPID-4855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gordon Sim resolved QPID-4855.
------------------------------

    Resolution: Fixed

Fixed by http://svn.apache.org/viewvc?view=revision&revision=1483436
                
> [AMQP 1.0] compilation error on older compilers
> -----------------------------------------------
>
>                 Key: QPID-4855
>                 URL: https://issues.apache.org/jira/browse/QPID-4855
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>    Affects Versions: 0.22
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>             Fix For: 0.23
>
>
> E.g. Description of problem:
> [ 41%] Building CXX object src/CMakeFiles/amqpc.dir/qpid/messaging/amqp/ConnectionHandle.o
> cd /builddir/build/BUILD/qpid-0.22/cpp/src && /usr/bin/c++   -Damqpc_EXPORTS
-DHAVE_CONFIG_H -fvisibility-inlines-hidden -Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith
-Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers
-Woverloaded-virtual -O2 -g -fPIC -I/builddir/build/BUILD/qpid-0.22/cpp/src -I/builddir/build/BUILD/qpid-0.22/cpp/src/../include
  -pthread  -I/usr/usr/include -o CMakeFiles/amqpc.dir/qpid/messaging/amqp/ConnectionHandle.o
-c /builddir/build/BUILD/qpid-0.22/cpp/src/qpid/messaging/amqp/ConnectionHandle.cpp
> cc1plus: warnings being treated as errors
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/memory: In destructor
'std::auto_ptr<_Tp>::~auto_ptr() [with _Tp = qpid::Sasl]':
> /builddir/build/BUILD/qpid-0.22/cpp/src/qpid/messaging/amqp/Sasl.h:42:   instantiated
from 'std::auto_ptr<_Tp>::~auto_ptr() [with _Tp = qpid::messaging::amqp::Sasl]'
> /builddir/build/BUILD/qpid-0.22/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp:58:
  instantiated from here
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/memory:259: warning:
possible problem detected in invocation of delete operator:
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/memory:259: warning:
invalid use of undefined type 'struct qpid::Sasl'
> /builddir/build/BUILD/qpid-0.22/cpp/src/qpid/messaging/amqp/Sasl.h:29: warning: forward
declaration of 'struct qpid::Sasl'
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/memory:259: note:
neither the destructor nor the class-specific operator delete will be called, even if they
are declared when the class is defined.
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/memory: In destructor
'std::auto_ptr<_Tp>::~auto_ptr() [with _Tp = qpid::sys::SecurityLayer]':
> /builddir/build/BUILD/qpid-0.22/cpp/src/qpid/messaging/amqp/Sasl.h:42:   instantiated
from 'std::auto_ptr<_Tp>::~auto_ptr() [with _Tp = qpid::messaging::amqp::Sasl]'
> /builddir/build/BUILD/qpid-0.22/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp:58:
  instantiated from here
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/memory:259: warning:
possible problem detected in invocation of delete operator:
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/memory:259: warning:
invalid use of undefined type 'struct qpid::sys::SecurityLayer'
> /builddir/build/BUILD/qpid-0.22/cpp/src/qpid/messaging/amqp/Sasl.h:31: warning: forward
declaration of 'struct qpid::sys::SecurityLayer'
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/memory:259: note:
neither the destructor nor the class-specific operator delete will be called, even if they
are declared when the class is defined.
> make[2]: *** [src/CMakeFiles/amqpc.dir/qpid/messaging/amqp/ConnectionContext.o] Error
1
> make[2]: *** Waiting for unfinished jobs....

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message