[pfx] Re: Postfix stable release 3.11.4 and legacy releases 3.10.11, 3.9.12, 3.8.18
Sean McBride via Postfix-users <[email protected]> Mon, 22 Jun 2026 16:03:53 -0400
| Newsgroups | gmane.mail.postfix.user |
|---|---|
| Message-ID | <[email protected]> |
On 22 Jun 2026, at 15:48, Wietse Venema wrote: > Wouldn't -Wimplicit-fallthrough catch that? > > Sure. And it would break existing legtimate Postfix code. Deliberate fallthrough can be annotated with [[fallthrough]], but as that's new in C23, postfix probably can't use it yet. Still, it's easy to create a macro that does some pre-C23 per-complier equivalents, like: ``` #if (defined(GCC_VERSION) && GCC_VERSION>=7000000) || blahblah) #define POSTFIX_FALLTHROUGH __attribute__((fallthrough)); #else #define POSTFIX_FALLTHROUGH /* FALLTHROUGH */ #endif ``` I've never contributed a patch to postfix before, but I could give it a try... Sean _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]