0_0_1690744_29311.c: In function `getIndex': 0_0_1690744_29311.c:52: error: 'for' loop initial declaration used outside C99 mode