/in/foo.cc: In function 'int f(std::__cxx11::string)':
/in/foo.cc:13:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.length(); i++)
~~^~~~~~~~~~~~
/in/foo.cc:27:26: warning: 'next.point::y' may be used uninitialized in this function [-Wmaybe-uninitialized]
return abs(next.x) + abs(next.y);
~~~^~~~~~~~
/in/foo.cc:27:12: warning: 'next.point::x' may be used uninitialized in this function [-Wmaybe-uninitialized]
return abs(next.x) + abs(next.y);
~~~^~~~~~~~