Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 13:35:33 **** Incremental Build of configuration Debug for project bgl ****
- make all
- Building file: ../src/bgl.cpp
- Invoking: Cross G++ Compiler
- g++4.8 -O0 -g3 -Wall -c -fmessage-length=0 -std=c++11 -MMD -MP -MF"src/bgl.d" -MT"src/bgl.d" -o "src/bgl.o" "../src/bgl.cpp"
- ../src/bgl.cpp: In instantiation of ‘void exercise_vertex<Graph>::operator()(const Vertex&) const [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> >; exercise_vertex<Graph>::Vertex = long unsigned int]’:
- /opt/gcc-4.8/include/c++/4.8.0/bits/stl_algo.h:4442:14: required from ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = boost::range_detail::integer_iterator<long unsigned int>; _Funct = exercise_vertex<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> > >]’
- ../src/bgl.cpp:74:48: required from here
- ../src/bgl.cpp:30:5: error: no matching function for call to ‘begin(std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >&)’
- for (auto &e : out_edges(v, g)){
- ^
- ../src/bgl.cpp:30:5: note: candidates are:
- In file included from /opt/gcc-4.8/include/c++/4.8.0/string:53:0,
- from /opt/gcc-4.8/include/c++/4.8.0/bits/locale_classes.h:42,
- from /opt/gcc-4.8/include/c++/4.8.0/bits/ios_base.h:43,
- from /opt/gcc-4.8/include/c++/4.8.0/ios:43,
- from /opt/gcc-4.8/include/c++/4.8.0/ostream:40,
- from /opt/gcc-4.8/include/c++/4.8.0/iostream:40,
- from ../src/bgl.cpp:2:
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:87:5: note: template<class _Tp, long unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])
- begin(_Tp (&__arr)[_Nm])
- ^
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:87:5: note: template argument deduction/substitution failed:
- ../src/bgl.cpp:30:5: note: mismatched types ‘_Tp [_Nm]’ and ‘std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >’
- for (auto &e : out_edges(v, g)){
- ^
- In file included from /opt/gcc-4.8/include/c++/4.8.0/string:53:0,
- from /opt/gcc-4.8/include/c++/4.8.0/bits/locale_classes.h:42,
- from /opt/gcc-4.8/include/c++/4.8.0/bits/ios_base.h:43,
- from /opt/gcc-4.8/include/c++/4.8.0/ios:43,
- from /opt/gcc-4.8/include/c++/4.8.0/ostream:40,
- from /opt/gcc-4.8/include/c++/4.8.0/iostream:40,
- from ../src/bgl.cpp:2:
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:58:5: note: template<class _Container> decltype (__cont.begin()) std::begin(const _Container&)
- begin(const _Container& __cont) -> decltype(__cont.begin())
- ^
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:58:5: note: template argument deduction/substitution failed:
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h: In substitution of ‘template<class _Container> decltype (__cont.begin()) std::begin(const _Container&) [with _Container = std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >]’:
- ../src/bgl.cpp:30:5: required from ‘void exercise_vertex<Graph>::operator()(const Vertex&) const [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> >; exercise_vertex<Graph>::Vertex = long unsigned int]’
- /opt/gcc-4.8/include/c++/4.8.0/bits/stl_algo.h:4442:14: required from ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = boost::range_detail::integer_iterator<long unsigned int>; _Funct = exercise_vertex<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> > >]’
- ../src/bgl.cpp:74:48: required from here
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:58:5: error: ‘const struct std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >’ has no member named ‘begin’
- ../src/bgl.cpp: In instantiation of ‘void exercise_vertex<Graph>::operator()(const Vertex&) const [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> >; exercise_vertex<Graph>::Vertex = long unsigned int]’:
- /opt/gcc-4.8/include/c++/4.8.0/bits/stl_algo.h:4442:14: required from ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = boost::range_detail::integer_iterator<long unsigned int>; _Funct = exercise_vertex<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> > >]’
- ../src/bgl.cpp:74:48: required from here
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:48:5: note: template<class _Container> decltype (__cont.begin()) std::begin(_Container&)
- begin(_Container& __cont) -> decltype(__cont.begin())
- ^
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:48:5: note: template argument deduction/substitution failed:
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h: In substitution of ‘template<class _Container> decltype (__cont.begin()) std::begin(_Container&) [with _Container = std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >]’:
- ../src/bgl.cpp:30:5: required from ‘void exercise_vertex<Graph>::operator()(const Vertex&) const [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> >; exercise_vertex<Graph>::Vertex = long unsigned int]’
- /opt/gcc-4.8/include/c++/4.8.0/bits/stl_algo.h:4442:14: required from ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = boost::range_detail::integer_iterator<long unsigned int>; _Funct = exercise_vertex<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> > >]’
- ../src/bgl.cpp:74:48: required from here
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:48:5: error: ‘struct std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >’ has no member named ‘begin’
- In file included from /opt/gcc-4.8/include/c++/4.8.0/utility:76:0,
- from /usr/include/boost/config/no_tr1/utility.hpp:21,
- from /usr/include/boost/config/select_stdlib_config.hpp:37,
- from /usr/include/boost/config.hpp:40,
- from ../src/bgl.cpp:1:
- ../src/bgl.cpp: In instantiation of ‘void exercise_vertex<Graph>::operator()(const Vertex&) const [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> >; exercise_vertex<Graph>::Vertex = long unsigned int]’:
- /opt/gcc-4.8/include/c++/4.8.0/bits/stl_algo.h:4442:14: required from ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = boost::range_detail::integer_iterator<long unsigned int>; _Funct = exercise_vertex<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> > >]’
- ../src/bgl.cpp:74:48: required from here
- /opt/gcc-4.8/include/c++/4.8.0/initializer_list:89:5: note: template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>)
- begin(initializer_list<_Tp> __ils) noexcept
- ^
- /opt/gcc-4.8/include/c++/4.8.0/initializer_list:89:5: note: template argument deduction/substitution failed:
- ../src/bgl.cpp:30:5: note: ‘std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >’ is not derived from ‘std::initializer_list<_Tp>’
- for (auto &e : out_edges(v, g)){
- ^
- ../src/bgl.cpp:30:5: error: no matching function for call to ‘end(std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >&)’
- ../src/bgl.cpp:30:5: note: candidates are:
- In file included from /opt/gcc-4.8/include/c++/4.8.0/string:53:0,
- from /opt/gcc-4.8/include/c++/4.8.0/bits/locale_classes.h:42,
- from /opt/gcc-4.8/include/c++/4.8.0/bits/ios_base.h:43,
- from /opt/gcc-4.8/include/c++/4.8.0/ios:43,
- from /opt/gcc-4.8/include/c++/4.8.0/ostream:40,
- from /opt/gcc-4.8/include/c++/4.8.0/iostream:40,
- from ../src/bgl.cpp:2:
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:97:5: note: template<class _Tp, long unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
- end(_Tp (&__arr)[_Nm])
- ^
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:97:5: note: template argument deduction/substitution failed:
- ../src/bgl.cpp:30:5: note: mismatched types ‘_Tp [_Nm]’ and ‘std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >’
- for (auto &e : out_edges(v, g)){
- ^
- In file included from /opt/gcc-4.8/include/c++/4.8.0/string:53:0,
- from /opt/gcc-4.8/include/c++/4.8.0/bits/locale_classes.h:42,
- from /opt/gcc-4.8/include/c++/4.8.0/bits/ios_base.h:43,
- from /opt/gcc-4.8/include/c++/4.8.0/ios:43,
- from /opt/gcc-4.8/include/c++/4.8.0/ostream:40,
- from /opt/gcc-4.8/include/c++/4.8.0/iostream:40,
- from ../src/bgl.cpp:2:
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:78:5: note: template<class _Container> decltype (__cont.end()) std::end(const _Container&)
- end(const _Container& __cont) -> decltype(__cont.end())
- ^
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:78:5: note: template argument deduction/substitution failed:
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h: In substitution of ‘template<class _Container> decltype (__cont.end()) std::end(const _Container&) [with _Container = std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >]’:
- ../src/bgl.cpp:30:5: required from ‘void exercise_vertex<Graph>::operator()(const Vertex&) const [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> >; exercise_vertex<Graph>::Vertex = long unsigned int]’
- /opt/gcc-4.8/include/c++/4.8.0/bits/stl_algo.h:4442:14: required from ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = boost::range_detail::integer_iterator<long unsigned int>; _Funct = exercise_vertex<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> > >]’
- ../src/bgl.cpp:74:48: required from here
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:78:5: error: ‘const struct std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >’ has no member named ‘end’
- ../src/bgl.cpp: In instantiation of ‘void exercise_vertex<Graph>::operator()(const Vertex&) const [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> >; exercise_vertex<Graph>::Vertex = long unsigned int]’:
- /opt/gcc-4.8/include/c++/4.8.0/bits/stl_algo.h:4442:14: required from ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = boost::range_detail::integer_iterator<long unsigned int>; _Funct = exercise_vertex<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> > >]’
- ../src/bgl.cpp:74:48: required from here
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:68:5: note: template<class _Container> decltype (__cont.end()) std::end(_Container&)
- end(_Container& __cont) -> decltype(__cont.end())
- ^
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:68:5: note: template argument deduction/substitution failed:
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h: In substitution of ‘template<class _Container> decltype (__cont.end()) std::end(_Container&) [with _Container = std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >]’:
- ../src/bgl.cpp:30:5: required from ‘void exercise_vertex<Graph>::operator()(const Vertex&) const [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> >; exercise_vertex<Graph>::Vertex = long unsigned int]’
- /opt/gcc-4.8/include/c++/4.8.0/bits/stl_algo.h:4442:14: required from ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = boost::range_detail::integer_iterator<long unsigned int>; _Funct = exercise_vertex<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> > >]’
- ../src/bgl.cpp:74:48: required from here
- /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:68:5: error: ‘struct std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >’ has no member named ‘end’
- In file included from /opt/gcc-4.8/include/c++/4.8.0/utility:76:0,
- from /usr/include/boost/config/no_tr1/utility.hpp:21,
- from /usr/include/boost/config/select_stdlib_config.hpp:37,
- from /usr/include/boost/config.hpp:40,
- from ../src/bgl.cpp:1:
- ../src/bgl.cpp: In instantiation of ‘void exercise_vertex<Graph>::operator()(const Vertex&) const [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> >; exercise_vertex<Graph>::Vertex = long unsigned int]’:
- /opt/gcc-4.8/include/c++/4.8.0/bits/stl_algo.h:4442:14: required from ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = boost::range_detail::integer_iterator<long unsigned int>; _Funct = exercise_vertex<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_weight_t, float> > >]’
- ../src/bgl.cpp:74:48: required from here
- /opt/gcc-4.8/include/c++/4.8.0/initializer_list:99:5: note: template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)
- end(initializer_list<_Tp> __ils) noexcept
- ^
- /opt/gcc-4.8/include/c++/4.8.0/initializer_list:99:5: note: template argument deduction/substitution failed:
- ../src/bgl.cpp:30:5: note: ‘std::pair<boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int>, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> >, std::allocator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_weight_t, float> > >, boost::property<boost::edge_weight_t, float> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >’ is not derived from ‘std::initializer_list<_Tp>’
- for (auto &e : out_edges(v, g)){
- ^
- make: *** [src/bgl.o] Error 1
- 13:35:39 Build Finished (took 6s.303ms)
Advertisement
Add Comment
Please, Sign In to add comment