Replies: 2 comments 10 replies
-
I can't say that I've run into this before. Do you know what compiler and compiler version you are using? ( |
Beta Was this translation helpful? Give feedback.
3 replies
-
Thank you a lot for your quick answer. Infortunately, I'm not a C++ gentleman. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to build pharos and build failed due to requirement '__is_cpp17_move_insertable<std::allocatorpharos::ParameterDefinition, void>::value'.
I guess some of you have encountered this error and could have relevant comment to do.
Thanks a lot.
_[ 7%] Building CXX object libpharos/CMakeFiles/pharos.dir/convention.cpp.o
cd /home/didier/labo/pharos-release/libpharos && /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_TIMER_DYN_LINK -DBOOST_TIMER_NO_LIB -DBOOST_WAVE_DYN_LINK -DBOOST_WAVE_NO_LIB -Dpharos_EXPORTS -I/home/didier/labo/pharos-release/libpharos -isystem /usr/local/include -isystem /home/didier/rose/usr/local/include/rose -isystem /home/didier/rose/usr/local/include -isystem /usr/local/lib/swipl/include -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wstrict-aliasing -Wno-misleading-indentation -ftemplate-depth=1024 -O3 -DNDEBUG -fPIC -pthread -std=c++14 -Winvalid-pch -Xclang -include-pch -Xclang /home/didier/labo/pharos-release/libpharos/CMakeFiles/pharos.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/didier/labo/pharos-release/libpharos/CMakeFiles/pharos.dir/cmake_pch.hxx -MD -MT libpharos/CMakeFiles/pharos.dir/convention.cpp.o -MF CMakeFiles/pharos.dir/convention.cpp.o.d -o CMakeFiles/pharos.dir/convention.cpp.o -c /home/didier/git/pharos/libpharos/convention.cpp
In file included from :410:
In file included from /home/didier/labo/pharos-release/libpharos/CMakeFiles/pharos.dir/cmake_pch.hxx:5:
In file included from /home/didier/rose/usr/local/include/rose/rose.h:10:
In file included from /home/didier/rose/usr/local/include/rose/sage3basic.hhh:4:
In file included from /home/didier/rose/usr/local/include/rose/sage3basic.h:42:
In file included from /usr/local/include/boost/filesystem.hpp:16:
In file included from /usr/local/include/boost/filesystem/path.hpp:21:
In file included from /usr/local/include/boost/filesystem/path_traits.hpp:14:
In file included from /usr/local/include/boost/system/error_category.hpp:10:
In file included from /usr/local/include/boost/system/detail/error_category.hpp:16:
In file included from /usr/include/c++/v1/string:522:
In file included from /usr/include/c++/v1/algorithm:653:
In file included from /usr/include/c++/v1/functional:500:
In file included from /usr/include/c++/v1/__functional/function.h:22:
/usr/include/c++/v1/memory:775:5: error: static_assert failed due to requirement '__is_cpp17_move_insertable<std::allocatorpharos::ParameterDefinition, void>::value' "The specified type does not meet the requirements of Cpp17MoveInsertable"
static_assert(__is_cpp17_move_insertable<_Alloc>::value,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/vector:976:12: note: in instantiation of function template specialization 'std::__construct_backward_with_exception_guarantees<std::allocatorpharos::ParameterDefinition, pharos::ParameterDefinition *>' requested here
_VSTD::__construct_backward_with_exception_guarantees(this->__alloc(), this->_begin, this->_end, __v._begin);
^
/usr/include/c++/v1/vector:1691:5: note: in instantiation of member function 'std::vectorpharos::ParameterDefinition::__swap_out_circular_buffer' requested here
__swap_out_circular_buffer(__v);
^
/usr/include/c++/v1/vector:1709:9: note: in instantiation of function template specialization 'std::vectorpharos::ParameterDefinition::__emplace_back_slow_path<unsigned long &, Sawyer::SharedPointerpharos::SymbolicValue &, char const (&)[1], char const (&)[1], nullptr_t, Sawyer::SharedPointerpharos::SymbolicValue &, unsigned long &>' requested here
__emplace_back_slow_path(_VSTD::forward<_Args>(_args)...);
^
/home/didier/git/pharos/libpharos/convention.cpp:936:14: note: in instantiation of function template specialization 'std::vectorpharos::ParameterDefinition::emplace_back<unsigned long &, Sawyer::SharedPointerpharos::SymbolicValue &, char const (&)[1], char const (&)[1], nullptr_t, Sawyer::SharedPointerpharos::SymbolicValue &, unsigned long &>' requested here
d.params.emplace_back(num, invalid, "", "", nullptr, invalid, sd);
Beta Was this translation helpful? Give feedback.
All reactions