src/common/utils/XHALXMLParser.cpp:10:35: error: no matching function for call to ‘log4cplus::Appender::setLayout(std::auto_ptr<log4cplus::Layout>&)’
myAppender->setLayout( myLayout );
^
In file included from /opt/xdaq/include/log4cplus/spi/appenderattachable.h:33,
from /opt/xdaq/include/log4cplus/logger.h:36,
from /home/sturdy/src/sw/xhal/xhalcore/include/xhal/utils/XHALXMLParser.h:39,
from src/common/utils/XHALXMLParser.cpp:1:
/opt/xdaq/include/log4cplus/appender.h:216:22: note: candidate: ‘virtual void log4cplus::Appender::setLayout(std::unique_ptr<log4cplus::Layout>)’
virtual void setLayout(std::unique_ptr<Layout> layout);
^~~~~~~~~
/opt/xdaq/include/log4cplus/appender.h:216:22: note: no known conversion for argument 1 from ‘std::auto_ptr<log4cplus::Layout>’ to ‘std::unique_ptr<log4cplus::Layout>’
src/common/utils/XHALXMLParser.cpp: In member function ‘boost::optional<xhal::utils::Node> xhal::utils::XHALXMLParser::getNodeFromAddress(uint32_t)’:
src/common/utils/XHALXMLParser.cpp:359:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
Types of issue
[x] Compatibility breaking change
Expected Behavior
Will probably need to set up builds for
cc7 with default gcc (4.8.5), for "legacy" (14.6) xdaq
cc7 with devtoolset-8 gcc (8.2.1), for xdaq15
and when available, the same for cc8 (not sure what the default compiler will be yet)
Current Behavior
Unable to compile xhal for xdaq15 testing, and hence unable to compile cmsgemos
Context (for feature requests)
For compatibility with future development.
Your Environment
cc7 VM with xdaq15 prerelease installed (gemdaq-build-xdaq15)
Brief summary of issue
Testing compilation of
cmsgemos
oncc7
withxdaq15
beta release results in a failure because currentxhal
can't be installed:Compiling current
xhal
fails with errors:Types of issue
Expected Behavior
Will probably need to set up builds for
cc7
with default gcc (4.8.5), for "legacy" (14.6
)xdaq
cc7
withdevtoolset-8
gcc (8.2.1
), forxdaq15
cc8
(not sure what the default compiler will be yet)Current Behavior
Unable to compile
xhal
forxdaq15
testing, and hence unable to compilecmsgemos
Context (for feature requests)
For compatibility with future development.
Your Environment
cc7
VM withxdaq15
prerelease installed (gemdaq-build-xdaq15
)