Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 13:44:30 **** 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:21:65: error: type/value mismatch at argument 1 in template parameter list for ‘template<class T> using Invoke = typename T::type’
- template<class T> using RemoveRef = Invoke<std::remove_reference>;
- ^
- ../src/bgl.cpp:21:65: error: expected a type, got ‘remove_reference’
- In file included from /usr/include/boost/graph/adjacency_list.hpp:33:0,
- from ../src/bgl.cpp:6:
- /usr/include/boost/graph/graph_traits.hpp: In instantiation of ‘struct boost::graph_traits<int>’:
- ../src/bgl.cpp:22:93: required by substitution of ‘template<class G> using OutEdgeIterator = typename boost::graph_traits::out_edge_iterator [with G = int]’
- ../src/bgl.cpp:26:55: required from here
- /usr/include/boost/graph/graph_traits.hpp:30:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::vertex_descriptor vertex_descriptor;
- ^
- /usr/include/boost/graph/graph_traits.hpp:31:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::edge_descriptor edge_descriptor;
- ^
- /usr/include/boost/graph/graph_traits.hpp:32:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::adjacency_iterator adjacency_iterator;
- ^
- /usr/include/boost/graph/graph_traits.hpp:33:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::out_edge_iterator out_edge_iterator;
- ^
- /usr/include/boost/graph/graph_traits.hpp:34:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::in_edge_iterator in_edge_iterator;
- ^
- /usr/include/boost/graph/graph_traits.hpp:35:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::vertex_iterator vertex_iterator;
- ^
- /usr/include/boost/graph/graph_traits.hpp:36:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::edge_iterator edge_iterator;
- ^
- /usr/include/boost/graph/graph_traits.hpp:38:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::directed_category directed_category;
- ^
- /usr/include/boost/graph/graph_traits.hpp:39:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::edge_parallel_category edge_parallel_category;
- ^
- /usr/include/boost/graph/graph_traits.hpp:40:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::traversal_category traversal_category;
- ^
- /usr/include/boost/graph/graph_traits.hpp:42:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::vertices_size_type vertices_size_type;
- ^
- /usr/include/boost/graph/graph_traits.hpp:43:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::edges_size_type edges_size_type;
- ^
- /usr/include/boost/graph/graph_traits.hpp:44:52: error: ‘int’ is not a class, struct, or union type
- typedef typename G::degree_size_type degree_size_type;
- ^
- ../src/bgl.cpp:26:57: error: template argument 1 is invalid
- -> boost::iterator_range<OutEdgeIterator<RemoveRef<G>>>
- ^
- make: *** [src/bgl.o] Error 1
- 13:44:35 Build Finished (took 5s.35ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement