/in/foo.cc: In function 'int main()':
/in/foo.cc:16:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(a = 0; a < strlen(s1)/2; a++){
~~^~~~~~~~~~~~~~
/in/foo.cc:17:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(!((isMirror(s1[a])&&s1[a]==s1[b-a-1])||(s1[a]=='d'&&s1[b-a-1]=='b'||s1[a]=='b'&&s1[b-a-1]=='d'||s1[a]=='p'&&s1[b-a-1]=='q'||s1[a]=='q'&&s1[b-a-1]=='p'))){
~~~~~~~~~~^~~~~~~~~~~~~~~~
/in/foo.cc:17:122: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(!((isMirror(s1[a])&&s1[a]==s1[b-a-1])||(s1[a]=='d'&&s1[b-a-1]=='b'||s1[a]=='b'&&s1[b-a-1]=='d'||s1[a]=='p'&&s1[b-a-1]=='q'||s1[a]=='q'&&s1[b-a-1]=='p'))){
~~~~~~~~~~^~~~~~~~~~~~~~~~
/in/foo.cc:17:150: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(!((isMirror(s1[a])&&s1[a]==s1[b-a-1])||(s1[a]=='d'&&s1[b-a-1]=='b'||s1[a]=='b'&&s1[b-a-1]=='d'||s1[a]=='p'&&s1[b-a-1]=='q'||s1[a]=='q'&&s1[b-a-1]=='p'))){
~~~~~~~~~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'bool isMirror(char)':
/in/foo.cc:35:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < strlen(mirrornum); ++i){
~~^~~~~~~~~~~~~~~~~~~