Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/jupp.spec'], chrootPath='/var/lib/mock/f42-build-56833885-6546493/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.wzs93fwi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.wzs93fwi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5c44bc7590644b67ae22eba44e153a00', '-D', '/var/lib/mock/f42-build-56833885-6546493/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.wzs93fwi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/jupp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/jupp-41-7.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/jupp.spec'], chrootPath='/var/lib/mock/f42-build-56833885-6546493/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.wzs93fwi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.wzs93fwi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ddf0e0b285a24b4585f5b138ac017669', '-D', '/var/lib/mock/f42-build-56833885-6546493/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.wzs93fwi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/jupp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.lIJhPW + umask 022 + cd /builddir/build/BUILD/jupp-41-build + test -d /builddir/build/BUILD/jupp-41-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/jupp-41-build + /usr/bin/rm -rf /builddir/build/BUILD/jupp-41-build + /usr/bin/mkdir -p /builddir/build/BUILD/jupp-41-build + /usr/bin/mkdir -p /builddir/build/BUILD/jupp-41-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Fin6eP + umask 022 + cd /builddir/build/BUILD/jupp-41-build + cd /builddir/build/BUILD/jupp-41-build + rm -rf jupp + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/joe-3.1jupp41.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd jupp + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/jupp-configure-c99.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bcHYs5 + umask 022 + cd /builddir/build/BUILD/jupp-41-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jupp + chmod +x configure + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-termidx --sysconfdir=/etc/jupp checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking target system type... aarch64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for aarch64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for library containing openpty... none required checking for library containing login_tty... none required checking for library containing tgetflag... -ltinfo checking for library containing snprintf... none required checking for library containing is_selinux_enabled... -lselinux checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/dirent.h usability... no checking sys/dirent.h presence... no checking for sys/dirent.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/stat.h... (cached) yes checking sys/termio.h usability... no checking sys/termio.h presence... no checking for sys/termio.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking bsd/string.h usability... no checking bsd/string.h presence... no checking for bsd/string.h... no checking selinux/context.h usability... yes checking selinux/context.h presence... yes checking for selinux/context.h... yes checking selinux/selinux.h usability... yes checking selinux/selinux.h presence... yes checking for selinux/selinux.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking POSIX termios... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking whether time.h and sys/time.h may both be included... yes checking for an ANSI C-conforming const... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for void *... yes checking size of void *... 8 checking for long long... yes checking size of long long... 8 checking for off_t... yes checking size of off_t... 8 checking for sighandler_t... yes checking whether gcc needs -traditional... no checking for _LARGEFILE_SOURCE value needed for large files... no checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no checking whether setpgrp() takes no arguments... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking return type of signal handlers... void checking whether stat accepts an empty string... no checking for getcwd... yes checking for getwd... yes checking for alarm... yes checking for ctime... yes checking for fsync... yes checking for get_current_dir_name... yes checking for isatty... yes checking for mkdir... yes checking for mkstemp... yes checking for nl_langinfo... yes checking for popen... yes checking for putenv... yes checking for setitimer... yes checking for setlocale... yes checking for setpgid... yes checking for sigaction... yes checking for siginterrupt... yes checking for sigprocmask... yes checking for sigvec... no checking for strchr... yes checking for strdup... yes checking for strlcat... yes checking for strlcpy... yes checking for sync... yes checking for utime... yes checking for fork... yes checking for unsetenv... yes Enabling use of fork(), concurrent subshells, etc. Enabling use of floating point arithmetics checking whether strlcpy is declared... yes checking whether strlcat is declared... yes checking whether popen is declared... yes checking whether ctime is declared... yes checking whether sighandlers must be reinstalled... no checking for aspell... ispell configure: creating ./config.status config.status: creating Makefile config.status: creating syntax/c.jsf config.status: creating syntax/perl.jsf config.status: creating syntax/verilog.jsf config.status: creating syntax/sh.jsf config.status: creating syntax/python.jsf config.status: creating syntax/conf.jsf config.status: creating syntax/php.jsf config.status: creating syntax/mail.jsf config.status: creating syntax/pascal.jsf config.status: creating syntax/html.jsf config.status: creating syntax/vhdl.jsf config.status: creating syntax/fortran.jsf config.status: creating syntax/java.jsf config.status: creating syntax/xml.jsf config.status: creating syntax/tcl.jsf config.status: creating charmaps/klingon config.status: creating syntax/lisp.jsf config.status: creating syntax/csh.jsf config.status: creating syntax/mason.jsf config.status: creating syntax/diff.jsf config.status: creating syntax/asm.jsf config.status: creating syntax/tex.jsf config.status: creating autoconf.h config.status: executing depfiles commands configure: WARNING: Do not rely on --program-prefix, --program-suffix or --program-transform-name! + /usr/bin/make -O -j80 V=1 VERBOSE=1 sysconfjoesubdir= /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' sed -e 's@''jrcbefore''@/etc/jupp/joe/g' -e 's@''jrcafter''@g' -e 's@''SPELL''@ispellg' <'jmacsrc.in' >jmacsrc~ && mv -f jmacsrc~ jmacsrc make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' sed -e 's@''jrcbefore''@/etc/jupp/joe/g' -e 's@''jrcafter''@g' -e 's@''SPELL''@ispellg' <'joerc.in' >joerc~ && mv -f joerc~ joerc make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' sed -e 's@''jrcbefore''@/etc/jupp/joe/g' -e 's@''jrcafter''@g' -e 's@''SPELL''@ispellg' <'jpicorc.in' >jpicorc~ && mv -f jpicorc~ jpicorc make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' sed -e 's@''jrcbefore''@/etc/jupp/joe/g' -e 's@''jrcafter''@g' -e 's@''SPELL''@ispellg' <'jstarrc.in' >jstarrc~ && mv -f jstarrc~ jstarrc make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' sed -e 's@''jrcbefore''@/etc/jupp/joe/g' -e 's@''jrcafter''@g' -e 's@''SPELL''@ispellg' <'rjoerc.in' >rjoerc~ && mv -f rjoerc~ rjoerc make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' sed \ -e 's!@''joeinitfile''@!usually \\fB/etc/jupp/joe/joerc\\fR!g' \ -e 's!@''joeresides''@!/usr/bin/joe!g' \ -e 's!@''joeinitcopy''@!which normally resides in \\fB/etc/jupp/joe/joerc\\fR!g' \ <'joe.1.in' >joe.1~ mv -f joe.1~ joe.1 make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c builtins.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c win32.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c menu.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' menu.c: In function ‘umrtn’: menu.c:321:24: error: too many arguments to function ‘m->func’; expected 0, have 4 321 | return m->func(m, m->cursor, m->object, 0); | ^ ~ In file included from menu.c:9: types.h:417:20: note: declared here 417 | jpoly_int *func; /* Return callback function */ | ^~~~ menu.c: In function ‘umbacks’: menu.c:329:24: error: too many arguments to function ‘m->backs’; expected 0, have 3 329 | return m->backs(m, m->cursor, m->object); | ^ ~ types.h:418:20: note: declared here 418 | jpoly_int *backs; /* Backspace callback function */ | ^~~~~ menu.c: In function ‘umkey’: menu.c:342:32: error: too many arguments to function ‘m->func’; expected 0, have 4 342 | return m->func(m, m->cursor, m->object, -1); | ^ ~ types.h:417:20: note: declared here 417 | jpoly_int *func; /* Return callback function */ | ^~~~ menu.c:348:32: error: too many arguments to function ‘m->func’; expected 0, have 4 348 | return m->func(m, m->cursor, m->object, 1); | ^ ~ types.h:417:20: note: declared here 417 | jpoly_int *func; /* Return callback function */ | ^~~~ menu.c: In function ‘menuabort’: menu.c:387:24: error: too many arguments to function ‘func’; expected 0, have 3 387 | return func(win->object, x, object); | ^~~~ ~~~~~~~~~~~ make[1]: *** [Makefile:495: menu.o] Error 1 make[1]: *** Waiting for unfinished jobs.... qw.c: In function ‘utypeqw’: qw.c:115:24: error: too many arguments to function ‘func’; expected 0, have 4 115 | return func(win->object, c, object, notify); | ^~~~ ~~~~~~~~~~~ qw.c: In function ‘abortqw’: qw.c:129:24: error: too many arguments to function ‘abrt’; expected 0, have 2 129 | return abrt(win->object, object); | ^~~~ ~~~~~~~~~~~ make[1]: *** [Makefile:495: qw.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c qw.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c pw.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' pw.c: In function ‘rtnpw’: pw.c:116:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 116 | byte2 = strcmp(s, s2); | ^ | | | unsigned char * In file included from pw.c:14: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ pw.c:116:43: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 116 | byte2 = strcmp(s, s2); | ^~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ pw.c:152:24: error: too many arguments to function ‘pfunc’; expected 0, have 4 152 | return pfunc(win->object, s, object, notify); | ^~~~~ ~~~~~~~~~~~ pw.c: In function ‘ucmplt’: pw.c:163:24: error: too many arguments to function ‘pw->tab’; expected 0, have 2 163 | return pw->tab(bw, k); | ^~ ~~ In file included from pw.c:9: types.h:567:20: note: declared here 567 | jpoly_int *tab; /* Func which gets called when TAB is hit */ | ^~~ pw.c: In function ‘abortpw’: pw.c:196:24: error: too many arguments to function ‘abrt’; expected 0, have 2 196 | return abrt(win->object, object); | ^~~~ ~~~~~~~~~~~ pw.c: In function ‘simple_cmplt’: pw.c:331:37: error: passing argument 3 of ‘mkmenu’ from incompatible pointer type [-Wincompatible-pointer-types] 331 | m = mkmenu(bw->parent, lst, cmplt_rtn, cmplt_abrt, NULL, 0, line, NULL); | ^~~~~~~~~ | | | int (*)(MENU *, int, unsigned char *) {aka int (*)(struct menu *, int, unsigned char *)} In file included from pw.c:30: menu.h:16:50: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(MENU *, int, unsigned char *)’ {aka ‘int (*)(struct menu *, int, unsigned char *)’} 16 | MENU *mkmenu(W *w, unsigned char **s, jpoly_int *func, jpoly_int *abrt, jpoly_int *backs, int cursor, void *object, int *notify); | ~~~~~~~~~~~^~~~ pw.c:295:5: note: ‘cmplt_rtn’ declared here 295 | int cmplt_rtn(MENU *m, int x, unsigned char *line) | ^~~~~~~~~ pw.c:331:48: error: passing argument 4 of ‘mkmenu’ from incompatible pointer type [-Wincompatible-pointer-types] 331 | m = mkmenu(bw->parent, lst, cmplt_rtn, cmplt_abrt, NULL, 0, line, NULL); | ^~~~~~~~~~ | | | int (*)(BW *, int, unsigned char *) {aka int (*)(struct bw *, int, unsigned char *)} menu.h:16:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, unsigned char *)’ {aka ‘int (*)(struct bw *, int, unsigned char *)’} 16 | MENU *mkmenu(W *w, unsigned char **s, jpoly_int *func, jpoly_int *abrt, jpoly_int *backs, int cursor, void *object, int *notify); | ~~~~~~~~~~~^~~~ pw.c:286:5: note: ‘cmplt_abrt’ declared here 286 | int cmplt_abrt(BW *bw, int x, unsigned char *line) | ^~~~~~~~~~ make[1]: *** [Makefile:495: pw.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c macro.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c umath.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c utag.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c tab.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' macro.c: In function ‘domtext’: macro.c:287:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 287 | if (instr && strcmp(m->cmd->name, "type")) { | ~~~~~~^~~~~~ | | | const unsigned char * In file included from macro.c:13: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ macro.c:295:35: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 295 | if (!strcmp(m->cmd->name, "type")) { | ~~~~~~^~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ macro.c:304:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 304 | if (!strcmp(m->cmd->name, "play") || !strcmp(m->cmd->name, "gomark") || !strcmp(m->cmd->name, "setmark") || !strcmp(m->cmd->name, "record") || !strcmp(m->cmd->name, "uarg")) { | ~~~~~~^~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ macro.c:304:76: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 304 | if (!strcmp(m->cmd->name, "play") || !strcmp(m->cmd->name, "gomark") || !strcmp(m->cmd->name, "setmark") || !strcmp(m->cmd->name, "record") || !strcmp(m->cmd->name, "uarg")) { | ~~~~~~^~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ macro.c:304:111: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 304 | if (!strcmp(m->cmd->name, "play") || !strcmp(m->cmd->name, "gomark") || !strcmp(m->cmd->name, "setmark") || !strcmp(m->cmd->name, "record") || !strcmp(m->cmd->name, "uarg")) { | ~~~~~~^~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ macro.c:304:147: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 304 | if (!strcmp(m->cmd->name, "play") || !strcmp(m->cmd->name, "gomark") || !strcmp(m->cmd->name, "setmark") || !strcmp(m->cmd->name, "record") || !strcmp(m->cmd->name, "uarg")) { | ~~~~~~^~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ macro.c:304:182: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 304 | if (!strcmp(m->cmd->name, "play") || !strcmp(m->cmd->name, "gomark") || !strcmp(m->cmd->name, "setmark") || !strcmp(m->cmd->name, "record") || !strcmp(m->cmd->name, "uarg")) { | ~~~~~~^~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ macro.c: In function ‘urecord’: macro.c:484:81: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 484 | else if (mkqw(bw->parent, sc("Macro to record (0-9 or ^C to abort): "), dorecord, NULL, NULL, NULL)) | ^~~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} In file included from macro.c:21: qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ macro.c:457:12: note: ‘dorecord’ declared here 457 | static int dorecord(BW *bw, int c, void *object, int *notify) | ^~~~~~~~ macro.c: In function ‘uplay’: macro.c:555:50: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 555 | else if (mkqwna(bw->parent, sc("Play-"), doplay, NULL, NULL, NULL)) | ^~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ macro.c:511:12: note: ‘doplay’ declared here 511 | static int doplay(BW *bw, int c, void *object, int *notify) | ^~~~~~ macro.c: In function ‘uarg’: macro.c:583:92: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 583 | if (wmkpw(bw->parent, UC "No. times to repeat next command (^C to abort): ", NULL, doarg, NULL, NULL, utypebw, NULL, NULL, locale_map)) | ^~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} In file included from macro.c:20: pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ macro.c:563:12: note: ‘doarg’ declared here 563 | static int doarg(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~ macro.c:583:111: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 583 | if (wmkpw(bw->parent, UC "No. times to repeat next command (^C to abort): ", NULL, doarg, NULL, NULL, utypebw, NULL, NULL, locale_map)) | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(jobject, int)’ 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ In file included from macro.c:24: uedit.h:54:5: note: ‘utypebw’ declared here 54 | int utypebw(jobject, int k); | ^~~~~~~ macro.c: In function ‘douarg’: macro.c:623:44: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 623 | if (mkqwna(bw->parent, sz(msgbuf), douarg, NULL, NULL, notify)) | ^~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ macro.c:592:12: note: ‘douarg’ declared here 592 | static int douarg(BW *bw, int c, void *object, int *notify) | ^~~~~~ macro.c: In function ‘uuarg’: macro.c:635:51: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 635 | else if (mkqwna(bw->parent, sc("Repeat"), douarg, NULL, NULL, NULL)) | ^~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ macro.c:592:12: note: ‘douarg’ declared here 592 | static int douarg(BW *bw, int c, void *object, int *notify) | ^~~~~~ make[1]: *** [Makefile:495: macro.o] Error 1 umath.c: In function ‘get’: umath.c:53:30: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 53 | if (!strcmp(v->name, str)) { | ~^~~~~~ | | | unsigned char * In file included from umath.c:14: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ umath.c:53:38: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 53 | if (!strcmp(v->name, str)) { | ^~~ | | | const unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ umath.c: In function ‘expr’: umath.c:99:28: warning: pointer targets in passing argument 1 of ‘strtod’ differ in signedness [-Wpointer-sign] 99 | x = strtod(ptr, &eptr); | ^~~ | | | unsigned char * In file included from umath.c:13: /usr/include/stdlib.h:118:46: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 118 | extern double strtod (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ umath.c: In function ‘umath’: umath.c:263:50: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 263 | if (wmkpw(bw->parent, UC "=", &mathhist, domath, UC "Math", NULL, NULL, NULL, NULL, locale_map)) { | ^~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} In file included from umath.c:17: pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ umath.c:235:12: note: ‘domath’ declared here 235 | static int domath(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~~ make[1]: *** [Makefile:495: umath.o] Error 1 utag.c: In function ‘dotag’: utag.c:53:29: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 53 | if (!strcmp(s, buf) || (t && !strcmp(t, buf))) { | ^ | | | unsigned char * In file included from vs.h:15, from utag.c:22: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ utag.c:53:32: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 53 | if (!strcmp(s, buf) || (t && !strcmp(t, buf))) { | ^~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ utag.c:53:54: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 53 | if (!strcmp(s, buf) || (t && !strcmp(t, buf))) { | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ utag.c:53:57: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 53 | if (!strcmp(s, buf) || (t && !strcmp(t, buf))) { | ^~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ utag.c: In function ‘utag’: utag.c:135:62: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 135 | pbw = wmkpw(bw->parent, UC "Tag search: ", &taghist, dotag, NULL, NULL, cmplt, NULL, NULL, locale_map); | ^~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} In file included from utag.c:16: pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ utag.c:26:12: note: ‘dotag’ declared here 26 | static int dotag(BW *bw, unsigned char *s, void *obj, int *notify) | ^~~~~ utag.c:135:81: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 135 | pbw = wmkpw(bw->parent, UC "Tag search: ", &taghist, dotag, NULL, NULL, cmplt, NULL, NULL, locale_map); | ^~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ In file included from utag.c:17: tab.h:15:5: note: ‘cmplt’ declared here 15 | int cmplt(BW *bw); | ^~~~~ make[1]: *** [Makefile:495: utag.o] Error 1 tab.c: In function ‘cmplt’: tab.c:340:47: error: passing argument 3 of ‘mkmenu’ from incompatible pointer type [-Wincompatible-pointer-types] 340 | if (l && (new = mkmenu(bw->parent, l, tabrtn, tababrt, tabbacks, which, tab, NULL))) { | ^~~~~~ | | | int (*)(MENU *, int, TAB *) {aka int (*)(struct menu *, int, struct tab *)} In file included from tab.c:18: menu.h:16:50: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(MENU *, int, TAB *)’ {aka ‘int (*)(struct menu *, int, struct tab *)’} 16 | MENU *mkmenu(W *w, unsigned char **s, jpoly_int *func, jpoly_int *abrt, jpoly_int *backs, int cursor, void *object, int *notify); | ~~~~~~~~~~~^~~~ tab.c:188:12: note: ‘tabrtn’ declared here 188 | static int tabrtn(MENU *m, int cursor, TAB *tab) | ^~~~~~ tab.c:340:55: error: passing argument 4 of ‘mkmenu’ from incompatible pointer type [-Wincompatible-pointer-types] 340 | if (l && (new = mkmenu(bw->parent, l, tabrtn, tababrt, tabbacks, which, tab, NULL))) { | ^~~~~~~ | | | int (*)(BW *, int, TAB *) {aka int (*)(struct bw *, int, struct tab *)} menu.h:16:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, TAB *)’ {aka ‘int (*)(struct bw *, int, struct tab *)’} 16 | MENU *mkmenu(W *w, unsigned char **s, jpoly_int *func, jpoly_int *abrt, jpoly_int *backs, int cursor, void *object, int *notify); | ~~~~~~~~~~~^~~~ tab.c:277:12: note: ‘tababrt’ declared here 277 | static int tababrt(BW *bw, int cursor, TAB *tab) | ^~~~~~~ tab.c:340:64: error: passing argument 5 of ‘mkmenu’ from incompatible pointer type [-Wincompatible-pointer-types] 340 | if (l && (new = mkmenu(bw->parent, l, tabrtn, tababrt, tabbacks, which, tab, NULL))) { | ^~~~~~~~ | | | int (*)(MENU *, int, TAB *) {aka int (*)(struct menu *, int, struct tab *)} menu.h:16:84: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(MENU *, int, TAB *)’ {aka ‘int (*)(struct menu *, int, struct tab *)’} 16 | MENU *mkmenu(W *w, unsigned char **s, jpoly_int *func, jpoly_int *abrt, jpoly_int *backs, int cursor, void *object, int *notify); | ~~~~~~~~~~~^~~~~ tab.c:248:12: note: ‘tabbacks’ declared here 248 | static int tabbacks(MENU *m, int cursor, TAB *tab) | ^~~~~~~~ make[1]: *** [Makefile:495: tab.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c uisrch.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ushell.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' uisrch.c: In function ‘itype’: uisrch.c:254:52: error: passing argument 4 of ‘mkqwnsr’ from incompatible pointer type [-Wincompatible-pointer-types] 254 | if (mkqwnsr(bw->parent, sv(isrch->prompt), itype, iabrt, isrch, notify)) { | ^~~~~ | | | int (*)(BW *, int, struct isrch *, int *) {aka int (*)(struct bw *, int, struct isrch *, int *)} In file included from uisrch.c:19: qw.h:21:68: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, struct isrch *, int *)’ {aka ‘int (*)(struct bw *, int, struct isrch *, int *)’} 21 | QW *mkqwnsr(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uisrch.c:109:12: note: ‘itype’ declared here 109 | static int itype(BW *bw, int c, struct isrch *isrch, int *notify) | ^~~~~ uisrch.c:254:59: error: passing argument 5 of ‘mkqwnsr’ from incompatible pointer type [-Wincompatible-pointer-types] 254 | if (mkqwnsr(bw->parent, sv(isrch->prompt), itype, iabrt, isrch, notify)) { | ^~~~~ | | | int (*)(BW *, struct isrch *) {aka int (*)(struct bw *, struct isrch *)} qw.h:21:85: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, struct isrch *)’ {aka ‘int (*)(struct bw *, struct isrch *)’} 21 | QW *mkqwnsr(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uisrch.c:58:12: note: ‘iabrt’ declared here 58 | static int iabrt(BW *bw, struct isrch *isrch) | ^~~~~ make[1]: *** [Makefile:495: uisrch.o] Error 1 ushell.c: In function ‘urun’: ushell.c:169:64: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 169 | if (wmkpw(bw->parent, UC "Program to run: ", &runhist, dorun, UC "Run", NULL, NULL, NULL, NULL, locale_map)) { | ^~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} In file included from ushell.c:20: pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ushell.c:160:12: note: ‘dorun’ declared here 160 | static int dorun(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~ ushell.c: In function ‘ubuild’: ushell.c:186:77: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 186 | if ((bw=wmkpw(bw->parent, UC "Build command: ", &buildhist, dobuild, UC "Run", NULL, NULL, NULL, NULL, locale_map))) { | ^~~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ushell.c:176:12: note: ‘dobuild’ declared here 176 | static int dobuild(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~~~ ushell.c:192:100: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 192 | } else if (wmkpw(bw->parent, UC "Enter build command (for example, 'make'): ", &buildhist, dobuild, UC "Run", NULL, NULL, NULL, NULL, locale_map)) | ^~~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ushell.c:176:12: note: ‘dobuild’ declared here 176 | static int dobuild(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~~~ ushell.c: In function ‘ukillpid’: ushell.c:219:69: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 219 | if (mkqw(bw->parent, sc("Kill program (y,n,^C)? "), pidabort, NULL, NULL, NULL)) { | ^~~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} In file included from ushell.c:21: qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ ushell.c:200:12: note: ‘pidabort’ declared here 200 | static int pidabort(BW *bw, int c, void *object, int *notify) | ^~~~~~~~ make[1]: *** [Makefile:495: ushell.o] Error 1 tty.c: In function ‘ttgetc’: tty.c:641:41: error: too many arguments to function ‘pack.who->func’; expected 0, have 3 641 | pack.who->func(pack.who->object, pack.data, pack.size); | ^~~~ ~~~~~~~~~~~~~~~~ In file included from tty.c:9: types.h:595:21: note: declared here 595 | jpoly_void *func; /* Function to call when read occures */ | ^~~~ tty.c: In function ‘getpty’: tty.c:910:36: warning: pointer targets in passing argument 3 of ‘openpty’ differ in signedness [-Wpointer-sign] 910 | if (openpty(ptyfd, &ttyfd, name, NULL, NULL) == 0) | ^~~~ | | | unsigned char * In file included from tty.c:47: /usr/include/pty.h:36:58: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 36 | extern int openpty (int *__amaster, int *__aslave, char *__name, | ~~~~~~^~~~~~ tty.c: In function ‘mpxmk’: tty.c:1096:17: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(B *, unsigned char *, int)’ {aka ‘void (*)(struct buffer *, unsigned char *, int)’} [-Wincompatible-pointer-types] 1096 | m->func = func; | ^ tty.c:1098:16: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(B *)’ {aka ‘void (*)(struct buffer *)’} [-Wincompatible-pointer-types] 1098 | m->die = die; | ^ tty.c: In function ‘mpxdied’: tty.c:1273:17: error: too many arguments to function ‘m->die’; expected 0, have 1 1273 | m->die(m->dieobj); | ^ ~~~~~~~~~ types.h:597:21: note: declared here 597 | jpoly_void *die; /* Function: call when client dies or closes */ | ^~~ make[1]: *** [Makefile:495: tty.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c tty.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c tw.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' tw.c: In function ‘get_context’: tw.c:133:41: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 133 | strlcpy(buf1,stdbuf,stdsiz); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:524, from /usr/include/sys/types.h:25, from config.h:28, from tw.c:10: /usr/include/bits/string_fortified.h:161:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tw.c:133:46: warning: pointer targets in passing argument 2 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 133 | strlcpy(buf1,stdbuf,stdsiz); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:161:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ tw.c: In function ‘stagen’: tw.c:164:29: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 164 | while ((cp = strstr(ccp, "%a")) != NULL) { | ^~~ | | | const unsigned char * In file included from tw.c:16: /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ tw.c:164:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 164 | while ((cp = strstr(ccp, "%a")) != NULL) { | ^ tw.c:173:46: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 173 | if (!special_aA) while ((cp = strstr(ccp, "%A")) != NULL) { | ^~~ | | | const unsigned char * /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ tw.c:173:37: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 173 | if (!special_aA) while ((cp = strstr(ccp, "%A")) != NULL) { | ^ tw.c: In function ‘uabort’: tw.c:619:82: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 619 | if (mkqw(bw->parent, sc("Lose changes to this file (y,n,^C)? "), naborttw, NULL, NULL, NULL)) | ^~~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} In file included from tw.c:29: qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ tw.c:587:12: note: ‘naborttw’ declared here 587 | static int naborttw(BW *bw, int k, void *object, int *notify) | ^~~~~~~~ tw.c: In function ‘uabort1’: tw.c:645:82: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 645 | if (mkqw(bw->parent, sc("Lose changes to this file (y,n,^C)? "), naborttw1, NULL, NULL, NULL)) | ^~~~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ tw.c:598:12: note: ‘naborttw1’ declared here 598 | static int naborttw1(BW *bw, int k, void *object, int *notify) | ^~~~~~~~~ make[1]: *** [Makefile:495: tw.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c selinux.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ublock.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' In file included from ublock.c:25: ublock.c: In function ‘dofilt’: ublock.c:1003:38: warning: pointer targets in passing argument 1 of ‘slen’ differ in signedness [-Wpointer-sign] 1003 | fname = vsncpy(sv(fname), sz(sh)); | ^~ | | | const char * vs.h:290:25: note: in definition of macro ‘sz’ 290 | #define sz(a) (a), slen(a) | ^ vs.h:183:26: note: expected ‘const sELEMENT *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 183 | int slen(const sELEMENT *ary); | ~~~~~~~~~~~~~~~~^~~ vs.h:290:15: warning: pointer targets in passing argument 3 of ‘vsncpy’ differ in signedness [-Wpointer-sign] 290 | #define sz(a) (a), slen(a) | ^~~ | | | const char * ublock.c:1003:35: note: in expansion of macro ‘sz’ 1003 | fname = vsncpy(sv(fname), sz(sh)); | ^~ vs.h:219:59: note: expected ‘const sELEMENT *’ {aka ‘const unsigned char *’} but argument is of type ‘const char *’ 219 | sELEMENT *vsncpy(sELEMENT *vary, int pos, const sELEMENT *array, int len); | ~~~~~~~~~~~~~~~~^~~~~ ublock.c: In function ‘ufilt’: ublock.c:1120:104: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 1120 | if (wmkpw(bw->parent, UC "Command to filter block through (^C to abort): ", &filthist, dofilt, NULL, NULL, utypebw, NULL, NULL, locale_map)) | ^~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} In file included from ublock.c:18: pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ublock.c:948:12: note: ‘dofilt’ declared here 948 | static int dofilt(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~~ ublock.c:1120:124: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 1120 | if (wmkpw(bw->parent, UC "Command to filter block through (^C to abort): ", &filthist, dofilt, NULL, NULL, utypebw, NULL, NULL, locale_map)) | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(jobject, int)’ 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ In file included from ublock.c:23: uedit.h:54:5: note: ‘utypebw’ declared here 54 | int utypebw(jobject, int k); | ^~~~~~~ ublock.c:1125:103: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 1125 | if (wmkpw(bw->parent, UC "Command to filter file through (^C to abort): ", &filthist, dofilt, NULL, NULL, utypebw, NULL, NULL, locale_map)) | ^~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ublock.c:948:12: note: ‘dofilt’ declared here 948 | static int dofilt(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~~ ublock.c:1125:123: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 1125 | if (wmkpw(bw->parent, UC "Command to filter file through (^C to abort): ", &filthist, dofilt, NULL, NULL, utypebw, NULL, NULL, locale_map)) | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(jobject, int)’ 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ uedit.h:54:5: note: ‘utypebw’ declared here 54 | int utypebw(jobject, int k); | ^~~~~~~ make[1]: *** [Makefile:495: ublock.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c queue.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c builtin.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ufile.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' ufile.c: In function ‘ublksave’: ufile.c:124:94: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 124 | if (wmkpw(bw->parent, UC "Name of file to write (^C to abort): ", &filehist, dowrite, UC "Names", NULL, cmplt, NULL, NULL, locale_map)) { | ^~~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} In file included from ufile.c:35: pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ In file included from ufile.c:41: ublock.h:36:5: note: ‘dowrite’ declared here 36 | int dowrite(BW *bw, unsigned char *s, void *object, int *notify); | ^~~~~~~ ufile.c:124:121: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 124 | if (wmkpw(bw->parent, UC "Name of file to write (^C to abort): ", &filehist, dowrite, UC "Names", NULL, cmplt, NULL, NULL, locale_map)) { | ^~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ In file included from ufile.c:38: tab.h:15:5: note: ‘cmplt’ declared here 15 | int cmplt(BW *bw); | ^~~~~ ufile.c: In function ‘cp’: ufile.c:190:29: warning: pointer targets in passing argument 1 of ‘rename’ differ in signedness [-Wpointer-sign] 190 | if (tmpfn && rename(tmpfn, to)) { | ^~~~~ | | | const unsigned char * In file included from config.h:61, from ufile.c:9: /usr/include/stdio.h:160:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 160 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ufile.c:190:36: warning: pointer targets in passing argument 2 of ‘rename’ differ in signedness [-Wpointer-sign] 190 | if (tmpfn && rename(tmpfn, to)) { | ^~ | | | const unsigned char * /usr/include/stdio.h:160:51: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 160 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ ufile.c:210:31: warning: pointer targets in passing argument 1 of ‘copy_security_context’ differ in signedness [-Wpointer-sign] 210 | copy_security_context(from, to); | ^~~~ | | | const unsigned char * In file included from ufile.c:45: utils.h:82:27: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 82 | int copy_security_context(const char *, const char *); | ^~~~~~~~~~~~ ufile.c:210:37: warning: pointer targets in passing argument 2 of ‘copy_security_context’ differ in signedness [-Wpointer-sign] 210 | copy_security_context(from, to); | ^~ | | | const unsigned char * utils.h:82:41: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 82 | int copy_security_context(const char *, const char *); | ^~~~~~~~~~~~ ufile.c: In function ‘saver’: ufile.c:324:96: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 324 | if (mkqw(bw->parent, sc("Could not make backup file. Save anyway (y,n,^C)? "), saver, NULL, req, notify)) { | ^~~~~ | | | int (*)(BW *, int, struct savereq *, int *) {aka int (*)(struct bw *, int, struct savereq *, int *)} In file included from ufile.c:36: qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, struct savereq *, int *)’ {aka ‘int (*)(struct bw *, int, struct savereq *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ ufile.c:308:12: note: ‘saver’ declared here 308 | static int saver(BW *bw, int c, struct savereq *req, int *notify) | ^~~~~ ufile.c:358:34: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 358 | if (!strcmp(bw->b->name, req->name)) { | ~~~~~^~~~~~ | | | unsigned char * In file included from vs.h:15, from va.h:15, from ufile.c:46: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ufile.c:358:45: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 358 | if (!strcmp(bw->b->name, req->name)) { | ~~~^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ufile.c: In function ‘dosave2’: ufile.c:408:78: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 408 | } else if (mkqw(bw->parent, sc("File exists. Overwrite (y,n,^C)? "), dosave2, NULL, req, notify)) { | ^~~~~~~ | | | int (*)(BW *, int, struct savereq *, int *) {aka int (*)(struct bw *, int, struct savereq *, int *)} qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, struct savereq *, int *)’ {aka ‘int (*)(struct bw *, int, struct savereq *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ ufile.c:397:12: note: ‘dosave2’ declared here 397 | static int dosave2(BW *bw, int c, struct savereq *req, int *notify) | ^~~~~~~ ufile.c: In function ‘dosave2a’: ufile.c:428:88: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 428 | } else if (mkqw(bw->parent, sc("File on disk is newer. Overwrite (y,n,^C)? "), dosave2a, NULL, req, notify)) { | ^~~~~~~~ | | | int (*)(BW *, int, struct savereq *, int *) {aka int (*)(struct bw *, int, struct savereq *, int *)} qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, struct savereq *, int *)’ {aka ‘int (*)(struct bw *, int, struct savereq *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ ufile.c:417:12: note: ‘dosave2a’ declared here 417 | static int dosave2a(BW *bw, int c, struct savereq *req, int *notify) | ^~~~~~~~ ufile.c: In function ‘dosave1’: ufile.c:448:44: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 448 | if (!bw->b->name || strcmp(s, bw->b->name)) { | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ufile.c:448:52: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 448 | if (!bw->b->name || strcmp(s, bw->b->name)) { | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ufile.c: In function ‘usave’: ufile.c:476:87: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 476 | pbw = wmkpw(bw->parent, UC "Name of file to save (^C to abort): ", &filehist, dosave1, UC "Names", NULL, cmplt, mksavereq(NULL,NULL,NULL,0), NULL, locale_map); | ^~~~~~~ | | | int (*)(BW *, unsigned char *, struct savereq *, int *) {aka int (*)(struct bw *, unsigned char *, struct savereq *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, struct savereq *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, struct savereq *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ufile.c:438:12: note: ‘dosave1’ declared here 438 | static int dosave1(BW *bw, unsigned char *s, struct savereq *req, int *notify) | ^~~~~~~ ufile.c:476:114: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 476 | pbw = wmkpw(bw->parent, UC "Name of file to save (^C to abort): ", &filehist, dosave1, UC "Names", NULL, cmplt, mksavereq(NULL,NULL,NULL,0), NULL, locale_map); | ^~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ tab.h:15:5: note: ‘cmplt’ declared here 15 | int cmplt(BW *bw); | ^~~~~ ufile.c: In function ‘doedit1’: ufile.c:513:85: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 513 | if (mkqw(bw->parent, sc("Load original file from disk (y,n,^C)? "), doedit1, NULL, s, notify)) | ^~~~~~~ | | | int (*)(BW *, int, unsigned char *, int *) {aka int (*)(struct bw *, int, unsigned char *, int *)} qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, unsigned char *, int *)’ {aka ‘int (*)(struct bw *, int, unsigned char *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ ufile.c:493:1: note: ‘doedit1’ declared here 493 | doedit1(BW *bw, int c, unsigned char *s, int *notify) | ^~~~~~~ ufile.c: In function ‘uedit’: ufile.c:588:85: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 588 | if (wmkpw(bw->parent, UC "Name of file to edit (^C to abort): ", &filehist, doedit, UC "Names", NULL, cmplt, NULL, NULL, locale_map)) { | ^~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ufile.c:558:1: note: ‘doedit’ declared here 558 | doedit(BW *bw, unsigned char *s, void *obj, int *notify) | ^~~~~~ ufile.c:588:111: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 588 | if (wmkpw(bw->parent, UC "Name of file to edit (^C to abort): ", &filehist, doedit, UC "Names", NULL, cmplt, NULL, NULL, locale_map)) { | ^~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ tab.h:15:5: note: ‘cmplt’ declared here 15 | int cmplt(BW *bw); | ^~~~~ ufile.c: In function ‘uswitch’: ufile.c:603:87: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 603 | if (wmkpw(bw->parent, UC "Name of buffer to edit (^C to abort): ", &filehist, doswitch, UC "Names", NULL, cmplt, NULL, NULL, locale_map)) { | ^~~~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ufile.c:595:5: note: ‘doswitch’ declared here 595 | int doswitch(BW *bw, unsigned char *s, void *obj, int *notify) | ^~~~~~~~ ufile.c:603:115: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 603 | if (wmkpw(bw->parent, UC "Name of buffer to edit (^C to abort): ", &filehist, doswitch, UC "Names", NULL, cmplt, NULL, NULL, locale_map)) { | ^~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ tab.h:15:5: note: ‘cmplt’ declared here 15 | int cmplt(BW *bw); | ^~~~~ ufile.c: In function ‘uscratch’: ufile.c:658:95: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 658 | if (wmkpw(bw->parent, UC "Name of scratch buffer to edit (^C to abort): ", &filehist, doscratch, UC "Names", NULL, cmplt, NULL, NULL, locale_map)) { | ^~~~~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ufile.c:611:1: note: ‘doscratch’ declared here 611 | doscratch(BW *bw, unsigned char *s, void *obj, int *notify) | ^~~~~~~~~ ufile.c:658:124: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 658 | if (wmkpw(bw->parent, UC "Name of scratch buffer to edit (^C to abort): ", &filehist, doscratch, UC "Names", NULL, cmplt, NULL, NULL, locale_map)) { | ^~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ tab.h:15:5: note: ‘cmplt’ declared here 15 | int cmplt(BW *bw); | ^~~~~ ufile.c: In function ‘uinsf’: ufile.c:763:87: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 763 | if (wmkpw(bw->parent, UC "Name of file to insert (^C to abort): ", &filehist, doinsf, UC "Names", NULL, cmplt, NULL, NULL, locale_map)) { | ^~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ublock.h:37:5: note: ‘doinsf’ declared here 37 | int doinsf(BW *bw, unsigned char *s, void *object, int *notify); | ^~~~~~ ufile.c:763:113: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 763 | if (wmkpw(bw->parent, UC "Name of file to insert (^C to abort): ", &filehist, doinsf, UC "Names", NULL, cmplt, NULL, NULL, locale_map)) { | ^~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ tab.h:15:5: note: ‘cmplt’ declared here 15 | int cmplt(BW *bw); | ^~~~~ ufile.c: In function ‘uexsve’: ufile.c:796:99: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 796 | BW *pbw = wmkpw(bw->parent, UC "Name of file to save (^C to abort): ", &filehist, dosave1, UC "Names", NULL, cmplt, mksavereq(exdone,NULL,NULL,1), NULL, locale_map); | ^~~~~~~ | | | int (*)(BW *, unsigned char *, struct savereq *, int *) {aka int (*)(struct bw *, unsigned char *, struct savereq *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, struct savereq *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, struct savereq *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ufile.c:438:12: note: ‘dosave1’ declared here 438 | static int dosave1(BW *bw, unsigned char *s, struct savereq *req, int *notify) | ^~~~~~~ ufile.c:796:126: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 796 | BW *pbw = wmkpw(bw->parent, UC "Name of file to save (^C to abort): ", &filehist, dosave1, UC "Names", NULL, cmplt, mksavereq(exdone,NULL,NULL,1), NULL, locale_map); | ^~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ tab.h:15:5: note: ‘cmplt’ declared here 15 | int cmplt(BW *bw); | ^~~~~ ufile.c: In function ‘nask’: ufile.c:828:82: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 828 | if (mkqw(bw->parent, sc("Save changes to this file (y,n,^C)? "), nask, NULL, object, notify)) { | ^~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ ufile.c:814:12: note: ‘nask’ declared here 814 | static int nask(BW *bw, int c, void *object, int *notify) | ^~~~ ufile.c: In function ‘ulose’: ufile.c:905:82: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 905 | if (mkqw(bw->parent, sc("Lose changes to this file (y,n,^C)? "), dolose, NULL, NULL, NULL)) { | ^~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ ufile.c:849:12: note: ‘dolose’ declared here 849 | static int dolose(BW *bw, int c, void *object, int *notify) | ^~~~~~ ufile.c: In function ‘ubufed’: ufile.c:940:35: error: passing argument 3 of ‘mkmenu’ from incompatible pointer type [-Wincompatible-pointer-types] 940 | if (mkmenu(bw->parent, s, dobuf, abrtb, NULL, 0, s, NULL)) | ^~~~~ | | | int (*)(MENU *, int, unsigned char **) {aka int (*)(struct menu *, int, unsigned char **)} In file included from ufile.c:33: menu.h:16:50: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(MENU *, int, unsigned char **)’ {aka ‘int (*)(struct menu *, int, unsigned char **)’} 16 | MENU *mkmenu(W *w, unsigned char **s, jpoly_int *func, jpoly_int *abrt, jpoly_int *backs, int cursor, void *object, int *notify); | ~~~~~~~~~~~^~~~ ufile.c:917:12: note: ‘dobuf’ declared here 917 | static int dobuf(MENU *m, int x, unsigned char **s) | ^~~~~ ufile.c:940:42: error: passing argument 4 of ‘mkmenu’ from incompatible pointer type [-Wincompatible-pointer-types] 940 | if (mkmenu(bw->parent, s, dobuf, abrtb, NULL, 0, s, NULL)) | ^~~~~ | | | int (*)(MENU *, int, unsigned char **) {aka int (*)(struct menu *, int, unsigned char **)} menu.h:16:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(MENU *, int, unsigned char **)’ {aka ‘int (*)(struct menu *, int, unsigned char **)’} 16 | MENU *mkmenu(W *w, unsigned char **s, jpoly_int *func, jpoly_int *abrt, jpoly_int *backs, int cursor, void *object, int *notify); | ~~~~~~~~~~~^~~~ ufile.c:929:12: note: ‘abrtb’ declared here 929 | static int abrtb(MENU *m, int x, unsigned char **s) | ^~~~~ ufile.c: In function ‘doquerysave’: ufile.c:959:103: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 959 | pbw = wmkpw(bw->parent, UC "Name of file to save (^C to abort): ", &filehist, dosave1, UC "Names", NULL, cmplt, req, notify, locale_map); | ^~~~~~~ | | | int (*)(BW *, unsigned char *, struct savereq *, int *) {aka int (*)(struct bw *, unsigned char *, struct savereq *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, struct savereq *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, struct savereq *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ ufile.c:438:12: note: ‘dosave1’ declared here 438 | static int dosave1(BW *bw, unsigned char *s, struct savereq *req, int *notify) | ^~~~~~~ ufile.c:959:130: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 959 | pbw = wmkpw(bw->parent, UC "Name of file to save (^C to abort): ", &filehist, dosave1, UC "Names", NULL, cmplt, req, notify, locale_map); | ^~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ tab.h:15:5: note: ‘cmplt’ declared here 15 | int cmplt(BW *bw); | ^~~~~ config.h:34:48: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 34 | #define joe_snprintf_1(buf,len,fmt,a) snprintf((buf),(len),(fmt),(a)) | ^~~~~ | | | unsigned char * ufile.c:995:17: note: in expansion of macro ‘joe_snprintf_1’ 995 | joe_snprintf_1(buf, 1024, "File '%s' has been modified. Save it (y,n,^C)? ", bw->b->name ? bw->b->name : UC "(Unnamed)" ); | ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/sys/types.h:25, from config.h:28: /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ ufile.c:996:47: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 996 | if (mkqw(bw->parent, sz(buf), doquerysave, NULL, req, notify)) { | ^~~~~~~~~~~ | | | int (*)(BW *, int, struct savereq *, int *) {aka int (*)(struct bw *, int, struct savereq *, int *)} qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, struct savereq *, int *)’ {aka ‘int (*)(struct bw *, int, struct savereq *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ ufile.c:950:12: note: ‘doquerysave’ declared here 950 | static int doquerysave(BW *bw,int c,struct savereq *req,int *notify) | ^~~~~~~~~~~ make[1]: *** [Makefile:495: ufile.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c usearch.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c cmd.c usearch.c: In function ‘ufinish’: usearch.c:216:45: error: passing argument 3 of ‘mkmenu’ from incompatible pointer type [-Wincompatible-pointer-types] 216 | m = mkmenu(bw->parent, lst, fcmplt_rtn, fcmplt_abrt, NULL, 0, line, NULL); | ^~~~~~~~~~ | | | int (*)(MENU *, int, unsigned char *) {aka int (*)(struct menu *, int, unsigned char *)} In file included from usearch.c:32: menu.h:16:50: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(MENU *, int, unsigned char *)’ {aka ‘int (*)(struct menu *, int, unsigned char *)’} 16 | MENU *mkmenu(W *w, unsigned char **s, jpoly_int *func, jpoly_int *abrt, jpoly_int *backs, int cursor, void *object, int *notify); | ~~~~~~~~~~~^~~~ usearch.c:153:1: note: ‘fcmplt_rtn’ declared here 153 | fcmplt_rtn(MENU *m, int x, unsigned char *line) | ^~~~~~~~~~ usearch.c:216:57: error: passing argument 4 of ‘mkmenu’ from incompatible pointer type [-Wincompatible-pointer-types] 216 | m = mkmenu(bw->parent, lst, fcmplt_rtn, fcmplt_abrt, NULL, 0, line, NULL); | ^~~~~~~~~~~ | | | int (*)(BW *, int, unsigned char *) {aka int (*)(struct bw *, int, unsigned char *)} menu.h:16:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, unsigned char *)’ {aka ‘int (*)(struct bw *, int, unsigned char *)’} 16 | MENU *mkmenu(W *w, unsigned char **s, jpoly_int *func, jpoly_int *abrt, jpoly_int *backs, int cursor, void *object, int *notify); | ~~~~~~~~~~~^~~~ usearch.c:143:1: note: ‘fcmplt_abrt’ declared here 143 | fcmplt_abrt(BW *bw, int x, unsigned char *line) | ^~~~~~~~~~~ usearch.c: In function ‘set_options’: usearch.c:582:85: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 582 | if (wmkpw(bw->parent, UC "Replace with (^C to abort): ", &replhist, set_replace, srchstr, pfabort, srch_cmplt, srch, notify, bw->b->o.charmap)) | ^~~~~~~~~~~ | | | int (*)(BW *, unsigned char *, SRCH *, int *) {aka int (*)(struct bw *, unsigned char *, struct search *, int *)} In file included from usearch.c:18: pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, SRCH *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, struct search *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ usearch.c:535:12: note: ‘set_replace’ declared here 535 | static int set_replace(BW *bw, unsigned char *s, SRCH *srch, int *notify) | ^~~~~~~~~~~ usearch.c:582:107: error: passing argument 6 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 582 | if (wmkpw(bw->parent, UC "Replace with (^C to abort): ", &replhist, set_replace, srchstr, pfabort, srch_cmplt, srch, notify, bw->b->o.charmap)) | ^~~~~~~ | | | int (*)(BW *, SRCH *) {aka int (*)(struct bw *, struct search *)} pw.h:19:113: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, SRCH *)’ {aka ‘int (*)(struct bw *, struct search *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ usearch.c:497:12: note: ‘pfabort’ declared here 497 | static int pfabort(BW *bw, SRCH *srch) | ^~~~~~~ usearch.c:582:116: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 582 | if (wmkpw(bw->parent, UC "Replace with (^C to abort): ", &replhist, set_replace, srchstr, pfabort, srch_cmplt, srch, notify, bw->b->o.charmap)) | ^~~~~~~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ usearch.c:244:12: note: ‘srch_cmplt’ declared here 244 | static int srch_cmplt(BW *bw) | ^~~~~~~~~~ usearch.c: In function ‘set_pattern’: usearch.c:602:47: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 602 | if ((pbw = wmkpw(bw->parent, p, NULL, set_options, srchstr, pfabort, utypebw, srch, notify, bw->b->o.charmap)) != NULL) { | ^~~~~~~~~~~ | | | int (*)(BW *, unsigned char *, SRCH *, int *) {aka int (*)(struct bw *, unsigned char *, struct search *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, SRCH *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, struct search *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ usearch.c:541:12: note: ‘set_options’ declared here 541 | static int set_options(BW *bw, unsigned char *s, SRCH *srch, int *notify) | ^~~~~~~~~~~ usearch.c:602:69: error: passing argument 6 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 602 | if ((pbw = wmkpw(bw->parent, p, NULL, set_options, srchstr, pfabort, utypebw, srch, notify, bw->b->o.charmap)) != NULL) { | ^~~~~~~ | | | int (*)(BW *, SRCH *) {aka int (*)(struct bw *, struct search *)} pw.h:19:113: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, SRCH *)’ {aka ‘int (*)(struct bw *, struct search *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ usearch.c:497:12: note: ‘pfabort’ declared here 497 | static int pfabort(BW *bw, SRCH *srch) | ^~~~~~~ usearch.c:602:78: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 602 | if ((pbw = wmkpw(bw->parent, p, NULL, set_options, srchstr, pfabort, utypebw, srch, notify, bw->b->o.charmap)) != NULL) { | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(jobject, int)’ 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ In file included from usearch.c:23: uedit.h:54:5: note: ‘utypebw’ declared here 54 | int utypebw(jobject, int k); | ^~~~~~~ usearch.c: In function ‘dofirst’: usearch.c:653:69: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 653 | if (wmkpw(bw->parent, UC "Find (^C to abort): ", &findhist, set_pattern, srchstr, pfabort, srch_cmplt, srch, NULL, bw->b->o.charmap)) | ^~~~~~~~~~~ | | | int (*)(BW *, unsigned char *, SRCH *, int *) {aka int (*)(struct bw *, unsigned char *, struct search *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, SRCH *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, struct search *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ usearch.c:590:12: note: ‘set_pattern’ declared here 590 | static int set_pattern(BW *bw, unsigned char *s, SRCH *srch, int *notify) | ^~~~~~~~~~~ usearch.c:653:91: error: passing argument 6 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 653 | if (wmkpw(bw->parent, UC "Find (^C to abort): ", &findhist, set_pattern, srchstr, pfabort, srch_cmplt, srch, NULL, bw->b->o.charmap)) | ^~~~~~~ | | | int (*)(BW *, SRCH *) {aka int (*)(struct bw *, struct search *)} pw.h:19:113: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, SRCH *)’ {aka ‘int (*)(struct bw *, struct search *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ usearch.c:497:12: note: ‘pfabort’ declared here 497 | static int pfabort(BW *bw, SRCH *srch) | ^~~~~~~ usearch.c:653:100: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 653 | if (wmkpw(bw->parent, UC "Find (^C to abort): ", &findhist, set_pattern, srchstr, pfabort, srch_cmplt, srch, NULL, bw->b->o.charmap)) | ^~~~~~~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ usearch.c:244:12: note: ‘srch_cmplt’ declared here 244 | static int srch_cmplt(BW *bw) | ^~~~~~~~~~ usearch.c: In function ‘dopfrepl’: usearch.c:759:97: error: passing argument 4 of ‘mkqwnsr’ from incompatible pointer type [-Wincompatible-pointer-types] 759 | if (mkqwnsr(bw->parent, sc("Replace (Y)es (N)o (L)ast (R)est (B)ackup (^C to abort)?"), dopfrepl, pfsave, srch, notify)) | ^~~~~~~~ | | | int (*)(BW *, int, SRCH *, int *) {aka int (*)(struct bw *, int, struct search *, int *)} In file included from usearch.c:20: qw.h:21:68: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, SRCH *, int *)’ {aka ‘int (*)(struct bw *, int, struct search *, int *)’} 21 | QW *mkqwnsr(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ usearch.c:733:12: note: ‘dopfrepl’ declared here 733 | static int dopfrepl(BW *bw, int c, SRCH *srch, int *notify) | ^~~~~~~~ usearch.c:759:107: error: passing argument 5 of ‘mkqwnsr’ from incompatible pointer type [-Wincompatible-pointer-types] 759 | if (mkqwnsr(bw->parent, sc("Replace (Y)es (N)o (L)ast (R)est (B)ackup (^C to abort)?"), dopfrepl, pfsave, srch, notify)) | ^~~~~~ | | | int (*)(BW *, SRCH *) {aka int (*)(struct bw *, struct search *)} qw.h:21:85: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, SRCH *)’ {aka ‘int (*)(struct bw *, struct search *)’} 21 | QW *mkqwnsr(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ usearch.c:505:12: note: ‘pfsave’ declared here 505 | static int pfsave(BW *bw, SRCH *srch) | ^~~~~~ make[1]: *** [Makefile:495: usearch.o] Error 1 cmd.c: In function ‘ukeymap’: cmd.c:88:13: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 88 | do_keymap, NULL, NULL, utypebw, NULL, NULL, locale_map)) { | ^~~~~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} In file included from cmd.c:28: pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ cmd.c:64:12: note: ‘do_keymap’ declared here 64 | static int do_keymap(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~~~~~ cmd.c:88:36: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 88 | do_keymap, NULL, NULL, utypebw, NULL, NULL, locale_map)) { | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(jobject, int)’ 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ In file included from cmd.c:33: uedit.h:54:5: note: ‘utypebw’ declared here 54 | int utypebw(jobject, int k); | ^~~~~~~ cmd.c: At top level: cmd.c:112:52: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 112 | C("abendjoe", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uabendjoe, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:112:52: note: (near initialization for ‘cmds[0].func’) 112 | C("abendjoe", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uabendjoe, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:35: ufile.h:36:5: note: ‘uabendjoe’ declared here 36 | int uabendjoe(BW *bw); | ^~~~~~~~~ cmd.c:113:49: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *, int)’ {aka ‘int (*)(struct bw *, int)’} [-Wincompatible-pointer-types] 113 | C("abort", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uabort, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:113:49: note: (near initialization for ‘cmds[1].func’) 113 | C("abort", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uabort, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:31: tw.h:23:5: note: ‘uabort’ declared here 23 | int uabort(BW *bw, int k); | ^~~~~~ cmd.c:114:23: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 114 | C("abortbuf", TYPETW, uabortbuf, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:114:23: note: (near initialization for ‘cmds[2].func’) 114 | C("abortbuf", TYPETW, uabortbuf, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:21:5: note: ‘uabortbuf’ declared here 21 | int uabortbuf(BW *bw); | ^~~~~~~~~ cmd.c:115:47: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 115 | C("arg", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uarg, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:115:47: note: (near initialization for ‘cmds[3].func’) 115 | C("arg", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uarg, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:23: macro.h:45:5: note: ‘uarg’ declared here 45 | int uarg(BW *bw); | ^~~~ cmd.c:116:27: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 116 | C("ask", TYPETW + TYPEPW, uask, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:116:27: note: (near initialization for ‘cmds[4].func’) 116 | C("ask", TYPETW + TYPEPW, uask, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:29:5: note: ‘uask’ declared here 29 | int uask(BW *bw); | ^~~~ cmd.c:117:75: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *, int)’ {aka ‘int (*)(struct bw *, int)’} [-Wincompatible-pointer-types] 117 | C("backs", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EMINOR + EKILL + EMOD, ubacks, NULL, 1, "delch"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:117:75: note: (near initialization for ‘cmds[5].func’) 117 | C("backs", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EMINOR + EKILL + EMOD, ubacks, NULL, 1, "delch"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:47:5: note: ‘ubacks’ declared here 47 | int ubacks(BW *bw, int k); | ^~~~~~ cmd.c:118:26: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 118 | C("backsmenu", TYPEMENU, umbacks, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:118:26: note: (near initialization for ‘cmds[6].func’) 118 | C("backsmenu", TYPEMENU, umbacks, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:25: menu.h:31:5: note: ‘umbacks’ declared here 31 | int umbacks(MENU *m); | ^~~~~~~ cmd.c:119:66: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 119 | C("backw", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EKILL + EMOD, ubackw, NULL, 1, "delw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:119:66: note: (near initialization for ‘cmds[7].func’) 119 | C("backw", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EKILL + EMOD, ubackw, NULL, 1, "delw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:49:5: note: ‘ubackw’ declared here 49 | int ubackw(BW *bw); | ^~~~~~ cmd.c:121:37: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 121 | C("begin_marking", TYPETW + TYPEPW, ubegin_marking, NULL, 0, NULL), | ^~~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:121:37: note: (near initialization for ‘cmds[9].func’) 121 | C("begin_marking", TYPETW + TYPEPW, ubegin_marking, NULL, 0, NULL), | ^~~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:32: ublock.h:45:5: note: ‘ubegin_marking’ declared here 45 | int ubegin_marking(BW *bw); | ^~~~~~~~~~~~~~ cmd.c:122:28: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 122 | C("bknd", TYPETW + TYPEPW, ubknd, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:122:28: note: (near initialization for ‘cmds[10].func’) 122 | C("bknd", TYPETW + TYPEPW, ubknd, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:41: ushell.h:14:5: note: ‘ubknd’ declared here 14 | int ubknd(BW *bw); | ^~~~~ cmd.c:123:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *, int)’ {aka ‘int (*)(struct bw *, int)’} [-Wincompatible-pointer-types] 123 | C("bkwdc", TYPETW + TYPEPW, ubkwdc, NULL, 1, "fwrdc"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:123:29: note: (near initialization for ‘cmds[11].func’) 123 | C("bkwdc", TYPETW + TYPEPW, ubkwdc, NULL, 1, "fwrdc"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:63:5: note: ‘ubkwdc’ declared here 63 | int ubkwdc(BW *bw, int k); | ^~~~~~ cmd.c:124:57: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 124 | C("blkcpy", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ublkcpy, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:124:57: note: (near initialization for ‘cmds[12].func’) 124 | C("blkcpy", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ublkcpy, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:35:5: note: ‘ublkcpy’ declared here 35 | int ublkcpy(BW *bw); | ^~~~~~~ cmd.c:125:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 125 | C("blkdel", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD + EBLOCK, ublkdel, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:125:65: note: (near initialization for ‘cmds[13].func’) 125 | C("blkdel", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD + EBLOCK, ublkdel, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:32:5: note: ‘ublkdel’ declared here 32 | int ublkdel(BW *bw); | ^~~~~~~ cmd.c:126:58: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 126 | C("blkmove", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ublkmove, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:126:58: note: (near initialization for ‘cmds[14].func’) 126 | C("blkmove", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ublkmove, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:34:5: note: ‘ublkmove’ declared here 34 | int ublkmove(BW *bw); | ^~~~~~~~ cmd.c:127:40: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 127 | C("blksave", TYPETW + TYPEPW + EBLOCK, ublksave, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:127:40: note: (near initialization for ‘cmds[15].func’) 127 | C("blksave", TYPETW + TYPEPW + EBLOCK, ublksave, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:19:5: note: ‘ublksave’ declared here 19 | int ublksave(BW *bw); | ^~~~~~~~ cmd.c:128:46: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 128 | C("bof", TYPETW + TYPEPW + EMOVE + EFIXXCOL, u_goto_bof, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:128:46: note: (near initialization for ‘cmds[16].func’) 128 | C("bof", TYPETW + TYPEPW + EMOVE + EFIXXCOL, u_goto_bof, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:24:5: note: ‘u_goto_bof’ declared here 24 | int u_goto_bof(BW *bw); /* move cursor to beginning of file */ | ^~~~~~~~~~ cmd.c:129:24: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 129 | C("bofmenu", TYPEMENU, umbof, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:129:24: note: (near initialization for ‘cmds[17].func’) 129 | C("bofmenu", TYPEMENU, umbof, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:27:5: note: ‘umbof’ declared here 27 | int umbof(MENU *m); | ^~~~~ cmd.c:130:38: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 130 | C("bol", TYPETW + TYPEPW + EFIXXCOL, u_goto_bol, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:130:38: note: (near initialization for ‘cmds[18].func’) 130 | C("bol", TYPETW + TYPEPW + EFIXXCOL, u_goto_bol, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:22:5: note: ‘u_goto_bol’ declared here 22 | int u_goto_bol(BW *bw); /* move cursor to beginning of line */ | ^~~~~~~~~~ cmd.c:131:24: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 131 | C("bolmenu", TYPEMENU, umbol, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:131:24: note: (near initialization for ‘cmds[19].func’) 131 | C("bolmenu", TYPEMENU, umbol, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:29:5: note: ‘umbol’ declared here 29 | int umbol(MENU *m); | ^~~~~ cmd.c:132:38: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 132 | C("bop", TYPETW + TYPEPW + EFIXXCOL, ubop, NULL, 1, "eop"), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:132:38: note: (near initialization for ‘cmds[20].func’) 132 | C("bop", TYPETW + TYPEPW + EFIXXCOL, ubop, NULL, 1, "eop"), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:36: uformat.h:18:5: note: ‘ubop’ declared here 18 | int ubop(BW *bw); | ^~~~ cmd.c:133:35: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 133 | C("bos", TYPETW + TYPEPW + EMOVE, ubos, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:133:35: note: (near initialization for ‘cmds[21].func’) 133 | C("bos", TYPETW + TYPEPW + EMOVE, ubos, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:38:5: note: ‘ubos’ declared here 38 | int ubos(BW *bw); | ^~~~ cmd.c:134:20: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 134 | C("bufed", TYPETW, ubufed, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:134:20: note: (near initialization for ‘cmds[22].func’) 134 | C("bufed", TYPETW, ubufed, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:30:5: note: ‘ubufed’ declared here 30 | int ubufed(BW *bw); | ^~~~~~ cmd.c:135:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 135 | C("build", TYPETW + TYPEPW, ubuild, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:135:29: note: (near initialization for ‘cmds[23].func’) 135 | C("build", TYPETW + TYPEPW, ubuild, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ushell.h:17:5: note: ‘ubuild’ declared here 17 | int ubuild(BW *bw); | ^~~~~~ cmd.c:136:28: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 136 | C("byte", TYPETW + TYPEPW, ubyte, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:136:28: note: (near initialization for ‘cmds[24].func’) 136 | C("byte", TYPETW + TYPEPW, ubyte, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:68:5: note: ‘ubyte’ declared here 68 | int ubyte(BW *bw); | ^~~~~ cmd.c:137:50: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *, int)’ {aka ‘int (*)(struct bw *, int)’} [-Wincompatible-pointer-types] 137 | C("cancel", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ucancel, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:137:50: note: (near initialization for ‘cmds[25].func’) 137 | C("cancel", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ucancel, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:22:5: note: ‘ucancel’ declared here 22 | int ucancel(BW *bw, int k); | ^~~~~~~ cmd.c:138:48: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 138 | C("center", TYPETW + TYPEPW + EFIXXCOL + EMOD, ucenter, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:138:48: note: (near initialization for ‘cmds[26].func’) 138 | C("center", TYPETW + TYPEPW + EFIXXCOL + EMOD, ucenter, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uformat.h:15:5: note: ‘ucenter’ declared here 15 | int ucenter(BW *bw); | ^~~~~~~ cmd.c:139:27: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 139 | C("col", TYPETW + TYPEPW, ucol, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:139:27: note: (near initialization for ‘cmds[27].func’) 139 | C("col", TYPETW + TYPEPW, ucol, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:69:5: note: ‘ucol’ declared here 69 | int ucol(BW *bw); | ^~~~ cmd.c:140:39: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *, int)’ {aka ‘int (*)(struct bw *, int)’} [-Wincompatible-pointer-types] 140 | C("complete", TYPEPW + EMINOR + EMOD, ucmplt, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:140:39: note: (near initialization for ‘cmds[28].func’) 140 | C("complete", TYPEPW + EMINOR + EMOD, ucmplt, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ pw.h:21:5: note: ‘ucmplt’ declared here 21 | int ucmplt(BW *bw, int k); | ^~~~~~ cmd.c:141:28: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 141 | C("copy", TYPETW + TYPEPW, ucopy, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:141:28: note: (near initialization for ‘cmds[29].func’) 141 | C("copy", TYPETW + TYPEPW, ucopy, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:39: undo.h:30:5: note: ‘ucopy’ declared here 30 | int ucopy(BW *bw); | ^~~~~ cmd.c:142:30: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 142 | C("crawll", TYPETW + TYPEPW, ucrawll, NULL, 1, "crawlr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:142:30: note: (near initialization for ‘cmds[30].func’) 142 | C("crawll", TYPETW + TYPEPW, ucrawll, NULL, 1, "crawlr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:18: bw.h:28:5: note: ‘ucrawll’ declared here 28 | int ucrawll(BW *bw); | ^~~~~~~ cmd.c:143:30: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 143 | C("crawlr", TYPETW + TYPEPW, ucrawlr, NULL, 1, "crawll"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:143:30: note: (near initialization for ‘cmds[31].func’) 143 | C("crawlr", TYPETW + TYPEPW, ucrawlr, NULL, 1, "crawll"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ bw.h:29:5: note: ‘ucrawlr’ declared here 29 | int ucrawlr(BW *bw); | ^~~~~~~ cmd.c:144:35: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 144 | C("ctrl", TYPETW + TYPEPW + EMOD, uctrl, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:144:35: note: (near initialization for ‘cmds[32].func’) 144 | C("ctrl", TYPETW + TYPEPW + EMOD, uctrl, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:65:5: note: ‘uctrl’ declared here 65 | int uctrl(BW *bw); | ^~~~~ cmd.c:145:56: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 145 | C("delbol", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, udelbl, NULL, 1, "deleol"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:145:56: note: (near initialization for ‘cmds[33].func’) 145 | C("delbol", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, udelbl, NULL, 1, "deleol"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:51:5: note: ‘udelbl’ declared here 51 | int udelbl(BW *bw); | ^~~~~~ cmd.c:146:75: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 146 | C("delch", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EMINOR + EKILL + EMOD, udelch, NULL, 1, "backs"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:146:75: note: (near initialization for ‘cmds[34].func’) 146 | C("delch", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EMINOR + EKILL + EMOD, udelch, NULL, 1, "backs"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:46:5: note: ‘udelch’ declared here 46 | int udelch(BW *bw); | ^~~~~~ cmd.c:147:45: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 147 | C("deleol", TYPETW + TYPEPW + EKILL + EMOD, udelel, NULL, 1, "delbol"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:147:45: note: (near initialization for ‘cmds[35].func’) 147 | C("deleol", TYPETW + TYPEPW + EKILL + EMOD, udelel, NULL, 1, "delbol"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:50:5: note: ‘udelel’ declared here 50 | int udelel(BW *bw); | ^~~~~~ cmd.c:148:56: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 148 | C("dellin", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, udelln, NULL, 1, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:148:56: note: (near initialization for ‘cmds[36].func’) 148 | C("dellin", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, udelln, NULL, 1, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:52:5: note: ‘udelln’ declared here 52 | int udelln(BW *bw); | ^~~~~~ cmd.c:149:65: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 149 | C("delw", TYPETW + TYPEPW + EFIXXCOL + ECHKXCOL + EKILL + EMOD, u_word_delete, NULL, 1, "backw"), | ^~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:149:65: note: (near initialization for ‘cmds[37].func’) 149 | C("delw", TYPETW + TYPEPW + EFIXXCOL + ECHKXCOL + EKILL + EMOD, u_word_delete, NULL, 1, "backw"), | ^~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:48:5: note: ‘u_word_delete’ declared here 48 | int u_word_delete(BW *bw); | ^~~~~~~~~~~~~ cmd.c:150:37: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 150 | C("dnarw", TYPETW + TYPEPW + EMOVE, udnarw, NULL, 1, "uparw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:150:37: note: (near initialization for ‘cmds[38].func’) 150 | C("dnarw", TYPETW + TYPEPW + EMOVE, udnarw, NULL, 1, "uparw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:36:5: note: ‘udnarw’ declared here 36 | int udnarw(BW *bw); | ^~~~~~ cmd.c:151:26: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 151 | C("dnarwmenu", TYPEMENU, umdnarw, NULL, 1, "uparwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:151:26: note: (near initialization for ‘cmds[39].func’) 151 | C("dnarwmenu", TYPEMENU, umdnarw, NULL, 1, "uparwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:21:5: note: ‘umdnarw’ declared here 21 | int umdnarw(MENU *m); | ^~~~~~~ cmd.c:152:59: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 152 | C("dnslide", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, udnslide, NULL, 1, "upslide"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:152:59: note: (near initialization for ‘cmds[40].func’) 152 | C("dnslide", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, udnslide, NULL, 1, "upslide"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:44:5: note: ‘udnslide’ declared here 44 | int udnslide(BW *bw); | ^~~~~~~~ cmd.c:153:28: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 153 | C("drop", TYPETW + TYPEPW, udrop, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:153:28: note: (near initialization for ‘cmds[41].func’) 153 | C("drop", TYPETW + TYPEPW, udrop, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:43:5: note: ‘udrop’ declared here 43 | int udrop(BW *bw); | ^~~~~ cmd.c:154:19: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 154 | C("dupw", TYPETW, uduptw, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:154:19: note: (near initialization for ‘cmds[42].func’) 154 | C("dupw", TYPETW, uduptw, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:18:5: note: ‘uduptw’ declared here 18 | int uduptw(BW *bw); | ^~~~~~ cmd.c:155:19: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 155 | C("edit", TYPETW, uedit, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:155:19: note: (near initialization for ‘cmds[43].func’) 155 | C("edit", TYPETW, uedit, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:22:5: note: ‘uedit’ declared here 22 | int uedit(BW *bw); | ^~~~~ cmd.c:156:46: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 156 | C("eof", TYPETW + TYPEPW + EFIXXCOL + EMOVE, u_goto_eof, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:156:46: note: (near initialization for ‘cmds[44].func’) 156 | C("eof", TYPETW + TYPEPW + EFIXXCOL + EMOVE, u_goto_eof, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:25:5: note: ‘u_goto_eof’ declared here 25 | int u_goto_eof(BW *bw); /* move cursor to end of file */ | ^~~~~~~~~~ cmd.c:157:24: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 157 | C("eofmenu", TYPEMENU, umeof, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:157:24: note: (near initialization for ‘cmds[45].func’) 157 | C("eofmenu", TYPEMENU, umeof, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:28:5: note: ‘umeof’ declared here 28 | int umeof(MENU *m); | ^~~~~ cmd.c:158:38: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 158 | C("eol", TYPETW + TYPEPW + EFIXXCOL, u_goto_eol, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:158:38: note: (near initialization for ‘cmds[46].func’) 158 | C("eol", TYPETW + TYPEPW + EFIXXCOL, u_goto_eol, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:23:5: note: ‘u_goto_eol’ declared here 23 | int u_goto_eol(BW *bw); /* move cursor to end of line */ | ^~~~~~~~~~ cmd.c:159:24: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 159 | C("eolmenu", TYPEMENU, umeol, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:159:24: note: (near initialization for ‘cmds[47].func’) 159 | C("eolmenu", TYPEMENU, umeol, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:30:5: note: ‘umeol’ declared here 30 | int umeol(MENU *m); | ^~~~~ cmd.c:160:38: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 160 | C("eop", TYPETW + TYPEPW + EFIXXCOL, ueop, NULL, 1, "bop"), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:160:38: note: (near initialization for ‘cmds[48].func’) 160 | C("eop", TYPETW + TYPEPW + EFIXXCOL, ueop, NULL, 1, "bop"), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uformat.h:19:5: note: ‘ueop’ declared here 19 | int ueop(BW *bw); | ^~~~ cmd.c:161:30: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 161 | C("execmd", TYPETW + TYPEPW, uexecmd, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:161:30: note: (near initialization for ‘cmds[49].func’) 161 | C("execmd", TYPETW + TYPEPW, uexecmd, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:52:5: note: ‘uexecmd’ declared here 52 | int uexecmd(BW *bw); | ^~~~~~~ cmd.c:162:51: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 162 | C("explode", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uexpld, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:162:51: note: (near initialization for ‘cmds[50].func’) 162 | C("explode", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uexpld, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:47: w.h:162:5: note: ‘uexpld’ declared here 162 | int uexpld(BASE *bw); /* Explode current window or show all windows */ | ^~~~~~ cmd.c:163:30: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 163 | C("exsave", TYPETW + TYPEPW, uexsve, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:163:30: note: (near initialization for ‘cmds[51].func’) 163 | C("exsave", TYPETW + TYPEPW, uexsve, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:26:5: note: ‘uexsve’ declared here 26 | int uexsve(BW *bw); | ^~~~~~ cmd.c:164:30: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 164 | C("ffirst", TYPETW + TYPEPW, pffirst, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:164:30: note: (near initialization for ‘cmds[52].func’) 164 | C("ffirst", TYPETW + TYPEPW, pffirst, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:40: usearch.h:20:5: note: ‘pffirst’ declared here 20 | int pffirst(BW *bw); | ^~~~~~~ cmd.c:165:44: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 165 | C("filt", TYPETW + TYPEPW + EMOD + EBLOCK, ufilt, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:165:44: note: (near initialization for ‘cmds[53].func’) 165 | C("filt", TYPETW + TYPEPW + EMOD + EBLOCK, ufilt, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:41:5: note: ‘ufilt’ declared here 41 | int ufilt(BW *bw); | ^~~~~ cmd.c:166:37: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 166 | C("finish", TYPETW + TYPEPW + EMOD, ufinish, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:166:37: note: (near initialization for ‘cmds[54].func’) 166 | C("finish", TYPETW + TYPEPW + EMOD, ufinish, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ usearch.h:26:5: note: ‘ufinish’ declared here 26 | int ufinish(BW *bw); | ^~~~~~~ cmd.c:167:59: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 167 | C("fmtblk", TYPETW + EMOD + EFIXXCOL + EBLOCK + ECHK0COL, ufmtblk, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:167:59: note: (near initialization for ‘cmds[55].func’) 167 | C("fmtblk", TYPETW + EMOD + EFIXXCOL + EBLOCK + ECHK0COL, ufmtblk, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uformat.h:22:5: note: ‘ufmtblk’ declared here 22 | int ufmtblk(BW *bw); | ^~~~~~~ cmd.c:168:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 168 | C("fnext", TYPETW + TYPEPW, pfnext, NULL, 1, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:168:29: note: (near initialization for ‘cmds[56].func’) 168 | C("fnext", TYPETW + TYPEPW, pfnext, NULL, 1, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ usearch.h:21:5: note: ‘pfnext’ declared here 21 | int pfnext(BW *bw); | ^~~~~~ cmd.c:169:59: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 169 | C("format", TYPETW + TYPEPW + EFIXXCOL + EMOD + ECHK0COL, uformat, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:169:59: note: (near initialization for ‘cmds[57].func’) 169 | C("format", TYPETW + TYPEPW + EFIXXCOL + EMOD + ECHK0COL, uformat, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uformat.h:21:5: note: ‘uformat’ declared here 21 | int uformat(BW *bw); | ^~~~~~~ cmd.c:170:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *, int)’ {aka ‘int (*)(struct bw *, int)’} [-Wincompatible-pointer-types] 170 | C("fwrdc", TYPETW + TYPEPW, ufwrdc, NULL, 1, "bkwdc"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:170:29: note: (near initialization for ‘cmds[58].func’) 170 | C("fwrdc", TYPETW + TYPEPW, ufwrdc, NULL, 1, "bkwdc"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:62:5: note: ‘ufwrdc’ declared here 62 | int ufwrdc(BW *bw, int k); | ^~~~~~ cmd.c:171:38: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *, int)’ {aka ‘int (*)(struct bw *, int)’} [-Wincompatible-pointer-types] 171 | C("gomark", TYPETW + TYPEPW + EMOVE, ugomark, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:171:38: note: (near initialization for ‘cmds[59].func’) 171 | C("gomark", TYPETW + TYPEPW + EMOVE, ugomark, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:61:5: note: ‘ugomark’ declared here 61 | int ugomark(BW *bw, int c); | ^~~~~~~ cmd.c:172:20: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 172 | C("groww", TYPETW, ugroww, NULL, 1, "shrinkw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:172:20: note: (near initialization for ‘cmds[60].func’) 172 | C("groww", TYPETW, ugroww, NULL, 1, "shrinkw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:161:5: note: ‘ugroww’ declared here 161 | int ugroww(BASE *bw); /* Grow current window */ | ^~~~~~ cmd.c:173:37: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 173 | C("help", TYPETW + TYPEPW + TYPEQW, u_help, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:173:37: note: (near initialization for ‘cmds[61].func’) 173 | C("help", TYPETW + TYPEPW + TYPEQW, u_help, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:21: help.h:24:5: note: ‘u_help’ declared here 24 | int u_help(BASE *base); /* toggle help on/off */ | ^~~~~~ cmd.c:174:41: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 174 | C("helpcard", TYPETW + TYPEPW + TYPEQW, u_helpcard, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:174:41: note: (near initialization for ‘cmds[62].func’) 174 | C("helpcard", TYPETW + TYPEPW + TYPEQW, u_helpcard, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ help.h:25:5: note: ‘u_helpcard’ declared here 25 | int u_helpcard(BASE *base); /* enable help at screen */ | ^~~~~~~~~~ cmd.c:175:38: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 175 | C("hnext", TYPETW + TYPEPW + TYPEQW, u_help_next, NULL, 0, NULL), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:175:38: note: (near initialization for ‘cmds[63].func’) 175 | C("hnext", TYPETW + TYPEPW + TYPEQW, u_help_next, NULL, 0, NULL), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ help.h:26:5: note: ‘u_help_next’ declared here 26 | int u_help_next(BASE *base); /* goto next help screen */ | ^~~~~~~~~~~ cmd.c:176:39: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 176 | C("home", TYPETW + TYPEPW + EFIXXCOL, uhome, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:176:39: note: (near initialization for ‘cmds[64].func’) 176 | C("home", TYPETW + TYPEPW + EFIXXCOL, uhome, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:71:5: note: ‘uhome’ declared here 71 | int uhome(BW *bw); | ^~~~~ cmd.c:177:38: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 177 | C("hprev", TYPETW + TYPEPW + TYPEQW, u_help_prev, NULL, 0, NULL), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:177:38: note: (near initialization for ‘cmds[65].func’) 177 | C("hprev", TYPETW + TYPEPW + TYPEQW, u_help_prev, NULL, 0, NULL), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ help.h:27:5: note: ‘u_help_prev’ declared here 27 | int u_help_prev(BASE *base); /* goto prev help screen */ | ^~~~~~~~~~~ cmd.c:178:46: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 178 | C("insc", TYPETW + TYPEPW + EFIXXCOL + EMOD, uinsc, NULL, 1, "delch"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:178:46: note: (near initialization for ‘cmds[66].func’) 178 | C("insc", TYPETW + TYPEPW + EFIXXCOL + EMOD, uinsc, NULL, 1, "delch"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:53:5: note: ‘uinsc’ declared here 53 | int uinsc(BW *bw); | ^~~~~ cmd.c:179:35: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 179 | C("insf", TYPETW + TYPEPW + EMOD, uinsf, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:179:35: note: (near initialization for ‘cmds[67].func’) 179 | C("insf", TYPETW + TYPEPW + EMOD, uinsf, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:25:5: note: ‘uinsf’ declared here 25 | int uinsf(BW *bw); | ^~~~~ cmd.c:180:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 180 | C("isrch", TYPETW + TYPEPW, uisrch, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:180:29: note: (near initialization for ‘cmds[68].func’) 180 | C("isrch", TYPETW + TYPEPW, uisrch, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:37: uisrch.h:15:5: note: ‘uisrch’ declared here 15 | int uisrch(BW *bw); | ^~~~~~ cmd.c:181:30: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 181 | C("keymap", TYPETW + TYPEPW, ukeymap, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:181:30: note: (near initialization for ‘cmds[69].func’) 181 | C("keymap", TYPETW + TYPEPW, ukeymap, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:85:12: note: ‘ukeymap’ declared here 85 | static int ukeymap(BW *bw) | ^~~~~~~ cmd.c:182:51: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 182 | C("killjoe", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ukilljoe, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:182:51: note: (near initialization for ‘cmds[70].func’) 182 | C("killjoe", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ukilljoe, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:35:5: note: ‘ukilljoe’ declared here 35 | int ukilljoe(BW *bw); | ^~~~~~~~ cmd.c:183:32: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 183 | C("killproc", TYPETW + TYPEPW, ukillpid, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:183:32: note: (near initialization for ‘cmds[71].func’) 183 | C("killproc", TYPETW + TYPEPW, ukillpid, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ushell.h:15:5: note: ‘ukillpid’ declared here 15 | int ukillpid(BW *bw); | ^~~~~~~~ cmd.c:184:58: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 184 | C("lindent", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ulindent, NULL, 1, "rindent"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:184:58: note: (near initialization for ‘cmds[72].func’) 184 | C("lindent", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ulindent, NULL, 1, "rindent"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:40:5: note: ‘ulindent’ declared here 40 | int ulindent(BW *bw); | ^~~~~~~~ cmd.c:185:28: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 185 | C("line", TYPETW + TYPEPW, uline, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:185:28: note: (near initialization for ‘cmds[73].func’) 185 | C("line", TYPETW + TYPEPW, uline, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:45:5: note: ‘uline’ declared here 45 | int uline(BW *bw); | ^~~~~ cmd.c:186:28: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 186 | C("lose", TYPETW + TYPEPW, ulose, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:186:28: note: (near initialization for ‘cmds[74].func’) 186 | C("lose", TYPETW + TYPEPW, ulose, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:31:5: note: ‘ulose’ declared here 31 | int ulose(BW *bw); | ^~~~~ cmd.c:187:45: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 187 | C("lower", TYPETW + TYPEPW + EMOD + EBLOCK, ulower, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:187:45: note: (near initialization for ‘cmds[75].func’) 187 | C("lower", TYPETW + TYPEPW + EMOD + EBLOCK, ulower, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:49:5: note: ‘ulower’ declared here 49 | int ulower(BW *bw); | ^~~~~~ cmd.c:188:57: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 188 | C("ltarw", TYPETW + TYPEPW /* + EFIXXCOL + ECHKXCOL */, u_goto_left, NULL, 1, "rtarw"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:188:57: note: (near initialization for ‘cmds[76].func’) 188 | C("ltarw", TYPETW + TYPEPW /* + EFIXXCOL + ECHKXCOL */, u_goto_left, NULL, 1, "rtarw"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:26:5: note: ‘u_goto_left’ declared here 26 | int u_goto_left(BW *bw); /* move cursor to left (left arrow) */ | ^~~~~~~~~~~ cmd.c:189:26: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 189 | C("ltarwmenu", TYPEMENU, umltarw, NULL, 1, "rtarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:189:26: note: (near initialization for ‘cmds[77].func’) 189 | C("ltarwmenu", TYPEMENU, umltarw, NULL, 1, "rtarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:24:5: note: ‘umltarw’ declared here 24 | int umltarw(MENU *m); | ^~~~~~~ cmd.c:190:32: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 190 | C("macros", TYPETW + EFIXXCOL, umacros, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:190:32: note: (near initialization for ‘cmds[78].func’) 190 | C("macros", TYPETW + EFIXXCOL, umacros, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ macro.h:42:5: note: ‘umacros’ declared here 42 | int umacros(BW *bw); | ^~~~~~~ cmd.c:191:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 191 | C("markb", TYPETW + TYPEPW, umarkb, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:191:29: note: (near initialization for ‘cmds[79].func’) 191 | C("markb", TYPETW + TYPEPW, umarkb, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:25:5: note: ‘umarkb’ declared here 25 | int umarkb(BW *bw); | ^~~~~~ cmd.c:192:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 192 | C("markk", TYPETW + TYPEPW, umarkk, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:192:29: note: (near initialization for ‘cmds[80].func’) 192 | C("markk", TYPETW + TYPEPW, umarkk, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:26:5: note: ‘umarkk’ declared here 26 | int umarkk(BW *bw); | ^~~~~~ cmd.c:193:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 193 | C("markl", TYPETW + TYPEPW, umarkl, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:193:29: note: (near initialization for ‘cmds[81].func’) 193 | C("markl", TYPETW + TYPEPW, umarkl, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:28:5: note: ‘umarkl’ declared here 28 | int umarkl(BW *bw); | ^~~~~~ cmd.c:194:28: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 194 | C("math", TYPETW + TYPEPW, umath, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:194:28: note: (near initialization for ‘cmds[82].func’) 194 | C("math", TYPETW + TYPEPW, umath, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:38: umath.h:23:5: note: ‘umath’ declared here 23 | int umath(BW *bw); | ^~~~~ cmd.c:195:31: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 195 | C("mathins", TYPETW + TYPEPW, umathins, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:195:31: note: (near initialization for ‘cmds[83].func’) 195 | C("mathins", TYPETW + TYPEPW, umathins, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ umath.h:24:5: note: ‘umathins’ declared here 24 | int umathins(BW *bw); | ^~~~~~~~ cmd.c:196:31: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 196 | C("mathres", TYPETW + TYPEPW, umathres, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:196:31: note: (near initialization for ‘cmds[84].func’) 196 | C("mathres", TYPETW + TYPEPW, umathres, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ umath.h:25:5: note: ‘umathres’ declared here 25 | int umathres(BW *bw); | ^~~~~~~~ cmd.c:197:37: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 197 | C("mode", TYPETW + TYPEPW + TYPEQW, umode, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:197:37: note: (near initialization for ‘cmds[85].func’) 197 | C("mode", TYPETW + TYPEPW + TYPEQW, umode, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:29: rc.h:34:5: note: ‘umode’ declared here 34 | int umode(BW *bw); | ^~~~~ cmd.c:198:47: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 198 | C("msg", TYPETW + TYPEPW + TYPEQW + TYPEMENU, umsg, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:198:47: note: (near initialization for ‘cmds[86].func’) 198 | C("msg", TYPETW + TYPEPW + TYPEQW + TYPEMENU, umsg, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:64:5: note: ‘umsg’ declared here 64 | int umsg(BASE *b); | ^~~~ cmd.c:199:19: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 199 | C("nbuf", TYPETW, unbuf, NULL, 1, "pbuf"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:199:19: note: (near initialization for ‘cmds[87].func’) 199 | C("nbuf", TYPETW, unbuf, NULL, 1, "pbuf"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:27:5: note: ‘unbuf’ declared here 27 | int unbuf(BW *bw); | ^~~~~ cmd.c:200:40: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 200 | C("nedge", TYPETW + TYPEPW + EFIXXCOL, unedge, NULL, 1, "pedge"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:200:40: note: (near initialization for ‘cmds[88].func’) 200 | C("nedge", TYPETW + TYPEPW + EFIXXCOL, unedge, NULL, 1, "pedge"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:66:5: note: ‘unedge’ declared here 66 | int unedge(BW *bw); | ^~~~~~ cmd.c:201:56: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 201 | C("nextpos", TYPETW + TYPEPW + EFIXXCOL + EMID + EPOS, unextpos, NULL, 1, "prevpos"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:201:56: note: (near initialization for ‘cmds[89].func’) 201 | C("nextpos", TYPETW + TYPEPW + EFIXXCOL + EMID + EPOS, unextpos, NULL, 1, "prevpos"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:27: poshist.h:19:5: note: ‘unextpos’ declared here 19 | int unextpos(BW *bw); | ^~~~~~~~ cmd.c:202:49: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 202 | C("nextw", TYPETW + TYPEPW + TYPEMENU + TYPEQW, unextw, NULL, 1, "prevw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:202:49: note: (near initialization for ‘cmds[90].func’) 202 | C("nextw", TYPETW + TYPEPW + TYPEMENU + TYPEQW, unextw, NULL, 1, "prevw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:164:5: note: ‘unextw’ declared here 164 | int unextw(BASE *bw); /* Goto next window */ | ^~~~~~ cmd.c:203:43: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 203 | C("nextword", TYPETW + TYPEPW + EFIXXCOL, u_goto_next, NULL, 1, "prevword"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:203:43: note: (near initialization for ‘cmds[91].func’) 203 | C("nextword", TYPETW + TYPEPW + EFIXXCOL, u_goto_next, NULL, 1, "prevword"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:30:5: note: ‘u_goto_next’ declared here 30 | int u_goto_next(BW *bw); /* move cursor to next word, edge, | ^~~~~~~~~~~ cmd.c:204:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 204 | C("nmark", TYPETW + TYPEPW, unmark, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:204:29: note: (near initialization for ‘cmds[92].func’) 204 | C("nmark", TYPETW + TYPEPW, unmark, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:42:5: note: ‘unmark’ declared here 42 | int unmark(BW *bw); | ^~~~~~ cmd.c:206:21: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 206 | C("notmod", TYPETW, unotmod, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:206:21: note: (near initialization for ‘cmds[94].func’) 206 | C("notmod", TYPETW, unotmod, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:29:5: note: ‘unotmod’ declared here 29 | int unotmod(BW *bw); | ^~~~~~~ cmd.c:207:21: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 207 | C("nxterr", TYPETW, unxterr, NULL, 1, "prverr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:207:21: note: (near initialization for ‘cmds[95].func’) 207 | C("nxterr", TYPETW, unxterr, NULL, 1, "prverr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:34: uerror.h:15:5: note: ‘unxterr’ declared here 15 | int unxterr(BW *bw); | ^~~~~~~ cmd.c:208:46: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 208 | C("open", TYPETW + TYPEPW + EFIXXCOL + EMOD, uopen, NULL, 1, "deleol"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:208:46: note: (near initialization for ‘cmds[96].func’) 208 | C("open", TYPETW + TYPEPW + EFIXXCOL + EMOD, uopen, NULL, 1, "deleol"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:59:5: note: ‘uopen’ declared here 59 | int uopen(BW *bw); | ^~~~~ cmd.c:209:22: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 209 | C("parserr", TYPETW, uparserr, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:209:22: note: (near initialization for ‘cmds[97].func’) 209 | C("parserr", TYPETW, uparserr, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uerror.h:18:5: note: ‘uparserr’ declared here 18 | int uparserr(BW *bw); | ^~~~~~~~ cmd.c:210:19: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 210 | C("pbuf", TYPETW, upbuf, NULL, 1, "nbuf"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:210:19: note: (near initialization for ‘cmds[98].func’) 210 | C("pbuf", TYPETW, upbuf, NULL, 1, "nbuf"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:28:5: note: ‘upbuf’ declared here 28 | int upbuf(BW *bw); | ^~~~~ cmd.c:211:40: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 211 | C("pedge", TYPETW + TYPEPW + EFIXXCOL, upedge, NULL, 1, "nedge"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:211:40: note: (near initialization for ‘cmds[99].func’) 211 | C("pedge", TYPETW + TYPEPW + EFIXXCOL, upedge, NULL, 1, "nedge"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:67:5: note: ‘upedge’ declared here 67 | int upedge(BW *bw); | ^~~~~~ cmd.c:212:56: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 212 | C("pgdn", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, upgdn, NULL, 1, "pgup"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:212:56: note: (near initialization for ‘cmds[100].func’) 212 | C("pgdn", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, upgdn, NULL, 1, "pgup"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:42:5: note: ‘upgdn’ declared here 42 | int upgdn(BW *bw); | ^~~~~ cmd.c:213:25: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 213 | C("pgdnmenu", TYPEMENU, umpgdn, NULL, 1, "pgupmenu"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:213:25: note: (near initialization for ‘cmds[101].func’) 213 | C("pgdnmenu", TYPEMENU, umpgdn, NULL, 1, "pgupmenu"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:23:5: note: ‘umpgdn’ declared here 23 | int umpgdn(MENU *m); | ^~~~~~ cmd.c:214:56: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 214 | C("pgup", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, upgup, NULL, 1, "pgdn"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:214:56: note: (near initialization for ‘cmds[102].func’) 214 | C("pgup", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, upgup, NULL, 1, "pgdn"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:41:5: note: ‘upgup’ declared here 41 | int upgup(BW *bw); | ^~~~~ cmd.c:215:25: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 215 | C("pgupmenu", TYPEMENU, umpgup, NULL, 1, "pgdnmenu"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:215:25: note: (near initialization for ‘cmds[103].func’) 215 | C("pgupmenu", TYPEMENU, umpgup, NULL, 1, "pgdnmenu"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:22:5: note: ‘umpgup’ declared here 22 | int umpgup(MENU *m); | ^~~~~~ cmd.c:216:58: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 216 | C("picokill", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, upicokill, NULL, 1, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:216:58: note: (near initialization for ‘cmds[104].func’) 216 | C("picokill", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, upicokill, NULL, 1, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:33:5: note: ‘upicokill’ declared here 33 | int upicokill(BW *bw); | ^~~~~~~~~ cmd.c:217:48: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *, int)’ {aka ‘int (*)(struct bw *, int)’} [-Wincompatible-pointer-types] 217 | C("play", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uplay, NULL, 1, NULL), /* EFIXX? */ | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:217:48: note: (near initialization for ‘cmds[105].func’) 217 | C("play", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uplay, NULL, 1, NULL), /* EFIXX? */ | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ macro.h:38:5: note: ‘uplay’ declared here 38 | int uplay(BW *bw, int c); | ^~~~~ cmd.c:218:47: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 218 | C("pop", TYPETW + TYPEPW + TYPEMENU + TYPEQW, upop, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:218:47: note: (near initialization for ‘cmds[106].func’) 218 | C("pop", TYPETW + TYPEPW + TYPEMENU + TYPEQW, upop, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:48:5: note: ‘upop’ declared here 48 | int upop(BW *bw); | ^~~~ cmd.c:219:56: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 219 | C("prevpos", TYPETW + TYPEPW + EPOS + EMID + EFIXXCOL, uprevpos, NULL, 1, "nextpos"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:219:56: note: (near initialization for ‘cmds[107].func’) 219 | C("prevpos", TYPETW + TYPEPW + EPOS + EMID + EFIXXCOL, uprevpos, NULL, 1, "nextpos"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ poshist.h:18:5: note: ‘uprevpos’ declared here 18 | int uprevpos(BW *bw); | ^~~~~~~~ cmd.c:220:49: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 220 | C("prevw", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uprevw, NULL, 1, "nextw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:220:49: note: (near initialization for ‘cmds[108].func’) 220 | C("prevw", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uprevw, NULL, 1, "nextw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:165:5: note: ‘uprevw’ declared here 165 | int uprevw(BASE *bw); /* Goto previous window */ | ^~~~~~ cmd.c:221:54: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 221 | C("prevword", TYPETW + TYPEPW + EFIXXCOL + ECHKXCOL, u_goto_prev, NULL, 1, "nextword"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:221:54: note: (near initialization for ‘cmds[109].func’) 221 | C("prevword", TYPETW + TYPEPW + EFIXXCOL + ECHKXCOL, u_goto_prev, NULL, 1, "nextword"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:28:5: note: ‘u_goto_prev’ declared here 28 | int u_goto_prev(BW *bw); /* move cursor to prev. word, edge, | ^~~~~~~~~~~ cmd.c:222:21: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 222 | C("prverr", TYPETW, uprverr, NULL, 1, "nxterr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:222:21: note: (near initialization for ‘cmds[110].func’) 222 | C("prverr", TYPETW, uprverr, NULL, 1, "nxterr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uerror.h:16:5: note: ‘uprverr’ declared here 16 | int uprverr(BW *bw); | ^~~~~~~ cmd.c:223:47: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 223 | C("psh", TYPETW + TYPEPW + TYPEMENU + TYPEQW, upsh, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:223:47: note: (near initialization for ‘cmds[111].func’) 223 | C("psh", TYPETW + TYPEPW + TYPEMENU + TYPEQW, upsh, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:47:5: note: ‘upsh’ declared here 47 | int upsh(BW *bw); | ^~~~ cmd.c:224:36: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 224 | C("qrepl", TYPETW + TYPEPW + EMOD, pqrepl, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:224:36: note: (near initialization for ‘cmds[112].func’) 224 | C("qrepl", TYPETW + TYPEPW + EMOD, pqrepl, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ usearch.h:23:5: note: ‘pqrepl’ declared here 23 | int pqrepl(BW *bw); | ^~~~~~ cmd.c:225:49: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 225 | C("query", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uquery, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:225:49: note: (near initialization for ‘cmds[113].func’) 225 | C("query", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uquery, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ macro.h:41:5: note: ‘uquery’ declared here 41 | int uquery(BW *bw); | ^~~~~~ cmd.c:226:24: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 226 | C("querysave", TYPETW, uquerysave, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:226:24: note: (near initialization for ‘cmds[114].func’) 226 | C("querysave", TYPETW, uquerysave, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:34:5: note: ‘uquerysave’ declared here 34 | int uquerysave(BW *bw); | ^~~~~~~~~~ cmd.c:227:36: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 227 | C("quote", TYPETW + TYPEPW + EMOD, uquote, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:227:36: note: (near initialization for ‘cmds[115].func’) 227 | C("quote", TYPETW + TYPEPW + EMOD, uquote, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:56:5: note: ‘uquote’ declared here 56 | int uquote(BW *bw); | ^~~~~~ cmd.c:228:37: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 228 | C("quote8", TYPETW + TYPEPW + EMOD, uquote8, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:228:37: note: (near initialization for ‘cmds[116].func’) 228 | C("quote8", TYPETW + TYPEPW + EMOD, uquote8, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:57:5: note: ‘uquote8’ declared here 57 | int uquote8(BW *bw); | ^~~~~~~ cmd.c:229:50: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *, int)’ {aka ‘int (*)(struct bw *, int)’} [-Wincompatible-pointer-types] 229 | C("record", TYPETW + TYPEPW + TYPEMENU + TYPEQW, urecord, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:229:50: note: (near initialization for ‘cmds[117].func’) 229 | C("record", TYPETW + TYPEPW + TYPEMENU + TYPEQW, urecord, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ macro.h:40:5: note: ‘urecord’ declared here 40 | int urecord(BW *bw, int c); | ^~~~~~~ cmd.c:230:39: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 230 | C("redo", TYPETW + TYPEPW + EFIXXCOL, uredo, NULL, 1, "undo"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:230:39: note: (near initialization for ‘cmds[118].func’) 230 | C("redo", TYPETW + TYPEPW + EFIXXCOL, uredo, NULL, 1, "undo"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:21:5: note: ‘uredo’ declared here 21 | int uredo(BW *bw); | ^~~~~ cmd.c:231:61: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 231 | C("retype", TYPETW + TYPEPW + TYPEMENU + TYPEQW + ECHK0COL, uretyp, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:231:61: note: (near initialization for ‘cmds[119].func’) 231 | C("retype", TYPETW + TYPEPW + TYPEMENU + TYPEQW + ECHK0COL, uretyp, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:160:5: note: ‘uretyp’ declared here 160 | int uretyp(BASE *bw); /* Refresh the screen */ | ^~~~~~ cmd.c:232:30: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 232 | C("rfirst", TYPETW + TYPEPW, prfirst, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:232:30: note: (near initialization for ‘cmds[120].func’) 232 | C("rfirst", TYPETW + TYPEPW, prfirst, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ usearch.h:24:5: note: ‘prfirst’ declared here 24 | int prfirst(BW *bw); | ^~~~~~~ cmd.c:233:58: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 233 | C("rindent", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, urindent, NULL, 1, "lindent"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:233:58: note: (near initialization for ‘cmds[121].func’) 233 | C("rindent", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, urindent, NULL, 1, "lindent"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:39:5: note: ‘urindent’ declared here 39 | int urindent(BW *bw); | ^~~~~~~~ cmd.c:234:29: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 234 | C("rsrch", TYPETW + TYPEPW, ursrch, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:234:29: note: (near initialization for ‘cmds[122].func’) 234 | C("rsrch", TYPETW + TYPEPW, ursrch, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uisrch.h:16:5: note: ‘ursrch’ declared here 16 | int ursrch(BW *bw); | ^~~~~~ cmd.c:235:46: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 235 | C("rtarw", TYPETW + TYPEPW /* + EFIXXCOL */, u_goto_right, NULL, 1, "ltarw"), /* EFIX removed for picture mode */ | ^~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:235:46: note: (near initialization for ‘cmds[123].func’) 235 | C("rtarw", TYPETW + TYPEPW /* + EFIXXCOL */, u_goto_right, NULL, 1, "ltarw"), /* EFIX removed for picture mode */ | ^~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:27:5: note: ‘u_goto_right’ declared here 27 | int u_goto_right(BW *bw); /* move cursor to right (right arrow) */ | ^~~~~~~~~~~~ cmd.c:236:26: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 236 | C("rtarwmenu", TYPEMENU, umrtarw, NULL, 1, "ltarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:236:26: note: (near initialization for ‘cmds[124].func’) 236 | C("rtarwmenu", TYPEMENU, umrtarw, NULL, 1, "ltarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:25:5: note: ‘umrtarw’ declared here 25 | int umrtarw(MENU *m); | ^~~~~~~ cmd.c:237:54: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(jobject)’ [-Wincompatible-pointer-types] 237 | C("rtn", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOD, urtn, NULL, 1, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:237:54: note: (near initialization for ‘cmds[125].func’) 237 | C("rtn", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOD, urtn, NULL, 1, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:158:5: note: ‘urtn’ declared here 158 | int urtn(jobject jO); /* User hit return */ | ^~~~ cmd.c:238:27: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 238 | C("run", TYPETW + TYPEPW, urun, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:238:27: note: (near initialization for ‘cmds[126].func’) 238 | C("run", TYPETW + TYPEPW, urun, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ushell.h:16:5: note: ‘urun’ declared here 16 | int urun(BW *bw); | ^~~~ cmd.c:239:42: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 239 | C("rvmatch", TYPETW + TYPEPW + EFIXXCOL, urvmatch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:239:42: note: (near initialization for ‘cmds[127].func’) 239 | C("rvmatch", TYPETW + TYPEPW + EFIXXCOL, urvmatch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:34:5: note: ‘urvmatch’ declared here 34 | int urvmatch(BW *bw); | ^~~~~~~~ cmd.c:240:19: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 240 | C("save", TYPETW, usave, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:240:19: note: (near initialization for ‘cmds[128].func’) 240 | C("save", TYPETW, usave, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:21:5: note: ‘usave’ declared here 21 | int usave(BW *bw); | ^~~~~ cmd.c:241:31: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 241 | C("scratch", TYPETW + TYPEPW, uscratch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:241:31: note: (near initialization for ‘cmds[129].func’) 241 | C("scratch", TYPETW + TYPEPW, uscratch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:24:5: note: ‘uscratch’ declared here 24 | int uscratch(BW *bw); | ^~~~~~~~ cmd.c:242:30: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 242 | C("select", TYPETW + TYPEPW, uselect, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:242:30: note: (near initialization for ‘cmds[130].func’) 242 | C("select", TYPETW + TYPEPW, uselect, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:46:5: note: ‘uselect’ declared here 46 | int uselect(BW *bw); | ^~~~~~~ cmd.c:243:31: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *, int)’ {aka ‘int (*)(struct bw *, int)’} [-Wincompatible-pointer-types] 243 | C("setmark", TYPETW + TYPEPW, usetmark, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:243:31: note: (near initialization for ‘cmds[131].func’) 243 | C("setmark", TYPETW + TYPEPW, usetmark, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:60:5: note: ‘usetmark’ declared here 60 | int usetmark(BW *bw, int c); | ^~~~~~~~ cmd.c:244:49: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 244 | C("shell", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ushell, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:244:49: note: (near initialization for ‘cmds[132].func’) 244 | C("shell", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ushell, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:20:5: note: ‘ushell’ declared here 20 | int ushell(BW *bw); | ^~~~~~ cmd.c:245:22: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 245 | C("shrinkw", TYPETW, ushrnk, NULL, 1, "groww"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:245:22: note: (near initialization for ‘cmds[133].func’) 245 | C("shrinkw", TYPETW, ushrnk, NULL, 1, "groww"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:163:5: note: ‘ushrnk’ declared here 163 | int ushrnk(BASE *bw); /* Shrink current window */ | ^~~~~~ cmd.c:246:21: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 246 | C("splitw", TYPETW, usplitw, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:246:21: note: (near initialization for ‘cmds[134].func’) 246 | C("splitw", TYPETW, usplitw, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:17:5: note: ‘usplitw’ declared here 17 | int usplitw(BW *bw); | ^~~~~~~ cmd.c:247:28: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 247 | C("stat", TYPETW + TYPEPW, ustat_j, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:247:28: note: (near initialization for ‘cmds[135].func’) 247 | C("stat", TYPETW + TYPEPW, ustat_j, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ bw.h:27:5: note: ‘ustat_j’ declared here 27 | int ustat_j(BW *bw); | ^~~~~~~ cmd.c:249:48: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 249 | C("sync", TYPETW + TYPEPW + TYPEMENU + TYPEQW, usync, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:249:48: note: (near initialization for ‘cmds[137].func’) 249 | C("sync", TYPETW + TYPEPW + TYPEMENU + TYPEQW, usync, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:37:5: note: ‘usync’ declared here 37 | int usync(BW *bw); | ^~~~~ cmd.c:250:39: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 250 | C("swap", TYPETW + TYPEPW + EFIXXCOL, uswap, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:250:39: note: (near initialization for ‘cmds[138].func’) 250 | C("swap", TYPETW + TYPEPW + EFIXXCOL, uswap, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:27:5: note: ‘uswap’ declared here 27 | int uswap(BW *bw); | ^~~~~ cmd.c:251:30: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 251 | C("switch", TYPETW + TYPEPW, uswitch, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:251:30: note: (near initialization for ‘cmds[139].func’) 251 | C("switch", TYPETW + TYPEPW, uswitch, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:23:5: note: ‘uswitch’ declared here 23 | int uswitch(BW *bw); | ^~~~~~~ cmd.c:252:24: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 252 | C("tabmenu", TYPEMENU, umtab, NULL, 1, "ltarwmenu"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:252:24: note: (near initialization for ‘cmds[140].func’) 252 | C("tabmenu", TYPEMENU, umtab, NULL, 1, "ltarwmenu"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:26:5: note: ‘umtab’ declared here 26 | int umtab(MENU *m); | ^~~~~ cmd.c:253:27: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 253 | C("tag", TYPETW + TYPEPW, utag, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:253:27: note: (near initialization for ‘cmds[141].func’) 253 | C("tag", TYPETW + TYPEPW, utag, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:42: utag.h:15:5: note: ‘utag’ declared here 15 | int utag(BW *bw); | ^~~~ cmd.c:254:38: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 254 | C("toggle_marking", TYPETW + TYPEPW, utoggle_marking, NULL, 0, NULL), | ^~~~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:254:38: note: (near initialization for ‘cmds[142].func’) 254 | C("toggle_marking", TYPETW + TYPEPW, utoggle_marking, NULL, 0, NULL), | ^~~~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:44:5: note: ‘utoggle_marking’ declared here 44 | int utoggle_marking(BW *bw); | ^~~~~~~~~~~~~~~ cmd.c:255:51: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 255 | C("tomarkb", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkb, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:255:51: note: (near initialization for ‘cmds[143].func’) 255 | C("tomarkb", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkb, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:29:5: note: ‘utomarkb’ declared here 29 | int utomarkb(BW *bw); | ^~~~~~~~ cmd.c:256:52: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 256 | C("tomarkbk", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkbk, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:256:52: note: (near initialization for ‘cmds[144].func’) 256 | C("tomarkbk", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkbk, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:31:5: note: ‘utomarkbk’ declared here 31 | int utomarkbk(BW *bw); | ^~~~~~~~~ cmd.c:257:51: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 257 | C("tomarkk", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkk, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:257:51: note: (near initialization for ‘cmds[145].func’) 257 | C("tomarkk", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkk, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:30:5: note: ‘utomarkk’ declared here 30 | int utomarkk(BW *bw); | ^~~~~~~~ cmd.c:258:42: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 258 | C("tomatch", TYPETW + TYPEPW + EFIXXCOL, utomatch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:258:42: note: (near initialization for ‘cmds[146].func’) 258 | C("tomatch", TYPETW + TYPEPW + EFIXXCOL, utomatch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:33:5: note: ‘utomatch’ declared here 33 | int utomatch(BW *bw); | ^~~~~~~~ cmd.c:259:35: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 259 | C("tos", TYPETW + TYPEPW + EMOVE, utos, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:259:35: note: (near initialization for ‘cmds[147].func’) 259 | C("tos", TYPETW + TYPEPW + EMOVE, utos, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:37:5: note: ‘utos’ declared here 37 | int utos(BW *bw); | ^~~~ cmd.c:260:47: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 260 | C("tw0", TYPETW + TYPEPW + TYPEQW + TYPEMENU, utw0, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:260:47: note: (near initialization for ‘cmds[148].func’) 260 | C("tw0", TYPETW + TYPEPW + TYPEQW + TYPEMENU, utw0, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:19:5: note: ‘utw0’ declared here 19 | int utw0(BASE *b); | ^~~~ cmd.c:261:47: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BASE *)’ {aka ‘int (*)(struct base *)’} [-Wincompatible-pointer-types] 261 | C("tw1", TYPETW + TYPEPW + TYPEQW + TYPEMENU, utw1, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:261:47: note: (near initialization for ‘cmds[149].func’) 261 | C("tw1", TYPETW + TYPEPW + TYPEQW + TYPEMENU, utw1, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:20:5: note: ‘utw1’ declared here 20 | int utw1(BASE *b); | ^~~~ cmd.c:262:27: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 262 | C("txt", TYPETW + TYPEPW, utxt, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:262:27: note: (near initialization for ‘cmds[150].func’) 262 | C("txt", TYPETW + TYPEPW, utxt, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:70:5: note: ‘utxt’ declared here 70 | int utxt(BW *bw); | ^~~~ cmd.c:263:64: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(jobject, int)’ [-Wincompatible-pointer-types] 263 | C("type", TYPETW + TYPEPW + TYPEQW + TYPEMENU + EMINOR + EMOD, utype, NULL, 1, "backs"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:263:64: note: (near initialization for ‘cmds[151].func’) 263 | C("type", TYPETW + TYPEPW + TYPEQW + TYPEMENU + EMINOR + EMOD, utype, NULL, 1, "backs"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:159:5: note: ‘utype’ declared here 159 | int utype(jobject jO, int k); /* User types a character */ | ^~~~~ cmd.c:264:48: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *, int)’ {aka ‘int (*)(struct bw *, int)’} [-Wincompatible-pointer-types] 264 | C("uarg", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uuarg, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:264:48: note: (near initialization for ‘cmds[152].func’) 264 | C("uarg", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uuarg, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ macro.h:46:5: note: ‘uuarg’ declared here 46 | int uuarg(BW *bw, int c); | ^~~~~ cmd.c:265:39: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 265 | C("undo", TYPETW + TYPEPW + EFIXXCOL, uundo, NULL, 1, "redo"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:265:39: note: (near initialization for ‘cmds[153].func’) 265 | C("undo", TYPETW + TYPEPW + EFIXXCOL, uundo, NULL, 1, "redo"), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:20:5: note: ‘uundo’ declared here 20 | int uundo(BW *bw); | ^~~~~ cmd.c:266:37: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 266 | C("uparw", TYPETW + TYPEPW + EMOVE, uuparw, NULL, 1, "dnarw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:266:37: note: (near initialization for ‘cmds[154].func’) 266 | C("uparw", TYPETW + TYPEPW + EMOVE, uuparw, NULL, 1, "dnarw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:35:5: note: ‘uuparw’ declared here 35 | int uuparw(BW *bw); | ^~~~~~ cmd.c:267:26: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(MENU *)’ {aka ‘int (*)(struct menu *)’} [-Wincompatible-pointer-types] 267 | C("uparwmenu", TYPEMENU, umuparw, NULL, 1, "dnarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:267:26: note: (near initialization for ‘cmds[155].func’) 267 | C("uparwmenu", TYPEMENU, umuparw, NULL, 1, "dnarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:20:5: note: ‘umuparw’ declared here 20 | int umuparw(MENU *m); | ^~~~~~~ cmd.c:268:45: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 268 | C("upper", TYPETW + TYPEPW + EMOD + EBLOCK, uupper, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:268:45: note: (near initialization for ‘cmds[156].func’) 268 | C("upper", TYPETW + TYPEPW + EMOD + EBLOCK, uupper, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:50:5: note: ‘uupper’ declared here 50 | int uupper(BW *bw); | ^~~~~~ cmd.c:269:59: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 269 | C("upslide", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, uupslide, NULL, 1, "dnslide"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:269:59: note: (near initialization for ‘cmds[157].func’) 269 | C("upslide", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, uupslide, NULL, 1, "dnslide"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:43:5: note: ‘uupslide’ declared here 43 | int uupslide(BW *bw); | ^~~~~~~~ cmd.c:270:46: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 270 | C("yank", TYPETW + TYPEPW + EFIXXCOL + EMOD, uyank, NULL, 1, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:270:46: note: (near initialization for ‘cmds[158].func’) 270 | C("yank", TYPETW + TYPEPW + EFIXXCOL + EMOD, uyank, NULL, 1, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:26:5: note: ‘uyank’ declared here 26 | int uyank(BW *bw); | ^~~~~ cmd.c:271:49: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 271 | C("yankpop", TYPETW + TYPEPW + EFIXXCOL + EMOD, uyankpop, NULL, 1, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:271:49: note: (near initialization for ‘cmds[159].func’) 271 | C("yankpop", TYPETW + TYPEPW + EFIXXCOL + EMOD, uyankpop, NULL, 1, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:27:5: note: ‘uyankpop’ declared here 27 | int uyankpop(BW *bw); | ^~~~~~~~ cmd.c:272:36: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} [-Wincompatible-pointer-types] 272 | C("yapp", TYPETW + TYPEPW + EKILL, uyapp, NULL, 0, NULL) | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg }make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c hash.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c poshist.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c rc.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c uedit.c | ^~~~ cmd.c:272:36: note: (near initialization for ‘cmds[160].func’) 272 | C("yapp", TYPETW + TYPEPW + EKILL, uyapp, NULL, 0, NULL) | ^~~~~ cmd.c:110:62: note: in definition of macro ‘C’ 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:28:5: note: ‘uyapp’ declared here 28 | int uyapp(BW *bw); | ^~~~~ cmd.c: In function ‘execmd’: cmd.c:284:64: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 284 | (k==3 || k==13 || k==8 || k==127 || k==4 || ((cmd->func==utype) && (k>=32) && (k<256)))) { | ^~ cmd.c:318:15: error: too many arguments to function ‘cmd->func’; expected 0, have 2 318 | ret = cmd->func(maint->curwin->object, k); | ^~~ ~~~~~~~~~~~~~~~~~~~~~ In file included from cmd.c:10: types.h:245:20: note: declared here 245 | jpoly_int *func; /* Function bound to name */ | ^~~~ cmd.c: In function ‘uexecmd’: cmd.c:458:53: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 458 | if (wmkpw(bw->parent, UC "cmd: ", &cmdhist, docmd, UC "cmd", NULL, cmdcmplt, NULL, NULL, locale_map)) { | ^~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ cmd.c:434:12: note: ‘docmd’ declared here 434 | static int docmd(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~ cmd.c:458:76: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 458 | if (wmkpw(bw->parent, UC "cmd: ", &cmdhist, docmd, UC "cmd", NULL, cmdcmplt, NULL, NULL, locale_map)) { | ^~~~~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ cmd.c:426:12: note: ‘cmdcmplt’ declared here 426 | static int cmdcmplt(BW *bw) | ^~~~~~~~ cmd.c: In function ‘u_helpcard’: cmd.c:493:13: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 493 | do_helpcard, NULL, NULL, utypebw, NULL, NULL, locale_map)) { | ^~~~~~~~~~~ | | | int (*)(BASE *, unsigned char *, void *, int *) {aka int (*)(struct base *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BASE *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct base *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ cmd.c:468:12: note: ‘do_helpcard’ declared here 468 | static int do_helpcard(BASE *base, unsigned char *s, void *object, int *notify) | ^~~~~~~~~~~ cmd.c:493:38: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 493 | do_helpcard, NULL, NULL, utypebw, NULL, NULL, locale_map)) { | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(jobject, int)’ 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ uedit.h:54:5: note: ‘utypebw’ declared here 54 | int utypebw(jobject, int k); | ^~~~~~~ make[1]: *** [Makefile:495: cmd.o] Error 1 hash.c: In function ‘htfind’: hash.c:74:30: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 74 | if (!strcmp(e->name, name)) { | ~^~~~~~ | | | const unsigned char * In file included from hash.c:14: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ hash.c:74:38: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 74 | if (!strcmp(e->name, name)) { | ^~~~ | | | const unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c: In function ‘kmap_getcontext’: rc.c:62:30: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 62 | if (!strcmp(c->name, name)) | ~^~~~~~ | | | unsigned char * In file included from rc.c:16: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:62:38: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 62 | if (!strcmp(c->name, name)) | ^~~~ | | | const unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c: In function ‘glopt’: rc.c:376:38: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 376 | if (!strcmp(glopts[x].name, s)) { | ~~~~~~~~~^~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:376:45: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 376 | if (!strcmp(glopts[x].name, s)) { | ^ | | | const unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:439:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 439 | if (!strcmp(s, "lmsg")) { | ^ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:446:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 446 | } else if (!strcmp(s, "rmsg")) { | ^ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:453:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 453 | } else if (!strcmp(s, "hmsg")) { | ^ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:460:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 460 | } else if (!strcmp(s, "keymap")) { | ^ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:467:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 467 | } else if (!strcmp(s, "mnew")) { | ^ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:476:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 476 | } else if (!strcmp(s, "mold")) { | ^ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:485:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 485 | } else if (!strcmp(s, "msnew")) { | ^ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:494:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 494 | } else if (!strcmp(s, "msold")) { | ^ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c: In function ‘syntaxcmplt’: rc.c:653:62: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 653 | if (!strcmp(t[x],syntaxes[y])) | ~^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:653:74: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 653 | if (!strcmp(t[x],syntaxes[y])) | ~~~~~~~~^~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c: In function ‘doopt’: rc.c:782:50: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 782 | if (wmkpw(bw->parent, buf, NULL, doopt1, NULL, doabrt1, utypebw, xx, notify, locale_map)) { | ^~~~~~ | | | int (*)(BW *, unsigned char *, int *, int *) {aka int (*)(struct bw *, unsigned char *, int *, int *)} In file included from rc.c:29: pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, int *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, int *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ rc.c:521:1: note: ‘doopt1’ declared here 521 | doopt1(BW *bw, unsigned char *s, int *xx, int *notify) | ^~~~~~ rc.c:782:64: error: passing argument 6 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 782 | if (wmkpw(bw->parent, buf, NULL, doopt1, NULL, doabrt1, utypebw, xx, notify, locale_map)) { | ^~~~~~~ | | | int (*)(BW *, int *) {aka int (*)(struct bw *, int *)} pw.h:19:113: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int *)’ {aka ‘int (*)(struct bw *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ rc.c:514:1: note: ‘doabrt1’ declared here 514 | doabrt1(BW *bw, int *xx) | ^~~~~~~ rc.c:782:73: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 782 | if (wmkpw(bw->parent, buf, NULL, doopt1, NULL, doabrt1, utypebw, xx, notify, locale_map)) { | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(jobject, int)’ 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ In file included from rc.c:33: uedit.h:54:5: note: ‘utypebw’ declared here 54 | int utypebw(jobject, int k); | ^~~~~~~ rc.c:800:50: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 800 | if (wmkpw(bw->parent, buf, NULL, doopt1, NULL, doabrt1, utypebw, xx, notify, locale_map)) | ^~~~~~ | | | int (*)(BW *, unsigned char *, int *, int *) {aka int (*)(struct bw *, unsigned char *, int *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, int *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, int *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ rc.c:521:1: note: ‘doopt1’ declared here 521 | doopt1(BW *bw, unsigned char *s, int *xx, int *notify) | ^~~~~~ rc.c:800:64: error: passing argument 6 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 800 | if (wmkpw(bw->parent, buf, NULL, doopt1, NULL, doabrt1, utypebw, xx, notify, locale_map)) | ^~~~~~~ | | | int (*)(BW *, int *) {aka int (*)(struct bw *, int *)} pw.h:19:113: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int *)’ {aka ‘int (*)(struct bw *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ rc.c:514:1: note: ‘doabrt1’ declared here 514 | doabrt1(BW *bw, int *xx) | ^~~~~~~ rc.c:800:73: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 800 | if (wmkpw(bw->parent, buf, NULL, doopt1, NULL, doabrt1, utypebw, xx, notify, locale_map)) | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(jobject, int)’ 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ uedit.h:54:5: note: ‘utypebw’ declared here 54 | int utypebw(jobject, int k); | ^~~~~~~ rc.c:817:50: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 817 | if (wmkpw(bw->parent, buf, NULL, doopt1, NULL, doabrt1, utypebw, xx, notify, locale_map)) | ^~~~~~ | | | int (*)(BW *, unsigned char *, int *, int *) {aka int (*)(struct bw *, unsigned char *, int *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, int *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, int *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ rc.c:521:1: note: ‘doopt1’ declared here 521 | doopt1(BW *bw, unsigned char *s, int *xx, int *notify) | ^~~~~~ rc.c:817:64: error: passing argument 6 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 817 | if (wmkpw(bw->parent, buf, NULL, doopt1, NULL, doabrt1, utypebw, xx, notify, locale_map)) | ^~~~~~~ | | | int (*)(BW *, int *) {aka int (*)(struct bw *, int *)} pw.h:19:113: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int *)’ {aka ‘int (*)(struct bw *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ rc.c:514:1: note: ‘doabrt1’ declared here 514 | doabrt1(BW *bw, int *xx) | ^~~~~~~ rc.c:817:73: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 817 | if (wmkpw(bw->parent, buf, NULL, doopt1, NULL, doabrt1, utypebw, xx, notify, locale_map)) | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(jobject, int)’ 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ uedit.h:54:5: note: ‘utypebw’ declared here 54 | int utypebw(jobject, int k); | ^~~~~~~ rc.c:828:50: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 828 | if (wmkpw(bw->parent, buf, NULL, dosyntax, NULL, NULL, syntaxcmplt, NULL, notify, locale_map)) | ^~~~~~~~ | | | int (*)(BW *, unsigned char *, int *, int *) {aka int (*)(struct bw *, unsigned char *, int *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, int *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, int *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ rc.c:592:1: note: ‘dosyntax’ declared here 592 | dosyntax(BW *bw, unsigned char *s, int *xx, int *notify) | ^~~~~~~~ rc.c:828:72: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 828 | if (wmkpw(bw->parent, buf, NULL, dosyntax, NULL, NULL, syntaxcmplt, NULL, notify, locale_map)) | ^~~~~~~~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ rc.c:617:1: note: ‘syntaxcmplt’ declared here 617 | syntaxcmplt(BW *bw) | ^~~~~~~~~~~ rc.c:839:50: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 839 | if (wmkpw(bw->parent, buf, NULL, doencoding, NULL, NULL, encodingcmplt, NULL, notify, locale_map)) | ^~~~~~~~~~ | | | int (*)(BW *, unsigned char *, int *, int *) {aka int (*)(struct bw *, unsigned char *, int *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, int *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, int *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ rc.c:684:1: note: ‘doencoding’ declared here 684 | doencoding(BW *bw, unsigned char *s, int *xx, int *notify) | ^~~~~~~~~~ rc.c:839:74: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 839 | if (wmkpw(bw->parent, buf, NULL, doencoding, NULL, NULL, encodingcmplt, NULL, notify, locale_map)) | ^~~~~~~~~~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *)’ {aka ‘int (*)(struct bw *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ rc.c:722:1: note: ‘encodingcmplt’ declared here 722 | encodingcmplt(BW *bw) | ^~~~~~~~~~~~~ rc.c: In function ‘umode’: rc.c:876:34: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 876 | strlcpy(s[x], glopts[x].menu, OPT_BUF_SIZE); | ~^~~ | | | unsigned char * In file included from /usr/include/features.h:524, from /usr/include/sys/types.h:25, from config.h:28, from rc.c:11: /usr/include/bits/string_fortified.h:161:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rc.c:876:48: warning: pointer targets in passing argument 2 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 876 | strlcpy(s[x], glopts[x].menu, OPT_BUF_SIZE); | ~~~~~~~~~^~~~~ | | | const unsigned char * /usr/include/bits/string_fortified.h:161:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ rc.c:878:38: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 878 | strlcpy(s[x] + 2, glopts[x].menu, OPT_BUF_SIZE - 2); | ~~~~~^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:161:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rc.c:878:52: warning: pointer targets in passing argument 2 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 878 | strlcpy(s[x] + 2, glopts[x].menu, OPT_BUF_SIZE - 2); | ~~~~~~~~~^~~~~ | | | const unsigned char * /usr/include/bits/string_fortified.h:161:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ rc.c:882:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 882 | if (strlen(s[x]) > len) | ~^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ rc.c:883:39: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 883 | len = strlen(s[x]); | ~^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ rc.c:886:36: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 886 | size_t n = strlen(s[x]); | ~^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ rc.c:892:45: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 892 | joe_snprintf_1(s[x] + n, OPT_BUF_SIZE - n, config.h:34:49: note: in definition of macro ‘joe_snprintf_1’ 34 | #define joe_snprintf_1(buf,len,fmt,a) snprintf((buf),(len),(fmt),(a)) | ^~~ /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ rc.c:896:45: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 896 | joe_snprintf_1(s[x] + n, OPT_BUF_SIZE - n, config.h:34:49: note: in definition of macro ‘joe_snprintf_1’ 34 | #define joe_snprintf_1(buf,len,fmt,a) snprintf((buf),(len),(fmt),(a)) | ^~~ /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ rc.c:900:38: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 900 | strlcpy(s[x] + n, "...", OPT_BUF_SIZE - n); | ~~~~~^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:161:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 161 | __NTH (strlcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rc.c:903:45: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 903 | joe_snprintf_1(s[x] + n, OPT_BUF_SIZE - n, config.h:34:49: note: in definition of macro ‘joe_snprintf_1’ 34 | #define joe_snprintf_1(buf,len,fmt,a) snprintf((buf),(len),(fmt),(a)) | ^~~ /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ rc.c:907:45: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 907 | joe_snprintf_1(s[x] + n, OPT_BUF_SIZE - n, config.h:34:49: note: in definition of macro ‘joe_snprintf_1’ 34 | #define joe_snprintf_1(buf,len,fmt,a) snprintf((buf),(len),(fmt),(a)) | ^~~ /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ rc.c:911:45: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 911 | joe_snprintf_1(s[x] + n, OPT_BUF_SIZE - n, config.h:34:49: note: in definition of macro ‘joe_snprintf_1’ 34 | #define joe_snprintf_1(buf,len,fmt,a) snprintf((buf),(len),(fmt),(a)) | ^~~ /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ rc.c:916:45: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 916 | joe_snprintf_2(s[x] + 12, OPT_BUF_SIZE - 12, "%*s", (int)n - 9, config.h:35:51: note: in definition of macro ‘joe_snprintf_2’ 35 | #define joe_snprintf_2(buf,len,fmt,a,b) snprintf((buf),(len),(fmt),(a),(b)) | ^~~ /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ rc.c:921:45: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 921 | joe_snprintf_2(s[x] + 12, OPT_BUF_SIZE - 12, "%*s", (int)n - 9, config.h:35:51: note: in definition of macro ‘joe_snprintf_2’ 35 | #define joe_snprintf_2(buf,len,fmt,a,b) snprintf((buf),(len),(fmt),(a),(b)) | ^~~ /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ rc.c:929:35: error: passing argument 3 of ‘mkmenu’ from incompatible pointer type [-Wincompatible-pointer-types] 929 | if (mkmenu(bw->parent, s, doopt, doabrt, NULL, optx, s, NULL)) | ^~~~~ | | | int (*)(MENU *, int, void *, int) {aka int (*)(struct menu *, int, void *, int)} In file included from rc.c:27: menu.h:16:50: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(MENU *, int, void *, int)’ {aka ‘int (*)(struct menu *, int, void *, int)’} 16 | MENU *mkmenu(W *w, unsigned char **s, jpoly_int *func, jpoly_int *abrt, jpoly_int *backs, int cursor, void *object, int *notify); | ~~~~~~~~~~~^~~~ rc.c:732:1: note: ‘doopt’ declared here 732 | doopt(MENU *m, int x, void *object, int flg) | ^~~~~ rc.c:929:42: error: passing argument 4 of ‘mkmenu’ from incompatible pointer type [-Wincompatible-pointer-types] 929 | if (mkmenu(bw->parent, s, doopt, doabrt, NULL, optx, s, NULL)) | ^~~~~~ | | | int (*)(MENU *, int, unsigned char **) {aka int (*)(struct menu *, int, unsigned char **)} menu.h:16:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(MENU *, int, unsigned char **)’ {aka ‘int (*)(struct menu *, int, unsigned char **)’} 16 | MENU *mkmenu(W *w, unsigned char **s, jpoly_int *func, jpoly_int *abrt, jpoly_int *backs, int cursor, void *object, int *notify); | ~~~~~~~~~~~^~~~ rc.c:853:1: note: ‘doabrt’ declared here 853 | doabrt(MENU *m, int x, unsigned char **s) | ^~~~~~ rc.c: In function ‘procrc’: rc.c:1029:49: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1029 | if (!strcmp(buf + 1, "def")) { | ~~~~^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:1044:56: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1044 | } else if (!strcmp(buf + 1, "inherit")) | ~~~~^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:1058:56: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1058 | } else if (!strcmp(buf + 1, "include")) { | ~~~~^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:1078:56: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1078 | } else if (!strcmp(buf + 1, "delete")) | ~~~~^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ make[1]: *** [Makefile:495: rc.o] Error 1 uedit.c: In function ‘uline’: uedit.c:688:75: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 688 | if (wmkpw(bw->parent, UC "Go to line (^C to abort): ", &linehist, doline, NULL, NULL, NULL, NULL, NULL, locale_map)) | ^~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} In file included from uedit.c:23: pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ uedit.c:660:12: note: ‘doline’ declared here 660 | static int doline(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~~ uedit.c: In function ‘ucol’: uedit.c:724:76: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 724 | if (wmkpw(bw->parent, UC "Go to column (^C to abort): ", &colhist, docol, NULL, NULL, NULL, NULL, NULL, locale_map)) | ^~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ uedit.c:698:12: note: ‘docol’ declared here 698 | static int docol(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~ uedit.c: In function ‘ubyte’: uedit.c:760:75: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 760 | if (wmkpw(bw->parent, UC "Go to byte (^C to abort): ", &bytehist, dobyte, NULL, NULL, NULL, NULL, NULL, locale_map)) | ^~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ uedit.c:734:12: note: ‘dobyte’ declared here 734 | static int dobyte(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~~ uedit.c: In function ‘doquote’: uedit.c:1223:58: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1223 | if (!mkqwna(bw->parent, sz(buf), doquote, NULL, NULL, notify)) | ^~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} In file included from uedit.c:24: qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1209:1: note: ‘doquote’ declared here 1209 | doquote(BW *bw, int c, void *object, int *notify) | ^~~~~~~ uedit.c:1231:117: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 1231 | if (!wmkpw(bw->parent, UC "UCS (ISO-10646) character in hex (^C to abort): ", &unicodehist, dounicode, | ^~~~~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ uedit.c:1171:12: note: ‘dounicode’ declared here 1171 | static int dounicode(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~~~~~ uedit.c:1241:67: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1241 | if (!mkqwna(bw->parent, sc("ASCII 0x--"), doquote, NULL, NULL, notify)) | ^~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1209:1: note: ‘doquote’ declared here 1209 | doquote(BW *bw, int c, void *object, int *notify) | ^~~~~~~ uedit.c:1252:67: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1252 | if (!mkqwna(bw->parent, sc("ASCII 0---"), doquote, NULL, NULL, notify)) | ^~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1209:1: note: ‘doquote’ declared here 1209 | doquote(BW *bw, int c, void *object, int *notify) | ^~~~~~~ uedit.c:1266:58: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1266 | if (!mkqwna(bw->parent, sz(buf), doquote, NULL, NULL, notify)) | ^~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1209:1: note: ‘doquote’ declared here 1209 | doquote(BW *bw, int c, void *object, int *notify) | ^~~~~~~ uedit.c:1285:58: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1285 | if (!mkqwna(bw->parent, sz(buf), doquote, NULL, NULL, notify)) | ^~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1209:1: note: ‘doquote’ declared here 1209 | doquote(BW *bw, int c, void *object, int *notify) | ^~~~~~~ uedit.c:1315:58: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1315 | if (!mkqwna(bw->parent, sz(buf), doquote, NULL, NULL, notify)) | ^~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1209:1: note: ‘doquote’ declared here 1209 | doquote(BW *bw, int c, void *object, int *notify) | ^~~~~~~ uedit.c:1326:58: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1326 | if (!mkqwna(bw->parent, sz(buf), doquote, NULL, NULL, notify)) | ^~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1209:1: note: ‘doquote’ declared here 1209 | doquote(BW *bw, int c, void *object, int *notify) | ^~~~~~~ uedit.c: In function ‘uquote’: uedit.c:1359:13: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1359 | doquote, NULL, NULL, NULL) ? 0 : -1); | ^~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1209:1: note: ‘doquote’ declared here 1209 | doquote(BW *bw, int c, void *object, int *notify) | ^~~~~~~ uedit.c: In function ‘doquote8’: uedit.c:1373:58: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1373 | if (mkqwna(bw->parent, sc("Meta-Ctrl-"), doquote9, NULL, NULL, notify)) | ^~~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1362:12: note: ‘doquote9’ declared here 1362 | static int doquote9(BW *bw, int c, void *object, int *notify) | ^~~~~~~~ uedit.c: In function ‘uquote8’: uedit.c:1388:45: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1388 | if (mkqwna(bw->parent, sc("Meta-"), doquote8, NULL, NULL, NULL)) | ^~~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1370:12: note: ‘doquote8’ declared here 1370 | static int doquote8(BW *bw, int c, void *object, int *notify) | ^~~~~~~~ uedit.c: In function ‘uctrl’: uedit.c:1415:45: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1415 | if (mkqwna(bw->parent, sc("Quote"), doctrl, NULL, NULL, NULL)) | ^~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1396:12: note: ‘doctrl’ declared here 1396 | static int doctrl(BW *bw, int c, void *object, int *notify) | ^~~~~~ uedit.c: In function ‘usetmark’: uedit.c:1485:60: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1485 | else if (mkqwna(bw->parent, sc("Set mark (0-9):"), dosetmark, NULL, NULL, NULL)) | ^~~~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1463:12: note: ‘dosetmark’ declared here 1463 | static int dosetmark(BW *bw, int c, void *object, int *notify) | ^~~~~~~~~ uedit.c: In function ‘ugomark’: uedit.c:1516:65: error: passing argument 4 of ‘mkqwna’ from incompatible pointer type [-Wincompatible-pointer-types] 1516 | else if (mkqwna(bw->parent, sc("Goto bookmark (0-9):"), dogomark, NULL, NULL, NULL)) | ^~~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:20:67: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 20 | QW *mkqwna(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1493:12: note: ‘dogomark’ declared here 1493 | static int dogomark(BW *bw, int c, void *object, int *notify) | ^~~~~~~~ uedit.c: In function ‘ufwrdc’: uedit.c:1564:57: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 1564 | else if (mkqw(bw->parent, sc("Fwrd to char: "), dofwrdc, NULL, NULL, NULL)) | ^~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1526:12: note: ‘dofwrdc’ declared here 1526 | static int dofwrdc(BW *bw, int k, void *object, int *notify) | ^~~~~~~ uedit.c: In function ‘ubkwdc’: uedit.c:1575:57: error: passing argument 4 of ‘mkqw’ from incompatible pointer type [-Wincompatible-pointer-types] 1575 | else if (mkqw(bw->parent, sc("Bkwd to char: "), dofwrdc, NULL, NULL, NULL)) | ^~~~~~~ | | | int (*)(BW *, int, void *, int *) {aka int (*)(struct bw *, int, void *, int *)} qw.h:19:65: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, int, void *, int *)’ {aka ‘int (*)(struct bw *, int, void *, int *)’} 19 | QW *mkqw(W *w, const unsigned char *prompt, int len, jpoly_int *func, jpoly_int *abrt, void *object, int *notify); | ~~~~~~~~~~~^~~~ uedit.c:1526:12: note: ‘dofwrdc’ declared here 1526 | static int dofwrdc(BW *bw, int k, void *object, int *notify) | ^~~~~~~ uedit.c: In function ‘umsg’: uedit.c:1595:62: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 1595 | if (wmkpw(b->parent, UC "Msg (^C to abort): ", NULL, domsg, NULL, NULL, NULL, NULL, NULL, locale_map)) | ^~~~~ | | | int (*)(BASE *, unsigned char *, void *, int *) {aka int (*)(struct base *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BASE *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct base *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ uedit.c:1583:12: note: ‘domsg’ declared here 1583 | static int domsg(BASE *b, unsigned char *s, void *object, int *notify) | ^~~~~ uedit.c: In function ‘utxt’: uedit.c:1617:66: error: passing argument 4 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 1617 | if (wmkpw(bw->parent, UC "Insert (^C to abort): ", NULL, dotxt, NULL, NULL, utypebw, NULL, NULL, bw->b->o.charmap)) | ^~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(BW *, unsigned char *, void *, int *)’ {aka ‘int (*)(struct bw *, unsigned char *, void *, int *)’} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ uedit.c:1603:12: note: ‘dotxt’ declared here 1603 | static int dotxt(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~ uedit.c:1617:85: error: passing argument 7 of ‘wmkpw’ from incompatible pointer type [-Wincompatible-pointer-types] 1617 | if (wmkpw(bw->parent, UC "Insert (^C to abort): ", NULL, dotxt, NULL, NULL, utypebw, NULL, NULL, bw->b->o.charmap)) | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(jobject, int)’ 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ uedit.c:1162:5: note: ‘utypebw’ declared here 1162 | int utypebw(jobject jO, int k) | ^~~~~~~ make[1]: *** [Makefile:495: uedit.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c utf8.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c compat.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c i18n.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c utils.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c va.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c help.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' help.c: In function ‘help_init’: help.c:57:36: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 57 | buf[strlen(buf) - 1] = '\0'; | ^~~ | | | unsigned char * In file included from help.c:17: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ help.c: In function ‘find_context_help’: help.c:110:41: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 110 | while (tmp != NULL && strcmp(tmp->name, name) != 0) | ~~~^~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ help.c:110:49: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 110 | while (tmp != NULL && strcmp(tmp->name, name) != 0) | ^~~~ | | | const unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c kbd.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c path.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' In file included from path.c:27: path.c: In function ‘chJpwd’: : warning: pointer targets in passing argument 1 of ‘slen’ differ in signedness [-Wpointer-sign] vs.h:290:25: note: in definition of macro ‘sz’ 290 | #define sz(a) (a), slen(a) | ^ path.h:37:25: note: in expansion of macro ‘JOERC’ 37 | #define get_JOERC JOERC | ^~~~~ path.c:363:39: note: in expansion of macro ‘get_JOERC’ 363 | fullpath = vsncpy(NULL, 0, sz(get_JOERC)); | ^~~~~~~~~ vs.h:183:26: note: expected ‘const sELEMENT *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 183 | int slen(const sELEMENT *ary); | ~~~~~~~~~~~~~~~~^~~ vs.h:290:15: warning: pointer targets in passing argument 3 of ‘vsncpy’ differ in signedness [-Wpointer-sign] 290 | #define sz(a) (a), slen(a) | ^~~ | | | char * path.c:363:36: note: in expansion of macro ‘sz’ 363 | fullpath = vsncpy(NULL, 0, sz(get_JOERC)); | ^~ vs.h:219:59: note: expected ‘const sELEMENT *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 219 | sELEMENT *vsncpy(sELEMENT *vary, int pos, const sELEMENT *array, int len); | ~~~~~~~~~~~~~~~~^~~~~ make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c vs.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c regex.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c uerror.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' uerror.c: In function ‘inserr’: uerror.c:49:38: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 49 | if (!strcmp(e->file, name)) { | ~^~~~~~ | | | unsigned char * In file included from vs.h:15, from uerror.c:21: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ uerror.c:49:46: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 49 | if (!strcmp(e->file, name)) { | ^~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ uerror.c: In function ‘delerr’: uerror.c:65:38: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 65 | if (!strcmp(e->file, name)) { | ~^~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ uerror.c:65:46: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 65 | if (!strcmp(e->file, name)) { | ^~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ uerror.c: In function ‘abrerr’: uerror.c:83:38: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 83 | if (!strcmp(e->file, name)) | ~^~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ uerror.c:83:46: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 83 | if (!strcmp(e->file, name)) | ^~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ uerror.c: In function ‘saverr’: uerror.c:95:38: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 95 | if (!strcmp(e->file, name)) | ~^~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ uerror.c:95:46: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 95 | if (!strcmp(e->file, name)) | ^~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ uerror.c: In function ‘unxterr’: uerror.c:287:42: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 287 | if (!bw->b->name || strcmp(errptr->file, bw->b->name)) { | ~~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ uerror.c:287:55: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 287 | if (!bw->b->name || strcmp(errptr->file, bw->b->name)) { | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ uerror.c: In function ‘uprverr’: uerror.c:312:42: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 312 | if (!bw->b->name || strcmp(errptr->file, bw->b->name)) { | ~~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ uerror.c:312:55: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 312 | if (!bw->b->name || strcmp(errptr->file, bw->b->name)) { | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c vfile.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c blocks.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c undo.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c uformat.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c main.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' main.c: In function ‘main_init’: main.c:226:26: warning: pointer targets in passing argument 1 of ‘namprt’ differ in signedness [-Wpointer-sign] 226 | run = namprt(argv[0]); | ~~~~^~~ | | | char * In file included from main.c:47: path.h:49:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 49 | unsigned char *namprt(unsigned char *path); | ~~~~~~~~~~~~~~~^~~~ In file included from main.c:53: : warning: pointer targets in passing argument 1 of ‘slen’ differ in signedness [-Wpointer-sign] vs.h:290:25: note: in definition of macro ‘sz’ 290 | #define sz(a) (a), slen(a) | ^ path.h:37:25: note: in expansion of macro ‘JOERC’ 37 | #define get_JOERC JOERC | ^~~~~ main.c:268:40: note: in expansion of macro ‘get_JOERC’ 268 | s = vsncpy(NULL, 0, sz(get_JOERC)); | ^~~~~~~~~ vs.h:183:26: note: expected ‘const sELEMENT *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 183 | int slen(const sELEMENT *ary); | ~~~~~~~~~~~~~~~~^~~ vs.h:290:15: warning: pointer targets in passing argument 3 of ‘vsncpy’ differ in signedness [-Wpointer-sign] 290 | #define sz(a) (a), slen(a) | ^~~ | | | char * main.c:268:37: note: in expansion of macro ‘sz’ 268 | s = vsncpy(NULL, 0, sz(get_JOERC)); | ^~ vs.h:219:59: note: expected ‘const sELEMENT *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 219 | sELEMENT *vsncpy(sELEMENT *vary, int pos, const sELEMENT *array, int len); | ~~~~~~~~~~~~~~~~^~~~~ main.c:325:55: warning: pointer targets in passing argument 1 of ‘glopt’ differ in signedness [-Wpointer-sign] 325 | switch (glopt(argv[c] + 1, argv[c + 1], NULL, 1)) { | ~~~~~~~~^~~ | | | char * In file included from main.c:48: rc.h:32:32: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 32 | int glopt(const unsigned char *s, unsigned char *arg, OPTIONS *options, int set); | ~~~~~~~~~~~~~~~~~~~~~^ main.c:325:64: warning: pointer targets in passing argument 2 of ‘glopt’ differ in signedness [-Wpointer-sign] 325 | switch (glopt(argv[c] + 1, argv[c + 1], NULL, 1)) { | ~~~~^~~~~~~ | | | char * rc.h:32:50: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 32 | int glopt(const unsigned char *s, unsigned char *arg, OPTIONS *options, int set); | ~~~~~~~~~~~~~~~^~~ main.c:356:43: warning: pointer targets in passing argument 1 of ‘glopt’ differ in signedness [-Wpointer-sign] 356 | if (glopt(argv[c] + 1, argv[c + 1], NULL, 0) == 2) | ~~~~~~~~^~~ | | | char * rc.h:32:32: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 32 | int glopt(const unsigned char *s, unsigned char *arg, OPTIONS *options, int set); | ~~~~~~~~~~~~~~~~~~~~~^ main.c:356:52: warning: pointer targets in passing argument 2 of ‘glopt’ differ in signedness [-Wpointer-sign] 356 | if (glopt(argv[c] + 1, argv[c + 1], NULL, 0) == 2) | ~~~~^~~~~~~ | | | char * rc.h:32:50: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 32 | int glopt(const unsigned char *s, unsigned char *arg, OPTIONS *options, int set); | ~~~~~~~~~~~~~~~^~~ main.c:359:42: warning: pointer targets in passing argument 1 of ‘bfind’ differ in signedness [-Wpointer-sign] 359 | B *b = bfind(argv[c]); | ~~~~^~~ | | | char * In file included from main.c:42: b.h:27:31: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 27 | B *bfind(const unsigned char *s); | ~~~~~~~~~~~~~~~~~~~~~^ main.c:384:81: warning: pointer targets in passing argument 1 of ‘glopt’ differ in signedness [-Wpointer-sign] 384 | if (glopt(argv[backopt] + 1, argv[backopt + 1], &bw->o, 0) == 2) | ~~~~~~~~~~~~~~^~~ | | | char * rc.h:32:32: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 32 | int glopt(const unsigned char *s, unsigned char *arg, OPTIONS *options, int set); | ~~~~~~~~~~~~~~~~~~~~~^ main.c:384:90: warning: pointer targets in passing argument 2 of ‘glopt’ differ in signedness [-Wpointer-sign] 384 | if (glopt(argv[backopt] + 1, argv[backopt + 1], &bw->o, 0) == 2) | ~~~~^~~~~~~~~~~~~ | | | char * rc.h:32:50: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 32 | int glopt(const unsigned char *s, unsigned char *arg, OPTIONS *options, int set); | ~~~~~~~~~~~~~~~^~~ make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c charmap.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' charmap.c: In function ‘get_encodings’: charmap.c:1437:45: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1437 | if (strcmp(t[x], "..")) { | ~^~~ | | | unsigned char * In file included from charmap.c:18: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ charmap.c:1439:62: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1439 | if (!strcmp(t[x], encodings[y])) | ~^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ charmap.c:1439:76: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1439 | if (!strcmp(t[x], encodings[y])) | ~~~~~~~~~^~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ charmap.c:1452:37: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1452 | if (strcmp(t[x], "..")) { | ~^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ charmap.c:1454:54: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1454 | if (!strcmp(t[x], encodings[y])) | ~^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ charmap.c:1454:68: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1454 | if (!strcmp(t[x], encodings[y])) | ~~~~~~~~~^~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c syntax.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' syntax.c: In function ‘find_state’: syntax.c:214:45: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 214 | if(!strcmp(syntax->states[x]->name,name)) | ~~~~~~~~~~~~~~~~~^~~~~~ | | | const unsigned char * In file included from syntax.c:15: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:214:52: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 214 | if(!strcmp(syntax->states[x]->name,name)) | ^~~~ | | | const unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c: In function ‘load_dfa’: syntax.c:266:34: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 266 | if(!strcmp(syntax->name,name)) | ~~~~~~^~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:266:41: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 266 | if(!strcmp(syntax->name,name)) | ^~~~ | | | const unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:308:65: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 308 | if(!strcmp(color->name,bf)) | ~~~~~^~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:308:72: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 308 | if(!strcmp(color->name,bf)) | ^~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:326:57: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 326 | if(!strcmp(color->name,bf)) | ~~~~~^~~~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:326:64: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 326 | if(!strcmp(color->name,bf)) | ^~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:388:68: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 388 | if(!strcmp(bf,"buffer")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:390:75: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 390 | } else if(!strcmp(bf,"hold")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:392:75: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 392 | } else if(!strcmp(bf,"recolor")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:404:75: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 404 | } else if(!strcmp(bf,"strings") || !strcmp(bf,"istrings")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:404:100: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 404 | } else if(!strcmp(bf,"strings") || !strcmp(bf,"istrings")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:426:116: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 426 | if(!strcmp(bf,"buffer")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:428:123: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 428 | } else if(!strcmp(bf,"hold")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:430:123: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 430 | } else if(!strcmp(bf,"recolor")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:450:75: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 450 | } else if(!strcmp(bf,"noeat")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:452:75: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 452 | } else if(!strcmp(bf,"mark")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:454:75: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 454 | } else if(!strcmp(bf,"markend")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ syntax.c:456:75: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 456 | } else if(!strcmp(bf,"recolormark")) { | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c w.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c termcap.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' termcap.c: In function ‘findidx’: termcap.c:131:46: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 131 | else if (!strcmp(buf + x, name)) | ~~~~^~~ | | | unsigned char * In file included from vs.h:15, from va.h:15, from termcap.c:20: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ termcap.c:131:51: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 131 | else if (!strcmp(buf + x, name)) | ^~~~ | | | const unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ termcap.c: In function ‘getcap’: termcap.c:162:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 162 | if (!strcmp(name, "xterm-xfree86")) { | ^~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ : warning: pointer targets in passing argument 1 of ‘slen’ differ in signedness [-Wpointer-sign] vs.h:290:25: note: in definition of macro ‘sz’ 290 | #define sz(a) (a), slen(a) | ^ path.h:37:25: note: in expansion of macro ‘JOERC’ 37 | #define get_JOERC JOERC | ^~~~~ termcap.c:200:39: note: in expansion of macro ‘get_JOERC’ 200 | vsscan(sz(get_JOERC), sc("\t :")) == ~0) { | ^~~~~~~~~ vs.h:183:26: note: expected ‘const sELEMENT *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 183 | int slen(const sELEMENT *ary); | ~~~~~~~~~~~~~~~~^~~ vs.h:290:15: warning: pointer targets in passing argument 1 of ‘vsscan’ differ in signedness [-Wpointer-sign] 290 | #define sz(a) (a), slen(a) | ^~~ | | | char * termcap.c:200:36: note: in expansion of macro ‘sz’ 200 | vsscan(sz(get_JOERC), sc("\t :")) == ~0) { | ^~ vs.h:352:28: note: expected ‘const sELEMENT *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 352 | int vsscan(const sELEMENT *a, int alen, const sELEMENT *b, int blen); | ~~~~~~~~~~~~~~~~^ : warning: pointer targets in passing argument 1 of ‘slen’ differ in signedness [-Wpointer-sign] vs.h:290:25: note: in definition of macro ‘sz’ 290 | #define sz(a) (a), slen(a) | ^ path.h:37:25: note: in expansion of macro ‘JOERC’ 37 | #define get_JOERC JOERC | ^~~~~ termcap.c:201:66: note: in expansion of macro ‘get_JOERC’ 201 | namebuf = vsncpy(sv(namebuf), sz(get_JOERC)); | ^~~~~~~~~ vs.h:183:26: note: expected ‘const sELEMENT *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 183 | int slen(const sELEMENT *ary); | ~~~~~~~~~~~~~~~~^~~ vs.h:290:15: warning: pointer targets in passing argument 3 of ‘vsncpy’ differ in signedness [-Wpointer-sign] 290 | #define sz(a) (a), slen(a) | ^~~ | | | char * termcap.c:201:63: note: in expansion of macro ‘sz’ 201 | namebuf = vsncpy(sv(namebuf), sz(get_JOERC)); | ^~ vs.h:219:59: note: expected ‘const sELEMENT *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 219 | sELEMENT *vsncpy(sELEMENT *vary, int pos, const sELEMENT *array, int len); | ~~~~~~~~~~~~~~~~^~~~~ termcap.c:309:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 309 | found = strcmp(qq, cap->sort[z].name); | ^~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ termcap.c:309:56: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 309 | found = strcmp(qq, cap->sort[z].name); | ~~~~~~~~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ termcap.c: In function ‘findcap’: termcap.c:378:32: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 378 | found = strcmp(name, cap->sort[z].name); | ^~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ termcap.c:378:50: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 378 | found = strcmp(name, cap->sort[z].name); | ~~~~~~~~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c bw.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' In file included from bw.c:8: bw.c: In function ‘gennum’: config.h:34:60: warning: ‘%5ld’ directive output may be truncated writing between 5 and 20 bytes into a region of size 12 [-Wformat-truncation=] 34 | #define joe_snprintf_1(buf,len,fmt,a) snprintf((buf),(len),(fmt),(a)) | ^~~~~ config.h:34:60: note: directive argument in the range [-9223372036854775807, 9223372036854775807] In file included from /usr/include/stdio.h:970, from config.h:61: In function ‘snprintf’, inlined from ‘gennum’ at bw.c:407:3: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 7 and 22 bytes into a destination of size 12 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ bw.c: In function ‘ustat_j’: config.h:42:76: warning: ‘) Width ’ directive output may be truncated writing 8 bytes into a region of size between 0 and 38 [-Wformat-truncation=] 42 | #define joe_snprintf_9(buf,len,fmt,a,b,c,d,e,f,g,h,i) snprintf((buf),(len),(fmt),(a),(b),(c),(d),(e),(f),(g),(h),(i)) | ^~~~~ In function ‘snprintf’, inlined from ‘ustat_j’ at bw.c:716:3: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 55 or more bytes (assuming 93) into a destination of size 80 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c scrn.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' scrn.c: In function ‘nopen’: scrn.c:336:31: warning: pointer targets in assignment from ‘const char *’ to ‘const unsigned char *’ differ in signedness [-Wpointer-sign] 336 | t->ti = t->cap->paste_on; | ^ scrn.c:337:31: warning: pointer targets in assignment from ‘const char *’ to ‘const unsigned char *’ differ in signedness [-Wpointer-sign] 337 | t->te = t->cap->paste_off; | ^ scrn.c:342:46: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 342 | n1 = t->ti ? strlen(t->ti) : 0; | ~^~~~ | | | const unsigned char * In file included from scrn.c:14: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ scrn.c:348:31: warning: pointer targets in assignment from ‘char *’ to ‘const unsigned char *’ differ in signedness [-Wpointer-sign] 348 | t->ti = cp; | ^ scrn.c:350:46: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 350 | n1 = t->te ? strlen(t->te) : 0; | ~^~~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ scrn.c:356:31: warning: pointer targets in assignment from ‘char *’ to ‘const unsigned char *’ differ in signedness [-Wpointer-sign] 356 | t->te = cp; | ^ make[1]: Entering directory '/builddir/build/BUILD/jupp-41-build/jupp' gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/etc/jupp/\"" -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c b.c make[1]: Leaving directory '/builddir/build/BUILD/jupp-41-build/jupp' b.c: In function ‘bload’: b.c:2038:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2038 | if (!strcmp(n, "-")) | ^ | | | unsigned char * In file included from b.c:20: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ b.c:2094:25: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2094 | else if (strcmp(n, "-")) | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from b.c:28: b.c:2111:50: warning: pointer targets in passing argument 1 of ‘strdup’ differ in signedness [-Wpointer-sign] 2111 | b->name = joesep((unsigned char *)strdup(s)); | ^ | | | const unsigned char * path.h:28:26: note: in definition of macro ‘joesep’ 28 | #define joesep(path) (path) | ^~~~ /usr/include/string.h:187:34: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ b.c:2117:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2117 | } else if (!strcmp(n, "-")) { | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ b.c: In function ‘bfind’: b.c:2192:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2192 | if (b->name && !strcmp(s, b->name)) { | ^ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ b.c:2192:44: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2192 | if (b->name && !strcmp(s, b->name)) { | ~^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ b.c: In function ‘bfind_scratch’: b.c:2222:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2222 | if (b->name && !strcmp(s, b->name)) { | ^ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ b.c:2222:44: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2222 | if (b->name && !strcmp(s, b->name)) { | ~^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ b.c: In function ‘bcheck_loaded’: b.c:2260:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2260 | if (b->name && !strcmp(s, b->name)) { | ^ | | | const unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ b.c:2260:44: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2260 | if (b->name && !strcmp(s, b->name)) { | ~^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ b.c: In function ‘bsave’: b.c:2364:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2364 | } else if (!strcmp(s, "-")) { | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ b.c:2420:77: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2420 | if (!error && norm && flag && (!p->b->name || !strcmp((char *)s,p->b->name))) { | ~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ b.c:2426:36: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2426 | if (s[0] == '!' || !strcmp(s, "-")) { | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from b.c:29: b.c: In function ‘bldchn’: queue.h:26:14: warning: storing the address of local variable ‘anchor’ in ‘ITEM’ [-Wdangling-pointer=] 26 | ITEM = (void *)(item); \ | ~~~~~^~~~~~~~~~~~~~~~ b.c:1708:11: note: ‘anchor’ declared here 1708 | H anchor, *l; | ^~~~~~ queue.h:15:14: note: ‘ITEM’ declared here 15 | extern void *ITEM; | ^~~~ RPM build errors: make: *** [Makefile:307: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.bcHYs5 (%build) Bad exit status from /var/tmp/rpm-tmp.bcHYs5 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M ddf0e0b285a24b4585f5b138ac017669 -D /var/lib/mock/f42-build-56833885-6546493/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.wzs93fwi:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/jupp.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M ddf0e0b285a24b4585f5b138ac017669 -D /var/lib/mock/f42-build-56833885-6546493/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.wzs93fwi:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/jupp.spec'