Re: tableam.h fails cpluspluscheck

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: tableam.h fails cpluspluscheck
Дата
Msg-id 74837.1559311051@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: tableam.h fails cpluspluscheck  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2019-05-30 14:01:00 -0400, Tom Lane wrote:
>> Kinda looks like you can't get away with using "struct" on a forward
>> declaration of something that is not actually a struct type.

> Ugh. Odd that only C++ compilers complain. I just removed the typedef,
> it's not needed anymore (it used to be neccessary before moving
> IndexBuildCallback's definition to tableam.h - but was wrong then too,
> just cpluspluscheck didn't notice).

Cool, thanks.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: cpluspluscheck vs vpath
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Time range