From: | Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)ru> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [PATCH] Suppress Clang 3.9 warnings |
Date: | 2017-02-20 15:48:38 |
Message-ID: | a1b06131-f416-bc2a-d48f-d86934b025f4@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 02/20/2017 04:37 PM, Tom Lane wrote:
> Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)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?
>
AFAIK it happens because clang treats missing declarations as warnings,
which confuses configure:
https://bugs.llvm.org//show_bug.cgi?id=20820
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-02-20 15:56:47 | Re: [PATCH] Suppress Clang 3.9 warnings |
Previous Message | Stephen Frost | 2017-02-20 15:48:21 | Re: Provide list of subscriptions and publications in psql's completion |