Created
March 5, 2020 22:40
-
-
Save drnickallgood/7cefdab45ec1ca4340668d1101b1b279 to your computer and use it in GitHub Desktop.
qrack build freebsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qc/ cd qrack/build && cmake -S .. -B . | |
<no issues> | |
qc/ make or gmake | |
In file included from /usr/include/c++/v1/functional:494: | |
/usr/include/c++/v1/memory:3710:5: error: destructor called on non-final 'Qrack::StateVectorSparse' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor] | |
__data_.second().~_Tp(); | |
^ | |
/usr/include/c++/v1/memory:3671:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<Qrack::StateVectorSparse, std::__1::allocator<Qrack::StateVectorSparse> >::__on_zero_shared' requested here | |
__shared_ptr_emplace(_Alloc __a, _Args&& ...__args) | |
^ | |
/usr/include/c++/v1/memory:4331:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<Qrack::StateVectorSparse, std::__1::allocator<Qrack::StateVectorSparse> >::__shared_ptr_emplace<unsigned long &>' requested here | |
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); | |
^ | |
/usr/include/c++/v1/memory:4710:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<Qrack::StateVectorSparse>::make_shared<unsigned long &>' requested here | |
return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...); | |
^ | |
/home/nick/qc/qrack/src/qengine/state.cpp:839:21: note: in instantiation of function template specialization 'std::__1::make_shared<Qrack::StateVectorSparse, unsigned long &>' requested here | |
return std::make_shared<StateVectorSparse>(elemCount); | |
^ | |
/usr/include/c++/v1/memory:3710:23: note: qualify call to silence this warning | |
__data_.second().~_Tp(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment