Skip to content

Instantly share code, notes, and snippets.

@tayral
Created April 10, 2014 09:46
Show Gist options
  • Save tayral/7eb624a9f7f82e879b38 to your computer and use it in GitHub Desktop.
Save tayral/7eb624a9f7f82e879b38 to your computer and use it in GitHub Desktop.
bug cthyb compilation
[ 25%] Built target cython_cthyb
Built target py_copy
[ 37%] Building CXX object c++/CMakeFiles/cthyb_c.dir/ctqmc_matrix.cpp.o
In file included from /home/tayral/Work/TRIQS/cthyb/c++/ctqmc_matrix.cpp:21:
In file included from /home/tayral/Work/TRIQS/cthyb/c++/ctqmc_matrix.hpp:22:
In file included from /home/tayral/Work/TRIQS/install/include/triqs/mc_tools.hpp:24:
In file included from /home/tayral/Work/TRIQS/install/include/triqs/mc_tools/mc_generic.hpp:25:
In file included from /home/tayral/Work/TRIQS/install/include/triqs/utility/report_stream.hpp:23:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/ostream:40:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/ios:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/char_traits.h:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_algobase.h:65:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_pair.h:60:
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/move.h:128:11: error: overload resolution selected deleted operator '='
__a = _GLIBCXX_MOVE(__b);
~~~ ^ ~~~~~~~~~~~~~~~~~~
/home/tayral/Work/TRIQS/install/include/triqs/det_manip/det_manip.hpp:159:6: note: in instantiation of function template specialization 'std::swap<cthyb_matrix::qmc_data::delta_block_adaptor>' requested here
swap(lhs.f, rhs.f);
^
/home/tayral/Work/TRIQS/install/include/triqs/det_manip/det_manip.hpp:232:96: note: in instantiation of member function 'triqs::det_manip::swap' requested here
det_manip& operator=(det_manip&& rhs) noexcept { assert((last_try==0)&&(rhs.last_try==0)); swap(*this,rhs); return *this; }
^
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/vector.tcc:319:16: note: in instantiation of member function 'triqs::det_manip::det_manip<cthyb_matrix::qmc_data::delta_block_adaptor>::operator=' requested here
*__position = _Tp(std::forward<_Args>(__args)...);
^
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/vector.tcc:102:4: note: in instantiation of function template specialization 'std::vector<triqs::det_manip::det_manip<cthyb_matrix::qmc_data::delta_block_adaptor>, std::allocator<triqs::det_manip::det_manip<cthyb_matrix::qmc_data::delta_block_adaptor> > >::_M_insert_aux<cthyb_matrix::qmc_data::delta_block_adaptor, int>' requested here
_M_insert_aux(end(), std::forward<_Args>(__args)...);
^
/home/tayral/Work/TRIQS/cthyb/c++/./qmc_data.hpp:76:44: note: in instantiation of function template specialization 'std::vector<triqs::det_manip::det_manip<cthyb_matrix::qmc_data::delta_block_adaptor>, std::allocator<triqs::det_manip::det_manip<cthyb_matrix::qmc_data::delta_block_adaptor> > >::emplace_back<cthyb_matrix::qmc_data::delta_block_adaptor, int>' requested here
for (auto const &bl : delta.mesh()) dets.emplace_back(delta_block_adaptor(delta[bl]), 100);
^
/home/tayral/Work/TRIQS/cthyb/c++/./qmc_data.hpp:50:24: note: candidate function has been explicitly deleted
delta_block_adaptor &operator=(delta_block_adaptor const &) = delete; // forbid assignment
^
In file included from /home/tayral/Work/TRIQS/cthyb/c++/ctqmc_matrix.cpp:21:
In file included from /home/tayral/Work/TRIQS/cthyb/c++/ctqmc_matrix.hpp:22:
In file included from /home/tayral/Work/TRIQS/install/include/triqs/mc_tools.hpp:24:
In file included from /home/tayral/Work/TRIQS/install/include/triqs/mc_tools/mc_generic.hpp:25:
In file included from /home/tayral/Work/TRIQS/install/include/triqs/utility/report_stream.hpp:23:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/ostream:40:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/ios:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/char_traits.h:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_algobase.h:65:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_pair.h:60:
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/move.h:129:11: error: overload resolution selected deleted operator '='
__b = _GLIBCXX_MOVE(__tmp);
~~~ ^ ~~~~~~~~~~~~~~~~~~~~
/home/tayral/Work/TRIQS/cthyb/c++/./qmc_data.hpp:50:24: note: candidate function has been explicitly deleted
delta_block_adaptor &operator=(delta_block_adaptor const &) = delete; // forbid assignment
^
2 errors generated.
make[2]: *** [c++/CMakeFiles/cthyb_c.dir/ctqmc_matrix.cpp.o] Error 1
make[1]: *** [c++/CMakeFiles/cthyb_c.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment