In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In constructor 'ShortestP2P::ShortestP2P()':
/in/shortestP2P.hpp:105:18: error: 'ShortestP2P::V' will be initialized after [-Werror=reorder]
unsigned int V;
^
/in/shortestP2P.hpp:104:11: error: 'int** ShortestP2P::dist' [-Werror=reorder]
int **dist;
^~~~
In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp:14:9: error: when initialized here [-Werror=reorder]
ShortestP2P(): V(0), dist(nullptr) {}
^~~~~~~~~~~
cc1plus: all warnings being treated as errors