Skip to content

Check for c99 with autoconf versions prior to 2.70 #936

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

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

fobser
Copy link
Contributor

@fobser fobser commented Sep 15, 2023

Recently c99 code snuck into unbound:
https://github.com/NLnetLabs/unbound/blob/master/util/net_help.c#L829

There are some ancient versions of gcc that support c99 but don't default to it, this is the same change as in nsd:
NLnetLabs/nsd@8672db2
See also
NLnetLabs/nsd#222
and
NLnetLabs/nsd#219

Copy link
Member

@wcawijngaards wcawijngaards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks okay to improve the portability of the compiler setup. Having a similar setup to NSD is also a good idea.

@wcawijngaards wcawijngaards merged commit 45e6e71 into NLnetLabs:master Sep 15, 2023
wcawijngaards added a commit that referenced this pull request Sep 15, 2023
- Merge #936: Check for c99 with autoconf versions prior to 2.70.
@fobser fobser deleted the c99 branch September 15, 2023 11:26
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