/in/ex3.c: In function 'main':
/in/ex3.c:6:15: error: unused parameter 'argc' [-Werror=unused-parameter]
int main (int argc,char *argv[])
^~~~
/in/ex3.c:6:26: error: unused parameter 'argv' [-Werror=unused-parameter]
int main (int argc,char *argv[])
^~~~
/in/ex3.c: In function 'generate_random_walk':
/in/ex3.c:21:22: error: implicit declaration of function 'time' [-Werror=implicit-function-declaration]
srand((unsigned) time(NULL));
^~~~
/in/ex3.c:28:9: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
else step[i][j]=ch;break;
^~~~
/in/ex3.c:28:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
else step[i][j]=ch;break;
^~~~~
/in/ex3.c:30:9: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
else step[i][j]=ch;break;
^~~~
/in/ex3.c:30:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
else step[i][j]=ch;break;
^~~~~
/in/ex3.c:32:9: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
else step[i][j]=ch;break;
^~~~
/in/ex3.c:32:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
else step[i][j]=ch;break;
^~~~~
/in/ex3.c:34:9: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
else step[i][j]=ch;break;
^~~~
/in/ex3.c:34:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
else step[i][j]=ch;break;
^~~~~
cc1: all warnings being treated as errors