Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Warning compiling latest with gcc on MacOS
- X-seq: zsh-workers 55303
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Warning compiling latest with gcc on MacOS
- Date: Sun, 29 Nov 2026 20:43:56 +0100
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=W+jLUv+tyOZ4evKbP4811aS0MKiqk/oLovdNoO1Ooec=; fh=vuDAGjptCPc/P1/HEZ3j98yPJEW1XjuEoEAmmwDS/+U=; b=C4eeiprGsXfHxcB+hF/6ngd504O6y/caIGuo9EGD417dY5zdWR8D1cXLqcQJ1b6rUB 1aQwVKi+JHbZELtD8Db85h06NVGo2CfuqwMa5X/k4k/1AuRPPXMbmPIZbMkvHGf31eDC F/U0IvNhAa9HAtqthhrVnyx4mbFCCAkQX9s3KqjE+2627jwRVyw5Q+kxoqsXXzHHQYwN NMJWhhvaE/RHR5ZhbvFsDxSyk5QvrEtdZdyQ3tw/I/chEfbvYkvpxlOnaygxrGRIfXVx u/jcaFazJsb4pUSN9fe9hI6tDH+cn5T4Mc7NfQiW3X7l0XVtHaN/961hTrqqfkFGGWGM 0i9g==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1795981449; cv=none; d=google.com; s=arc-20260327; b=UactkbIurQWB0NnaQeiye7Xxw+7f97wmkW3v4wXPay2kapFs6RVYdK/2vhBOFJnjpW skbVdxfuX0DbNN6Cmlgoj7IvdkOpRotgNRMuYjMJFp1IwdJUKU0qOiwpGaXM5BHeKBEi +oKS/3USNyPBMoJ1V6/6BTk2nbnEVrpnIRUffEQqWxXTZK6a+vJZPswoLSMbQXmbJRvK vVux8mJXBgckwo73TY1ml/HdW1M1aSe8t5xbtlZbAn/RyNeXMWe9xsCF1+/vAM6KdA/R ZEPBGL049Aah4I3uPFm6n69+Uam6VTASof3fkg0rYq/mBWrIdeNt2G6ivV1y6PAj1SV/ W88A==
- Archived-at: <https://zsh.org/workers/55303>
- In-reply-to: <CAH+w=7a2x9CcCsLcuc2=5cEnwdm7VDAs7dM2hyohB4_9A0Xqeg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7a2x9CcCsLcuc2=5cEnwdm7VDAs7dM2hyohB4_9A0Xqeg@mail.gmail.com>
On Sun, Nov 29, 2026 at 8:31 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I.
> -I/opt/local/include -I/opt/local/include -DHAVE_CONFIG_H -Wall
> -Wmissing-prototypes -ggdb -o tcp.o tcp.c
> tcp.c:393:6: warning: array subscript is of type 'char' [-Wchar-subscripts]
> 393 | if (OPT_ISSET(ops,*opt) && !OPT_ISSET(ops,'l')) {
> | ^ ~~~~
> ./../../Src/zsh.h:1408:37: note: expanded from macro 'OPT_ISSET'
> 1408 | #define OPT_ISSET(ops,c) ((ops)->ind[c] != 0)
> | ^~
> 1 warning generated.
>
> This is from commit b8eda0952 which, despite having July 19 date in
> the git history, was not pushed until November 25.
>
> This is why (a) I prefer keeping the ChangeLog around and (b) I prefer
> re-committing patches rather than processing pull requests (admittedly
> I'm assuming that's what happened here). The main branch should have
> its chronology in sync with actual "publication", should it not?
If you use --pretty=fuller git will show you the commit date. I'm not
sure what your point here actually is, but the commit date is also
november 25th (since I have to rebase it to add the ChangeLog entry).
Git just keeps track of when I wrote the code as the author date. (I
sent it to the list on Nov 13th, for what it's worth).
I'm not sure how you feel the ChangeLog affects this. It's in the same
order as `git log`, at least in this case.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author