spamhaus / rbldnsd

A small and fast DNS daemon especially made to serve DNSBL zones.
https://rbldnsd.io/
GNU General Public License v2.0
57 stars 12 forks source link

Future-proof the ./configure script #28

Open orlitzky opened 1 year ago

orlitzky commented 1 year ago

Ref: https://bugs.gentoo.org/870412

It's very likely that clang-16 will have -Werror=implicit-function-declaration -Werror=implicit-int -Werror=strict-prototypes in CFLAGS by default. From what I understand, they tried to do it in a minor release of clang-15, but put it off until clang-16 because it breaks so many things.

In any case, the ./configure script for rbldnsd has some trouble with this. This series of commits fixes the issues on my Gentoo system and hopefully does not introduce new problems elsewhere.

There is still one build failure remaining with --enable-dso, but I don't think that feature was done cooking and I don't want to interrupt its slumber.

orlitzky commented 1 year ago

It looks like GCC is in on the fun, too. Some other recent references:

orlitzky commented 1 year ago

Ping? The future is fast approaching :)