Re: Brief C23 excursion
Steffen Nurpmeso <[email protected]>
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <20260416212645.0P3HbqJ1@steffen%sdaoden.eu> |
Matthias Andree via Mutt-dev wrote in <[email protected]>: | |Am 16.04.26 um 12:34 schrieb Kevin J. McCarthy: |> On Thu, Apr 16, 2026 at 08:38:50AM +0200, Matthias Andree via Mutt-dev |> wrote: |>> Am 16.04.26 um 06:52 schrieb Kevin J. McCarthy: |>>> |>>> So... I guess this is C23. Which I know almost nothing about :-D. |>>> In any case, we're a long ways away from getting to that level of C |>>> standard support in Mutt. I guess he refers to what is covered by this IANA TZ change: * zic.c (doabbr): Declare local var to be char const *, not char *. C23 says strchr is now a qualifier-preserving generic macro, so zic cannot use strchr to silently convert char const * to char *. This pacifies GCC 15.2 -Wdiscarded-qualifiers when compiling with glibc 2.43 (2026-01-24). ... --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)