Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lv.spec'], chrootPath='/var/lib/mock/f33-build-331866-58285/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1597881600 Wrote: /builddir/build/SRPMS/lv-4.51-42.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lv.spec'], chrootPath='/var/lib/mock/f33-build-331866-58285/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1597881600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ehoA3t + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lv451 + /usr/bin/gzip -dc /builddir/build/SOURCES/lv451.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lv451 + /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 -p1 -b --suffix .nonstrip --fuzz=0 patching file src/Makefile.in + echo 'Patch #2 (lv-4.51-162372.patch):' Patch #2 (lv-4.51-162372.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -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 -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 -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 -p1 -b --suffix .6-aarch64 --fuzz=0 patching file src/config.guess patching file src/config.sub + echo 'Patch #7 (lv-no-sigvec.patch):' Patch #7 (lv-no-sigvec.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -p1 -b --suffix .inline --fuzz=0 patching file src/file.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nELSut + umask 022 + cd /builddir/build/BUILD + cd lv451 + cd src + autoconf + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-23 11:28:38.765109512 -0400 +++ ./configure 2020-08-23 11:28:39.925109578 -0400 @@ -1710,7 +1710,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.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' ']' ++ find . -name ltmain.sh + ./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 --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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for 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 grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking for unistd.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking locale.h usability... yes checking locale.h presence... 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 -j4 V=1 VERBOSE=1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 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:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 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 ); | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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:780:33: note: expected 'const char *' but argument is of type 'unsigned char *' 780 | extern void perror (const char *__s); | ~~~~~~~~~~~~^~~ 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:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | 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 * In file included from stream.c:25: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ stream.c:74:19: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 74 | || !strcmp( "z", exts ) || !strcmp( "Z", exts ) ) | ^~~~ | | | unsigned char * In file included from stream.c:25: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ stream.c:74:43: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 74 | || !strcmp( "z", exts ) || !strcmp( "Z", exts ) ) | ^~~~ | | | unsigned char * In file included from stream.c:25: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | 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 * In file included from stream.c:25: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | 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 * In file included from stream.c:25: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ stream.c:118:18: warning: pointer targets in passing argument 1 of 'execlp' differ in signedness [-Wpointer-sign] 118 | if( 0 > execlp( filter, filter, file, NULL ) ) | ^~~~~~ | | | unsigned char * In file included from stream.c:30: /usr/include/unistd.h:595:32: note: expected 'const char *' but argument is of type 'unsigned char *' 595 | extern int execlp (const char *__file, const char *__arg, ...) | ~~~~~~~~~~~~^~~~~~ stream.c:118:26: warning: pointer targets in passing argument 2 of 'execlp' differ in signedness [-Wpointer-sign] 118 | if( 0 > execlp( filter, filter, file, NULL ) ) | ^~~~~~ | | | unsigned char * In file included from stream.c:30: /usr/include/unistd.h:595:52: note: expected 'const char *' but argument is of type 'unsigned char *' 595 | extern int execlp (const char *__file, const char *__arg, ...) | ~~~~~~~~~~~~^~~~~ stream.c:119:12: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] 119 | perror( filter ), exit( -1 ); | ^~~~~~ | | | unsigned char * In file included from stream.c:23: /usr/include/stdio.h:780:33: note: expected 'const char *' but argument is of type 'unsigned char *' 780 | extern void perror (const char *__s); | ~~~~~~~~~~~~^~~ 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 * In file included from stream.c:23: /usr/include/stdio.h:246:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 246 | 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 * In file included from stream.c:23: /usr/include/stdio.h:780:33: note: expected 'const char *' but argument is of type 'unsigned char *' 780 | extern void perror (const char *__s); | ~~~~~~~~~~~~^~~ stream.c:117:2: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 117 | dup( fds[ 1 ] ); | ^~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 guess.c: In function 'GuessCodingSystem_EastAsia': guess.c:150:12: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 150 | if( !strncmp(language, "ja", 2) ) | ^~~~~~~ guess.c:150:36: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 150 | if( !strncmp(language, "ja", 2) ) | ^ : note: built-in 'strncmp' declared here guess.c: In function 'GuessCodingSystem': guess.c:218:22: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 218 | if (NULL == nl || !strcmp("C", nl)) | ^~~~~~ guess.c:240:34: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 240 | if( !strncmp(language, "ja", 2) || !strncmp(language, "ko", 2) || | ^ : note: built-in 'strncmp' declared here guess.c:240:65: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 240 | if( !strncmp(language, "ja", 2) || !strncmp(language, "ko", 2) || | ^ : note: built-in 'strncmp' declared here guess.c:241:27: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 241 | !strncmp(language, "zh", 2) ) { | ^ : note: built-in 'strncmp' declared here guess.c:211:8: warning: unused variable 'ch' [-Wunused-variable] 211 | byte ch; | ^~ guess.c:210:7: warning: unused variable 'i' [-Wunused-variable] 210 | int i; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 * In file included from file.c:44: ./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:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from file.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 shiftjis.c:26: shiftjis.c: In function 'DecodeShiftJis': ./decode.h:89:53: warning: 'MEM[(unsigned char *)&c + 1B]' may be used uninitialized in this function [-Wmaybe-uninitialized] 89 | DecodeAddIchar( (cset), MakeIchar( (s)[ 0 ], (s)[ 1 ] ), (attr) ); \ | ^ shiftjis.c:63:8: note: 'MEM[(unsigned char *)&c + 1B]' was declared here 63 | byte c[ ICHAR_WIDTH ]; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 fetch.c: In function 'PageLoad': fetch.c:154:7: warning: implicit declaration of function 'IobufFseek'; did you mean 'IobufFseeko'? [-Wimplicit-function-declaration] 154 | if( IobufFseek( &f->fp, ptr, SEEK_SET ) ) | ^~~~~~~~~~ | IobufFseeko In file included from ./find.h:13, from fetch.c:32: fetch.c: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 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 ); | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 306 | reMessage = "unmatched ("; | ^ re.c:335:12: 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: re.c: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from command.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __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 * In file included from command.c:23: /usr/include/stdio.h:246:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 246 | 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 * 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: 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:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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 * In file included from command.c:25: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from command.c:23: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from command.c:23: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __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 * In file included from command.c:25: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | 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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from command.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from command.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 36 | __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:589:32: note: expected 'const char *' but argument is of type 'unsigned char *' 589 | 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 * 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: 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 * 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: 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 * In file included from command.c:33: /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 * 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:736:11: warning: implicit declaration of function 'IobufFseek'; did you mean 'IobufFseeko'? [-Wimplicit-function-declaration] 736 | (void)IobufFseek( &f->fp, 0, SEEK_END ); | ^~~~~~~~~~ | IobufFseeko 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 * 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: 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 * In file included from ./find.h:13, from command.c:43: ./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 * In file included from command.c:33: /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 * In file included from command.c:23: /usr/include/stdio.h:780:33: note: expected 'const char *' but argument is of type 'unsigned char *' 780 | extern void perror (const char *__s); | ~~~~~~~~~~~~^~~ 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:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1172 | label = "(TRUNCATED)"; | ^ command.c:1174:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1174 | label = "(END)"; | ^ In file included from ./find.h:13, from command.c:43: command.c: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 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 ); | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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:16: 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: dfa.c: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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:257:35: note: expected 'const char *' but argument is of type 'unsigned char *' 257 | 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 * In file included from lv.c:25: /usr/include/string.h:257:35: note: expected 'const char *' but argument is of type 'unsigned char *' 257 | 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 * In file included from lv.c:25: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | 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 * In file included from lv.c:25: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | 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 * In file included from lv.c:25: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ./command.h:11, from lv.c:43: lv.c: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from conf.c:23: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' 361 | __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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from conf.c:23: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ conf.c:275:39: 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:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ conf.c:276:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 276 | strcpy( editor_program, s + 1 ); | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from conf.c:23: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ conf.c:276:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 276 | strcpy( editor_program, s + 1 ); | ~~^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from conf.c:23: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from conf.c:23: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' 361 | __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 * In file included from conf.c:25: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from conf.c:23: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __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 * In file included from conf.c:23: /usr/include/stdio.h:246:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 246 | 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:866, from conf.c:23: /usr/include/bits/stdio2.h:260:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 260 | 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 * In file included from conf.c:25: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from conf.c:23: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from conf.c:23: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from conf.c:23: /usr/include/bits/string_fortified.h:127:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 127 | __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:19: 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 ); | ^~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from conf.c:23: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __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: conf.c: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 guesslocale.c: In function 'strcmp2': guesslocale.c:42:9: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] 42 | if( toupper(*str1) != toupper(*str2) ) return -1; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 143 | ansi_standout = "7"; | ^ console.c:144:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 144 | ansi_reverse = "7"; | ^ console.c:145:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 145 | ansi_blink = "5"; | ^ console.c:146:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 146 | ansi_underline = "4"; | ^ console.c:147:17: 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:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 336 | cur_left = tgetstr( "kl", &ptr ); | ^ console.c:337:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 337 | cur_right = tgetstr( "kr", &ptr ); | ^ console.c:338:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 338 | cur_up = tgetstr( "ku", &ptr ); | ^ console.c:339:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 339 | cur_down = tgetstr( "kd", &ptr ); | ^ console.c:340:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 340 | cur_ppage = tgetstr( "kP", &ptr ); | ^ console.c:341:14: 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:21: 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:21: 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:19: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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 -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.mfhbyv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64 + cd lv451 + cd src + mkdir -p /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/man/man1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64 'INSTALL=/usr/bin/install -p' bindir=/builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/bin libdir=/builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/lib64 mandir=/builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/man /usr/bin/install -p -m 555 lv /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/bin if test -f /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/bin/lgrep; then \ /bin/rm -f /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/bin/lgrep; \ fi (cd /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/bin; ln lv lgrep) if test ! -d /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/lib64/lv; then \ mkdir -p /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/lib64/lv; \ fi /usr/bin/install -p -m 444 ./../lv.hlp /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/lib64/lv if test -d /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/man -a -d /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/man/man1; then \ /usr/bin/install -p -m 444 ./../lv.1 /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/man/man1; \ fi + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.51-42.fc33 --unique-debug-suffix -4.51-42.fc33.riscv64 --unique-debug-src-base lv-4.51-42.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lv451 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/bin/lgrep extracting debug info from /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/bin/lgrep objcopy: unable to copy file '/builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/bin/lgrep'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/bin/lgrep'; reason: Permission denied hard linked /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/lib/debug/usr/bin/lgrep-4.51-42.fc33.riscv64.debug to /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/lib/debug/usr/bin/lv-4.51-42.fc33.riscv64.debug dwz: Too few files for multifile optimization original debug info size: 1304kB, size after compression: 1260kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 4455 blocks + /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: lv-4.51-42.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oC56jt + umask 022 + cd /builddir/build/BUILD + cd lv451 + DOCDIR=/builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/doc/lv + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/doc/lv + cp -pr README /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/doc/lv + cp -pr build /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/doc/lv + cp -pr hello.sample /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/doc/lv + cp -pr hello.sample.gif /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/doc/lv + cp -pr index.html /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/doc/lv + cp -pr relnote.html /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/doc/lv + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VGk6vv + umask 022 + cd /builddir/build/BUILD + cd lv451 + LICENSEDIR=/builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/licenses/lv + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/licenses/lv + cp -pr GPL.txt /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64/usr/share/licenses/lv + RPM_EC=0 ++ jobs -p + exit 0 Provides: lv = 4.51-42.fc33 lv(riscv-64) = 4.51-42.fc33 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) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: lv-debugsource-4.51-42.fc33.riscv64 Provides: lv-debugsource = 4.51-42.fc33 lv-debugsource(riscv-64) = 4.51-42.fc33 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-42.fc33.riscv64 Provides: debuginfo(build-id) = cf05d5ea68fd1c574bf45b9336ed42c3a2c71ef8 debuginfo(build-id) = nilnil lv-debuginfo = 4.51-42.fc33 lv-debuginfo(riscv-64) = 4.51-42.fc33 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-42.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64 Wrote: /builddir/build/RPMS/lv-4.51-42.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/lv-debuginfo-4.51-42.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/lv-debugsource-4.51-42.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pR8Bxw + umask 022 + cd /builddir/build/BUILD + cd lv451 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lv-4.51-42.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0