Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/lv.spec'], chrootPath='/var/lib/mock/f40-build-799967-142612/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r12gy3ui:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r12gy3ui:/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', '7a7b6ad7bb874586b9c9c6233b3a5afa', '-D', '/var/lib/mock/f40-build-799967-142612/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r12gy3ui:/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 riscv64 --nodeps /builddir/build/SPECS/lv.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 warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Wrote: /builddir/build/SRPMS/lv-4.51-52.fc40.src.rpm RPM build warnings: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/lv.spec'], chrootPath='/var/lib/mock/f40-build-799967-142612/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r12gy3ui:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r12gy3ui:/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', 'd60ccf88f64c4c579f06e1f50011ac10', '-D', '/var/lib/mock/f40-build-799967-142612/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r12gy3ui:/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 riscv64 --nodeps /builddir/build/SPECS/lv.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 warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d8OF8N + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lv451 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lv451.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lv451 + rm -rf /builddir/build/BUILD/lv451-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/lv451-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (lv-4.49.4-nonstrip.patch):' Patch #1 (lv-4.49.4-nonstrip.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nonstrip --fuzz=0 patching file src/Makefile.in Patch #2 (lv-4.51-162372.patch): + echo 'Patch #2 (lv-4.51-162372.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .162372 --fuzz=0 patching file src/raw.c Patch #3 (lv-+num-option.patch): + echo 'Patch #3 (lv-+num-option.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .num --fuzz=0 patching file lv.1 patching file src/command.c patching file src/command.h patching file src/conf.c Patch #4 (lv-fastio.patch): + echo 'Patch #4 (lv-fastio.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fastio --fuzz=0 patching file src/command.c Hunk #1 succeeded at 512 (offset 15 lines). Hunk #2 succeeded at 521 (offset 15 lines). Hunk #3 succeeded at 633 (offset 15 lines). Hunk #4 succeeded at 713 (offset 15 lines). Hunk #5 succeeded at 733 (offset 15 lines). Hunk #6 succeeded at 743 (offset 15 lines). patching file src/configure.in patching file src/fetch.c patching file src/file.c patching file src/file.h Patch #5 (lv-lfs.patch): + echo 'Patch #5 (lv-lfs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lfs --fuzz=0 patching file src/command.c patching file src/configure.in patching file src/fetch.c patching file src/file.c patching file src/file.h patching file src/version.c patching file src/version.h patching file README patching file relnote.html patching file index.html Patch #6 (lv-aarch64.patch): + echo 'Patch #6 (lv-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .6-aarch64 --fuzz=0 patching file src/config.guess patching file src/config.sub Patch #7 (lv-no-sigvec.patch): + echo 'Patch #7 (lv-no-sigvec.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .7-sigvec --fuzz=0 patching file src/configure.in patching file src/console.c Patch #8 (lv-inline.patch): + echo 'Patch #8 (lv-inline.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .inline --fuzz=0 patching file src/file.c Patch #9 (lv-c99.patch): + echo 'Patch #9 (lv-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file src/file.h patching file src/guess.c patching file src/guesslocale.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vS34jb + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 lv451 + cd src + autoconf configure.in:30: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:30: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:30: the top level configure.in:40: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.in:40: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.in:40: the top level configure.in:58: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:58: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.in:44: AM_LANGINFO_CODESET is expanded from... configure.in:58: the top level configure.in:76: warning: AC_OUTPUT should be used without arguments. configure.in:76: You should run autoupdate. + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 + '[' x '!=' x ']' + '[' 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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-fastio configure: WARNING: unrecognized options: --disable-dependency-tracking checking whether ln -s works... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for perl... /usr/bin/perl checking if --enable-purify is specified... no checking for tgetstr in -lterminfo... no checking for tgetstr in -ltermcap... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for termio.h... yes checking for unistd.h... (cached) yes checking for termios.h... yes checking for locale.h... yes checking for sigaction... yes checking for tgetnum... yes checking for setlocale... yes checking whether getpgrp requires zero arguments... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for nl_langinfo and CODESET... 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 _LARGEFILE_SOURCE value needed for large files... no checking whether fastio is used... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j64 V=1 VERBOSE=1 gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c version.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c ctable.c ctable.c:39:24: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 39 | { AUTOSELECT, FALSE, "AUTO", | ^~~~~~ ctable.c:39:24: note: (near initialization for ‘cTable[0].codingSystemName’) ctable.c:45:19: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 45 | { UTF_7, FALSE, "UTF-7", | ^~~~~~~ ctable.c:45:19: note: (near initialization for ‘cTable[1].codingSystemName’) ctable.c:47:19: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 47 | { HZ_GB, FALSE, "HZ", | ^~~~ ctable.c:47:19: note: (near initialization for ‘cTable[2].codingSystemName’) ctable.c:53:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 53 | { EUC_KOREA, FALSE, "EUC-KR", | ^~~~~~~~ ctable.c:53:23: note: (near initialization for ‘cTable[3].codingSystemName’) ctable.c:55:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 55 | { EUC_JAPAN, FALSE, "EUC-JP", | ^~~~~~~~ ctable.c:55:23: note: (near initialization for ‘cTable[4].codingSystemName’) ctable.c:57:24: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 57 | { EUC_TAIWAN, FALSE, "EUC-TW", | ^~~~~~~~ ctable.c:57:24: note: (near initialization for ‘cTable[5].codingSystemName’) ctable.c:59:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 59 | { EUC_CHINA, FALSE, "EUC-CN", | ^~~~~~~~ ctable.c:59:23: note: (near initialization for ‘cTable[6].codingSystemName’) ctable.c:65:22: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 65 | { BIG_FIVE, FALSE, "BIG5", | ^~~~~~ ctable.c:65:22: note: (near initialization for ‘cTable[7].codingSystemName’) ctable.c:67:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 67 | { SHIFT_JIS, FALSE, "SHIFT-JIS", | ^~~~~~~~~~~ ctable.c:67:23: note: (near initialization for ‘cTable[8].codingSystemName’) ctable.c:69:19: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 69 | { UTF_8, FALSE, "UTF-8", | ^~~~~~~ ctable.c:69:19: note: (near initialization for ‘cTable[9].codingSystemName’) ctable.c:75:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 75 | { ISO_8859_1, TRUE, "ISO-8859-1", | ^~~~~~~~~~~~ ctable.c:75:23: note: (near initialization for ‘cTable[10].codingSystemName’) ctable.c:77:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 77 | { ISO_8859_2, TRUE, "ISO-8859-2", | ^~~~~~~~~~~~ ctable.c:77:23: note: (near initialization for ‘cTable[11].codingSystemName’) ctable.c:79:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 79 | { ISO_8859_3, TRUE, "ISO-8859-3", | ^~~~~~~~~~~~ ctable.c:79:23: note: (near initialization for ‘cTable[12].codingSystemName’) ctable.c:81:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 81 | { ISO_8859_4, TRUE, "ISO-8859-4", | ^~~~~~~~~~~~ ctable.c:81:23: note: (near initialization for ‘cTable[13].codingSystemName’) ctable.c:83:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 83 | { ISO_8859_5, TRUE, "ISO-8859-5", | ^~~~~~~~~~~~ ctable.c:83:23: note: (near initialization for ‘cTable[14].codingSystemName’) ctable.c:85:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 85 | { ISO_8859_6, TRUE, "ISO-8859-6", | ^~~~~~~~~~~~ ctable.c:85:23: note: (near initialization for ‘cTable[15].codingSystemName’) ctable.c:87:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 87 | { ISO_8859_7, TRUE, "ISO-8859-7", | ^~~~~~~~~~~~ ctable.c:87:23: note: (near initialization for ‘cTable[16].codingSystemName’) ctable.c:89:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 89 | { ISO_8859_8, TRUE, "ISO-8859-8", | ^~~~~~~~~~~~ ctable.c:89:23: note: (near initialization for ‘cTable[17].codingSystemName’) ctable.c:91:23: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 91 | { ISO_8859_9, TRUE, "ISO-8859-9", | ^~~~~~~~~~~~ ctable.c:91:23: note: (near initialization for ‘cTable[18].codingSystemName’) ctable.c:93:24: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 93 | { ISO_8859_10, TRUE, "ISO-8859-10", | ^~~~~~~~~~~~~ ctable.c:93:24: note: (near initialization for ‘cTable[19].codingSystemName’) ctable.c:95:24: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 95 | { ISO_8859_11, TRUE, "ISO-8859-11", | ^~~~~~~~~~~~~ ctable.c:95:24: note: (near initialization for ‘cTable[20].codingSystemName’) ctable.c:97:24: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 97 | { ISO_8859_13, TRUE, "ISO-8859-13", | ^~~~~~~~~~~~~ ctable.c:97:24: note: (near initialization for ‘cTable[21].codingSystemName’) ctable.c:99:24: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 99 | { ISO_8859_14, TRUE, "ISO-8859-14", | ^~~~~~~~~~~~~ ctable.c:99:24: note: (near initialization for ‘cTable[22].codingSystemName’) ctable.c:101:24: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 101 | { ISO_8859_15, TRUE, "ISO-8859-15", | ^~~~~~~~~~~~~ ctable.c:101:24: note: (near initialization for ‘cTable[23].codingSystemName’) ctable.c:103:24: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 103 | { ISO_8859_16, TRUE, "ISO-8859-16", | ^~~~~~~~~~~~~ ctable.c:103:24: note: (near initialization for ‘cTable[24].codingSystemName’) ctable.c:109:25: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 109 | { ISO_2022_CN, FALSE, "ISO-2022-CN", | ^~~~~~~~~~~~~ ctable.c:109:25: note: (near initialization for ‘cTable[25].codingSystemName’) ctable.c:111:25: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 111 | { ISO_2022_JP, FALSE, "ISO-2022-JP", | ^~~~~~~~~~~~~ ctable.c:111:25: note: (near initialization for ‘cTable[26].codingSystemName’) ctable.c:113:25: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 113 | { ISO_2022_KR, FALSE, "ISO-2022-KR", | ^~~~~~~~~~~~~ ctable.c:113:25: note: (near initialization for ‘cTable[27].codingSystemName’) ctable.c:119:17: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 119 | { RAW, FALSE, "RAW", | ^~~~~ ctable.c:119:17: note: (near initialization for ‘cTable[28].codingSystemName’) gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c iso8859.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c kana.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c hz.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c raw.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c iso2cn.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c iso2jp.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c stream.c stream.c:44:27: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 44 | private byte *gz_filter = "zcat"; | ^~~~~~ stream.c:45:28: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 45 | private byte *bz2_filter = "bzcat"; | ^~~~~~~ stream.c: In function ‘StreamOpen’: stream.c:65:15: warning: pointer targets in passing argument 1 of ‘access’ differ in signedness [-Wpointer-sign] 65 | if( access( file, 0 ) ){ | ^~~~ | | | unsigned char * In file included from stream.c:30: /usr/include/unistd.h:287:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ stream.c:66:13: warning: pointer targets in passing argument 1 of ‘perror’ differ in signedness [-Wpointer-sign] 66 | perror( file ); | ^~~~ | | | unsigned char * In file included from stream.c:23: /usr/include/stdio.h:878:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 878 | extern void perror (const char *__s) __COLD; | ~~~~~~~~~~~~^~~ stream.c:73:24: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 73 | if( !strcmp( "gz", exts ) || !strcmp( "GZ", exts ) | ^~~~ | | | unsigned char * In file included from stream.c:25: /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) | ~~~~~~~~~~~~^~~~ stream.c:73:49: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 73 | if( !strcmp( "gz", exts ) || !strcmp( "GZ", exts ) | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~~ stream.c:74:26: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 74 | || !strcmp( "z", exts ) || !strcmp( "Z", exts ) ) | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~~ stream.c:74:50: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 74 | || !strcmp( "z", exts ) || !strcmp( "Z", exts ) ) | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~~ stream.c:76:30: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 76 | else if( !strcmp( "bz2", exts ) || !strcmp( "BZ2", exts ) ) | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~~ stream.c:76:56: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 76 | else if( !strcmp( "bz2", exts ) || !strcmp( "BZ2", exts ) ) | ^~~~ | | | 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) | ~~~~~~~~~~~~^~~~ stream.c:118:25: warning: pointer targets in passing argument 1 of ‘execlp’ differ in signedness [-Wpointer-sign] 118 | if( 0 > execlp( filter, filter, file, NULL ) ) | ^~~~~~ | | | unsigned char * /usr/include/unistd.h:605:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 605 | extern int execlp (const char *__file, const char *__arg, ...) | ~~~~~~~~~~~~^~~~~~ stream.c:118:33: warning: pointer targets in passing argument 2 of ‘execlp’ differ in signedness [-Wpointer-sign] 118 | if( 0 > execlp( filter, filter, file, NULL ) ) | ^~~~~~ | | | unsigned char * /usr/include/unistd.h:605:52: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 605 | extern int execlp (const char *__file, const char *__arg, ...) | ~~~~~~~~~~~~^~~~~ stream.c:119:19: warning: pointer targets in passing argument 1 of ‘perror’ differ in signedness [-Wpointer-sign] 119 | perror( filter ), exit( -1 ); | ^~~~~~ | | | unsigned char * /usr/include/stdio.h:878:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 878 | extern void perror (const char *__s) __COLD; | ~~~~~~~~~~~~^~~ stream.c:138:32: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 138 | if( NULL == (st->fp = fopen( file, "rb" )) ){ | ^~~~ | | | unsigned char * /usr/include/stdio.h:264:44: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 264 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ stream.c:139:13: warning: pointer targets in passing argument 1 of ‘perror’ differ in signedness [-Wpointer-sign] 139 | perror( file ); | ^~~~ | | | unsigned char * /usr/include/stdio.h:878:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 878 | extern void perror (const char *__s) __COLD; | ~~~~~~~~~~~~^~~ stream.c:117:9: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 117 | dup( fds[ 1 ] ); | ^~~~~~~~~~~~~~~ uty.c: In function ‘TokenAlloc’: uty.c:130:12: warning: pointer targets in returning ‘char *’ from a function with return type ‘unsigned char *’ differ in signedness [-Wpointer-sign] 130 | return ""; | ^~ uty.c: In function ‘Exts’: uty.c:225:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 225 | for( i = strlen( s ) - 1 ; i >= 0 ; i-- ){ | ^ | | | unsigned char * In file included from uty.c:25: /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) | ~~~~~~~~~~~~^~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c uty.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c iso2kr.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c eucjapan.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c conv.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c itable.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c encode.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c iso2022.c In file included from conv.c:26: ./file.h:173:19: warning: inline function ‘IobufUngetc’ declared but never defined 173 | public inline int IobufUngetc( int ch, iobuf_t *iobuf ); | ^~~~~~~~~~~ ./file.h:172:19: warning: inline function ‘IobufGetc’ declared but never defined 172 | public inline int IobufGetc( iobuf_t *iobuf ); | ^~~~~~~~~ In file included from ./itable_t.h:13, from ./itable.h:11, from ./decode.h:11, from iso2022.c:26: iso2022.c: In function ‘DecodeISO2022’: ./decode.h:89:53: warning: ‘c[1]’ may be used uninitialized [-Wmaybe-uninitialized] 89 | DecodeAddIchar( (cset), MakeIchar( (s)[ 0 ], (s)[ 1 ] ), (attr) ); \ ./ichar.h:28:64: note: in definition of macro ‘MakeIchar’ 28 | #define MakeIchar( c1, c2 ) ( ( (ic_t)(c1) << 8 ) | (ic_t)(c2) ) | ^~ iso2022.c:145:7: note: in expansion of macro ‘DecodeAddChar’ 145 | DecodeAddChar( charset, c, state->attr ); | ^~~~~~~~~~~~~ iso2022.c:35:8: note: ‘c[1]’ was declared here 35 | byte c[ ICHAR_WIDTH ]; | ^ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c decode.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c lv.c lv.c: In function ‘LvInit’: lv.c:78:35: warning: pointer targets in passing argument 1 of ‘strrchr’ differ in signedness [-Wpointer-sign] 78 | if( NULL != (ptr = strrchr( argv[ 0 ], '/' )) ) | ~~~~^~~~~ | | | unsigned char * In file included from lv.c:25: /usr/include/string.h:273:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 273 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ lv.c:78:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 78 | if( NULL != (ptr = strrchr( argv[ 0 ], '/' )) ) | ^ lv.c:80:40: warning: pointer targets in passing argument 1 of ‘strrchr’ differ in signedness [-Wpointer-sign] 80 | else if( NULL != (ptr = strrchr( argv[ 0 ], '\\' )) ) | ~~~~^~~~~ | | | unsigned char * /usr/include/string.h:273:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 273 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ lv.c:80:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 80 | else if( NULL != (ptr = strrchr( argv[ 0 ], '\\' )) ) | ^ lv.c:85:17: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 85 | if( !strncmp( ptr, GREP_COMMAND, strlen( GREP_COMMAND ) ) | ^~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ lv.c:86:19: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 86 | || !strncmp( ptr, GREP_COMMAND_DOS, strlen( GREP_COMMAND_DOS ) ) ) | ^~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ lv.c: In function ‘LvGrep’: lv.c:120:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 120 | length = strlen( conf->pattern ); | ~~~~^~~~~~~~~ | | | 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) | ~~~~~~~~~~~~^~~ In file included from ./command.h:11, from lv.c:43: ./file.h: At top level: ./file.h:173:19: warning: inline function ‘IobufUngetc’ declared but never defined 173 | public inline int IobufUngetc( int ch, iobuf_t *iobuf ); | ^~~~~~~~~~~ ./file.h:172:19: warning: inline function ‘IobufGetc’ declared but never defined 172 | public inline int IobufGetc( iobuf_t *iobuf ); | ^~~~~~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c display.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c guesslocale.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c istr.c In file included from ./screen.h:11, from display.c:24: ./file.h:173:19: warning: inline function ‘IobufUngetc’ declared but never defined 173 | public inline int IobufUngetc( int ch, iobuf_t *iobuf ); | ^~~~~~~~~~~ ./file.h:172:19: warning: inline function ‘IobufGetc’ declared but never defined 172 | public inline int IobufGetc( iobuf_t *iobuf ); | ^~~~~~~~~ In file included from istr.c:31: ./file.h:173:19: warning: inline function ‘IobufUngetc’ declared but never defined 173 | public inline int IobufUngetc( int ch, iobuf_t *iobuf ); | ^~~~~~~~~~~ ./file.h:172:19: warning: inline function ‘IobufGetc’ declared but never defined 172 | public inline int IobufGetc( iobuf_t *iobuf ); | ^~~~~~~~~ guess.c: In function ‘GuessCodingSystem’: guess.c:212:8: warning: unused variable ‘ch’ [-Wunused-variable] 212 | byte ch; | ^~ guess.c:211:7: warning: unused variable ‘i’ [-Wunused-variable] 211 | int i; | ^ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c guess.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c nfa.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c big5.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c escape.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c fetch.c In file included from ./find.h:13, from fetch.c:32: ./file.h:173:19: warning: inline function ‘IobufUngetc’ declared but never defined 173 | public inline int IobufUngetc( int ch, iobuf_t *iobuf ); | ^~~~~~~~~~~ ./file.h:172:19: warning: inline function ‘IobufGetc’ declared but never defined 172 | public inline int IobufGetc( iobuf_t *iobuf ); | ^~~~~~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c shiftjis.c In file included from ./itable_t.h:13, from ./itable.h:11, from ./decode.h:11, from shiftjis.c:26: shiftjis.c: In function ‘DecodeShiftJis’: ./decode.h:89:53: warning: ‘c[1]’ may be used uninitialized [-Wmaybe-uninitialized] 89 | DecodeAddIchar( (cset), MakeIchar( (s)[ 0 ], (s)[ 1 ] ), (attr) ); \ ./ichar.h:28:64: note: in definition of macro ‘MakeIchar’ 28 | #define MakeIchar( c1, c2 ) ( ( (ic_t)(c1) << 8 ) | (ic_t)(c2) ) | ^~ shiftjis.c:130:7: note: in expansion of macro ‘DecodeAddChar’ 130 | DecodeAddChar( charset, c, state->attr ); | ^~~~~~~~~~~~~ shiftjis.c:63:8: note: ‘c[1]’ was declared here 63 | byte c[ ICHAR_WIDTH ]; | ^ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c screen.c In file included from ./position.h:11, from screen.c:26: ./file.h:173:19: warning: inline function ‘IobufUngetc’ declared but never defined 173 | public inline int IobufUngetc( int ch, iobuf_t *iobuf ); | ^~~~~~~~~~~ ./file.h:172:19: warning: inline function ‘IobufGetc’ declared but never defined 172 | public inline int IobufGetc( iobuf_t *iobuf ); | ^~~~~~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c conf.c conf.c: In function ‘ConfArg’: conf.c:265:39: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 265 | case 'W': conf->width = atoi( s + 1 ); break; | ~~^~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from conf.c:23: /usr/include/stdlib.h:481:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ conf.c:266:40: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 266 | case 'H': conf->height = atoi( s + 1 ); break; | ~~^~~ | | | unsigned char * /usr/include/stdlib.h:481:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ conf.c:275:46: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 275 | editor_program = Malloc( strlen( s + 1 ) + 1 ); | ~~^~~ | | | unsigned char * In file included from conf.c:25: /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) | ~~~~~~~~~~~~^~~ conf.c:276:19: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 276 | strcpy( editor_program, s + 1 ); | ^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ conf.c:276:37: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 276 | strcpy( editor_program, s + 1 ); | ~~^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ conf.c:280:57: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 280 | case 'T': unicode_width_threshold = (ic_t)atoi( s + 1 ); break; | ~~^~~ | | | unsigned char * /usr/include/stdlib.h:481:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ conf.c:317:36: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 317 | size_t initcmd_len = strlen( s ); | ^ | | | 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) | ~~~~~~~~~~~~^~~ conf.c:321:28: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 321 | strcpy( initcmd_str, s ); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ conf.c: In function ‘ConfFile’: conf.c:377:28: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 377 | if( NULL == (fp = fopen( file, "r" )) ) | ^~~~ | | | unsigned char * /usr/include/stdio.h:264:44: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 264 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ conf.c:380:25: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 380 | while( NULL != fgets( buf, BUF_SIZE, fp ) ){ | ^~~ | | | unsigned char * In file included from /usr/include/stdio.h:980: /usr/include/bits/stdio2.h:196:25: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 196 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ conf.c:383:22: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 383 | for( i = strlen( buf ) - 1 ; i >= 0 ; i-- ){ | ^~~ | | | 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) | ~~~~~~~~~~~~^~~ conf.c: In function ‘Conf’: conf.c:402:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 402 | if( NULL != (ptr = getenv( "HOME" )) ){ | ^ conf.c:403:13: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 403 | strcpy( buf, ptr ); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ conf.c:403:18: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 403 | strcpy( buf, ptr ); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ conf.c:404:13: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 404 | strcat( buf, "/" LV_CONF ); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ conf.c:412:22: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 412 | if( NULL != (*argv = getenv( "LV" )) ) | ^ conf.c:413:26: warning: pointer targets in passing argument 3 of ‘ConfArg’ differ in signedness [-Wpointer-sign] 413 | ConfArg( conf, argv, "environment" ); | ^~~~~~~~~~~~~ | | | char * conf.c:219:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 219 | private void ConfArg( conf_t *conf, byte **argv, byte *location ) conf.c:419:26: warning: pointer targets in passing argument 3 of ‘ConfArg’ differ in signedness [-Wpointer-sign] 419 | ConfArg( conf, argv, "argument" ); | ^~~~~~~~~~ | | | char * conf.c:219:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 219 | private void ConfArg( conf_t *conf, byte **argv, byte *location ) conf.c: In function ‘ConfInit’: conf.c:424:26: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 424 | #define helpFile (*lvHelpFile) | ~^~~~~~~~~~~~ | | | unsigned char * conf.c:445:11: note: in expansion of macro ‘helpFile’ 445 | strcpy( helpFile, LV_HELP_PATH "/" LV_HELP ); | ^~~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ conf.c: In function ‘ConfFilename’: conf.c:454:22: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 454 | if( NULL != (env = getenv( "MAN_PN" )) ) | ^ In file included from ./find.h:13, from conf.c:30: ./file.h: At top level: ./file.h:173:19: warning: inline function ‘IobufUngetc’ declared but never defined 173 | public inline int IobufUngetc( int ch, iobuf_t *iobuf ); | ^~~~~~~~~~~ ./file.h:172:19: warning: inline function ‘IobufGetc’ declared but never defined 172 | public inline int IobufGetc( iobuf_t *iobuf ); | ^~~~~~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c utf.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c console.c console.c: In function ‘ConsoleResetAnsiSequence’: console.c:143:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 143 | ansi_standout = "7"; | ^ console.c:144:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 144 | ansi_reverse = "7"; | ^ console.c:145:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 145 | ansi_blink = "5"; | ^ console.c:146:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 146 | ansi_underline = "4"; | ^ console.c:147:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 147 | ansi_hilight = "1"; | ^ console.c: In function ‘ConsoleTermInit’: console.c:308:21: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 308 | if( NULL == (term = getenv( "TERM" )) ) | ^ console.c:315:7: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 315 | ptr = func; | ^ console.c:336:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 336 | cur_left = tgetstr( "kl", &ptr ); | ^ console.c:337:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 337 | cur_right = tgetstr( "kr", &ptr ); | ^ console.c:338:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 338 | cur_up = tgetstr( "ku", &ptr ); | ^ console.c:339:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 339 | cur_down = tgetstr( "kd", &ptr ); | ^ console.c:340:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 340 | cur_ppage = tgetstr( "kP", &ptr ); | ^ console.c:341:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 341 | cur_npage = tgetstr( "kN", &ptr ); | ^ console.c: In function ‘ConsoleSetAttribute’: console.c:637:20: warning: pointer targets in passing argument 1 of ‘ConsolePrints’ differ in signedness [-Wpointer-sign] 637 | ConsolePrints( "\x1b[0" ); | ^~~~~~~~ | | | char * console.c:545:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 545 | public void ConsolePrints( byte *str ) console.c:645:28: warning: pointer targets in passing argument 1 of ‘ConsolePrints’ differ in signedness [-Wpointer-sign] 645 | ConsolePrints( ";30;4" ); | ^~~~~~~ | | | char * console.c:545:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 545 | public void ConsolePrints( byte *str ) console.c:648:28: warning: pointer targets in passing argument 1 of ‘ConsolePrints’ differ in signedness [-Wpointer-sign] 648 | ConsolePrints( ";37;4" ); | ^~~~~~~ | | | char * console.c:545:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 545 | public void ConsolePrints( byte *str ) console.c:652:26: warning: pointer targets in passing argument 1 of ‘ConsolePrints’ differ in signedness [-Wpointer-sign] 652 | ConsolePrints( ";3" ); | ^~~~ | | | char * console.c:545:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 545 | public void ConsolePrints( byte *str ) gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c file.c file.c: In function ‘FileLoadLine’: file.c:205:9: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 205 | str = short_str; | ^ file.c:219:9: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 219 | str = long_str; | ^ file.c:227:49: warning: pointer targets in passing argument 1 of ‘GuessCodingSystem’ differ in signedness [-Wpointer-sign] 227 | f->inputCodingSystem = GuessCodingSystem( str, len, | ^~~ | | | char * In file included from file.c:44: ./guess.h:15:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 15 | public byte GuessCodingSystem( byte *str, int length, byte defaultEuc ); file.c:232:20: warning: pointer targets in passing argument 1 of ‘GuessHz’ differ in signedness [-Wpointer-sign] 232 | if( GuessHz( str, len ) ){ | ^~~ | | | char * ./guess.h:16:28: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 16 | public byte GuessHz( byte *str, int length ); file.c:240:10: warning: pointer targets in returning ‘char *’ from a function with return type ‘unsigned char *’ differ in signedness [-Wpointer-sign] 240 | return str; | ^~~ file.c: In function ‘FileName’: file.c:550:23: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 550 | length = strlen( f->fileName ); | ~^~~~~~~~~~ | | | unsigned char * In file included from file.c:25: /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) | ~~~~~~~~~~~~^~~ file.c: In function ‘FileStatus’: file.c:570:12: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 570 | sprintf( fileStatus, "%s %lu/%lu [%s|%s|%s|%s]", | ^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from file.c:23: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c dfa.c dfa.c: In function ‘ReMakeDFA’: dfa.c:315:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 315 | reMessage = "too many states"; | ^ In file included from ./find.h:13, from dfa.c:31: ./file.h: At top level: ./file.h:173:19: warning: inline function ‘IobufUngetc’ declared but never defined 173 | public inline int IobufUngetc( int ch, iobuf_t *iobuf ); | ^~~~~~~~~~~ ./file.h:172:19: warning: inline function ‘IobufGetc’ declared but never defined 172 | public inline int IobufGetc( iobuf_t *iobuf ); | ^~~~~~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c find.c In file included from ./fetch.h:11, from find.c:30: ./file.h:173:19: warning: inline function ‘IobufUngetc’ declared but never defined 173 | public inline int IobufUngetc( int ch, iobuf_t *iobuf ); | ^~~~~~~~~~~ ./file.h:172:19: warning: inline function ‘IobufGetc’ declared but never defined 172 | public inline int IobufGetc( iobuf_t *iobuf ); | ^~~~~~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c re.c re.c: In function ‘ReChar’: re.c:157:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 157 | reMessage = "unexpected eol"; | ^ re.c: In function ‘ReCharset1’: re.c:223:17: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 223 | reMessage = "miscomposed range"; | ^ re.c:229:17: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 229 | reMessage = "overcrossing range"; | ^ re.c: In function ‘ReTerm’: re.c:276:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 276 | reMessage = "unexpected eol"; | ^ re.c:306:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 306 | reMessage = "unmatched ("; | ^ re.c:335:19: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 335 | reMessage = "unmatched ["; | ^ In file included from ./find.h:13, from re.c:28: ./file.h: At top level: ./file.h:173:19: warning: inline function ‘IobufUngetc’ declared but never defined 173 | public inline int IobufUngetc( int ch, iobuf_t *iobuf ); | ^~~~~~~~~~~ ./file.h:172:19: warning: inline function ‘IobufGetc’ declared but never defined 172 | public inline int IobufGetc( iobuf_t *iobuf ); | ^~~~~~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c unirev.c gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c command.c command.c: In function ‘CommandInit’: command.c:107:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 107 | if ((!(editor_program = getenv("VISUAL"))) && | ^ command.c:108:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 108 | (!(editor_program = getenv("EDITOR")))) { | ^ command.c:109:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 109 | editor_program = "vi -c %d"; | ^ command.c: In function ‘CommandGetNumber’: command.c:354:16: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 354 | sprintf( buf, "%u", n ); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from command.c:23: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ command.c: In function ‘CommandFindContinue’: command.c:391:18: warning: pointer targets in passing argument 1 of ‘ConsolePrints’ differ in signedness [-Wpointer-sign] 391 | ConsolePrints( "Wait a minute..." ); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from command.c:45: ./console.h:55:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 55 | public void ConsolePrints( byte *str ); command.c:400:12: warning: pointer targets in returning ‘char *’ from a function with return type ‘unsigned char *’ differ in signedness [-Wpointer-sign] 400 | return "not found"; | ^~~~~~~~~~~ command.c: In function ‘CommandReload’: command.c:516:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 516 | label = "cannot reload non-regular files"; | ^ command.c:520:29: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 520 | if( NULL == (fp = fopen( f->fileName, "rb" )) ){ | ~^~~~~~~~~~ | | | unsigned char * /usr/include/stdio.h:264:44: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 264 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ command.c:521:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 521 | label = "cannot reload current file"; | ^ command.c:532:18: warning: pointer targets in passing argument 1 of ‘ConsolePrints’ differ in signedness [-Wpointer-sign] 532 | ConsolePrints( "Now reloading..." ); | ^~~~~~~~~~~~~~~~~~ | | | char * ./console.h:55:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 55 | public void ConsolePrints( byte *str ); command.c: In function ‘CommandLaunchEditor’: command.c:576:15: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 576 | if( strlen( editor ) + strlen( filename ) + 2 > COM_SIZE ) | ^~~~~~ | | | unsigned char * In file included from command.c:25: /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) | ~~~~~~~~~~~~^~~ command.c:576:34: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 576 | if( strlen( editor ) + strlen( filename ) + 2 > COM_SIZE ) | ^~~~~~~~ | | | 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) | ~~~~~~~~~~~~^~~ command.c:579:11: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 579 | strcpy( com, editor ); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ command.c:579:16: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 579 | strcpy( com, editor ); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ command.c:592:37: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 592 | if( 0x00 != (nptr = strchr( argv[ argc ], '%' )) && 'd' == *(++nptr ) ){ | ~~~~^~~~~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ command.c:592:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 592 | if( 0x00 != (nptr = strchr( argv[ argc ], '%' )) && 'd' == *(++nptr ) ){ | ^ command.c:593:16: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 593 | sprintf( num, argv[ argc ], line ); | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ command.c:593:25: warning: pointer targets in passing argument 2 of ‘sprintf’ differ in signedness [-Wpointer-sign] 593 | sprintf( num, argv[ argc ], line ); | ~~~~^~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ command.c:617:17: warning: pointer targets in passing argument 1 of ‘execvp’ differ in signedness [-Wpointer-sign] 617 | execvp( argv[ 0 ], (char **)argv ); | ~~~~^~~~~ | | | unsigned char * In file included from command.c:33: /usr/include/unistd.h:599:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 599 | extern int execvp (const char *__file, char *const __argv[]) | ~~~~~~~~~~~~^~~~~~ command.c: In function ‘CommandEdit’: command.c:637:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 637 | label = "cannot edit non-regular files"; | ^ command.c:642:33: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 642 | if( NULL == (editor_program = getenv( "EDITOR" )) ){ | ^ command.c:643:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 643 | label = "editor unknown"; | ^ command.c:658:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 658 | label = "editor failed"; | ^ command.c: In function ‘CommandPercent’: command.c:680:20: warning: pointer targets in passing argument 1 of ‘ConsolePrints’ differ in signedness [-Wpointer-sign] 680 | ConsolePrints( "Just a moment..." ); | ^~~~~~~~~~~~~~~~~~ | | | char * ./console.h:55:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 55 | public void ConsolePrints( byte *str ); command.c: In function ‘CommandBottomOfFile’: command.c:704:18: warning: pointer targets in passing argument 1 of ‘ConsolePrints’ differ in signedness [-Wpointer-sign] 704 | ConsolePrints( "Just a moment..." ); | ^~~~~~~~~~~~~~~~~~ | | | char * ./console.h:55:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 55 | public void ConsolePrints( byte *str ); command.c: In function ‘CommandPoll’: command.c:717:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 717 | label = "cannot poll non-regular files"; | ^ command.c:721:16: warning: pointer targets in passing argument 1 of ‘access’ differ in signedness [-Wpointer-sign] 721 | if( access( f->fileName, 0 ) ){ | ~^~~~~~~~~~ | | | unsigned char * /usr/include/unistd.h:287:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ command.c:722:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 722 | label = "cannot access current file"; | ^ command.c:732:20: warning: pointer targets in passing argument 1 of ‘ConsolePrints’ differ in signedness [-Wpointer-sign] 732 | ConsolePrints( "Waiting for data, break (^C) to return..." ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ./console.h:55:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 55 | public void ConsolePrints( byte *str ); command.c: In function ‘CommandFileStatus’: command.c:849:20: warning: pointer targets in passing argument 1 of ‘ConsolePrints’ differ in signedness [-Wpointer-sign] 849 | ConsolePrints( "Just a moment..." ); | ^~~~~~~~~~~~~~~~~~ | | | char * ./console.h:55:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 55 | public void ConsolePrints( byte *str ); command.c: In function ‘CommandVersion’: command.c:864:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 864 | label = VERSION; | ^ command.c: In function ‘CommandColon’: command.c:1001:42: warning: pointer targets in passing argument 1 of ‘StreamOpen’ differ in signedness [-Wpointer-sign] 1001 | if( NULL == (st = StreamOpen( files->name )) ){ | ~~~~~^~~~~~ | | | char * In file included from ./file.h:17, from ./find.h:13, from command.c:43: ./stream.h:19:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 19 | public stream_t *StreamOpen( byte *file ); command.c:1016:38: warning: pointer targets in passing argument 1 of ‘FileAttach’ differ in signedness [-Wpointer-sign] 1016 | files->file = FileAttach( files->name, st, | ~~~~~^~~~~~ | | | char * ./file.h:139:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 139 | public file_t *FileAttach( byte *fileName, stream_t *st, command.c: In function ‘CreateFileList’: command.c:1090:17: warning: pointer targets in passing argument 1 of ‘access’ differ in signedness [-Wpointer-sign] 1090 | if( access( *argv, 0 ) ){ | ^~~~~ | | | unsigned char * /usr/include/unistd.h:287:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 287 | extern int access (const char *__name, int __type) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ command.c:1091:15: warning: pointer targets in passing argument 1 of ‘perror’ differ in signedness [-Wpointer-sign] 1091 | perror( *argv ); | ^~~~~ | | | unsigned char * /usr/include/stdio.h:878:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 878 | extern void perror (const char *__s) __COLD; | ~~~~~~~~~~~~^~~ command.c:1096:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1096 | list->name = *argv; | ^ command.c: In function ‘Command’: command.c:1149:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1149 | label = "Interrupted"; | ^ command.c:1163:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1163 | label = "There are some truncated lines"; | ^ command.c:1172:17: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1172 | label = "(TRUNCATED)"; | ^ command.c:1174:17: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1174 | label = "(END)"; | ^ ./file.h: At top level: ./file.h:173:19: warning: inline function ‘IobufUngetc’ declared but never defined 173 | public inline int IobufUngetc( int ch, iobuf_t *iobuf ); | ^~~~~~~~~~~ ./file.h:172:19: warning: inline function ‘IobufGetc’ declared but never defined 172 | public inline int IobufGetc( iobuf_t *iobuf ); | ^~~~~~~~~ gcc -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DLV_HELP_PATH=\"/usr/lib64/lv\" -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGACTION=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -DHAVE_FSEEKO=1 -DUSE_INTERNAL_IOBUF=1 -c unimap.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -o lv itable.o ctable.o uty.o istr.o stream.o file.o guess.o decode.o encode.o escape.o iso2022.o iso8859.o iso2cn.o iso2jp.o iso2kr.o kana.o eucjapan.o shiftjis.o big5.o hz.o raw.o fetch.o screen.o command.o display.o find.o re.o nfa.o dfa.o conv.o version.o conf.o lv.o console.o guesslocale.o utf.o unimap.o unirev.o -ltermcap + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gGrKuj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64 + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 lv451 + cd src + mkdir -p /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/man/man1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64 'INSTALL=/usr/bin/install -p' bindir=/builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/bin libdir=/builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/lib64 mandir=/builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/man /usr/bin/install -p -m 555 lv /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/bin if test -f /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/bin/lgrep; then \ /bin/rm -f /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/bin/lgrep; \ fi (cd /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/bin; ln lv lgrep) if test ! -d /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/lib64/lv; then \ mkdir -p /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/lib64/lv; \ fi /usr/bin/install -p -m 444 ./../lv.hlp /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/lib64/lv if test -d /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/man -a -d /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/man/man1; then \ /usr/bin/install -p -m 444 ./../lv.1 /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/man/man1; \ fi + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 4.51-52.fc40 --unique-debug-suffix -4.51-52.fc40.riscv64 --unique-debug-src-base lv-4.51-52.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lv451 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/bin/lgrep'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/bin/lgrep'; reason: Permission denied DWARF-compressing 2 files dwz: Too few files for multifile optimization sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/lv-4.51-52.fc40.riscv64 4455 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: lv-4.51-52.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rS8MqP + umask 022 + cd /builddir/build/BUILD + cd lv451 + DOCDIR=/builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/doc/lv + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/doc/lv + cp -pr /builddir/build/BUILD/lv451/README /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/doc/lv + cp -pr /builddir/build/BUILD/lv451/build /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/doc/lv + cp -pr /builddir/build/BUILD/lv451/hello.sample /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/doc/lv + cp -pr /builddir/build/BUILD/lv451/hello.sample.gif /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/doc/lv + cp -pr /builddir/build/BUILD/lv451/index.html /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/doc/lv + cp -pr /builddir/build/BUILD/lv451/relnote.html /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/doc/lv + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oXJDhJ + umask 022 + cd /builddir/build/BUILD + cd lv451 + LICENSEDIR=/builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/licenses/lv + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/licenses/lv + cp -pr /builddir/build/BUILD/lv451/GPL.txt /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64/usr/share/licenses/lv + RPM_EC=0 ++ jobs -p + exit 0 Provides: lv = 4.51-52.fc40 lv(riscv-64) = 4.51-52.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: lv-debugsource-4.51-52.fc40.riscv64 Provides: lv-debugsource = 4.51-52.fc40 lv-debugsource(riscv-64) = 4.51-52.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lv-debuginfo-4.51-52.fc40.riscv64 Provides: debuginfo(build-id) = 69d5aa83273837c22ab3844de008d6890cb0b661 debuginfo(build-id) = nilnil lv-debuginfo = 4.51-52.fc40 lv-debuginfo(riscv-64) = 4.51-52.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lv-debugsource(riscv-64) = 4.51-52.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lv-4.51-52.fc40.riscv64 Wrote: /builddir/build/RPMS/lv-debuginfo-4.51-52.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/lv-4.51-52.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/lv-debugsource-4.51-52.fc40.riscv64.rpm RPM build warnings: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Child return code was: 0