/in/ex3.c: In function 'main':
/in/ex3.c:11:14: error: unused parameter 'argc' [-Werror=unused-parameter]
int main(int argc, char *argv[])
^~~~
/in/ex3.c:11: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:32:18: error: 'lable1' undeclared (first use in this function); did you mean 'mblen'?
case lable1:
^~~~~~
mblen
/in/ex3.c:32:18: note: each undeclared identifier is reported only once for each function it appears in
/in/ex3.c:41:18: error: 'lable2' undeclared (first use in this function); did you mean 'lable1'?
case lable2:
^~~~~~
lable1
/in/ex3.c:50:18: error: 'lable3' undeclared (first use in this function); did you mean 'lable2'?
case lable3:
^~~~~~
lable2
/in/ex3.c:59:18: error: 'lable4' undeclared (first use in this function); did you mean 'lable3'?
case lable4:
^~~~~~
lable3
/in/ex3.c: In function 'print_array':
/in/ex3.c:72:5: error: 'inti' undeclared (first use in this function); did you mean 'int'?
inti,j;
^~~~
int
/in/ex3.c:72:10: error: 'j' undeclared (first use in this function)
inti,j;
^
/in/ex3.c:72:9: error: left-hand operand of comma expression has no effect [-Werror=unused-value]
inti,j;
^
/in/ex3.c:73:9: error: 'i' undeclared (first use in this function)
for(i=0;i<10;i++){
^
/in/ex3.c:71:23: error: parameter 'step' set but not used [-Werror=unused-but-set-parameter]
void print_array(char step[10][10]){
^~~~
cc1: all warnings being treated as errors