pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Aleksander Alekseev <a.alekseev@postgrespro.ru>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [PATCH] Suppress Clang 3.9 warnings
Date: Mon, 20 Feb 2017 09:26:44 -0500
Message-ID: <32373.1487600804@sss.pgh.pa.us> (raw)
In-Reply-To: <20170220141239.GD12278@e733.localdomain>
References: <20170220141239.GD12278@e733.localdomain>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Aleksander Alekseev <a.alekseev@postgrespro.ru> writes:
> I've just tried to build PostgreSQL with Clang 3.9.1 (default version
> currently available in Arch Linux) and noticed that it outputs lots of
> warning messages. Most of them are result of a bug in Clang itself:
> 
> postinit.c:846:3: note: include the header <string.h> or explicitly
> provide a declaration for 'strlcpy'

It might be an incompatibility with the platform-supplied string.h
rather than an outright bug, but yeah, that's pretty annoying.

> The rest of warnings looks more like something we could easily deal with:

It's hard to get excited about these if there are going to be hundreds
of the other ones ...

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (18+ messages)  latest in thread

Message-ID: <32373.1487600804@sss.pgh.pa.us>
Permalink:  ../32373.1487600804@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/32373.1487600804@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, a.alekseev@postgrespro.ru
  Subject: Re: [PATCH] Suppress Clang 3.9 warnings
  In-Reply-To: <32373.1487600804@sss.pgh.pa.us>
  References: <20170220141239.GD12278@e733.localdomain> <32373.1487600804@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox