When trying to compile HoneySearch (by running make), I get the following command output:
Code: Select all
g++ -c -Wall -Wextra -O3 -march=native -fopenmp -std=c++11 -pedantic hs.cpp -o hs.o
hs.cpp: In member function ‘void HoneyThread::setrule(std::string)’:
hs.cpp:277:42: error: use of deleted function ‘apg::base_classifier<1>& apg::base_classifier<1>::operator=(apg::base_classifier<1>&&)’
277 | cfier = apg::classifier(<, rule);
| ^
In file included from hs.cpp:2:
../lifelib/classifier.h:18:11: note: ‘apg::base_classifier<1>& apg::base_classifier<1>::operator=(apg::base_classifier<1>&&)’ is implicitly deleted because the default definition would be ill-formed:
18 | class base_classifier {
| ^~~~~~~~~~~~~~~
../lifelib/classifier.h:18:11: error: use of deleted function ‘apg::lifetree<unsigned int, 2, apg::lifemeta<unsigned int> >& apg::lifetree<unsigned int, 2, apg::lifemeta<unsigned int> >::operator=(apg::lifetree<unsigned int, 2, apg::lifemeta<unsigned int> >&&)’
In file included from ../lifelib/pattern2.h:2,
from hs.cpp:1:
../lifelib/lifetree.h:1897:11: note: ‘apg::lifetree<unsigned int, 2, apg::lifemeta<unsigned int> >& apg::lifetree<unsigned int, 2, apg::lifemeta<unsigned int> >::operator=(apg::lifetree<unsigned int, 2, apg::lifemeta<unsigned int> >&&)’ is implicitly deleted because the default definition would be ill-formed:
1897 | class lifetree : public lifetree_generic<I, N, J> {
| ^~~~~~~~
../lifelib/lifetree.h:1897:11: error: use of deleted function ‘apg::lifetree_generic<unsigned int, 2, apg::lifemeta<unsigned int> >& apg::lifetree_generic<unsigned int, 2, apg::lifemeta<unsigned int> >::operator=(const apg::lifetree_generic<unsigned int, 2, apg::lifemeta<unsigned int> >&)’
../lifelib/lifetree.h:16:11: note: ‘apg::lifetree_generic<unsigned int, 2, apg::lifemeta<unsigned int> >& apg::lifetree_generic<unsigned int, 2, apg::lifemeta<unsigned int> >::operator=(const apg::lifetree_generic<unsigned int, 2, apg::lifemeta<unsigned int> >&)’ is implicitly deleted because the default definition would be ill-formed:
16 | class lifetree_generic : public lifetree_abstract<I> {
| ^~~~~~~~~~~~~~~~
../lifelib/lifetree.h:16:11: error: use of deleted function ‘apg::hypertree<unsigned int, 4, apg::lifemeta<unsigned int>, apg::nicearray<long unsigned int, 8>, apg::lifemeta<unsigned int> >& apg::hypertree<unsigned int, 4, apg::lifemeta<unsigned int>, apg::nicearray<long unsigned int, 8>, apg::lifemeta<unsigned int> >::operator=(const apg::hypertree<unsigned int, 4, apg::lifemeta<unsigned int>, apg::nicearray<long unsigned int, 8>, apg::lifemeta<unsigned int> >&)’
In file included from ../lifelib/lifetree_abstract.h:3,
from ../lifelib/lifetree.h:4:
../lifelib/hashtrees/hypertree.h:70:11: note: ‘apg::hypertree<unsigned int, 4, apg::lifemeta<unsigned int>, apg::nicearray<long unsigned int, 8>, apg::lifemeta<unsigned int> >& apg::hypertree<unsigned int, 4, apg::lifemeta<unsigned int>, apg::nicearray<long unsigned int, 8>, apg::lifemeta<unsigned int> >::operator=(const apg::hypertree<unsigned int, 4, apg::lifemeta<unsigned int>, apg::nicearray<long unsigned int, 8>, apg::lifemeta<unsigned int> >&)’ is implicitly deleted because the default definition would be ill-formed:
70 | class hypertree {
| ^~~~~~~~~
../lifelib/hashtrees/hypertree.h:70:11: error: use of deleted function ‘apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >& apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >::operator=(const apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >&)’
In file included from ../lifelib/hashtrees/hypertree.h:26:
../lifelib/hashtrees/kivtable.h:58:12: note: ‘apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >& apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >:operator=(const apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >&)’ is implicitly deleted because the default definition would be ill-formed:
58 | struct kivtable : public hh::indextable<kiventry<K, I, V>, K, kivtable<K, I, V>> {
| ^~~~~~~~
../lifelib/hashtrees/kivtable.h:58:12: error: use of deleted function ‘hh::indextable<apg::kiventry<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, apg::nicearray<long unsigned int, 8>, apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, 8>& hh::indextable<apg::kiventry<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, apg::nicearray<long unsigned int, 8>, apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, 8>::operator=(const hh::indextable<apg::kiventry<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, apg::nicearray<long unsigned int, 8>, apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, 8>&’
In file included from ../lifelib/hashtrees/kivtable.h:16:
../lifelib/hashtrees/../cpads/include/cpads/indextable.hpp:89:7: note: ‘hh::indextable<apg::kiventry<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, apg::nicearray<long unsigned int, 8>, apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, 8>& hh::indextable<apg::kiventry<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, apg::nicearray<long unsigned int, 8>, apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, 8>::operator=(const hh::indextable<apg::kiventry<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, apg::nicearray<long unsigned int, 8>, apg::kivtable<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >, 8>&)’ is implicitly deleted because the default definition would be ill-formed:
89 | class indextable {
| ^~~~~~~~~~
../lifelib/hashtrees/../cpads/include/cpads/indextable.hpp:89:7: error: use of deleted function ‘hh::ivector<T, B>& hh::ivector<T, B>::operator=(const hh::ivector<T, B>&) [with T = apg::kiventry<apg::nicearray<long unsigned int, 8>, unsigned int, apg::lifemeta<unsigned int> >; int B = 8]’
In file included from ../lifelib/hashtrees/../cpads/include/cpads/indextable.hpp:2:
../lifelib/hashtrees/../cpads/include/cpads/ivector.hpp:121:20: note: declared here
121 | ivector<T, B>& operator=(ivector<T, B> const&) = delete;
| ^~~~~~~~
make: *** [makefile:31: hs.o] Error 1