pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use -Wno-format-truncation and -Wno-stringop-truncation, if avai
Date: Sat, 16 Jun 2018 19:34:30 +0000
Message-ID: <E1fUGxy-000210-9v@gemulon.postgresql.org> (raw)

Use -Wno-format-truncation and -Wno-stringop-truncation, if available.

gcc 8 has started emitting some warnings that are largely useless for
our purposes, particularly since they complain about code following
the project-standard coding convention that path names are assumed
to be shorter than MAXPGPATH.  Even if we make the effort to remove
that assumption in some future release, the changes wouldn't get
back-patched.  Hence, just suppress these warnings, on compilers that
have these switches.

Backpatch to all supported branches.

Discussion: https://postgr.es/m/1524563856.26306.9.camel@gunduz.org

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/119290be6fe3bea12053042f5d3eaa135a260a52

Modified Files
--------------
configure    | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 12 +++++++++
2 files changed, 92 insertions(+)



view thread (7+ messages)  latest in thread

Message-ID: <E1fUGxy-000210-9v@gemulon.postgresql.org>
Permalink:  ../E1fUGxy-000210-9v@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fUGxy-000210-9v@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Use -Wno-format-truncation and -Wno-stringop-truncation, if avai
  In-Reply-To: <E1fUGxy-000210-9v@gemulon.postgresql.org>
  References: <E1fUGxy-000210-9v@gemulon.postgresql.org>

* 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