Skip to content

Instantly share code, notes, and snippets.

@magdesign
Created November 5, 2020 17:36
Show Gist options
  • Save magdesign/b675bd0cab6161db1cfeeae4985de5f6 to your computer and use it in GitHub Desktop.
Save magdesign/b675bd0cab6161db1cfeeae4985de5f6 to your computer and use it in GitHub Desktop.
make check error of ola https://github.com/shenghaoyang/ola mitigate-drift branch
In file included from ./plugins/artnet/ArtNetNode.h:37:0,
from plugins/artnet/ArtNetNodeTest.cpp:45:
./include/ola/rdm/QueueingRDMController.h:68:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<RDMCallback> m_callback;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/artnet/ArtNetNodeTest.cpp:22:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./plugins/artnet/ArtNetNode.h:37:0,
from plugins/artnet/ArtNetNodeTest.cpp:45:
./include/ola/rdm/QueueingRDMController.h:69:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<ola::rdm::RDMResponse> m_response;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/artnet/ArtNetNodeTest.cpp:22:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from plugins/artnet/ArtNetNodeTest.cpp:45:0:
./plugins/artnet/ArtNetNode.h:409:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<ola::network::UDPSocketInterface> m_socket;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/artnet/ArtNetNodeTest.cpp:22:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
mv -f plugins/artnet/.deps/plugins_artnet_ArtNetTester-ArtNetNodeTest.Tpo plugins/artnet/.deps/plugins_artnet_ArtNetTester-ArtNetNodeTest.Po
/bin/bash ./libtool --tag=CXX --mode=link g++ -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -pthread -DTEST_SRC_DIR=\".\" -DTEST_BUILD_DIR=\".\" -Werror -Wno-error=deprecated-declarations -g -O2 -std=gnu++11 -pthread -o plugins/artnet/ArtNetTester plugins/artnet/plugins_artnet_ArtNetTester-ArtNetNodeTest.o -lcppunit common/testing/libolatesting.la common/testing/libtestmain.la common/libolacommon.la plugins/artnet/libolaartnetnode.la -ldns_sd -ldl
libtool: link: g++ -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -pthread -DTEST_SRC_DIR=\".\" -DTEST_BUILD_DIR=\".\" -Werror -Wno-error=deprecated-declarations -g -O2 -std=gnu++11 -pthread -o plugins/artnet/.libs/ArtNetTester plugins/artnet/plugins_artnet_ArtNetTester-ArtNetNodeTest.o -lcppunit common/testing/.libs/libolatesting.a common/testing/.libs/libtestmain.a common/.libs/libolacommon.so plugins/artnet/.libs/libolaartnetnode.a /home/pvj/Downloads/ola/common/.libs/libolacommon.so -lresolv -lprotobuf -lpthread -ldns_sd -ldl -pthread
g++ -DHAVE_CONFIG_H -I. -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -pthread -DTEST_SRC_DIR=\".\" -DTEST_BUILD_DIR=\".\" -Werror -Wno-error=deprecated-declarations -g -O2 -std=gnu++11 -pthread -MT plugins/dummy/plugins_dummy_DummyPluginTester-DummyPortTest.o -MD -MP -MF plugins/dummy/.deps/plugins_dummy_DummyPluginTester-DummyPortTest.Tpo -c -o plugins/dummy/plugins_dummy_DummyPluginTester-DummyPortTest.o `test -f 'plugins/dummy/DummyPortTest.cpp' || echo './'`plugins/dummy/DummyPortTest.cpp
In file included from ./include/ola/rdm/RDMControllerInterface.h:34:0,
from plugins/dummy/DummyPortTest.cpp:40:
./include/ola/rdm/RDMReply.h:147:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<RDMResponse> m_response;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./olad/OlaServer.h:31:0,
from ./include/olad/PluginAdaptor.h:35,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./include/ola/io/SelectServer.h:201:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class TimeoutManager> m_timeout_manager;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./olad/OlaServer.h:31:0,
from ./include/olad/PluginAdaptor.h:35,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./include/ola/io/SelectServer.h:202:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class PollerInterface> m_poller;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./olad/OlaServer.h:36:0,
from ./include/olad/PluginAdaptor.h:35,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./include/ola/rdm/PidStore.h:172:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<const PidStore> m_esta_store;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:181:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class ExportMap> m_our_export_map;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:185:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class DeviceManager> m_device_manager;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:186:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class PluginManager> m_plugin_manager;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:187:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class PluginAdaptor> m_plugin_adaptor;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:188:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class UniverseStore> m_universe_store;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:189:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class PortManager> m_port_manager;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:190:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class OlaServerServiceImpl> m_service_impl;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:191:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class ClientBroker> m_broker;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:192:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class PortBroker> m_port_broker;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:193:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<const ola::rdm::RootPidStore> m_pid_store;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:194:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<class DiscoveryAgentInterface> m_discovery_agent;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:195:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<ola::rpc::RpcServer> m_rpc_server;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ./include/olad/PluginAdaptor.h:35:0,
from ./include/olad/Port.h:30,
from ./plugins/dummy/DummyPort.h:33,
from plugins/dummy/DummyPortTest.cpp:44:
./olad/OlaServer.h:201:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<OladHTTPServer_t> m_httpd;
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /usr/include/cppunit/extensions/HelperMacros.h:16,
from plugins/dummy/DummyPortTest.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
plugins/dummy/DummyPortTest.cpp: In member function ‘void ola::plugin::dummy::DummyPortTest::testParamDescription()’:
plugins/dummy/DummyPortTest.cpp:678:32: error: unknown option after ‘#pragma GCC diagnostic’ kind [-Werror=pragmas]
#pragma GCC diagnostic ignored "-Wstringop-truncation"
^~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Makefile:14106: recipe for target 'plugins/dummy/plugins_dummy_DummyPluginTester-DummyPortTest.o' failed
make[3]: *** [plugins/dummy/plugins_dummy_DummyPluginTester-DummyPortTest.o] Error 1
make[3]: Leaving directory '/home/pvj/Downloads/ola'
Makefile:17620: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/home/pvj/Downloads/ola'
Makefile:16553: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/pvj/Downloads/ola'
Makefile:17624: recipe for target 'check' failed
make: *** [check] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment