Skip to content

Instantly share code, notes, and snippets.

@SnoozeTime
Created September 25, 2018 13:24
Show Gist options
  • Save SnoozeTime/77cfe69d5f142f7fdb615233cebb2e0e to your computer and use it in GitHub Desktop.
Save SnoozeTime/77cfe69d5f142f7fdb615233cebb2e0e to your computer and use it in GitHub Desktop.
warning trace
/home/benoit/opt/clion-2018.2.2/bin/cmake/linux/bin/cmake --build /home/benoit/PROJECT/pistache/cmake-build-debug --target run_listener_test -- -j 2
Scanning dependencies of target pistache
[ 3%] Building CXX object googletest-release-1.7.0/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 7%] Building CXX object src/CMakeFiles/pistache.dir/common/cookie.cc.o
[ 11%] Building CXX object src/CMakeFiles/pistache.dir/common/description.cc.o
In file included from /home/benoit/PROJECT/pistache/src/common/description.cc:10:
In file included from /home/benoit/PROJECT/pistache/include/pistache/description.h:19:
In file included from /home/benoit/PROJECT/pistache/include/pistache/router.h:12:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Tcp::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:35:25: note: in instantiation of template class 'Pistache::Prototype<Pistache::Tcp::Handler>' requested here
class Handler : private Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:40:5: warning: 'Pistache::Tcp::Handler' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
~Handler();
^
In file included from /home/benoit/PROJECT/pistache/src/common/description.cc:10:
In file included from /home/benoit/PROJECT/pistache/include/pistache/description.h:19:
In file included from /home/benoit/PROJECT/pistache/include/pistache/router.h:12:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:28:
In file included from /home/benoit/PROJECT/pistache/include/pistache/transport.h:9:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/common/description.cc:10:
In file included from /home/benoit/PROJECT/pistache/include/pistache/description.h:19:
In file included from /home/benoit/PROJECT/pistache/include/pistache/router.h:12:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
In file included from /home/benoit/PROJECT/pistache/src/common/description.cc:10:
/home/benoit/PROJECT/pistache/include/pistache/description.h:150:8: warning: 'Pistache::Rest::Schema::DataType' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct DataType {
^
[ 15%] Linking CXX static library libgtest.a
[ 15%] Built target gtest
[ 19%] Building CXX object src/CMakeFiles/pistache.dir/common/http.cc.o
7 warnings generated.
[ 23%] Building CXX object googletest-release-1.7.0/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 26%] Linking CXX static library libgtest_main.a
[ 26%] Built target gtest_main
[ 30%] Building CXX object src/CMakeFiles/pistache.dir/common/http_defs.cc.o
In file included from /home/benoit/PROJECT/pistache/src/common/http.cc:19:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Tcp::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:35:25: note: in instantiation of template class 'Pistache::Prototype<Pistache::Tcp::Handler>' requested here
class Handler : private Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:40:5: warning: 'Pistache::Tcp::Handler' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
~Handler();
^
In file included from /home/benoit/PROJECT/pistache/src/common/http.cc:19:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:28:
In file included from /home/benoit/PROJECT/pistache/include/pistache/transport.h:9:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/common/http.cc:19:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
6 warnings generated.
[ 34%] Building CXX object src/CMakeFiles/pistache.dir/common/http_header.cc.o
[ 38%] Building CXX object src/CMakeFiles/pistache.dir/common/http_headers.cc.o
In file included from /home/benoit/PROJECT/pistache/src/common/http_header.cc:14:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Tcp::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:35:25: note: in instantiation of template class 'Pistache::Prototype<Pistache::Tcp::Handler>' requested here
class Handler : private Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:40:5: warning: 'Pistache::Tcp::Handler' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
~Handler();
^
In file included from /home/benoit/PROJECT/pistache/src/common/http_header.cc:14:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:28:
In file included from /home/benoit/PROJECT/pistache/include/pistache/transport.h:9:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/common/http_header.cc:14:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
6 warnings generated.
[ 42%] Building CXX object src/CMakeFiles/pistache.dir/common/mime.cc.o
[ 46%] Building CXX object src/CMakeFiles/pistache.dir/common/net.cc.o
[ 50%] Building CXX object src/CMakeFiles/pistache.dir/common/os.cc.o
In file included from /home/benoit/PROJECT/pistache/src/common/mime.cc:10:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Tcp::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:35:25: note: in instantiation of template class 'Pistache::Prototype<Pistache::Tcp::Handler>' requested here
class Handler : private Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:40:5: warning: 'Pistache::Tcp::Handler' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
~Handler();
^
In file included from /home/benoit/PROJECT/pistache/src/common/mime.cc:10:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:28:
In file included from /home/benoit/PROJECT/pistache/include/pistache/transport.h:9:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/common/mime.cc:10:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
[ 53%] Building CXX object src/CMakeFiles/pistache.dir/common/peer.cc.o
6 warnings generated.
[ 57%] Building CXX object src/CMakeFiles/pistache.dir/common/reactor.cc.o
In file included from /home/benoit/PROJECT/pistache/src/common/peer.cc:13:
In file included from /home/benoit/PROJECT/pistache/include/pistache/transport.h:9:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/common/peer.cc:13:
In file included from /home/benoit/PROJECT/pistache/include/pistache/transport.h:9:
In file included from /home/benoit/PROJECT/pistache/include/pistache/reactor.h:25:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
In file included from /home/benoit/PROJECT/pistache/src/common/reactor.cc:7:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/common/reactor.cc:7:
In file included from /home/benoit/PROJECT/pistache/include/pistache/reactor.h:25:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
4 warnings generated.
[ 61%] Building CXX object src/CMakeFiles/pistache.dir/common/stream.cc.o
4 warnings generated.
[ 65%] Building CXX object src/CMakeFiles/pistache.dir/common/tcp.cc.o
In file included from /home/benoit/PROJECT/pistache/src/common/tcp.cc:7:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Tcp::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:35:25: note: in instantiation of template class 'Pistache::Prototype<Pistache::Tcp::Handler>' requested here
class Handler : private Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:40:5: warning: 'Pistache::Tcp::Handler' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
~Handler();
^
2 warnings generated.
[ 69%] Building CXX object src/CMakeFiles/pistache.dir/common/timer_pool.cc.o
[ 73%] Building CXX object src/CMakeFiles/pistache.dir/common/transport.cc.o
In file included from /home/benoit/PROJECT/pistache/src/common/timer_pool.cc:9:
In file included from /home/benoit/PROJECT/pistache/include/pistache/timer_pool.h:21:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/common/timer_pool.cc:9:
In file included from /home/benoit/PROJECT/pistache/include/pistache/timer_pool.h:21:
In file included from /home/benoit/PROJECT/pistache/include/pistache/reactor.h:25:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
4 warnings generated.
In file included from /home/benoit/PROJECT/pistache/src/common/transport.cc:11:
In file included from /home/benoit/PROJECT/pistache/include/pistache/transport.h:9:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/common/transport.cc:11:
In file included from /home/benoit/PROJECT/pistache/include/pistache/transport.h:9:
In file included from /home/benoit/PROJECT/pistache/include/pistache/reactor.h:25:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
[ 76%] Building CXX object src/CMakeFiles/pistache.dir/server/endpoint.cc.o
In file included from /home/benoit/PROJECT/pistache/src/common/transport.cc:11:
In file included from /home/benoit/PROJECT/pistache/include/pistache/transport.h:9:
In file included from /home/benoit/PROJECT/pistache/include/pistache/reactor.h:25:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Tcp::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:35:25: note: in instantiation of template class 'Pistache::Prototype<Pistache::Tcp::Handler>' requested here
class Handler : private Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:40:5: warning: 'Pistache::Tcp::Handler' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
~Handler();
^
In file included from /home/benoit/PROJECT/pistache/src/server/endpoint.cc:8:
In file included from /home/benoit/PROJECT/pistache/include/pistache/endpoint.h:9:
In file included from /home/benoit/PROJECT/pistache/include/pistache/listener.h:15:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Tcp::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:35:25: note: in instantiation of template class 'Pistache::Prototype<Pistache::Tcp::Handler>' requested here
class Handler : private Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:40:5: warning: 'Pistache::Tcp::Handler' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
~Handler();
^
In file included from /home/benoit/PROJECT/pistache/src/server/endpoint.cc:8:
In file included from /home/benoit/PROJECT/pistache/include/pistache/endpoint.h:9:
In file included from /home/benoit/PROJECT/pistache/include/pistache/listener.h:20:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/server/endpoint.cc:8:
In file included from /home/benoit/PROJECT/pistache/include/pistache/endpoint.h:9:
In file included from /home/benoit/PROJECT/pistache/include/pistache/listener.h:15:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
6 warnings generated.
[ 80%] Building CXX object src/CMakeFiles/pistache.dir/server/listener.cc.o
In file included from /home/benoit/PROJECT/pistache/src/server/listener.cc:23:
In file included from /home/benoit/PROJECT/pistache/include/pistache/listener.h:15:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Tcp::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:35:25: note: in instantiation of template class 'Pistache::Prototype<Pistache::Tcp::Handler>' requested here
class Handler : private Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:40:5: warning: 'Pistache::Tcp::Handler' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
~Handler();
^
In file included from /home/benoit/PROJECT/pistache/src/server/listener.cc:23:
In file included from /home/benoit/PROJECT/pistache/include/pistache/listener.h:20:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/server/listener.cc:23:
In file included from /home/benoit/PROJECT/pistache/include/pistache/listener.h:15:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
6 warnings generated.
[ 84%] Building CXX object src/CMakeFiles/pistache.dir/server/router.cc.o
6 warnings generated.
[ 88%] Building CXX object src/CMakeFiles/pistache.dir/client/client.cc.o
In file included from /home/benoit/PROJECT/pistache/src/server/router.cc:9:
In file included from /home/benoit/PROJECT/pistache/include/pistache/router.h:12:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Tcp::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:35:25: note: in instantiation of template class 'Pistache::Prototype<Pistache::Tcp::Handler>' requested here
class Handler : private Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:40:5: warning: 'Pistache::Tcp::Handler' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
~Handler();
^
In file included from /home/benoit/PROJECT/pistache/src/server/router.cc:9:
In file included from /home/benoit/PROJECT/pistache/include/pistache/router.h:12:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:28:
In file included from /home/benoit/PROJECT/pistache/include/pistache/transport.h:9:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/server/router.cc:9:
In file included from /home/benoit/PROJECT/pistache/include/pistache/router.h:12:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
In file included from /home/benoit/PROJECT/pistache/src/server/router.cc:10:
/home/benoit/PROJECT/pistache/include/pistache/description.h:150:8: warning: 'Pistache::Rest::Schema::DataType' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct DataType {
^
In file included from /home/benoit/PROJECT/pistache/src/client/client.cc:12:
In file included from /home/benoit/PROJECT/pistache/include/pistache/client.h:16:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Tcp::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:35:25: note: in instantiation of template class 'Pistache::Prototype<Pistache::Tcp::Handler>' requested here
class Handler : private Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:40:5: warning: 'Pistache::Tcp::Handler' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
~Handler();
^
In file included from /home/benoit/PROJECT/pistache/src/client/client.cc:12:
In file included from /home/benoit/PROJECT/pistache/include/pistache/client.h:16:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:28:
In file included from /home/benoit/PROJECT/pistache/include/pistache/transport.h:9:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/src/client/client.cc:12:
In file included from /home/benoit/PROJECT/pistache/include/pistache/client.h:16:
In file included from /home/benoit/PROJECT/pistache/include/pistache/http.h:27:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
7 warnings generated.
6 warnings generated.
[ 92%] Linking CXX static library libpistache.a
[ 92%] Built target pistache
[ 96%] Building CXX object tests/CMakeFiles/run_listener_test.dir/listener_test.cc.o
In file included from /home/benoit/PROJECT/pistache/tests/listener_test.cc:11:
In file included from /home/benoit/PROJECT/pistache/include/pistache/listener.h:15:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Tcp::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:35:25: note: in instantiation of template class 'Pistache::Prototype<Pistache::Tcp::Handler>' requested here
class Handler : private Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/include/pistache/tcp.h:40:5: warning: 'Pistache::Tcp::Handler' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
~Handler();
^
In file included from /home/benoit/PROJECT/pistache/tests/listener_test.cc:11:
In file included from /home/benoit/PROJECT/pistache/include/pistache/listener.h:20:
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:167:7: warning: 'Pistache::Aio::ExecutionContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:172:7: warning: 'Pistache::Aio::SyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class SyncContext : public ExecutionContext {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:177:7: warning: 'Pistache::Aio::AsyncContext' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class AsyncContext : public ExecutionContext {
^
In file included from /home/benoit/PROJECT/pistache/tests/listener_test.cc:11:
In file included from /home/benoit/PROJECT/pistache/include/pistache/listener.h:15:
In file included from /home/benoit/PROJECT/pistache/include/pistache/tcp.h:13:
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:16:8: warning: 'Pistache::Prototype<Pistache::Aio::Handler>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
struct Prototype {
^
/home/benoit/PROJECT/pistache/include/pistache/reactor.h:191:24: note: in instantiation of template class 'Pistache::Prototype<Pistache::Aio::Handler>' requested here
class Handler : public Prototype<Handler> {
^
/home/benoit/PROJECT/pistache/tests/listener_test.cc:39:1: warning: 'clone' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
HTTP_PROTOTYPE(DummyHandler)
^
/home/benoit/PROJECT/pistache/include/pistache/http.h:48:5: note: expanded from macro 'HTTP_PROTOTYPE'
PROTOTYPE_OF(Pistache::Tcp::Handler, Class) \
^
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:24:27: note: expanded from macro 'PROTOTYPE_OF'
std::shared_ptr<Base> clone() const { \
^
/home/benoit/PROJECT/pistache/include/pistache/prototype.h:17:36: note: overridden virtual function is here
virtual std::shared_ptr<Class> clone() const = 0;
^
7 warnings generated.
[100%] Linking CXX executable run_listener_test
[100%] Built target run_listener_test
Build finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment