Re: Recent cpluspluscheck failures - Mailing list pgsql-hackers

From John Naylor
Subject Re: Recent cpluspluscheck failures
Date
Msg-id CAFBsxsG6aKGHm2Nz5RFZSme4kRx0dOQ5Cu8AGEtp8xhfBAZaRA@mail.gmail.com
Whole thread Raw
In response to Recent cpluspluscheck failures  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Recent cpluspluscheck failures
List pgsql-hackers

On Thu, Sep 23, 2021 at 2:37 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> On HEAD, I see these headers failing to compile standalone:
>
> $ src/tools/pginclude/cpluspluscheck
> In file included from /tmp/cpluspluscheck.XxTv1i/test.cpp:3:
> ./src/include/common/unicode_east_asian_fw_table.h:3:32: error: elements of array 'const mbinterval east_asian_fw []' have incomplete type
>  static const struct mbinterval east_asian_fw[] = {
>                                 ^~~~~~~~~~~~~
> ./src/include/common/unicode_east_asian_fw_table.h:3:32: error: storage size of 'east_asian_fw' isn't known

Okay, this file is used similarly to src/include/common/unicode_combining_table.h, which has an exception in the check script, so I'll add another exception.

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: preserving db/ts/relfilenode OIDs across pg_upgrade (was Re: storing an explicit nonce)
Next
From: Tomas Vondra
Date:
Subject: Re: Column Filtering in Logical Replication