Make unconstify and unvolatize use StaticAssertVariableIsOfTypeMacro
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-03-06T09:14:32Z
Releases:
19 (unreleased)
Make unconstify and unvolatize use StaticAssertVariableIsOfTypeMacro The unconstify and unvolatize macros had an almost identical assertion as was already defined in StaticAssertVariableIsOfTypeMacro, only it had a less useful error message and didn't have a sizeof fallback. Author: Jelte Fennema-Nio <postgres@jeltef.nl> Discussion: https://www.postgresql.org/message-id/flat/CAGECzQR21OnnKiZO_1rLWO0-16kg1JBxnVq-wymYW0-_1cUNtg@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/include/c.h | modified | +3 −10 |
Discussion
- Make copyObject work in C++ 51 messages · 2025-12-05 → 2026-04-16