different Problem cross-compiling against boost.context for Raspberry Pi (2)
When compiling HPX against the now built boost, I have this error message /home/biddisco/apps/boost-1_58_0/include/boost-1_58/boost/context/execution_context.hpp:202:52: error: âstd::index_sequenceâ has not been declared std::index_sequence< I ... >) { index_sequence appears to be c++14, I'm using -std=c++11, can one tell if this likely a mistake on my part somewhere, or a possible problem with boost.context? (Is there a BOOST_FLAG_SOMETHING, I should add to prevent t being used?) thanks JB
It's a known bug - unfortunately boost has no defect macro (BOOST_NO_CXX14_xyz) for static integer sequences. I'll add a test for SD-6 macro.
Oliver
It's a known bug - unfortunately boost has no defect macro (BOOST_NO_CXX14_xyz) for static integer sequences. I'll add a test for SD-6 macro. <<<
OK. I found the trac bug report and a pull request with a fix just after I posted to the list. would you recommend that I 1) attempt to patch things myself 2) roll back to an earlier boost 3) use boost from git (branch?) 4) something else JB
Just as a follow-up
4) something else < I found an implementation of integer_sequence for c++11 here https://gist.github.com/doicanhden/7249956 and put that in to the relevant context files and hpx has compiled now. Yours JB
participants (2)
-
Biddiscombe, John A.
-
Oliver Kowalke