Re: Compiling warnings on old GCC

Поиск
Список
Период
Сортировка
От Richard Guo
Тема Re: Compiling warnings on old GCC
Дата
Msg-id CAMbWs48b_8NUUdTPcL66jKNEvpMr+gzqsp7-g3bspfaG1sFTfw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Compiling warnings on old GCC  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Compiling warnings on old GCC  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

On Mon, Nov 6, 2023 at 2:51 PM David Rowley <dgrowleyml@gmail.com> wrote:
On Mon, 6 Nov 2023 at 19:14, Richard Guo <guofenglinux@gmail.com> wrote:
> I came across the following compiling warnings on GCC (Red Hat 4.8.5-44)
> 4.8.5 with 'CFLAGS=-Og'

> I wonder if this is worth fixing, maybe by a trivial patch like
> attached.

There's some relevant discussion in
https://postgr.es/m/flat/20220602024243.GJ29853%40telsasoft.com

Ah, thanks for pointing that out.  Somehow I failed to follow that
thread.

It seems that the controversial '-Og' coupled with the old GCC version
(4.8) makes it not worth fixing.  So please ignore this thread.

Thanks
Richard

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

Предыдущее
От: "Andrey M. Borodin"
Дата:
Сообщение: Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] Small refactoring of inval.c and inval.h