Re: Issue with new version of Bowtie
Hi Andreas,
I am having trouble reproducing the issue locally, but reading between
the lines of the template mess, the solution might be as simple as
defining ~KarkkainenBlockwiseSA as noexcept:
~KarkkainenBlockwiseSA() noexcept {
…
}
The compiler complains, because in C++11 automatically generated
constructors are defined as noexcept, when they do not throw exceptions.
This is the case for InorderBlockwiseSA, which does not have a
user-defined destructor. So the looser ~KarkkainenBlockwiseSA()
overrides a strict function, which is not allowed. As having a
destructor throw exceptions is dangerous and ~KarkkainenBlockwiseSA()
does not seem to throw any, it can be marked as noexcept.
If that doesn't help, try to compile the code with an older C++ version
as it doesn't seem to use any of the new features.
Best,
Fabian
Reply to: