| От | Tom Lane |
|---|---|
| Тема | Re: Add explicit casts in four places to simplehash.h |
| Дата | |
| Msg-id | 2063437.1667487018@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Add explicit casts in four places to simplehash.h (David Geier <geidav.pg@gmail.com>) |
| Ответы |
Re: Add explicit casts in four places to simplehash.h
|
| Список | pgsql-hackers |
David Geier <geidav.pg@gmail.com> writes:
> What about, while not being strictly necessary for PostgreSQL itself,
> also adding such casts to simplehash.h so that it can be used in code
> where -Wc++-compat is enabled?
Seems reasonable, so done (I fixed one additional spot you missed).
The bigger picture here is that we do actually endeavor to keep
(most of) our headers C++ clean, but our tool cpluspluscheck misses
these problems because it doesn't try to use these macros.
I wonder whether there is a way to do better.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера