From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make our perfect hash functions be valid C++.
Date: Fri, 31 May 2019 14:40:57 +0000
Message-ID: <E1hWiiH-0002M4-CB@gemulon.postgresql.org> (raw)
Make our perfect hash functions be valid C++.
While C is happy to cast "const void *" to "const unsigned char *"
silently, C++ insists on an explicit cast. Since we put these
functions into header files, cpluspluscheck whines about that.
Add the cast to pacify it.
Discussion: https://postgr.es/m/b517ec3918d645eb950505eac8dd434e@gaz-is.ru
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9e58705a7f9728f10b2e0f0c9adc6e6ecff7486e
Modified Files
--------------
src/tools/PerfectHash.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Make our perfect hash functions be valid C++.
In-Reply-To: <E1hWiiH-0002M4-CB@gemulon.postgresql.org>
References: <E1hWiiH-0002M4-CB@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox