Skip to content

boost problem #51

Description

@chburger

I encounter the following problem: icpc is ver 18

icpc -I-mkl -I./include/ -I./ -I./newmat10/ -I/home/peterc/b66/include -I. -I./modules/generate_blocks/ -I./modules/onepdm -I./modules/twopdm/ -I./modules/npdm -I./modules/two_index_ops -I./modules/three_index_ops -I./modules/four_index_ops -std=c++0x -I./modules/ResponseTheory -I./modules/nevpt2 -I./molcas -I./modules/mps_nevpt -DNDEBUG -Ofast -xcommon-avx512 -qopenmp -w -DBLAS -DUSELAPACK -DSERIAL -DBOOST_1_56_0 -DFAST_MTP -D_HAS_CBLAS -D_HAS_INTEL_MKL -c Stackspinblock.C -o Stackspinblock.o
/home/peterc/b66/include/boost/bind/bind.hpp(602): error: initial value of reference to non-const must be an lvalue
unwrapper::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_]);
^
detected during:
instantiation of "void boost::_bi::list6<A1, A2, A3, A4, A5, A6>::operator()(boost::_bi::type, F &, A &, int) [with A1=boost::_bi::value<SpinAdapted::StackSpinBlock *>, A2=boost::arg<1>, A3=boost::_bi::value<const SpinAdapted::StackSpinBlock *>, A4=boost::reference_wrapperSpinAdapted::StackWavefunction, A5=boost::_bi::value<SpinAdapted::StackWavefunction >, A6=boost::_bi::valueSpinAdapted::SpinQuantum, F=void ()(const SpinAdapted::StackSpinBlock *,
boost::shared_ptrSpinAdapted::StackSparseMatrix &, const SpinAdapted::StackSpinBlock *, SpinAdapted::StackWavefunction &, SpinAdapted::StackWavefunction , const SpinAdapted::SpinQuantum &), A=boost::_bi::rrlist1<boost::shared_ptrSpinAdapted::StackSparseMatrix>]" at line 1306
instantiation of "boost::_bi::bind_t<R, F, L>::result_type boost::_bi::bind_t<R, F, L>::operator()(A1 &&) [with R=void, F=void (
)(const SpinAdapted::StackSpinBlock *, boost::shared_ptrSpinAdapted::StackSparseMatrix &, const SpinAdapted::StackSpinBlock *, SpinAdapted::StackWavefunction &, SpinAdapted::StackWavefunction *, const SpinAdapted::SpinQuantum &), L=boost::_bi::list6<boost::_bi::value<SpinAdapted::StackSpinBlock *>, boost::arg<1>, boost::_bi::value<const
SpinAdapted::StackSpinBlock *>, boost::reference_wrapperSpinAdapted::StackWavefunction, boost::_bi::value<SpinAdapted::StackWavefunction *>, boost::_bi::valueSpinAdapted::SpinQuantum>, A1=boost::shared_ptrSpinAdapted::StackSparseMatrix]" at line 159 of "/home/peterc/b66/include/boost/function/function_template.hpp"

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions