prog.c: In function 'main':
prog.c:10:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (unsigned int i = 0; i < m_row; ++i)
^
prog.c:10:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
prog.c:15:20: error: redefinition of 'i'
for (unsigned int i = 0; i < m_row; ++i)
^
prog.c:10:20: note: previous definition of 'i' was here
for (unsigned int i = 0; i < m_row; ++i)
^
prog.c:15:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (unsigned int i = 0; i < m_row; ++i)
^