Re: Don't cast away const where possible

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Don't cast away const where possible
Date: 2026-02-23 07:24:22
Message-ID: 990c9117-b013-4026-aaf5-261fe2832c3d@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have another patch that removes some -Wcast-qual warnings, by
adjusting some function APIs.

This is as far as I get without resorting to advanced tricks like
unconstify() or _Generic.

Attachment Content-Type Size
0001-Fix-Wcast-qual-warnings-easy-without-compiler-tricks.patch text/plain 9.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2026-02-23 07:32:34 Re: enable fallthrough warnings on clang
Previous Message Peter Eisentraut 2026-02-23 07:12:41 Check for memset_explicit() and explicit_memset()