/in/foo.cc: In function 'int main()':
/in/foo.cc:25:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i<input.size(); i++)
~^~~~~~~~~~~~~
/in/foo.cc:38:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
else if(w == 11 || l == 11)
^
/in/foo.cc:61:33: error: expected ')' before ';' token
for(int x = 0; x<now; x += 2;)
^
/in/foo.cc:61:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int x = 0; x<now; x += 2;)
^~~
/in/foo.cc:61:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int x = 0; x<now; x += 2;)
^
/in/foo.cc:61:34: error: expected primary-expression before ')' token
/in/foo.cc:68:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i<input.size(); i++)
~^~~~~~~~~~~~~
/in/foo.cc:81:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
else if(w == 21 || l == 21)
^
/in/foo.cc:104:33: error: expected ')' before ';' token
for(int x = 0; x<now; x += 2;)
^
/in/foo.cc:104:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int x = 0; x<now; x += 2;)
^~~
/in/foo.cc:104:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int x = 0; x<now; x += 2;)
^
/in/foo.cc:104:34: error: expected primary-expression before ')' token