/in/foo.cc: In function 'int check_1(int)':
/in/foo.cc:17:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (!equal(s[k][num[k]],"guilty.")||num[k]<3||num[k]>4) return 2;
^
/in/foo.cc:18:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (s[k][1][0]!='I'||s[k][1][1]!='\0'||!equal(s[k][2],"am")) return 2;
^
/in/foo.cc:19:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (num[k]==4) if (!equal(s[k][3],"not")) return 2;
^
/in/foo.cc: In function 'int check_2(int)':
/in/foo.cc:28:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (!equal(s[k][num[k]],"guilty.")||num[k]<3||num[k]>4) return 2;
^
/in/foo.cc:29:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (!equal(s[k][2],"is")) return 2;
^
/in/foo.cc:30:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (num[k]==4) if (!equal(s[k][3],"not")) return 2;
^
/in/foo.cc: In function 'int check_3(int)':
/in/foo.cc:39:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (num[k]!=3||!equal(s[k][1],"Today")||!equal(s[k][2],"is")) return 2;
^
/in/foo.cc:39:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (num[k]!=3||!equal(s[k][1],"Today")||!equal(s[k][2],"is")) return 2;
^
/in/foo.cc: In function 'int OK(char)':
/in/foo.cc:63:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return (ch>='A'&&ch<='Z'||ch>='a'&&ch<='z');
~~~~~~~^~~~~~~~~