Guest User

Untitled

a guest
Nov 19th, 2012
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 34.79 KB | None | 0 0
  1. 13:35:33 **** Incremental Build of configuration Debug for project bgl ****
  2. make all
  3. Building file: ../src/bgl.cpp
  4. Invoking: Cross G++ Compiler
  5. 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"
  6. ../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]:
  7. /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> > >]
  8. ../src/bgl.cpp:74:48:   required from here
  9. ../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> >&)
  10.      for (auto &e : out_edges(v, g)){
  11.      ^
  12. ../src/bgl.cpp:30:5: note: candidates are:
  13. In file included from /opt/gcc-4.8/include/c++/4.8.0/string:53:0,
  14.                  from /opt/gcc-4.8/include/c++/4.8.0/bits/locale_classes.h:42,
  15.                  from /opt/gcc-4.8/include/c++/4.8.0/bits/ios_base.h:43,
  16.                  from /opt/gcc-4.8/include/c++/4.8.0/ios:43,
  17.                  from /opt/gcc-4.8/include/c++/4.8.0/ostream:40,
  18.                  from /opt/gcc-4.8/include/c++/4.8.0/iostream:40,
  19.                  from ../src/bgl.cpp:2:
  20. /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])
  21.      begin(_Tp (&__arr)[_Nm])
  22.      ^
  23. /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:87:5: note:   template argument deduction/substitution failed:
  24. ../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> >
  25.      for (auto &e : out_edges(v, g)){
  26.      ^
  27. In file included from /opt/gcc-4.8/include/c++/4.8.0/string:53:0,
  28.                  from /opt/gcc-4.8/include/c++/4.8.0/bits/locale_classes.h:42,
  29.                  from /opt/gcc-4.8/include/c++/4.8.0/bits/ios_base.h:43,
  30.                  from /opt/gcc-4.8/include/c++/4.8.0/ios:43,
  31.                  from /opt/gcc-4.8/include/c++/4.8.0/ostream:40,
  32.                  from /opt/gcc-4.8/include/c++/4.8.0/iostream:40,
  33.                  from ../src/bgl.cpp:2:
  34. /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&)
  35.      begin(const _Container& __cont) -> decltype(__cont.begin())
  36.      ^
  37. /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:58:5: note:   template argument deduction/substitution failed:
  38. /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> >]:
  39. ../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]
  40. /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> > >]
  41. ../src/bgl.cpp:74:48:   required from here
  42. /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’
  43. ../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]:
  44. /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> > >]
  45. ../src/bgl.cpp:74:48:   required from here
  46. /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&)
  47.      begin(_Container& __cont) -> decltype(__cont.begin())
  48.      ^
  49. /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:48:5: note:   template argument deduction/substitution failed:
  50. /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> >]:
  51. ../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]
  52. /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> > >]
  53. ../src/bgl.cpp:74:48:   required from here
  54. /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’
  55. In file included from /opt/gcc-4.8/include/c++/4.8.0/utility:76:0,
  56.                  from /usr/include/boost/config/no_tr1/utility.hpp:21,
  57.                  from /usr/include/boost/config/select_stdlib_config.hpp:37,
  58.                  from /usr/include/boost/config.hpp:40,
  59.                  from ../src/bgl.cpp:1:
  60. ../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]:
  61. /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> > >]
  62. ../src/bgl.cpp:74:48:   required from here
  63. /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>)
  64.      begin(initializer_list<_Tp> __ils) noexcept
  65.      ^
  66. /opt/gcc-4.8/include/c++/4.8.0/initializer_list:89:5: note:   template argument deduction/substitution failed:
  67. ../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>
  68.      for (auto &e : out_edges(v, g)){
  69.      ^
  70. ../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> >&)
  71. ../src/bgl.cpp:30:5: note: candidates are:
  72. In file included from /opt/gcc-4.8/include/c++/4.8.0/string:53:0,
  73.                  from /opt/gcc-4.8/include/c++/4.8.0/bits/locale_classes.h:42,
  74.                  from /opt/gcc-4.8/include/c++/4.8.0/bits/ios_base.h:43,
  75.                  from /opt/gcc-4.8/include/c++/4.8.0/ios:43,
  76.                  from /opt/gcc-4.8/include/c++/4.8.0/ostream:40,
  77.                  from /opt/gcc-4.8/include/c++/4.8.0/iostream:40,
  78.                  from ../src/bgl.cpp:2:
  79. /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])
  80.      end(_Tp (&__arr)[_Nm])
  81.      ^
  82. /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:97:5: note:   template argument deduction/substitution failed:
  83. ../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> >
  84.      for (auto &e : out_edges(v, g)){
  85.      ^
  86. In file included from /opt/gcc-4.8/include/c++/4.8.0/string:53:0,
  87.                  from /opt/gcc-4.8/include/c++/4.8.0/bits/locale_classes.h:42,
  88.                  from /opt/gcc-4.8/include/c++/4.8.0/bits/ios_base.h:43,
  89.                  from /opt/gcc-4.8/include/c++/4.8.0/ios:43,
  90.                  from /opt/gcc-4.8/include/c++/4.8.0/ostream:40,
  91.                  from /opt/gcc-4.8/include/c++/4.8.0/iostream:40,
  92.                  from ../src/bgl.cpp:2:
  93. /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&)
  94.      end(const _Container& __cont) -> decltype(__cont.end())
  95.      ^
  96. /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:78:5: note:   template argument deduction/substitution failed:
  97. /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> >]:
  98. ../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]
  99. /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> > >]
  100. ../src/bgl.cpp:74:48:   required from here
  101. /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’
  102. ../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]:
  103. /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> > >]
  104. ../src/bgl.cpp:74:48:   required from here
  105. /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&)
  106.      end(_Container& __cont) -> decltype(__cont.end())
  107.      ^
  108. /opt/gcc-4.8/include/c++/4.8.0/bits/range_access.h:68:5: note:   template argument deduction/substitution failed:
  109. /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> >]:
  110. ../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]
  111. /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> > >]
  112. ../src/bgl.cpp:74:48:   required from here
  113. /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’
  114. In file included from /opt/gcc-4.8/include/c++/4.8.0/utility:76:0,
  115.                  from /usr/include/boost/config/no_tr1/utility.hpp:21,
  116.                  from /usr/include/boost/config/select_stdlib_config.hpp:37,
  117.                  from /usr/include/boost/config.hpp:40,
  118.                  from ../src/bgl.cpp:1:
  119. ../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]:
  120. /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> > >]
  121. ../src/bgl.cpp:74:48:   required from here
  122. /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>)
  123.      end(initializer_list<_Tp> __ils) noexcept
  124.      ^
  125. /opt/gcc-4.8/include/c++/4.8.0/initializer_list:99:5: note:   template argument deduction/substitution failed:
  126. ../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>
  127.      for (auto &e : out_edges(v, g)){
  128.      ^
  129. make: *** [src/bgl.o] Error 1
  130.  
  131. 13:35:39 Build Finished (took 6s.303ms)
Advertisement
Add Comment
Please, Sign In to add comment