| От | Tom Lane |
|---|---|
| Тема | Re: Tree-walker callbacks vs -Wdeprecated-non-prototype |
| Дата | |
| Msg-id | 722832.1663690513@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Tree-walker callbacks vs -Wdeprecated-non-prototype (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Tree-walker callbacks vs -Wdeprecated-non-prototype
|
| Список | pgsql-hackers |
I wrote:
> (That verbiage is from the gcc manual; clang seems to act the same
> except that -Wcast-function-type is selected by -Wall, or perhaps is
> even on by default.)
Nah, scratch that: the reason -Wcast-function-type is on is that
we explicitly enable it, and have done so since de8feb1f3 (v14).
I did not happen to see this warning with gcc because the test runs
I made with this patch already had c35ba141d, whereas I did my
clang test on another machine that wasn't quite up to HEAD.
So we should have good warning coverage for bogus walker signatures
on both compilers.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера