cfiles icon indicating copy to clipboard operation
cfiles copied to clipboard

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

Open yurivict opened this issue 4 years ago • 2 comments

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

yurivict avatar Feb 01 '20 01:02 yurivict

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.

mananapr avatar May 25 '20 16:05 mananapr

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

yurivict avatar May 25 '20 16:05 yurivict