/in/foo.c: In function 'inc':
/in/foo.c:38:10: warning: comparison of distinct pointer types lacks a cast
if(t == mft) conn_ft[A][B] |= flag;
^~
/in/foo.c: In function 'getBtFlag':
/in/foo.c:46:15: warning: implicit declaration of function 'calcConnect' [-Wimplicit-function-declaration]
ftCount = calcConnect(x,y, ft, &ftflag);
^~~~~~~~~~~
/in/foo.c: In function 'doIt':
/in/foo.c:74:17: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
inc(x,y,ft, 0b100);
^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
void inc(int A,int B,char* t, int flag) {
^~~
/in/foo.c:75:22: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
inc(x+1,y+1, ft, 0b1);
^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
void inc(int A,int B,char* t, int flag) {
^~~
/in/foo.c:77:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
int v = doIt(x+1, y+1, ft, bt, 0b1);
^
/in/foo.c:86:18: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
inc(x,y, ft, 0b1000);
^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
void inc(int A,int B,char* t, int flag) {
^~~
/in/foo.c:87:22: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
inc(x+1,y-1, ft, 0b10);
^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
void inc(int A,int B,char* t, int flag) {
^~~
/in/foo.c:88:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
int v = doIt(x+1, y-1, ft, bt, 0b10);
^
/in/foo.c:97:17: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
inc(x,y,ft, 0b10);
^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
void inc(int A,int B,char* t, int flag) {
^~~
/in/foo.c:98:21: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
inc(x-1,y+1,ft, 0b1000);
^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
void inc(int A,int B,char* t, int flag) {
^~~
/in/foo.c:99:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
int v = doIt(x-1,y+1, ft,bt, 0b100);
^
/in/foo.c:108:17: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
inc(x,y,ft,0b1);
^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
void inc(int A,int B,char* t, int flag) {
^~~
/in/foo.c:109:21: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
inc(x-1,y-1,ft,0b100);
^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
void inc(int A,int B,char* t, int flag) {
^~~
/in/foo.c:110:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
int v = doIt(x-1,y-1,ft,bt, 0b1000);
^
/in/foo.c: In function 'main':
/in/foo.c:151:9: warning: 'return' with no value, in function returning non-void
return;
^~~~~~
/in/foo.c:147:5: note: declared here
int main()
^~~~