Hi,
I'm trying to compile trunk-6275 for the SX160IS on Win10, from the Chdk compiler GUI 0.9.323 and I get this err.txt in the log:
../../core/gui_menu.c: In function 'gui_menu_init':
../../core/gui_menu.c:208:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < 10; i++) {
^
../../core/gui_menu.c:208:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
gmake[2]: *** [.o/gui_menu.o] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [allmodules] Error 2
The zip files don't get created either.
[size=78%]It worked fine with trunk-6270.[/size]
Any help will be appreciated.
Thanks!