compilation failiure with std=c++11 flag
ubuntu 16.04
python 2.7
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
graph-tool git commit: 1d2b1fab
Ran in to an issue when trying to compile the draw package and the flag
CAIROMM_CFLAGS = -std=c++11
I edited the flag to
CAIROMM_CFLAGS = -std=c++14
A long error stream was generated (graph-tool-compile-error.txt). This line gave me the hint
In file included from ./../graph.hh:28:0,
from graph_cairo_draw.cc:18:
./../graph_adjacency.hh:220:59: error: ‘distance_to’ function uses ‘auto’ type specifier without trailing return type
auto distance_to(base_edge_iterator const& other) const
^
./../graph_adjacency.hh:220:59: note: deduced return type only available with -std=c++14 or -std=gnu++14