Skip to content

build fix for the agent forwarding branch#2

Merged
rinne merged 1 commit intorinne:agent-forwarding-merge-20151128from
jkraemer:agent-forwarding-merge-20151128-build_fix
Mar 31, 2016
Merged

build fix for the agent forwarding branch#2
rinne merged 1 commit intorinne:agent-forwarding-merge-20151128from
jkraemer:agent-forwarding-merge-20151128-build_fix

Conversation

@jkraemer
Copy link
Copy Markdown

When trying to build a deb with agent forwarding support (thanks for this btw!) I encountered a ‘class Network::OutOfBandPlugin’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor] build error.

I got around this by adding an empty virtual destructor to OutOfBandPlugin, however I can only assume that has no negative side effects. Tests pass and the resulting package works.

I encountered this during dpkg-buildpackage on Debian Jessie:
outofband.h:118:9: error: ‘class Network::OutOfBandPlugin’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
@rinne rinne merged commit 55a4c24 into rinne:agent-forwarding-merge-20151128 Mar 31, 2016
@rinne
Copy link
Copy Markdown
Owner

rinne commented Mar 31, 2016

This is probably something compiler version specific nonsense. Does seem correct though, so merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants