0_0_20542937_26191.c:5:5: error: variably modified 'city' at file scope
int city[Max];
^
0_0_20542937_26191.c:6:5: error: variably modified 'Num' at file scope
int Num[Max];
^
0_0_20542937_26191.c:7:5: error: variably modified 'v' at file scope
int v[Max], u[Max];
^
0_0_20542937_26191.c:7:13: error: variably modified 'u' at file scope
int v[Max], u[Max];
^
0_0_20542937_26191.c: In function 'Init':
0_0_20542937_26191.c:12:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 0; i < Max; ++i)
^
0_0_20542937_26191.c:12:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_20542937_26191.c: In function 'main':
0_0_20542937_26191.c:35:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 0 ; i < M; ++i)
^
0_0_20542937_26191.c:40:17: error: redefinition of 'i'
for(int i = M - 1; i >= 0; --i)
^
0_0_20542937_26191.c:35:17: note: previous definition of 'i' was here
for(int i = 0 ; i < M; ++i)
^
0_0_20542937_26191.c:40:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = M - 1; i >= 0; --i)
^
0_0_20542937_26191.c:56:17: error: redefinition of 'i'
for(int i = 0 ; i < M; i++)
^
0_0_20542937_26191.c:40:17: note: previous definition of 'i' was here
for(int i = M - 1; i >= 0; --i)
^
0_0_20542937_26191.c:56:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 0 ; i < M; i++)
^
|