Re: ilist.h fails cpluspluscheck

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers@postgresql.org
Date: 2012-11-27T16:00:11Z
Lists: pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2012-11-27 01:14:27 -0500, Tom Lane wrote:
>> Peter Eisentraut <peter_e@gmx.net> writes:
>>> Maybe some ifndef __cplusplus would help.

> Its rather easy to fix in the ilist code at least - the cases it points
> out are those where I took a slightly ugly shortcut to reduce some very
> minor code duplication...

> Some casts fix it,

Seems reasonable, committed.

I wonder if we could get a buildfarm member or two running
cpluspluscheck.

			regards, tom lane