/in/foo.cc: In function 'int main()':
/in/foo.cc:23:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < command.size())
~~^~~~~~~~~~~~~~~~
/in/foo.cc:25:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i < command.size() && '.' != command[i]; i++)
~~^~~~~~~~~~~~~~~~
/in/foo.cc:28:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i+1 < command.size() && command[i+1] == '.')
~~~~^~~~~~~~~~~~~~~~
/in/foo.cc:37:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < command.size() && command[i] == '/')
~~^~~~~~~~~~~~~~~~
/in/foo.cc:40:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (i < command.size())
~~^~~~~~~~~~~~~~~~