In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::centerIteration(unsigned int)':
/in/shortestP2P.hpp:67:9: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (a >= Vertices)
~~^~~~~~~~~~~
/in/shortestP2P.hpp:70:26: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (unsigned i = 0; i < Vertices; ++i)
~~^~~~~~~~~~
/in/shortestP2P.hpp:75:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (unsigned j = 0; j < Vertices; ++j)
~~^~~~~~~~~~
/in/shortestP2P.hpp:85:22: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (new_dist < conj[i][j])
/in/shortestP2P.hpp: In member function 'void ShortestP2P::readGraph()':
/in/shortestP2P.hpp:100:26: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (unsigned i = 0; i < Vertices; ++i)
~~^~~~~~~~~~
/in/shortestP2P.hpp:111:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (start >= Vertices || end >= Vertices)
~~~~~~^~~~~~~~~~~
/in/shortestP2P.hpp:111:34: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (start >= Vertices || end >= Vertices)
~~~~^~~~~~~~~~~
/in/shortestP2P.hpp:120:26: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (unsigned i = 0; i < Vertices; ++i)
~~^~~~~~~~~~
/in/shortestP2P.hpp: In member function 'void ShortestP2P::distance(unsigned int, unsigned int)':
/in/shortestP2P.hpp:128:11: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (A >= Vertices || B >= Vertices) {
~~^~~~~~~~~~~
/in/shortestP2P.hpp:128:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (A >= Vertices || B >= Vertices) {
~~^~~~~~~~~~~
cc1plus: all warnings being treated as errors