Compile trunk-6275 error - GUI 0.9.323 - General Discussion and Assistance - CHDK Forum

Compile trunk-6275 error - GUI 0.9.323

  • 2 Replies
  • 1053 Views
Compile trunk-6275 error - GUI 0.9.323
« on: 29 / June / 2024, 15:50:56 »
Advertisements

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!

*

Offline reyalp

  • ******
  • 14125
Re: Compile trunk-6275 error - GUI 0.9.323
« Reply #1 on: 29 / June / 2024, 16:45:28 »
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:
Whoops, that error was introduced in r6271, should be fixed in trunk 6277, stable 6278 now.

Do you know which compiler package you are using?
Don't forget what the H stands for.

Re: Compile trunk-6275 error - GUI 0.9.323
« Reply #2 on: 29 / June / 2024, 20:38:18 »

Thanks reyalp!


Trunk 6277 fixed the problem.


I am using gcc493-host481 and GUI 0.9.323.


 

 

Related Topics


SimplePortal © 2008-2014, SimplePortal