Re: BUG #15280: Clang 6.0.1 compiler warning - strlcpy
От | Tom Lane |
---|---|
Тема | Re: BUG #15280: Clang 6.0.1 compiler warning - strlcpy |
Дата | |
Msg-id | 22635.1531754849@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | BUG #15280: Clang 6.0.1 compiler warning - strlcpy (PG Bug reporting form <noreply@postgresql.org>) |
Ответы |
RE: BUG #15280: Clang 6.0.1 compiler warning - strlcpy
|
Список | pgsql-bugs |
=?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
В списке pgsql-bugs по дате отправления: