The module doesn't build with (simulated) clang-16 because ./configure silently fails. Running make afterwards does not produce fzftab.so.
Clang 16 (to be released appx. March 2023) will make the following default errors:
-Werror=implicit-function-declaration
-Werror=implicit-int
-Werror=int-conversion (this is in Clang 15, actually)
-Werror=incompatible-function-pointer-types (GCC does not have a specific equivalent error, use -Werror=incompatible-pointer-types instead when testing)
GCC 14 (to be released appx. May 2024) is likely to do the same.
[ ] fzf-tab is loaded before zsh-autosuggestions, zsh-syntax-highlighting and fast-syntax-highlighting.
To Reproduce
Steps to reproduce the behavior:
Run CC=clang CFLAGS="-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types" ./configure --disable-gdbm --without-tcsetpgrp in ./modules
Describe the bug
The module doesn't build with (simulated) clang-16 because
./configure
silently fails. Runningmake
afterwards does not producefzftab.so
.I simulated building with clang-16 like this:
diff
ing theconfig.log
with clang-15 with the one with simulated clang-16 andgrep
ing for'^\+.*error:'
shows 64 new errors.I can make sure:
compinit
To Reproduce
Steps to reproduce the behavior:
CC=clang CFLAGS="-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types" ./configure --disable-gdbm --without-tcsetpgrp
in./modules
make
./Src/aloxaf/fzftab.so
does not existExpected behavior
./configure
uses valid C code.Environment:
Logs
diff -u config_clang15.log config_clang16.log | grep '^\+.*error:'
Additional context