Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Warning compiling latest with gcc on MacOS
- X-seq: zsh-workers 55305
- 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 23:20:26 +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=4TSF6wbJ3DG9ZjT/4pxedPQS82OYvmOUFWO4Umeo64A=; fh=vuDAGjptCPc/P1/HEZ3j98yPJEW1XjuEoEAmmwDS/+U=; b=iSuvUh855F+Ka4nIn0kdIwIQu9D5TMTEd+mlW8BzVJeESgpyTF/m38pQrkSwgfHxV2 waTQ0JJulZabIlkoht+WUId5qq9loovlv0XB74HEYx0NzNJwjRtHFpUCK9sC5iCJn+ET 3fOXindlnF47C0cq2+qOuBWVzXVB6TRRJtZAYUahUW5xr/cc/v4sFjRc/hctwhgD+Hlh ETFMklDvkAjjXXDTuzViXIsmCFs0RxdU89PJBYEc1kmvhUisbTVDjK+DwtBzKnp4wSo6 wpBKqMlFIYDM7ariOxfcSvcWQY8cvcdHTb0rJG0aj6faIqnirGu5tI+oA9y6NOJ32J6Z D+2w==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1795990840; cv=none; d=google.com; s=arc-20260327; b=N6auNejbyDdCbwA6mqLZ3gpekzoT6x0FV04k+Ugu7iFVzcUSdVJl9gpHa33/wXlI28 mnjFwD67X9Gt2fBseHb3ephQ1eDmQJZwOoawfZ3MCiskNTSzO7DIat1LnF7kzqia/+4q rqMGbx85MtxsR4JiEnGLaB+yNh8cd1yhYx5ibbFInTzDfS19BGuXS2EQ0EKmfwKYrC4R ZQOZG8nkRY5W9LuE2Vm+pWSJDhBoUiKBdsWfrOLWtX8SJ7iPs2oKLjtqjCN5TJ50tx1Y XfDgzwp3CwVOBpSjdP+De1XeXKhhKN6mvim6hr9mbVUX4ywpVUrkrUFmJSipfV1ZbFh5 RlcA==
- Archived-at: <https://zsh.org/workers/55305>
- In-reply-to: <CAH+w=7aAaB2SNOnwEJMO4eHWJuTz8qfdax_shf9jvQpqgF5yLg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7a2x9CcCsLcuc2=5cEnwdm7VDAs7dM2hyohB4_9A0Xqeg@mail.gmail.com> <CAHYJk3QoFAThFH6sF+Kd2ejEhYhSfOKhyUVx_=QyMZrrX7-Keg@mail.gmail.com> <CAH+w=7aAaB2SNOnwEJMO4eHWJuTz8qfdax_shf9jvQpqgF5yLg@mail.gmail.com>
On Sun, Nov 29, 2026 at 9:21 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Sun, Nov 29, 2026 at 11:44 AM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> >
> > If you use --pretty=fuller git will show you the commit date.
>
> "git whatchanged" is pretty wired into my brain-flow at this point. I
> suppose I can mess around with git aliases.
>
> > 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.
>
> Yes, but it has the change date right there in the log itself.
>
> +2026-11-25 Mikael Magnusson <mikachu@xxxxxxxxx>
> +
> + * 55261: Doc/Zsh/mod_tcp.yo, Src/Modules/tcp.c, Src/Modules/tcp.h:
> + add some more ztcp options
>
> I'm not militant about this or anything, but when I went looking for
> recent changes to tcp.c that could have caused the warning, I wasn't
> expecting to see a date in July. I didn't notice the commit order
> until I looked at the entire tree and saw the display order relative
> to commits in other files.
That's good, because I'm definitely going to keep doing it :). I could
in theory use --reset-author-date when amending the ChangeLog entry
but I will forget anyway so might as well not do it to start with. I
can agree that it's a bit confusing before you know how git handles
author dates, but I do have a habit of sitting on changes for a while
before submitting them (to cut down on re-sends when I find issues
myself).
I also thought I did have -Wall in my CFLAGS but apparently I did not
because I do get the warning when I added it. Oops.
That said, I'll commit this:
- if (OPT_ISSET(ops,*opt) && !OPT_ISSET(ops,'l')) {
+ if (OPT_ISSET(ops,(unsigned char) *opt) && !OPT_ISSET(ops,'l')) {
based on similar usages:
Src/Zle/zle_keymap.c: for(op = opns; op->o &&
!OPT_ISSET(ops,(unsigned char) op->o); op++) ;
Src/Zle/zle_keymap.c: if(OPT_ISSET(ops,(unsigned char) opp->o)) {
Src/Zle/zle_thingy.c: for(op = opns; op->o && !OPT_ISSET(ops,
(unsigned char) op->o); op++) ;
Src/Zle/zle_thingy.c: if(OPT_ISSET(ops, (unsigned char) opp->o)) {
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author