Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Warnings from latest HEAD (zsh-5.9.0.3-test-357-g599af46) build
- X-seq: zsh-workers 54774
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Warnings from latest HEAD (zsh-5.9.0.3-test-357-g599af46) build
- Date: Sun, 14 Jun 2026 16:38:09 -0700
- 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-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=5shrEMDA4n4grY1aBZFCEVmEWasAw3ginLJRdwHvuC8=; fh=BgAYDYpL6Ne/A5nWEMVJiHiBtrz8Imz3uf26RDwgQX4=; b=XZ1sSMcIUHQ9hRpFgcZuG8nX1M6DZ3YsiX4cCwEJWw34H2tQRWUzW1GkSVDu4FqyRh a1pQ1dhZdD8h/dbEg3v6M+Ba3VSKRgI7K45J2xxxM3WzNvxw6m+xRUCreH/fRAqTdY5b XJU2DHBikkOvZArxSa7EFezKROj/o2S8lpu0m+y+kGBWZ+V4UqZWRr8D0JM/yDCGeEgw 2VP8e4fsFSczdUWw/9Vw9wLXh5BURwL4OakGsQEY1D2e8jgHmQUt+ux4jcGB3iS3UFey I0uiI29ZT3CeuAvXhnnoUG7se8USBM8iVzS1J+Ji5dSw5elnlhnS0IBNMoU0JPI6qXbt +ZBA==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1781480301; cv=none; d=google.com; s=arc-20240605; b=aY6v3j5zM229S5DM0RLSClezV2ThyQwIg6pv/TphX6ChesRxvOwoqLZ8LghKJBMkXX lrBkpFyvBLB4mkwUnFiIk2andu/dZyHUztQtdHqB5aMfuM5S6htCeT9w4D8fx98K1JnL WYZTgPr/vC/SUMgDBxCuEY2vwFhUlDKFWBUlV1Lmrm2k3g56HF6SHWm/inyI7f9Pa48U StEKT13MBec2q2wtCv2rU/3YhnwW9sDSRdPS7g+t7oOGm62zsYBddEGDhK1t6KCYlIUt RJTQFFh3E9BzaaR7p+EfnjrVQeeHPWDiTavEC/ythIxf9jyO1MwNuORmmcdTMotmzsHB q+MA==
- Archived-at: <https://zsh.org/workers/54774>
- List-id: <zsh-workers.zsh.org>
Apple clang version 17.0.0 (clang-1700.6.4.2)
Target: arm64-apple-darwin24.6.0
Thread model: posix
These are all from "54710: handle multibyte arguments in error messages"
gcc -c -I. -I../Src -I../Src -I../Src/Zle -I. -I/opt/local/include
-DHAVE_CONFIG_H -Wall -Wmissing-prototypes -ggdb -o exec.o exec.c
exec.c:3303:8: warning: label followed by a declaration is a C23
extension [-Wc23-extensions]
3303 | convchar_t opt = unmeta_one(cmdopt, NULL);
| ^
1 warning generated.compctl.c:544:4: warning: label followed by a
declaration is a C23 extension [-Wc23-extensions]
544 | convchar_t s = unmeta_one(p, NULL);
| ^
1 warning generated.complete.c:800:3: warning: label followed by a
declaration is a C23 extension [-Wc23-extensions]
800 | convchar_t c = unmeta_one(p, NULL);
| ^
complete.c:1168:2: warning: label followed by a declaration is a C23
extension [-Wc23-extensions]
1168 | convchar_t c = unmeta_one(&argv[0][1], NULL);
| ^
2 warnings generated.
I'm surprised glob.c doesn't produce a similar error from
default:
untokenize(--s);
- zerr("unknown file attribute: %c", *s);
+ convchar_t attr = unmeta_one(s, NULL);
+ zerr("unknown file attribute: %c", attr);
restore_globstate(saved);
return;
IIRC we've been trying to stick to the "declarations only at the start
of a block" convention.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author