foo.c: In function 'ins':
foo.c:12:2: error: 'for' loop initial declarations are only allowed in C99 mode
foo.c:12:2: note: use option -std=c99 or -std=gnu99 to compile your code
foo.c: In function 'main':
foo.c:63:6: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
foo.c:64:6: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
foo.c:65:6: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
foo.c:68:5: error: 'for' loop initial declarations are only allowed in C99 mode