Re: Fixing AC_CHECK_DECLS to do the right thing with clang

2018-11-18 Thread Tom Lane
Andres Freund writes: > Seems like a good plan. The problem doesn't reproduce for me on debian > (using any version of clang), so all I can report is that at patched > build still works as it should. Interesting. It's hardly surprising that the problem would occur only on some platforms, since i

Re: Fixing AC_CHECK_DECLS to do the right thing with clang

2018-11-18 Thread Andres Freund
Hi, On 2018-11-17 23:32:47 -0500, Tom Lane wrote: > We've seen repeated complaints about bogus build warnings when using > "clang": it complains that strlcpy and some related library functions > haven't been declared. Several of the buildfarm animals exhibit such > warnings, for instance. That's