/in/foo.cc: In function 'int main()':
/in/foo.cc:21:19: warning: array subscript has type 'char' [-Wchar-subscripts]
for(int i=T[s[0]];i<strlen(s);i++)
^
/in/foo.cc:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=T[s[0]];i<strlen(s);i++)
~^~~~~~~~~~
/in/foo.cc:22:32: warning: array subscript has type 'char' [-Wchar-subscripts]
if(s[i]=='-'){x=tdigit(T[s[0]],i-1);y=tdigit(i+1,strlen(s)-1);break;}
^
/in/foo.cc: In function 'void done(int)':
/in/foo.cc:43:16: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if((x-j+1)&6==0)break;
~^~~