=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> While compiling 11beta2 using clang 6.0.1 this warning crops up quite a lot
> in an otherwise quiet build process - so I thought it might be of
> interest:
> pg_rewind.c:724:4: warning: implicitly declaring library function 'strlcpy'
> with type 'unsigned long (char *, const char *, unsigned long)'
> [-Wimplicit-function-declaration]
Yeah, this is a known problem caused by autoconf doing its "is this
function declared" test in a way that clang doesn't play nice with.
There's a fix for this upstream:
http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=82ef7805faffa151e724aa76c245ec590d174580
and we've been patiently waiting for an autoconf release that
incorporates it ...
regards, tom lane