Re: fixing more format truncation issues

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: fixing more format truncation issues
Дата
Msg-id 20180316035104.GG2666@paquier.xyz
обсуждение исходный текст
Ответ на Re: fixing more format truncation issues  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Mar 15, 2018 at 12:12:18PM -0400, Tom Lane wrote:
> FWIW, I noticed while fooling with pre-release Fedora 28 that gcc 8.0.1
> emits a whole boatload of these warnings by default.  This patch doesn't
> seem to have moved the needle very much, either.  In a quick look, it
> seemed like a lot of them were things we simply wouldn't be interested
> in fixing ("yeah, the path length limit is MAXPGPATH, tough").  So
> I'm thinking we're going to be needing -Wno-format-truncation soon.

Maybe it is worth a try on Debian as well.  The base packages use GCC 7
but I can see that 8 is also available.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Chapman Flack
Дата:
Сообщение: Re: Re: pgbench randomness initialization
Следующее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: PQHost() undefined behavior if connecting string contains bothhost and hostaddr types