Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • graph-tool graph-tool
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Please use the issue tracker only to report bugs (i.e. errors in the library that need to be fixed) or feature requests.

For questions about how to compile, install or use the library, please use instead the web forum at https://forum.skewed.de/c/graph-tool.


(If unsure, use the forum first.)


IMPORTANT: When opening new issues, please choose the BUG template from the drop-down menu, and fill out the required information.

  • Tiago Peixoto
  • graph-toolgraph-tool
  • Issues
  • #246
Closed
Open
Issue created Sep 24, 2015 by Mark Moll@mmoll

graph-tool doesn't compile with clang-3.7

I get errors like these:

/opt/local/include/boost/graph/breadth_first_search.hpp:83:66: error: binding value of type 'const UndirectedAdaptor<[...]>' to reference to type 'UndirectedAdaptor<[...]>' drops 'const' qualifier
        if (v_color == Color::white()) {      vis.tree_edge(*ei, g);
                                                                 ^
./../../boost-workaround/boost/graph/betweenness_centrality.hpp:185:55: note: passing argument to parameter 'g' here
      void tree_edge(const edge_descriptor& e, Graph& g)
                                                      ^
In file included from graph_betweenness.cc:21:
In file included from ./../../boost-workaround/boost/graph/betweenness_centrality.hpp:17:
In file included from /opt/local/include/boost/graph/dijkstra_shortest_paths.hpp:21:
/opt/local/include/boost/graph/breadth_first_search.hpp:79:69: error: binding value of type 'const UndirectedAdaptor<[...]>' to reference to type 'UndirectedAdaptor<[...]>' drops 'const' qualifier
      Vertex u = Q.top(); Q.pop();            vis.examine_vertex(u, g);
                                                                    ^
Assignee
Assign to
Time tracking