Re: [HACKERS] [PATCH] Suppress Clang 3.9 warnings - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] [PATCH] Suppress Clang 3.9 warnings
Date
Msg-id 11741.1487605061@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] [PATCH] Suppress Clang 3.9 warnings  (Aleksander Alekseev <a.alekseev@postgrespro.ru>)
Responses Re: [HACKERS] [PATCH] Suppress Clang 3.9 warnings  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-hackers
Aleksander Alekseev <a.alekseev@postgrespro.ru> writes:
> In theory - could we just always use our internal strl* implementations? 

Hmm, maybe configure's test to see if a declaration has been provided
is going wrong?  I notice that anchovy, which is supposedly current
Arch Linux, doesn't think the platform has it:

checking whether strlcat is declared... no
checking whether strlcpy is declared... no
...
checking for strlcat... no
checking for strlcpy... no

But that's using gcc.  Perhaps clang behaves differently?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Jim Mlodgenski
Date:
Subject: [HACKERS] mat views stats
Next
From: Fujii Masao
Date:
Subject: Re: [HACKERS] Provide list of subscriptions and publications inpsql's completion