Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Warning compiling latest with gcc on MacOS



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?




Messages sorted by: Reverse Date, Date, Thread, Author