Skip to content

Fix #274 compiler error for delete-non-virtual-dtor.#276

Merged
breznak merged 1 commit intohtm-community:masterfrom
pepedocs:fix-use-virtual-dtor
Feb 22, 2019
Merged

Fix #274 compiler error for delete-non-virtual-dtor.#276
breznak merged 1 commit intohtm-community:masterfrom
pepedocs:fix-use-virtual-dtor

Conversation

@pepedocs
Copy link

@pepedocs pepedocs commented Feb 22, 2019

I've made a quick PR for this issue to fix the said build error.

I'm new to this code and haven't really had time so far to consider its logic if my fix would break something. However compile-wise this will fix the compiler error caused by delete-non-virtual-dtor option. There are other ways to fix this.

Please review.
@ctrl-z-9000-times @breznak

I confirm that I was able to install the nupic.cpp and nupic.py with this fix.

EDIT:
fixes #274
Fixes #262

Copy link
Member

@breznak breznak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it's a correct fix.
Thanks for fixing it yourself and welcome to the repo with your first contribution 👍

It also fixes a bug for Clang 6.0 build.
The CI (OSX) will not detect it here, so I'll just merge and we verify in #220

@breznak breznak merged commit a9cf77b into htm-community:master Feb 22, 2019
@ctrl-z-9000-times
Copy link
Collaborator

Thanks you for fixing this!

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.

Build error OSX Mojave, PyBindings, virtual destructors Build fails for Clang 6.0, Ubuntu, in pybindings SDR_MetricsHelper_

3 participants