In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::readGraph()':
/in/shortestP2P.hpp:43:34: error: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Werror=conversion]
if (detectNegativeCycle(V)) {
^
/in/shortestP2P.hpp: In member function 'bool ShortestP2P::detectNegativeCycle(int)':
/in/shortestP2P.hpp:98:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (size_t i = 0; i < V - 1; ++i) {
~~^~~~~~~
/in/shortestP2P.hpp:100:34: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (size_t u = 0; u < V; ++u) {
~~^~~
/in/shortestP2P.hpp:117:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (size_t u = 0; u < V; ++u) {
~~^~~
cc1plus: all warnings being treated as errors