model-writtenrun 9883 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane traced recurring clang warnings about undeclared library functions to AC_CHECK_DECLS treating clang's warning-only response as a successful declaration check #1.
- Tom proposed importing Noah Misch's unreleased upstream Autoconf fix and back-patching it, reporting successful verification with Fedora 28's clang 6.0.1 #1.
- Andres Freund tested the patch on Debian and reported a working build, although his system did not reproduce the original warnings #2.
- Tom explained that existing declarations in string.h could mask the problem and observed that Debian buildfarm members differed; the thread ended without another patch submission #3.
- Tom subsequently committed the patch with warning-flag restoration and conditional macro-expansion fixes, plus regenerated configure output, and back-patched the change to supported branches 16fbac39ff.