/in/isSibling.c: In function 'searchelement2':
/in/isSibling.c:8:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(phrase);i++)
^
/in/isSibling.c:10:26: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
if(phrase[i]==x||abs((int)(phrase[i]-x))==32)
^~~
/in/isSibling.c: In function 'isSibling':
/in/isSibling.c:21:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(phrase1);i++)
^
/in/isSibling.c:23:31: warning: passing argument 1 of 'searchelement2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
if(searchelement2(phrase1,phrase1[i])==searchelement2(phrase2,phrase1[i]))
^~~~~~~
/in/isSibling.c:6:5: note: expected 'char *' but argument is of type 'const char *'
int searchelement2(char *phrase,char x)
^~~~~~~~~~~~~~
/in/isSibling.c:23:67: warning: passing argument 1 of 'searchelement2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
if(searchelement2(phrase1,phrase1[i])==searchelement2(phrase2,phrase1[i]))
^~~~~~~
/in/isSibling.c:6:5: note: expected 'char *' but argument is of type 'const char *'
int searchelement2(char *phrase,char x)
^~~~~~~~~~~~~~
/in/isSibling.c:17:9: warning: variable 'flag' set but not used [-Wunused-but-set-variable]
{ int flag;
^~~~