Irina Boverman created QPID-4662:
------------------------------------
Summary: Cmake Build Failure (0.22-Alpha)
Key: QPID-4662
URL: https://issues.apache.org/jira/browse/QPID-4662
Project: Qpid
Issue Type: Bug
Components: C++ Broker, C++ Client
Affects Versions: Future
Environment: RHEL 6.4, X86_64
Reporter: Irina Boverman
By default, cmake builds are executed with -Werror flag, the build fails
with these errors:
/usr/include/boost/function/function_template.hpp:602: note: ‘f’ was declared
here
In file included from /usr/include/boost/bind/bind.hpp:1538,
from /usr/include/boost/bind.hpp:22,
from
/var/lib/jenkins/workspace/qpid-cpp-trunk-cmake/label/master/qpid/cpp/src/qpid/sys/SocketTransport.cpp:32:
/var/lib/jenkins/workspace/qpid-cpp-trunk-cmake/label/master/qpid/cpp/src/qpid/sys/SocketTransport.cpp:
In function ‘boost::_bi::bind_t<R, R (*)(B1, B2, B3, B4, B5, B6), typename
boost::_bi::list_av_6<A1, A2, A3, A4, A5, A6>::type> boost::bind(R (*)(B1, B2,
B3, B4, B5, B6), A1, A2, A3, A4, A5, A6) [with R = void, B1 =
boost::shared_ptr<qpid::sys::Poller>, B2 = const
qpid::sys::SocketTransportOptions&, B3 = qpid::sys::Timer*, B4 = const
qpid::sys::Socket&, B5 = qpid::sys::ConnectionCodec::Factory*, B6 = const
std::string&, A1 = boost::shared_ptr<qpid::sys::Poller>, A2 =
qpid::sys::SocketTransportOptions, A3 = qpid::sys::Timer*, A4 = boost::arg<1>,
A5 = qpid::sys::ConnectionCodec::Factory*, A6 = std::basic_string<char,
std::char_traits<char>, std::allocator<char> >]’:
/var/lib/jenkins/workspace/qpid-cpp-trunk-cmake/label/master/qpid/cpp/src/qpid/sys/SocketTransport.cpp:209:
error: ‘a2’ is used uninitialized in this function
/usr/include/boost/bind/bind_cc.hpp:83: note: ‘a2’ was declared here
/var/lib/jenkins/workspace/qpid-cpp-trunk-cmake/label/master/qpid/cpp/src/qpid/sys/SocketTransport.cpp:209:
error: ‘a2’ may be used uninitialized in this function
/usr/include/boost/bind/bind.hpp:551: note: ‘a2’ was declared here
/var/lib/jenkins/workspace/qpid-cpp-trunk-cmake/label/master/qpid/cpp/src/qpid/sys/SocketTransport.cpp:209:
error: ‘a2’ may be used uninitialized in this function
/usr/include/boost/bind/storage.hpp:276: note: ‘a2’ was declared here
/var/lib/jenkins/workspace/qpid-cpp-trunk-cmake/label/master/qpid/cpp/src/qpid/sys/SocketTransport.cpp:209:
error: ‘a2’ may be used uninitialized in this function
/usr/include/boost/bind/storage.hpp:227: note: ‘a2’ was declared here
/var/lib/jenkins/workspace/qpid-cpp-trunk-cmake/label/master/qpid/cpp/src/qpid/sys/SocketTransport.cpp:209:
error: ‘a2’ may be used uninitialized in this function
/usr/include/boost/bind/storage.hpp:195: note: ‘a2’ was declared here
/var/lib/jenkins/workspace/qpid-cpp-trunk-cmake/label/master/qpid/cpp/src/qpid/sys/SocketTransport.cpp:209:
error: ‘a2’ may be used uninitialized in this function
/usr/include/boost/bind/storage.hpp:129: note: ‘a2’ was declared here
make[2]: *** [src/CMakeFiles/qpidbroker.dir/qpid/sys/SocketTransport.o] Error 1
make[1]: *** [src/CMakeFiles/qpidbroker.dir/all] Error 2
make: *** [all] Error 2
--
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: [email protected]
For additional commands, e-mail: [email protected]