Open TedLyngmo opened 4 years ago
Ted,
Thank you! Will process this week.
Can't build with Mac CLang C++: c++ --version Apple clang version 11.0.0 (clang-1100.0.33.17) Target: x86_64-apple-darwin19.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
[ 80%] Building CXX object tests/CMakeFiles/server-test.dir/test_server.cc.o
/Users/anton-dedov/personal/src/libiqxmlrpc/tests/test_server.cc:58:3: error: constructor for 'CallCountingInterceptor' must explicitly initialize the base class
'iqxmlrpc::Interceptor' which does not have a default constructor
CallCountingInterceptor(): count(0) {}
^
/Users/anton-dedov/personal/src/libiqxmlrpc/libiqxmlrpc/method.h:103:23: note: 'iqxmlrpc::Interceptor' declared here
class LIBIQXMLRPC_API Interceptor {
^
/Users/anton-dedov/personal/src/libiqxmlrpc/tests/test_server.cc:108:3: error: call to constructor of 'std::unique_ptr
Oups - I see I missed building the tests but I fixed it. It now compiles and runs all the tests OK for me.
I just noticed this old patchset. Was there a problem with it? I hardly remember what made me put it up here. It must have been some code I used 2 years ago that used this library but I don't remember what it was :-)
This is meant as a co-op patch to make the library use and require C++11 or later. This is not a backwards compatible patch since it'll fail to build in C++ versions prior to C++11.
BOOST_HEADER_DEPRECATED("<iterator>")
warning