Re: plenty code is confused about function level static

Поиск
Список
Период
Сортировка
От Andrey M. Borodin
Тема Re: plenty code is confused about function level static
Дата
Msg-id 4AF34E5E-480D-4F0A-82FF-7DC286F2C4ED@yandex-team.ru
обсуждение исходный текст
Ответ на plenty code is confused about function level static  (Andres Freund <andres@anarazel.de>)
Ответы Re: plenty code is confused about function level static
Список pgsql-hackers

> On 18 Apr 2024, at 02:39, Andres Freund <andres@anarazel.de> wrote:
>
> There are lots of places that could benefit from adding 'static
> const'.

+1 for helping compiler.
GCC has a -Wsuggest-attribute=const, we can count these warnings and threat increase as an error :)


Best regards, Andrey Borodin.


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: plenty code is confused about function level static
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Cannot find a working 64-bit integer type on Illumos