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

Fix for loop initial declaration #54

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

ten0s
Copy link
Contributor

@ten0s ten0s commented Jun 4, 2024

GNU 4.8.5 CentOS 7

/bee2/cmd/core/whereami.c:266:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (int r = 0; r < WAI_PROC_SELF_MAPS_RETRY; ++r)

@agievich
Copy link
Owner

agievich commented Jun 4, 2024

Thanks! Actually whereami.c is third party code. It would be great if you also address this issue to the official repository of whereami: https://github.com/gpakosz/whereami.

@agievich agievich merged commit 813d2eb into agievich:master Jun 4, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants