From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | steven(dot)winfield(at)cantabcapital(dot)com |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #15280: Clang 6.0.1 compiler warning - strlcpy |
Date: | 2018-07-16 15:27:29 |
Message-ID: | 22635.1531754849@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
=?utf-8?q?PG_Bug_reporting_form?= <noreply(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Steven Winfield | 2018-07-16 16:58:49 | RE: BUG #15280: Clang 6.0.1 compiler warning - strlcpy |
Previous Message | PG Bug reporting form | 2018-07-16 14:55:02 | BUG #15281: Set role does not affect superuser privleges |