/in/foo.cc: In function 'int main()':
/in/foo.cc:46:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j<name.size(); j++) {
~^~~~~~~~~~~~
/in/foo.cc:52:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j == name.size()-1) {
~~^~~~~~~~~~~~~~~~
/in/foo.cc:64:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j<address.size(); j++) {
~^~~~~~~~~~~~~~~
/in/foo.cc:70:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j == address.size()-1) {
~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:78:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < output.size(); i++) {
~~^~~~~~~~~~~~~~~
/in/foo.cc:56:34: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
output.push_back (address[pos]);
^