mananapr / cfiles

A ncurses file manager written in C with vim like keybindings
MIT License
482 stars 34 forks source link

Build fails on powerpc 32 bit: 'for' loop initial declaration used outside C99 mode #51

Open yurivict opened 4 years ago

yurivict commented 4 years ago

See the downstream FreeBSD bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243616

mananapr commented 4 years ago

Hi, thanks for showing interest in cfiles. Sorry for the late reply, there has been a lot going on in my life right now and I haven't been able to give a lot of time to cfiles.

If you are still interested, can you compile it manually without the BSD Ports system? I'm asking because you'll need to pass a flag into gcc called -std=c99.

Alternatively, you can try to build the most recent commit I've just pushed. It should fix the issue and if it doesn't then please let me know.

yurivict commented 4 years ago

Hi Manan,

Thank you for your fix. I've updated the FreeBSD port to the latest revision and asked the bug reporter to validate the fix.

Best, Yuri