implicit casts from void*

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: implicit casts from void*
Date: 2025-07-01 03:20:07
Message-ID: CANWCAZaCq9AHBuhs=Mx7Gg_0Af9oRU7iAqr0itJCtfmsWwVmnQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I received on off-list report that commit e2809e3a101 causes an error
when building an extension written in C++, since $subject is in a
header file. The fix is simply to add an explicit cast, so I plan to
push the attached soon.

Bikeshedding: We could additionally change the pg_crc*.c files to make
them consistent, but I have not done that yet. It seems we prefer
explicit casts anyway but don't enforce that.

--
John Naylor
Amazon Web Services

Attachment Content-Type Size
v1-0001-Add-cast-from-pointer-to-void.patch text/x-patch 1.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-07-01 03:21:15 Re: Tags in the commitfest app: How to use them and what tags to add?
Previous Message Peter Smith 2025-07-01 03:17:54 Re: [WIP]Vertical Clustered Index (columnar store extension) - take2