/in/foo.cc: In function 'int main(int, char**)':
/in/foo.cc:13:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < source.size()-1)
~~^~~~~~~~~~~~~~~~~
/in/foo.cc:19:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == source.size()-1)
~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:22:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == source.size()-1)
~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:22:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(i == source.size()-1)
^~
/in/foo.cc:24:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
count++;
^~~~~