0_0_37364078_30303.c: In function 'PercolateDown':
0_0_37364078_30303.c:49:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int k; p * 2 <= H->Size; p = k) {
^
0_0_37364078_30303.c:49:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_37364078_30303.c: In function 'G_Initialize':
0_0_37364078_30303.c:106:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 1; i <= M; ++i)
^
0_0_37364078_30303.c: In function 'Solve':
0_0_37364078_30303.c:150:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < n; ++i) {
^
0_0_37364078_30303.c:159:14: error: redefinition of 'i'
for (int i = 1; i <= m; ++i) {
^
0_0_37364078_30303.c:150:14: note: previous definition of 'i' was here
for (int i = 0; i < n; ++i) {
^
0_0_37364078_30303.c:159:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 1; i <= m; ++i) {
^
0_0_37364078_30303.c:165:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (Vertex V = 1; V <= m; ++V) {
^
0_0_37364078_30303.c:181:14: error: redefinition of 'i'
for (int i = 1, j = t; i < j; ++i, --j)
^
0_0_37364078_30303.c:159:14: note: previous definition of 'i' was here
for (int i = 1; i <= m; ++i) {
^
0_0_37364078_30303.c:181:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 1, j = t; i < j; ++i, --j)
^
|