Re: Tree-walker callbacks vs -Wdeprecated-non-prototype

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Tree-walker callbacks vs -Wdeprecated-non-prototype
Дата
Msg-id CA+hUKGJvX+L3aMN84ksT-cGy08VHErRNip3nV-WmTx7f6Pqhyw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Tree-walker callbacks vs -Wdeprecated-non-prototype  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Tree-walker callbacks vs -Wdeprecated-non-prototype  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
As visible on seawasp and locally (16/main branch nightly packages),
they decided to start warning about these casts with a new strict
variant of the warning.  Their discussion:

https://reviews.llvm.org/D134831

There are also a few other cases unrelated to this thread's original
problem, for example casts involving pg_funcptr_t, HashCompareFunc.  I
guess our options would be to turn that warning off, or reconsider and
try shoving the cast of "generic" arguments pointers down into the
functions?



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Why does L&Y Blink Tree need lock coupling?
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Improve WALRead() to suck data directly from WAL buffers when possible