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 build with gcc 4.8 #368

Merged
merged 1 commit into from
Dec 7, 2021
Merged

fix build with gcc 4.8 #368

merged 1 commit into from
Dec 7, 2021

Conversation

ffontaine
Copy link
Contributor

Fix the following build failures raised since version 2.8 and 1928d7a:

ddns.c: In function 'is_address_valid':
ddns.c:193:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (size_t i = 0; i < NELEMS(except); i++) {
  ^

Fixes:

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

Fix the following build failures raised since version 2.8 and
1928d7a:

ddns.c: In function 'is_address_valid':
ddns.c:193:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (size_t i = 0; i < NELEMS(except); i++) {
  ^

Fixes:
 - http://autobuild.buildroot.org/results/9323cc7afceff75f7d41ff161b8d0ec9aefa164a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
@troglobit
Copy link
Owner

Awesome, thanks!

@troglobit troglobit merged commit 8d2aa78 into troglobit:master Dec 7, 2021
@troglobit
Copy link
Owner

@ffontaine I'm planning a .1 release in the next couple of days, so I can tend to this making it into Buildroot if you like. I know you have a lot else on your plate.

@ffontaine
Copy link
Contributor Author

Sure, I'll let you handle the bump on buildroot side.

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