In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::readGraph()':
/in/shortestP2P.hpp:53:36: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (unsigned int k = 0; k < nodes; k++) {
~~^~~~~~~
/in/shortestP2P.hpp:54:38: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (unsigned int i = 0; i < nodes; i++) {
~~^~~~~~~
/in/shortestP2P.hpp:56:42: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (unsigned int j = 0; j < nodes; j++) {
~~^~~~~~~
/in/shortestP2P.hpp: In member function 'void ShortestP2P::distance(unsigned int, unsigned int)':
/in/shortestP2P.hpp:78:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (A >= nodes || B >= nodes) {
~~^~~~~~~~
/in/shortestP2P.hpp:78:29: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (A >= nodes || B >= nodes) {
~~^~~~~~~~
cc1plus: all warnings being treated as errors