Back-patching -Wno-format-truncation.

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us
Subject: Back-patching -Wno-format-truncation.
Date: 2020-03-03 23:12:54
Message-ID: 20200304.081254.1538148731635518637.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello. (added Tom in Cc:)

If I build the past versions from 9.4 to 9.6 with GCC8, I find it
really annoying to see the build screen filled with massive number of
warnings of format-truncation, stringop-truncation and
format-overflow.

Just applying the commit 416e3e318c as-is silences the first two.

The last one is silenced by applying 5d923eb29b.

The commit message is sayiing that it is back-patched back at least to
9.4, but it seem that the versions from 9.4 to 9.6 haven't got the
patches.

Tom, would you back-patch the two commits to from 9.4 to 9.6?

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
5d923eb29b_for_94.patch text/x-patch 1.0 KB
5d923eb29b_for_95_96.patch text/x-patch 633 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2020-03-03 23:31:43 Re: Psql patch to show access methods info
Previous Message David Rowley 2020-03-03 22:32:00 Re: Index Skip Scan