| От | David Geier |
|---|---|
| Тема | Re: Add explicit casts in four places to simplehash.h |
| Дата | |
| Msg-id | 0f0d2561-1190-1f45-0c5f-ed42f2c80aaf@gmail.com обсуждение исходный текст |
| Ответ на | Re: Add explicit casts in four places to simplehash.h (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Add explicit casts in four places to simplehash.h
|
| Список | pgsql-hackers |
On 11/3/22 15:50, Tom Lane wrote: > Seems reasonable, so done (I fixed one additional spot you missed). Thanks! > 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. What about having a custom header alongside cpluspluscheck which references all macros we care about? We could start with the really big macros like the ones from simplehash.h and add as we go. I could give this a try if deemed useful. -- David Geier (ServiceNow)
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера