Re: tableam.h fails cpluspluscheck - Mailing list pgsql-hackers

From Tom Lane
Subject Re: tableam.h fails cpluspluscheck
Date
Msg-id 74837.1559311051@sss.pgh.pa.us
Whole thread Raw
In response to Re: tableam.h fails cpluspluscheck  (Andres Freund <andres@anarazel.de>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: cpluspluscheck vs vpath
Next
From: Tomas Vondra
Date:
Subject: Re: Time range