Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yurivict opened this issue Feb 1, 2020 · 2 comments

Comments

@yurivict
Copy link

yurivict commented Feb 1, 2020

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

@mananapr
Copy link
Owner

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
Copy link
Author

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

uqs pushed a commit to freebsd/freebsd-ports that referenced this issue May 25, 2020
Attempt to fix the powerpc 32 build failure from bug#243616
based on the upstream comment mananapr/cfiles#51 (comment)

PR:		243616


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@536477 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue May 25, 2020
Attempt to fix the powerpc 32 build failure from bug#243616
based on the upstream comment mananapr/cfiles#51 (comment)

PR:		243616
Jehops pushed a commit to Jehops/freebsd-ports-legacy that referenced this issue May 25, 2020
Attempt to fix the powerpc 32 build failure from bug#243616
based on the upstream comment mananapr/cfiles#51 (comment)

PR:		243616


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@536477 35697150-7ecd-e111-bb59-0022644237b5
svmhdvn pushed a commit to svmhdvn/freebsd-ports that referenced this issue Jan 10, 2024
Attempt to fix the powerpc 32 build failure from bug#243616
based on the upstream comment mananapr/cfiles#51 (comment)

PR:		243616
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants