Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/saphire.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667634672.757804/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1a39o14:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1a39o14:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3c6ffc5cda1844fcbc9c3366577bb322', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667634672.757804/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1a39o14:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/saphire.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/saphire-3.6.5-27.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/saphire.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667634672.757804/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1a39o14:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1a39o14:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd8c21c26f47f4384955b5d21e72ddc39', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667634672.757804/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1a39o14:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/saphire.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NKMkhn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf saphire-3.6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/saphire-3.6.5.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd saphire-3.6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (saphire-3.6.5-gcc10-fno-common.patch):' Patch #0 (saphire-3.6.5-gcc10-fno-common.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc10 --fuzz=0 patching file headers/saphire/saphire_inner.h + sed -i.strip -e 's|\$(INSTALL) -s|\$(INSTALL) |' Makefile.in + sed -i.ln -e '/libsaphire.so/s|cp |ln -s -f |' Makefile.in + sed -i.libpath -e '/^LIBS[2]*=/s|^\(.*\)$|\1 -L.|' Makefile.in + sed -i.all -e '/^all:/s|lib-install||' Makefile.in + sed -i.stamp -e 's| -m 755| -p -m 0755|g' -e 's| -m 644| -p -m 0644|g' Makefile.in + sed -i.soname -e '/[ \t]/s|\( -o libsaphire.so.2.0.0 \)| -Wl,-soname,libsaphire.so.2 \1|' Makefile.in + for file in CHANGELOG.txt README*.txt USAGE.*.txt + sed -i.dos -e 's|\r||' CHANGELOG.txt + touch -r CHANGELOG.txt.dos CHANGELOG.txt + rm CHANGELOG.txt.dos + for file in CHANGELOG.txt README*.txt USAGE.*.txt + sed -i.dos -e 's|\r||' README.en.txt + touch -r README.en.txt.dos README.en.txt + rm README.en.txt.dos + for file in CHANGELOG.txt README*.txt USAGE.*.txt + sed -i.dos -e 's|\r||' README.ja.txt + touch -r README.ja.txt.dos README.ja.txt + rm README.ja.txt.dos + for file in CHANGELOG.txt README*.txt USAGE.*.txt + sed -i.dos -e 's|\r||' USAGE.en.txt + touch -r USAGE.en.txt.dos USAGE.en.txt + rm USAGE.en.txt.dos + for file in CHANGELOG.txt README*.txt USAGE.*.txt + sed -i.dos -e 's|\r||' USAGE.ja.txt + touch -r USAGE.ja.txt.dos USAGE.ja.txt + rm USAGE.ja.txt.dos + pushd headers/saphire ~/build/BUILD/saphire-3.6.5/headers/saphire ~/build/BUILD/saphire-3.6.5 + for f in *.h + touch -r saphire.h saphire.h.stamp + iconv -f EUC-JP -t UTF-8 saphire.h iconv: illegal input sequence at position 6 + rm -f saphire.h.utf8 + iconv -f SHIFT-JIS -t UTF-8 saphire.h iconv: illegal input sequence at position 379 + rm -f saphire.h.utf8 + sed -i -e 's|\r||' saphire.h + touch -r saphire.h.stamp saphire.h + rm -f saphire.h.stamp + for f in *.h + touch -r saphire_curses.h saphire_curses.h.stamp + iconv -f EUC-JP -t UTF-8 saphire_curses.h iconv: illegal input sequence at position 7 + rm -f saphire_curses.h.utf8 + iconv -f SHIFT-JIS -t UTF-8 saphire_curses.h iconv: illegal input sequence at position 54 + rm -f saphire_curses.h.utf8 + sed -i -e 's|\r||' saphire_curses.h + touch -r saphire_curses.h.stamp saphire_curses.h + rm -f saphire_curses.h.stamp + for f in *.h + touch -r saphire_debug.h saphire_debug.h.stamp + iconv -f EUC-JP -t UTF-8 saphire_debug.h iconv: illegal input sequence at position 425 + rm -f saphire_debug.h.utf8 + iconv -f SHIFT-JIS -t UTF-8 saphire_debug.h + mv -f saphire_debug.h.utf8 saphire_debug.h + sed -i -e 's|\r||' saphire_debug.h + touch -r saphire_debug.h.stamp saphire_debug.h + rm -f saphire_debug.h.stamp + for f in *.h + touch -r saphire_extra.h saphire_extra.h.stamp + iconv -f EUC-JP -t UTF-8 saphire_extra.h iconv: illegal input sequence at position 6 + rm -f saphire_extra.h.utf8 + iconv -f SHIFT-JIS -t UTF-8 saphire_extra.h iconv: illegal input sequence at position 10 + rm -f saphire_extra.h.utf8 + sed -i -e 's|\r||' saphire_extra.h + touch -r saphire_extra.h.stamp saphire_extra.h + rm -f saphire_extra.h.stamp + for f in *.h + touch -r saphire_hash.h saphire_hash.h.stamp + iconv -f EUC-JP -t UTF-8 saphire_hash.h iconv: illegal input sequence at position 447 + rm -f saphire_hash.h.utf8 + iconv -f SHIFT-JIS -t UTF-8 saphire_hash.h + mv -f saphire_hash.h.utf8 saphire_hash.h + sed -i -e 's|\r||' saphire_hash.h + touch -r saphire_hash.h.stamp saphire_hash.h + rm -f saphire_hash.h.stamp + for f in *.h + touch -r saphire_inner.h saphire_inner.h.stamp + iconv -f EUC-JP -t UTF-8 saphire_inner.h + mv -f saphire_inner.h.utf8 saphire_inner.h + iconv -f SHIFT-JIS -t UTF-8 saphire_inner.h iconv: illegal input sequence at position 239 + rm -f saphire_inner.h.utf8 + sed -i -e 's|\r||' saphire_inner.h + touch -r saphire_inner.h.stamp saphire_inner.h + rm -f saphire_inner.h.stamp + for f in *.h + touch -r saphire_kanji.h saphire_kanji.h.stamp + iconv -f EUC-JP -t UTF-8 saphire_kanji.h iconv: illegal input sequence at position 11 + rm -f saphire_kanji.h.utf8 + iconv -f SHIFT-JIS -t UTF-8 saphire_kanji.h iconv: illegal input sequence at position 313 + rm -f saphire_kanji.h.utf8 + sed -i -e 's|\r||' saphire_kanji.h + touch -r saphire_kanji.h.stamp saphire_kanji.h + rm -f saphire_kanji.h.stamp + for f in *.h + touch -r saphire_list.h saphire_list.h.stamp + iconv -f EUC-JP -t UTF-8 saphire_list.h iconv: illegal input sequence at position 456 + rm -f saphire_list.h.utf8 + iconv -f SHIFT-JIS -t UTF-8 saphire_list.h + mv -f saphire_list.h.utf8 saphire_list.h + sed -i -e 's|\r||' saphire_list.h + touch -r saphire_list.h.stamp saphire_list.h + rm -f saphire_list.h.stamp + for f in *.h + touch -r saphire_string.h saphire_string.h.stamp + iconv -f EUC-JP -t UTF-8 saphire_string.h iconv: illegal input sequence at position 6 + rm -f saphire_string.h.utf8 + iconv -f SHIFT-JIS -t UTF-8 saphire_string.h iconv: illegal input sequence at position 8 + rm -f saphire_string.h.utf8 + sed -i -e 's|\r||' saphire_string.h + touch -r saphire_string.h.stamp saphire_string.h + rm -f saphire_string.h.stamp + for f in *.h + touch -r saphire_vector.h saphire_vector.h.stamp + iconv -f EUC-JP -t UTF-8 saphire_vector.h iconv: illegal input sequence at position 7 + rm -f saphire_vector.h.utf8 + iconv -f SHIFT-JIS -t UTF-8 saphire_vector.h + mv -f saphire_vector.h.utf8 saphire_vector.h + sed -i -e 's|\r||' saphire_vector.h + touch -r saphire_vector.h.stamp saphire_vector.h + rm -f saphire_vector.h.stamp + popd ~/build/BUILD/saphire-3.6.5 + sed -i.pager -e 's| lv| less|' -e 's|lv |less |' saphire.sa + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Pb16Pw + umask 022 + cd /builddir/build/BUILD + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd saphire-3.6.5 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 --with-migemo --with-system-migemodir=/usr/share/cmigemo --sysconfdir=/usr/lib64/ --docdir=/usr/share/doc/saphire-3.6.5 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-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 system-migemodir = /usr/share/cmigemo checking Operating System... Linux checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking for main in -lcurses... yes checking for main in -lncurses... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking for main in -lreadline... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for main in -lm... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking oniguruma.h usability... yes checking oniguruma.h presence... yes checking for oniguruma.h... yes checking for main in -lonig... yes checking migemo.h usability... yes checking migemo.h presence... yes checking for migemo.h... yes checking for main in -lmigemo... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j1 'CC=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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' docdir=/usr/share/doc/saphire-3.6.5 -k 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_debug.o src/saphire_debug.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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_extra.o src/saphire_extra.c src/saphire_extra.c: In function 'noextname': src/saphire_extra.c:45:11: warning: variable 'max' set but not used [-Wunused-but-set-variable] 45 | char* max; | ^~~ src/saphire_extra.c: In function 'correct_path': src/saphire_extra.c:160:13: warning: unused variable 'i' [-Wunused-variable] 160 | 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_hash.o src/saphire_hash.c src/saphire_hash.c: In function 'hash_erase': src/saphire_hash.c:176:16: warning: unused variable 'it2' [-Wunused-variable] 176 | hash_it* it2 = self->mEntryIt; | ^~~ src/saphire_hash.c: In function 'hash_clear': src/saphire_hash.c:210:8: warning: unused variable 'max' [-Wunused-variable] 210 | int max; | ^~~ src/saphire_hash.c:209:8: warning: unused variable 'i' [-Wunused-variable] 209 | 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_kanji.o src/saphire_kanji.c src/saphire_kanji.c: In function 'is_kanji': src/saphire_kanji.c:265:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 265 | return c >= 0xA1 && c <= 0xFE || c == 0x8e; | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_kanji.c:269:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 269 | return c >= 0x81 && c <= 0x9f || c >= 0xE0; | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_kanji.c: In function 'str_termlen': src/saphire_kanji.c:314:18: warning: implicit declaration of function 'wcswidth' [-Wimplicit-function-declaration] 314 | result = wcswidth(wcs, wcslen(wcs)); | ^~~~~~~~ src/saphire_kanji.c: In function 'kanji_convert': src/saphire_kanji.c:375:12: warning: unused variable 'result' [-Wunused-variable] 375 | size_t result; | ^~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_list.o src/saphire_list.c src/saphire_list.c: In function 'list_it_release': src/saphire_list.c:14:1: warning: no return statement in function returning non-void [-Wreturn-type] 14 | } | ^ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_string.o src/saphire_string.c src/saphire_string.c: In function 'string_push_back3': src/saphire_string.c:154:11: warning: unused variable 'tmp_str' [-Wunused-variable] 154 | char* tmp_str; | ^~~~~~~ src/saphire_string.c: In function 'string_sub_str': src/saphire_string.c:295:1: warning: control reaches end of non-void function [-Wreturn-type] 295 | } | ^ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_vector.o src/saphire_vector.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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c src/saphire_main.c -o src/saphire_main.o -DSYSCONFDIR=\"/usr/lib64/saphire\" -DDOCDIR=\"/usr/share/doc/saphire-3.6.5\" -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast src/saphire_main.c: In function 'all_get_quoted_fname': src/saphire_main.c:1019:13: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] 1019 | if(!isalpha(*p)) | ^~~~~~~ src/saphire_main.c:15:1: note: include '' or provide a declaration of 'isalpha' 14 | #include "saphire/saphire_inner.h" +++ |+#include 15 | src/saphire_main.c: In function 'sIf_save': src/saphire_main.c:2539:19: warning: unused variable 'c' [-Wunused-variable] 2539 | unsigned char c; | ^ src/saphire_main.c: In function 'sCommand_delete': src/saphire_main.c:2638:5: warning: enumeration value 'kObject' not handled in switch [-Wswitch] 2638 | switch(self->mKind) { | ^~~~~~ src/saphire_main.c:2638:5: warning: enumeration value 'kRef' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kVar' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kGlobal' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kExport' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kAry' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kAryAdd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kAryErase' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kHash' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kHashAdd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kHashErase' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kDef' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kInherit' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSelf' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kStackFrame' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kClass' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSweep' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kShow' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMSleep' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kTrue' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kFalse' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kTest' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kIndex' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRIndex' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kLength' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kLc' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kUc' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kChomp' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kEval' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kFg' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kBg' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kJobs' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRehash' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kKanjiCode' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kLineField' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPrint' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPuts' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kLoad' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kCompile' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRaise' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kTry' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kBreak' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kExit' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSplit' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kX' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kJoin' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSelect' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kLines' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRows' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMatch' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kScan' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSub' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kGSub' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRead' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kClose' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kCd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kAdd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kDel' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSelector' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMax' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMin' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kExtName' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kParentName' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kNoExtName' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPopd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPushd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPlusPlus' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMinusMinus' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPlus' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMinus' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMult' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kDiv' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMod' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPow' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSort' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRange' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPrintf' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPomch' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPTee' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPCat' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kReturn' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMInitScr' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMEndWin' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMClear' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMClearImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMRefresh' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMMove' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMMoveImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMPrintw' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kYeild' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kBlock' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kEach' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kForeach' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kAbs' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kFAbs' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kP' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kEnvSpace' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kQuote' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kTime' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kFSelector' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kUnset' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kUMask' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kErrMsg' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRunInfo' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionN' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionZ' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionB' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionC' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionD' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionF' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionH' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionL' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionP' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionS2' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionG' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionK' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionU' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionR' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionW' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionX' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionO' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionG2' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionS' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionEq' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionNEq' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSLT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSGT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSLE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSGE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSILT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSIGT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSILE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSIGE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionEqI' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionRE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionREI' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionREIM' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionREMI' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionREM' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionEQ' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionNE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionLT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionLE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionGT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionGE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionNT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionOT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionEF' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kInnerCommand' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kCommand' not handled in switch [-Wswitch] src/saphire_main.c: In function 'sCommand_view': src/saphire_main.c:2710:5: warning: enumeration value 'kObject' not handled in switch [-Wswitch] 2710 | switch(self->mKind) { | ^~~~~~ src/saphire_main.c:2710:5: warning: enumeration value 'kRef' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kVar' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kGlobal' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kExport' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kAry' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kAryAdd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kAryErase' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kHash' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kHashAdd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kHashErase' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kDef' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kInherit' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSelf' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kStackFrame' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kClass' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSweep' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kShow' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMSleep' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kTrue' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kFalse' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kTest' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kIndex' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRIndex' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kLength' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kLc' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kUc' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kChomp' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kEval' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kFg' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kBg' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kJobs' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRehash' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kKanjiCode' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kLineField' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPrint' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPuts' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kLoad' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kCompile' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRaise' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kTry' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kBreak' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kExit' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSplit' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kX' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kJoin' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSelect' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kLines' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRows' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMatch' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kScan' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSub' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kGSub' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRead' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kClose' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kCd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kAdd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kDel' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSelector' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMax' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMin' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kExtName' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kParentName' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kNoExtName' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPopd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPushd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPlusPlus' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMinusMinus' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPlus' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMinus' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMult' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kDiv' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMod' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPow' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSort' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRange' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPrintf' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPomch' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPTee' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPCat' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kReturn' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMInitScr' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMEndWin' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMClear' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMClearImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMRefresh' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMMove' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMMoveImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMPrintw' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kYeild' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kBlock' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kEach' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kForeach' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kAbs' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kFAbs' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kP' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kEnvSpace' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kQuote' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kTime' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kFSelector' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kUnset' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kUMask' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kErrMsg' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRunInfo' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionN' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionZ' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionB' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionC' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionD' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionF' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionH' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionL' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionP' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionS2' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionG' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionK' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionU' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionR' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionW' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionX' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionO' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionG2' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionS' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionEq' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionNEq' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSLT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSGT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSLE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSGE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSILT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSIGT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSILE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSIGE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionEqI' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionRE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionREI' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionREIM' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionREMI' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionREM' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionEQ' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionNE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionLT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionLE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionGT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionGE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionNT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionOT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionEF' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kInnerCommand' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kCommand' not handled in switch [-Wswitch] src/saphire_main.c: In function 'sCommand_save': src/saphire_main.c:2769:5: warning: enumeration value 'kObject' not handled in switch [-Wswitch] 2769 | switch(self->mKind) { | ^~~~~~ src/saphire_main.c:2769:5: warning: enumeration value 'kRef' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kVar' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kGlobal' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kExport' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kAry' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kAryAdd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kAryErase' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kHash' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kHashAdd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kHashErase' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kDef' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kInherit' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSelf' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kStackFrame' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kClass' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSweep' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kShow' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMSleep' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kTrue' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kFalse' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kTest' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kIndex' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRIndex' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kLength' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kLc' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kUc' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kChomp' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kEval' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kFg' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kBg' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kJobs' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRehash' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kKanjiCode' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kLineField' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPrint' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPuts' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kLoad' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kCompile' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRaise' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kTry' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kBreak' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kExit' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSplit' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kX' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kJoin' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSelect' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kLines' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRows' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMatch' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kScan' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSub' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kGSub' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRead' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kClose' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kCd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kAdd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kDel' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSelector' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMax' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMin' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kExtName' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kParentName' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kNoExtName' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPopd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPushd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPlusPlus' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMinusMinus' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPlus' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMinus' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMult' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kDiv' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMod' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPow' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSort' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRange' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPrintf' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPomch' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPTee' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPCat' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kReturn' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMInitScr' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMEndWin' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMClear' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMClearImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMRefresh' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMMove' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMMoveImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMPrintw' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kYeild' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kBlock' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kEach' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kForeach' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kAbs' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kFAbs' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kP' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kEnvSpace' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kQuote' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kTime' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kFSelector' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kUnset' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kUMask' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kErrMsg' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRunInfo' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionN' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionZ' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionB' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionC' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionD' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionF' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionH' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionL' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionP' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionS2' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionG' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionK' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionU' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionR' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionW' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionX' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionO' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionG2' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionS' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionEq' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionNEq' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSLT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSGT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSLE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSGE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSILT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSIGT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSILE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSIGE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionEqI' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionRE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionREI' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionREIM' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionREMI' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionREM' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionEQ' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionNE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionLT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionLE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionGT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionGE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionNT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionOT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionEF' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kInnerCommand' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kCommand' not handled in switch [-Wswitch] src/saphire_main.c: In function 'sCommand_load': src/saphire_main.c:2786:12: warning: unused variable 'm' [-Wunused-variable] 2786 | int n, m; | ^ src/saphire_main.c: In function 'sStatment_save': src/saphire_main.c:3058:9: warning: unused variable 'wret' [-Wunused-variable] 3058 | int wret = write(fd, string_c_str(self->mFName), n); | ^~~~ src/saphire_main.c: In function 'saphire_rehash_external_prog': src/saphire_main.c:3789:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3789 | while(entry = readdir(dir)) { | ^~~~~ src/saphire_main.c:3843:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3843 | while(entry = readdir(dir)) { | ^~~~~ src/saphire_main.c: In function 'saphire_final': src/saphire_main.c:4308:9: warning: implicit declaration of function 'onig_free' [-Wimplicit-function-declaration] 4308 | onig_free(hash_loop_item(it)); | ^~~~~~~~~ src/saphire_main.c: In function 'sRFd_close': src/saphire_main.c:4754:1: warning: control reaches end of non-void function [-Wreturn-type] 4754 | } | ^ src/saphire_main.c: In function 'sAtCommand_save': src/saphire_main.c:7267:1: warning: control reaches end of non-void function [-Wreturn-type] 7267 | } | ^ src/saphire_main.c: In function 'saphire_rehash_external_prog': src/saphire_main.c:3791:51: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 3791 | snprintf(path2, PATH_MAX, "%s/%s", buf, entry->d_name); | ^~ In file included from /usr/include/stdio.h:906, from src/saphire_main.c:2: In function 'snprintf', inlined from 'saphire_rehash_external_prog' at src/saphire_main.c:3791:21: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/saphire_main.c: In function 'sRFd_read_oneline_num': src/saphire_main.c:5630:26: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 5630 | c++; | ~^~ src/saphire_main.c:5621:21: note: 'c' was declared here 5621 | int c; | ^ src/saphire_main.c:5608:26: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 5608 | c++; | ~^~ src/saphire_main.c:5599:21: note: 'c' was declared here 5599 | int c; | ^ src/saphire_main.c: In function 'sRFd_read_oneline_preserve_num': src/saphire_main.c:5957:26: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 5957 | c++; | ~^~ src/saphire_main.c:5948:21: note: 'c' was declared here 5948 | int c; | ^ src/saphire_main.c:5935:26: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 5935 | c++; | ~^~ src/saphire_main.c:5926:21: note: 'c' was declared here 5926 | int 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_vm.o src/saphire_vm.c src/saphire_vm.c: In function 'statment_tree_redirect': src/saphire_vm.c:34:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] 34 | switch(redirect->mType) { | ^~~~~~ src/saphire_vm.c:57:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] 57 | switch(redirect->mType) { | ^~~~~~ src/saphire_vm.c: In function 'statment_tree_exec_cprog': src/saphire_vm.c:128:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] 128 | switch(redirect->mType) { | ^~~~~~ src/saphire_vm.c: In function 'statment_tree_external_command': src/saphire_vm.c:372:26: warning: unused variable 'epipe' [-Wunused-variable] 372 | BOOL epipe = FALSE; | ^~~~~ src/saphire_vm.c:266:11: warning: unused variable 'argv0' [-Wunused-variable] 266 | char* argv0 = string_c_str(vector_item(argv, 0)); | ^~~~~ src/saphire_vm.c: In function 'statment_tree_make_argv_make_randomize_file_name': src/saphire_vm.c:546:35: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 546 | srandom((unsigned)time(NULL)); | ^~~~ src/saphire_vm.c:21:1: note: 'time' is defined in header ''; did you forget to '#include '? 20 | #include "saphire/saphire_inner.h" +++ |+#include 21 | src/saphire_vm.c: In function 'statment_tree': src/saphire_vm.c:923:28: warning: implicit declaration of function 'umask'; did you mean 'sigmask'? [-Wimplicit-function-declaration] 923 | umask_before = umask(0077); | ^~~~~ | sigmask src/saphire_vm.c:1718:21: warning: unused variable 'k' [-Wunused-variable] 1718 | int k; | ^ src/saphire_vm.c:2100:22: warning: implicit declaration of function 'statment_tree_internal_commands'; did you mean 'statment_tree_internal_commands_p'? [-Wimplicit-function-declaration] 2100 | BOOL r = statment_tree_internal_commands(runinfo, command, rcode, argv, blocks, nextout, nextin, nexterr, j, title, input, sname, sline); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | statment_tree_internal_commands_p src/saphire_vm.c:948:13: warning: unused variable 'ii' [-Wunused-variable] 948 | int ii; | ^~ src/saphire_vm.c: In function 'run_wait_cprogs': src/saphire_vm.c:2468:19: warning: unused variable 'pid' [-Wunused-variable] 2468 | pid_t pid = waitpid(last_program_pid, &status, WUNTRACED); | ^~~ src/saphire_vm.c: In function 'tmpfile_all_sweep': src/saphire_vm.c:3263:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3263 | while(entry = readdir(dir)) { | ^~~~~ src/saphire_vm.c: In function 'statment_tree_redirect': src/saphire_vm.c:48:26: warning: 'mode' may be used uninitialized [-Wmaybe-uninitialized] 48 | int openfd = open(string_c_str(redirect->mFName), mode, 0666); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_vm.c:33:20: note: 'mode' was declared here 33 | mode_t mode; | ^~~~ In function 'statment_tree_exec_cprog', inlined from 'statment_tree_external_command.constprop.0' at src/saphire_vm.c:335:13: src/saphire_vm.c:142:26: warning: 'mode' may be used uninitialized [-Wmaybe-uninitialized] 142 | int openfd = open(string_c_str(redirect->mFName), mode, 0666); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_vm.c: In function 'statment_tree_external_command.constprop.0': src/saphire_vm.c:127:20: note: 'mode' was declared here 127 | mode_t mode; | ^~~~ src/saphire_vm.c: In function 'statment_tree.constprop.0': src/saphire_vm.c:781:46: warning: '/saphire_psub' directive output may be truncated writing 13 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 781 | snprintf(fname, PATH_MAX, "%s/saphire_psub", gTmpDir); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from src/saphire_vm.c:6: In function 'snprintf', inlined from 'statment_tree_make_argv' at src/saphire_vm.c:781:17, inlined from 'statment_tree.constprop.0' at src/saphire_vm.c:902:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 14 and 4109 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/saphire_vm.c: In function 'statment_tree.constprop.0': src/saphire_vm.c:744:46: warning: '/saphire_here_doc' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 744 | snprintf(fname, PATH_MAX, "%s/saphire_here_doc", gTmpDir); | ^~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'statment_tree_make_argv' at src/saphire_vm.c:744:17, inlined from 'statment_tree.constprop.0' at src/saphire_vm.c:902:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/saphire_vm.c: In function 'statment_tree.constprop.0': src/saphire_vm.c:692:46: warning: '/saphire_psub2' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 692 | snprintf(fname, PATH_MAX, "%s/saphire_psub2", gTmpDir); | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'statment_tree_make_argv' at src/saphire_vm.c:692:17, inlined from 'statment_tree.constprop.0' at src/saphire_vm.c:902:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/saphire_vm.c: In function 'statment_tree.constprop.0': src/saphire_vm.c:2408:17: warning: 'umask_before' may be used uninitialized [-Wmaybe-uninitialized] 2408 | umask(umask_before); | ^~~~~~~~~~~~~~~~~~~ src/saphire_vm.c:920:16: note: 'umask_before' was declared here 920 | mode_t umask_before; | ^~~~~~~~~~~~ src/saphire_vm.c: In function 'tmpfile_all_sweep': src/saphire_vm.c:3266:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 3266 | snprintf(fname, PATH_MAX, "%s/%s", gTmpDir, entry->d_name); | ^~ In function 'snprintf', inlined from 'tmpfile_all_sweep' at src/saphire_vm.c:3266:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_parser.o src/saphire_parser.c src/saphire_parser.c: In function 'read_until_next_close_character': src/saphire_parser.c:76:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 76 | if(*(*p+1) == '$' && *(*p+2) == '(' || *(*p+1) == '(') | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_parser.c:113:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 113 | if(**p >= '0' && **p <= '9' || **p == '{' || **p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_') { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:113:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 113 | if(**p >= '0' && **p <= '9' || **p == '{' || **p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_') { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:113:105: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 113 | if(**p >= '0' && **p <= '9' || **p == '{' || **p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_') { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:121:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 121 | if(**p >= '0' && **p <= '9' || **p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_') { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:121:103: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 121 | if(**p >= '0' && **p <= '9' || **p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_') { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c: In function 'read_block': src/saphire_parser.c:212:22: warning: value computed is not used [-Wunused-value] 212 | line_inc && (*sline)++; | ^~ src/saphire_parser.c:230:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 230 | while(**p >= 'a' && **p <= 'z' | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:242:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 242 | if(**p >= 'a' && **p <= 'z' | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:273:26: warning: value computed is not used [-Wunused-value] 273 | line_inc && (*sline)++; | ^~ src/saphire_parser.c:350:22: warning: value computed is not used [-Wunused-value] 350 | line_inc && (*sline)++; | ^~ src/saphire_parser.c: In function 'read_one_argument': src/saphire_parser.c:546:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 546 | if(*(*p+1) == '(' || *(*p+1) == '$' && *(*p+2) == '(') | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_parser.c:583:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 583 | if(**p >= '0' && **p <= '9' || **p == '{' || **p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_') { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:583:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 583 | if(**p >= '0' && **p <= '9' || **p == '{' || **p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_') { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:583:101: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 583 | if(**p >= '0' && **p <= '9' || **p == '{' || **p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_') { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:591:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 591 | if(**p >= '0' && **p <= '9' || **p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_') { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:591:99: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 591 | if(**p >= '0' && **p <= '9' || **p >= 'a' && **p <= 'z' || **p >= 'A' && **p <= 'Z' || **p == '_') { | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:829:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 829 | else if(**p == '@' && (*(*p+1) == '(') || (*(*p+1) == '@' && *(*p+2) == '(') || (*(*p+1) == '@' && *(*p+2) >= 'a' && *(*p+2) <= 'z' && *(*p+3) == '(')) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/saphire_parser.c:837:23: warning: array subscript has type 'char' [-Wchar-subscripts] 837 | else if(table[**p]) { | ^~~ src/saphire_parser.c: In function 'read_command': src/saphire_parser.c:1507:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1507 | else if(**p >='A' && ** p <= 'Z' || **p >='a' && **p <='z') | ~~~~~~~~~~^~~~~~~~~~~~~~ src/saphire_parser.c: In function 'parse': src/saphire_parser.c:1893:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1893 | while(*p == ' ' || *p == '\t' || *p == '\n' && (*sline)++) { p++; } | ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c: In function 'expand_env': src/saphire_parser.c:2114:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2114 | if(*(p+1) == '$' && *(p+2) == '(' || *(p+1) == '(') | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/saphire_parser.c:2177:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2177 | if((*p >= '0' && *p <= '9' || *p >= 'a' && *p <= 'z' || *p >= 'A' && *p <= 'Z' || *p == '_') || *p == '{') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_parser.c:2177:83: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2177 | if((*p >= '0' && *p <= '9' || *p >= 'a' && *p <= 'z' || *p >= 'A' && *p <= 'Z' || *p == '_') || *p == '{') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_parser.c:2195:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2195 | if(*p >= '0' && *p <= '9' || *p >= 'a' && *p <= 'z' || *p >= 'A' && *p <= 'Z' || *p == '_') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_parser.c:2195:94: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2195 | if(*p >= '0' && *p <= '9' || *p >= 'a' && *p <= 'z' || *p >= 'A' && *p <= 'Z' || *p == '_') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_parser.c:2180:26: warning: variable 'bracket' set but not used [-Wunused-but-set-variable] 2180 | BOOL bracket; | ^~~~~~~ src/saphire_parser.c:2304:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2304 | else if(*p >='A' && * p <= 'Z' || *p >='a' && *p <='z') | ~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c: In function 'read_command': src/saphire_parser.c:1387:68: warning: 'lf' may be used uninitialized [-Wmaybe-uninitialized] 1387 | if(!add_arg_to_command(command, ARG_NEW(4, MANAGED sAtCommand_new(MANAGED statments, lf)), sname, sline)) | ^~~~~~~~~~~~~~ src/saphire_parser.c:1329:29: note: 'lf' was declared here 1329 | enum eLineField lf; | ^~ src/saphire_parser.c:1386:15: warning: 'double_' may be used uninitialized [-Wmaybe-uninitialized] 1386 | if(double_) { | ^ src/saphire_parser.c:1328:18: note: 'double_' was declared here 1328 | BOOL double_; | ^~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_commands.o src/saphire_commands.c src/saphire_commands.c: In function 'str_cut': src/saphire_commands.c:145:16: warning: implicit declaration of function 'wcswidth' [-Wimplicit-function-declaration] 145 | if(wcswidth(wcs_tmp, wcslen(wcs_tmp)) > termsize) { | ^~~~~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_selector_base': src/saphire_commands.c:311:39: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 311 | else if(key == 'q' || key == 3 | key == 27 || key == 7) { | ~~~~^~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_test_base': src/saphire_commands.c:689:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 689 | if(!reverse && (vector_size(argv) + (input ? 1: 0)) == 4 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands.c:870:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 870 | && !stat_.st_uid == getuid()) | ^~ src/saphire_commands.c:870:32: note: add parentheses around left hand side expression to silence this warning 870 | && !stat_.st_uid == getuid()) | ^~~~~~~~~~~~~ | ( ) src/saphire_commands.c:880:47: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 880 | && ! stat_.st_gid == getgid()) | ^~ src/saphire_commands.c:880:32: note: add parentheses around left hand side expression to silence this warning 880 | && ! stat_.st_gid == getgid()) | ^~~~~~~~~~~~~~ | ( ) src/saphire_commands.c:909:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 909 | else if(!reverse && (vector_size(argv) + (input ? 1:0)) == 5 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands.c:1029:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 1029 | r = onig_new(®, regex2 | ^~~~~~ | | | char * In file included from src/saphire_commands.c:13: /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1030:38: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 1030 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1062:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 1062 | r = onig_new(®, regex2 | ^~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1063:38: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 1063 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1095:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 1095 | r = onig_new(®, regex2 | ^~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1096:38: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 1096 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1128:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 1128 | r = onig_new(®, regex2 | ^~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1129:38: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 1129 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1160:47: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 1160 | int r2 = onig_search(reg, target | ^~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands.c:1161:33: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 1161 | , target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands.c:1162:26: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 1162 | , target, target + strlen(target) | ^~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands.c:1162:41: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 1162 | , target, target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands.c:1233:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1233 | if(r2 >= 0 && !reverse || r2 < 0 && reverse) { | ~~~~~~~~^~~~~~~~~~~ src/saphire_commands.c:619:15: warning: unused variable 'arg5' [-Wunused-variable] 619 | char* arg5; | ^~~~ src/saphire_commands.c:618:15: warning: unused variable 'arg4' [-Wunused-variable] 618 | char* arg4; | ^~~~ src/saphire_commands.c: In function 'sort_name': src/saphire_commands.c:1492:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1492 | if(!S_ISDIR(l->mStat.st_mode) && !S_ISDIR(r->mStat.st_mode) | ^ src/saphire_commands.c: In function 'select_file_read': src/saphire_commands.c:1513:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1513 | while(entry = readdir(dir)) { | ^~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_fselector': src/saphire_commands.c:1780:39: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 1780 | else if(key == 'q' || key == 3 | key == 27 || key == 7) { | ~~~~^~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_global': src/saphire_commands.c:3085:18: warning: variable 'local' set but not used [-Wunused-but-set-variable] 3085 | BOOL local = FALSE; | ^~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_ary': src/saphire_commands.c:3800:13: warning: implicit declaration of function 'saphire_clear_array_element'; did you mean 'saphire_insert_array_element'? [-Wimplicit-function-declaration] 3800 | saphire_clear_array_element(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | saphire_insert_array_element src/saphire_commands.c: In function 'statment_tree_internal_commands_ary_add': src/saphire_commands.c:3934:10: warning: variable 'line_field' set but not used [-Wunused-but-set-variable] 3934 | BOOL line_field = FALSE; | ^~~~~~~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_ary_erase': src/saphire_commands.c:4188:17: warning: implicit declaration of function 'saphire_erase_array_element'; did you mean 'saphire_erase_hash_element'? [-Wimplicit-function-declaration] 4188 | saphire_erase_array_element(v, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | saphire_erase_hash_element src/saphire_commands.c: In function 'statment_tree_internal_commands_def': src/saphire_commands.c:5186:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5186 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5274:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5274 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5357:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5357 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:4847:21: warning: variable 'lf' set but not used [-Wunused-but-set-variable] 4847 | enum eLineField lf = gLineField; | ^~ src/saphire_commands.c: In function 'statment_tree_internal_commands_class': src/saphire_commands.c:5617:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5617 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5635:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5635 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5693:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5693 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5713:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5713 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_inherit': src/saphire_commands.c:5826:21: warning: unused variable 'k' [-Wunused-variable] 5826 | int k; | ^ src/saphire_commands.c:5866:22: warning: unused variable 'r' [-Wunused-variable] 5866 | BOOL r = inner_fun->mFun(rcode, (vector_obj*)argv2 | ^ src/saphire_commands.c:5910:26: warning: implicit declaration of function 'statment_tree_internal_commands'; did you mean 'statment_tree_internal_commands_p'? [-Wimplicit-function-declaration] 5910 | BOOL r = statment_tree_internal_commands(runinfo, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | statment_tree_internal_commands_p src/saphire_commands.c: In function 'statment_tree_internal_commands_rows': src/saphire_commands.c:7984:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7984 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:7999:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7999 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8064:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 8064 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8079:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 8079 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8136:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 8136 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8157:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 8157 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8197:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 8197 | else if(arg[0] == '-' || arg[0] >= '0' && arg[0] <= '9') { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/saphire_commands.c:7905:21: warning: variable 'next_arg' set but not used [-Wunused-but-set-variable] 7905 | string_obj* next_arg; | ^~~~~~~~ src/saphire_commands.c:8608:25: warning: unused variable 'baisuu' [-Wunused-variable] 8608 | int baisuu = larg[i].num1; | ^~~~~~ src/saphire_commands.c:7901:9: warning: unused variable 'block_num' [-Wunused-variable] 7901 | int block_num = 0; | ^~~~~~~~~ src/saphire_commands.c:7899:10: warning: variable 'terminal' set but not used [-Wunused-but-set-variable] 7899 | BOOL terminal = FALSE; | ^~~~~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_lines': src/saphire_commands.c:9093:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 9093 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9105:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 9105 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9164:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 9164 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9176:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 9176 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9236:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 9236 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9257:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 9257 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9297:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 9297 | else if(arg[0] == '-' || arg[0] >= '0' && arg[0] <= '9') { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/saphire_commands.c:9032:21: warning: variable 'next_arg' set but not used [-Wunused-but-set-variable] 9032 | string_obj* next_arg; | ^~~~~~~~ src/saphire_commands.c:10111:29: warning: unused variable 'baisuu' [-Wunused-variable] 10111 | int baisuu = larg[i].num1; | ^~~~~~ src/saphire_commands.c:9028:9: warning: unused variable 'block_num' [-Wunused-variable] 9028 | int block_num = 0; | ^~~~~~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_ary_add': src/saphire_commands.c:4104:27: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 4104 | n = n + vector_size(v) + 1; src/saphire_commands.c:3938:9: note: 'n' was declared here 3938 | int n; | ^ src/saphire_commands.c: In function 'statment_tree_internal_commands_read': src/saphire_commands.c:10541:30: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 10541 | int result = statment_tree_internal_commands_read_nextin_onechar_preserve_num(nextin, out, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands.c:10413:9: note: 'c' was declared here 10413 | int c; | ^ src/saphire_commands.c:10597:30: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 10597 | int result = statment_tree_internal_commands_read_nextin_oneline_preserve_num(nextin, out, n, lf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands.c:10411:9: note: 'n' was declared here 10411 | int n; | ^ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_curses.o src/saphire_curses.c src/saphire_curses.c: In function 'wis_2cols': src/saphire_curses.c:70:12: warning: implicit declaration of function 'wcswidth' [-Wimplicit-function-declaration] 70 | return wcswidth(buf, 10) == 2; | ^~~~~~~~ src/saphire_curses.c: In function 'is_kanji': src/saphire_curses.c:76:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 76 | return c >= 0xA1 && c <= 0xFE || c == 0x8e; | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_curses.c:80:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 80 | return c >= 0x81 && c <= 0x9f || c >= 0xE0; | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_curses.c: In function 'mcurses_init': src/saphire_curses.c:163:8: warning: implicit declaration of function 'setupterm'; did you mean 'set_term'? [-Wimplicit-function-declaration] 163 | if(setupterm(NULL, STDOUT_FILENO, (int*) 0) == ERR) { | ^~~~~~~~~ | set_term src/saphire_curses.c: In function 'minitscr': src/saphire_curses.c:271:21: warning: unused variable 'item' [-Wunused-variable] 271 | struct sKeyMap* item; | ^~~~ src/saphire_curses.c:270:12: warning: unused variable 'j' [-Wunused-variable] 270 | int i, j; | ^ src/saphire_curses.c:270:9: warning: unused variable 'i' [-Wunused-variable] 270 | int i, j; | ^ src/saphire_curses.c: In function 'mclear': src/saphire_curses.c:369:10: warning: unused variable 'space2' [-Wunused-variable] 369 | char space2[1024]; | ^~~~~~ src/saphire_curses.c: In function 'mgetch_': src/saphire_curses.c:1296:12: warning: unused variable 'y' [-Wunused-variable] 1296 | static int y = 0; | ^ src/saphire_curses.c:1290:20: warning: unused variable 'tv' [-Wunused-variable] 1290 | struct timeval tv; | ^~ src/saphire_curses.c:1289:12: warning: unused variable 'mask' [-Wunused-variable] 1289 | fd_set mask; | ^~~~ src/saphire_curses.c: At top level: src/saphire_curses.c:1296:12: warning: 'y' defined but not used [-Wunused-variable] 1296 | static int y = 0; | ^ src/saphire_curses.c:1003:13: warning: 'mrefresh_non_buffer' defined but not used [-Wunused-function] 1003 | static void mrefresh_non_buffer() | ^~~~~~~~~~~~~~~~~~~ src/saphire_curses.c:118:12: warning: 'mhas_color' defined but not used [-Wunused-function] 118 | static int mhas_color() | ^~~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_commands_string.o src/saphire_commands_string.c src/saphire_commands_string.c: In function 'get_reg': src/saphire_commands_string.c:135:29: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 135 | *r = onig_new(®, regex2 | ^~~~~~ | | | char * In file included from src/saphire_commands_string.c:13: /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands_string.c:136:26: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 136 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands_string.c: In function 'strcasestr_back': src/saphire_commands_string.c:172:16: warning: implicit declaration of function 'isascii' [-Wimplicit-function-declaration] 172 | if(isascii(p[i]) && isascii(word[n+i])) { | ^~~~~~~ src/saphire_commands_string.c:173:20: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] 173 | if(tolower(p[i]) != tolower(word[n+i])) { | ^~~~~~~ src/saphire_commands_string.c:29:1: note: include '' or provide a declaration of 'tolower' 28 | #include "saphire/saphire_inner.h" +++ |+#include 29 | In file included from ./headers/saphire/saphire.h:11, from src/saphire_commands_string.c:27: src/saphire_commands_string.c: In function 'statment_tree_internal_commands_split_base': ./headers/saphire/saphire_string.h:37:41: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 37 | #define string_c_str(o) ((string_obj*)o)->mStr | ~~~~~~~~~~~~~~~~^~~~~~ | | | char * src/saphire_commands_string.c:295:39: note: in expansion of macro 'string_c_str' 295 | int r2 = onig_search(reg, string_c_str(line) | ^~~~~~~~~~~~ /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:296:37: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 296 | , string_c_str(line) + string_length(line) /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:297:18: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 297 | , target, string_c_str(line) + string_length(line) | ^~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:297:45: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 297 | , target, string_c_str(line) + string_length(line) /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:314:25: warning: implicit declaration of function 'statment_tree_internal_commands_write_lf'; did you mean 'statment_tree_internal_commands_printf'? [-Wimplicit-function-declaration] 314 | if(!statment_tree_internal_commands_write_lf(nextout, lf)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | statment_tree_internal_commands_printf src/saphire_commands_string.c:295:17: warning: unused variable 'r2' [-Wunused-variable] 295 | int r2 = onig_search(reg, string_c_str(line) | ^~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_sub_base': src/saphire_commands_string.c:528:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 528 | if(vector_size(argv) == 3 || vector_size(argv) == 2 && vector_size(blocks) >= 1) src/saphire_commands_string.c:555:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 555 | else if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) src/saphire_commands_string.c:599:39: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 599 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:600:23: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 600 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:601:23: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 601 | , str2 + point | ~~~~~^~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:602:23: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 602 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:597:27: warning: unused variable 'err_info' [-Wunused-variable] 597 | OnigErrorInfo err_info; | ^~~~~~~~ src/saphire_commands_string.c:585:13: warning: unused variable 'region_end_before' [-Wunused-variable] 585 | int region_end_before = 0; | ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:575:9: warning: unused variable 'i' [-Wunused-variable] 575 | int i; | ^ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_sub_base_oneline': src/saphire_commands_string.c:1155:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1155 | if(vector_size(argv) == 3 || vector_size(argv) == 2 && vector_size(blocks) >= 1) src/saphire_commands_string.c:1172:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1172 | else if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) src/saphire_commands_string.c:1208:69: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1208 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1226:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1226 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1232:43: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 1232 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:1233:27: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 1233 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:1234:27: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 1234 | , str2 + point | ~~~~~^~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:1235:27: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 1235 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:1272:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1272 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1328:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1328 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1400:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1400 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1439:97: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1439 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1499:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1499 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1523:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1523 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1534:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1534 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1541:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1541 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1548:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1548 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1567:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1567 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1590:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1590 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1601:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1601 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1608:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1608 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1615:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1615 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1636:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1636 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1651:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1651 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1667:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1667 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1693:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1693 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1712:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1712 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1729:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1729 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1231:31: warning: unused variable 'err_info' [-Wunused-variable] 1231 | OnigErrorInfo err_info; | ^~~~~~~~ src/saphire_commands_string.c:1760:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1760 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1218:17: warning: unused variable 'region_end_before' [-Wunused-variable] 1218 | int region_end_before = 0; | ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:1771:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1771 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1776:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1776 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1194:9: warning: unused variable 'i' [-Wunused-variable] 1194 | int i; | ^ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_length': src/saphire_commands_string.c:1895:23: warning: implicit declaration of function 'str_lflen'; did you mean 'strnlen'? [-Wimplicit-function-declaration] 1895 | len = str_lflen(gLineField, string_c_str(str)); | ^~~~~~~~~ | strnlen src/saphire_commands_string.c: In function 'statment_tree_internal_commands_index': src/saphire_commands_string.c:2180:29: warning: implicit declaration of function 'strcasestr'; did you mean 'mystrcasestr'? [-Wimplicit-function-declaration] 2180 | result = (char*)strcasestr((const char*) p, (const char*)word); | ^~~~~~~~~~ | mystrcasestr src/saphire_commands_string.c: In function 'statment_tree_internal_commands_scan_base': src/saphire_commands_string.c:2953:43: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 2953 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:2954:27: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 2954 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:2955:22: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 2955 | , p | ^ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:2956:27: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 2956 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3062:43: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 3062 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3063:27: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 3063 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3064:22: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 3064 | , p | ^ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3065:27: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 3065 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:2943:13: warning: unused variable 'region_end_before' [-Wunused-variable] 2943 | int region_end_before = 0; | ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_scan_oneline_base': src/saphire_commands_string.c:3282:47: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 3282 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3283:31: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 3283 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3284:26: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 3284 | , p | ^ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3285:31: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 3285 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3395:47: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 3395 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3396:31: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 3396 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3397:26: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 3397 | , p | ^ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3398:31: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 3398 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3271:17: warning: unused variable 'region_end_before' [-Wunused-variable] 3271 | int region_end_before = 0; | ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_match_base': src/saphire_commands_string.c:3568:32: warning: pointer targets in passing argument 2 of 'get_reg' differ in signedness [-Wpointer-sign] 3568 | regex_t* reg = get_reg(&r, regex2, ignore_case, multiline, code); | ^~~~~~ | | | OnigUChar * {aka unsigned char *} src/saphire_commands_string.c:30:39: note: expected 'char *' but argument is of type 'OnigUChar *' {aka 'unsigned char *'} 30 | static regex_t* get_reg(int* r, char* regex2, BOOL ignore_case, BOOL multiline, enum eKanjiCode code) | ~~~~~~^~~~~~ src/saphire_commands_string.c:3575:35: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 3575 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3576:19: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 3576 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3577:19: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 3577 | , str2 + position, str2 + strlen(str2) | ~~~~~^~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3577:36: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 3577 | , str2 + position, str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_printf_base': src/saphire_commands_string.c:3787:29: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 3787 | asprintf(&buf, string_c_str(aformat), atoi(string_c_str(arg))); | ^~~~~~~~ | vsprintf src/saphire_commands_string.c: In function 'statment_tree_internal_commands_condition_re': src/saphire_commands_string.c:3972:35: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] 3972 | int r2 = onig_search(reg, target | ^~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3973:21: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] 3973 | , target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3974:14: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] 3974 | , target, target + strlen(target) | ^~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c:3974:29: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] 3974 | , target, target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:829:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 829 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); | ^~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_scan': src/saphire_commands_string.c:4458:10: warning: variable 'quiet' set but not used [-Wunused-but-set-variable] 4458 | BOOL quiet = FALSE; | ^~~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_match': src/saphire_commands_string.c:4862:44: warning: pointer targets in passing argument 2 of 'statment_tree_internal_commands_match_base' differ in signedness [-Wpointer-sign] 4862 | string_c_str(str), regex2, rcode, nextout | ^~~~~~ | | | char * src/saphire_commands_string.c:3563:12: note: expected 'OnigUChar *' {aka 'unsigned char *'} but argument is of type 'char *' 3563 | , UChar* regex2, int* rcode, sWFd* nextout, BOOL print, BOOL line_field | ^ src/saphire_commands_string.c:4903:40: warning: pointer targets in passing argument 2 of 'statment_tree_internal_commands_match_base' differ in signedness [-Wpointer-sign] 4903 | string_c_str(str), regex2, rcode, nextout | ^~~~~~ | | | char * src/saphire_commands_string.c:3563:12: note: expected 'OnigUChar *' {aka 'unsigned char *'} but argument is of type 'char *' 3563 | , UChar* regex2, int* rcode, sWFd* nextout, BOOL print, BOOL line_field | ^ src/saphire_commands_string.c:4943:19: warning: pointer targets in passing argument 2 of 'statment_tree_internal_commands_match_base' differ in signedness [-Wpointer-sign] 4943 | str2, regex2, rcode, nextout, !quiet, line_field | ^~~~~~ | | | char * src/saphire_commands_string.c:3563:12: note: expected 'OnigUChar *' {aka 'unsigned char *'} but argument is of type 'char *' 3563 | , UChar* regex2, int* rcode, sWFd* nextout, BOOL print, BOOL line_field | ^ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_split_base': src/saphire_commands_string.c:281:20: warning: 'regex' may be used uninitialized [-Wmaybe-uninitialized] 281 | regex_t* reg = get_reg(&r, regex2, ignore_case, multiline, code); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:239:11: note: 'regex' was declared here 239 | char* regex; | ^~~~~ ./headers/saphire/saphire_string.h:34:42: warning: 'line' may be used uninitialized [-Wmaybe-uninitialized] 34 | #define string_length(o) ((string_obj*)o)->mLen | ^~ src/saphire_commands_string.c:238:17: note: 'line' was declared here 238 | string_obj* line; | ^~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_index': src/saphire_commands_string.c:2108:15: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 2108 | if(match_count <= 0) { | ^ src/saphire_commands_string.c:1961:9: note: 'c' was declared here 1961 | int c; | ^ src/saphire_commands_string.c:2092:23: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 2092 | start = len + start; | ~~~~~~^~~~~~~~~~~~~ src/saphire_commands_string.c:1959:9: note: 'n' was declared here 1959 | int n; | ^ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_rindex': src/saphire_commands_string.c:2408:15: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 2408 | if(match_count <= 0) { | ^ src/saphire_commands_string.c:2263:9: note: 'c' was declared here 2263 | int c; | ^ src/saphire_commands_string.c:2392:23: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 2392 | start = len + start; | ~~~~~~^~~~~~~~~~~~~ src/saphire_commands_string.c:2260:9: note: 'n' was declared here 2260 | int n; | ^ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_add': src/saphire_commands_string.c:5595:59: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 5595 | n = str_kanjilen(code, string_c_str(str)) + n + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/saphire_commands_string.c:5287:9: note: 'n' was declared here 5287 | int n; | ^ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_del': src/saphire_commands_string.c:5920:19: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 5920 | n = str_kanjilen(code, string_c_str(str)) + n; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:5671:9: note: 'n' was declared here 5671 | int n; | ^ gcc -shared -Wl,-soname,libsaphire.so.2 -o libsaphire.so.2.0.0 src/saphire_debug.o src/saphire_extra.o src/saphire_hash.o src/saphire_kanji.o src/saphire_list.o src/saphire_string.o src/saphire_vector.o src/saphire_main.o src/saphire_vm.o src/saphire_parser.o src/saphire_commands.o src/saphire_curses.o src/saphire_commands_string.o -lc -lcurses -lncurses -lm -lonig -L. -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast rm -f install ln -s libsaphire.so.2.0.0 libsaphire.so.2 ln -s libsaphire.so.2.0.0 libsaphire.so if echo -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast | grep -q pg; then 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o saphire src/main.c -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/usr/lib64/saphire\" -lcurses -lncurses -lm -lonig -L. -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -lsaphire; else 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o saphire src/main.c -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/usr/lib64/saphire\" -lsaphire -lcurses -lncurses -lm -lonig -L. -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast; fi src/main.c: In function 'main': src/main.c:152:29: warning: variable 'code' set but not used [-Wunused-but-set-variable] 152 | enum eTerminalKanjiCode code = kTKUtf8; | ^~~~ src/main.c: At top level: src/main.c:39:13: warning: 'atexit_fun' defined but not used [-Wunused-function] 39 | static void atexit_fun() | ^~~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c src/readline.c -o src/readline.o -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/usr/lib64/saphire\" -DDOCDIR=\"/usr/share/doc/saphire-3.6.5\" -DSYSTEM_MIGEMODIR=\"/usr/share/cmigemo\" -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast src/readline.c: In function 'read_one_argument': src/readline.c:142:23: warning: array subscript has type 'char' [-Wchar-subscripts] 142 | else if(table[*p]) { | ^~ src/readline.c:151:1: warning: no return statement in function returning non-void [-Wreturn-type] 151 | } | ^ src/readline.c: In function 'readline_file_completion_migemo_match': src/readline.c:309:51: warning: pointer targets in passing argument 2 of 'migemo_query' differ in signedness [-Wpointer-sign] 309 | OnigUChar * p = migemo_query(gMigemo, text+same_point); | ~~~~^~~~~~~~~~~ | | | char * In file included from src/readline.c:182: /usr/include/migemo.h:52:30: note: expected 'const unsigned char *' but argument is of type 'char *' 52 | const unsigned char* query); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./headers/saphire/saphire.h:8, from src/readline.c:1: src/readline.c:318:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 318 | char* p2 = MALLOC(strlen(p)*2); | ^ | | | OnigUChar * {aka unsigned char *} ./headers/saphire/saphire_debug.h:15:29: note: in definition of macro 'MALLOC' 15 | # define MALLOC(o) malloc(o) | ^ In file included from src/readline.c:2: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'OnigUChar *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/readline.c:320:20: warning: pointer targets in initialization of 'char *' from 'OnigUChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 320 | char* _p = p; | ^ src/readline.c:336:32: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 336 | r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_UTF8, ONIG_SYNTAX_DEFAULT, &err_info); | ^~ | | | char * In file included from src/readline.c:13: /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c:336:39: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 336 | r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_UTF8, ONIG_SYNTAX_DEFAULT, &err_info); | ~~~^~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c:339:32: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 339 | r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_EUC_JP, ONIG_SYNTAX_DEFAULT, &err_info); | ^~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c:339:39: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 339 | r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_EUC_JP, ONIG_SYNTAX_DEFAULT, &err_info); | ~~~^~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c:342:32: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 342 | r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_SJIS, ONIG_SYNTAX_DEFAULT, &err_info); | ^~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c:342:39: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 342 | r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_SJIS, ONIG_SYNTAX_DEFAULT, &err_info); | ~~~^~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c: In function 'readline_file_completion_migemo': src/readline.c:402:46: warning: pointer targets in passing argument 2 of 'migemo_query' differ in signedness [-Wpointer-sign] 402 | OnigUChar* p = migemo_query(gMigemo, text2); | ^~~~~ | | | char * /usr/include/migemo.h:52:30: note: expected 'const unsigned char *' but argument is of type 'char *' 52 | const unsigned char* query); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ src/readline.c:412:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 412 | char* p2 = MALLOC(strlen(p)*2); | ^ | | | OnigUChar * {aka unsigned char *} ./headers/saphire/saphire_debug.h:15:29: note: in definition of macro 'MALLOC' 15 | # define MALLOC(o) malloc(o) | ^ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'OnigUChar *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/readline.c:413:20: warning: pointer targets in initialization of 'char *' from 'OnigUChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 413 | char* _p = p; | ^ src/readline.c:429:39: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 429 | r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_UTF8, ONIG_SYNTAX_DEFAULT, &err_info); | ^~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c:429:46: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 429 | r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_UTF8, ONIG_SYNTAX_DEFAULT, &err_info); | ~~~^~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c:432:39: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 432 | r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_EUC_JP, ONIG_SYNTAX_DEFAULT, &err_info); | ^~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c:432:46: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 432 | r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_EUC_JP, ONIG_SYNTAX_DEFAULT, &err_info); | ~~~^~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c:435:39: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] 435 | r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_SJIS, ONIG_SYNTAX_DEFAULT, &err_info); | ^~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c:435:46: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] 435 | r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_SJIS, ONIG_SYNTAX_DEFAULT, &err_info); | ~~~^~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:816:14: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 816 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/readline.c:517:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 517 | while(entry = readdir(dir)) { | ^~~~~ src/readline.c:569:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 569 | while(entry = readdir(dir)) { | ^~~~~ src/readline.c: In function 'readline_deref_completion': src/readline.c:908:54: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 908 | if(gDerefCompletionProgram && ref->mKind == kMCObject & memchecker_is_enable_mem(ref->mMem) == kMCObject) { | ~~~~~~~~~~~^~~~~~~~~~~~ src/readline.c: In function 'readline_file_completion': src/readline.c:1003:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1003 | while(entry = readdir(dir)) { | ^~~~~ src/readline.c:1052:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1052 | while(entry = readdir(dir)) { | ^~~~~ src/readline.c: In function 'readline_on_complete': src/readline.c:1423:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1423 | else if(*p == '&' && *(p+1) == '&' || *p == '|' && *(p+1) == '|') { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ src/readline.c: In function 'commands_history': src/readline.c:1727:13: warning: implicit declaration of function 'statment_tree_internal_commands_write_lf'; did you mean 'statment_tree_internal_commands_printf'? [-Wimplicit-function-declaration] 1727 | if(!statment_tree_internal_commands_write_lf(nextout, kLF)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | statment_tree_internal_commands_printf In file included from ./headers/saphire/saphire.h:11: ./headers/saphire/saphire_string.h: In function 'commands_add_history': ./headers/saphire/saphire_string.h:37:41: warning: 'str' may be used uninitialized [-Wmaybe-uninitialized] 37 | #define string_c_str(o) ((string_obj*)o)->mStr | ^~ src/readline.c:1742:17: note: 'str' was declared here 1742 | string_obj* str; | ^~~ src/readline.c: In function 'migemo_init': src/readline.c:241:36: warning: '/cp932/migemo-dict' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 241 | snprintf(buf, PATH_MAX, "%s/cp932/migemo-dict", migemodir); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from src/readline.c:5: In function 'snprintf', inlined from 'migemo_init' at src/readline.c:241:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'migemo_init': src/readline.c:246:36: warning: '/cp932/roma2hira.dat' directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 246 | snprintf(buf, PATH_MAX, "%s/cp932/roma2hira.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'migemo_init' at src/readline.c:246:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'migemo_init': src/readline.c:251:36: warning: '/cp932/hira2kata.dat' directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 251 | snprintf(buf, PATH_MAX, "%s/cp932/hira2kata.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'migemo_init' at src/readline.c:251:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'migemo_init': src/readline.c:256:36: warning: '/cp932/han2zen.dat' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 256 | snprintf(buf, PATH_MAX, "%s/cp932/han2zen.dat", migemodir); | ^~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'migemo_init' at src/readline.c:256:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'migemo_init': src/readline.c:219:36: warning: '/euc-jp/migemo-dict' directive output may be truncated writing 19 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 219 | snprintf(buf, PATH_MAX, "%s/euc-jp/migemo-dict", migemodir); | ^~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'migemo_init' at src/readline.c:219:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 20 and 4115 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'migemo_init': src/readline.c:224:36: warning: '/euc-jp/roma2hira.dat' directive output may be truncated writing 21 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 224 | snprintf(buf, PATH_MAX, "%s/euc-jp/roma2hira.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'migemo_init' at src/readline.c:224:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'migemo_init': src/readline.c:229:36: warning: '/euc-jp/hira2kata.dat' directive output may be truncated writing 21 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 229 | snprintf(buf, PATH_MAX, "%s/euc-jp/hira2kata.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'migemo_init' at src/readline.c:229:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'migemo_init': src/readline.c:234:36: warning: '/euc-jp/han2zen.dat' directive output may be truncated writing 19 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 234 | snprintf(buf, PATH_MAX, "%s/euc-jp/han2zen.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'migemo_init' at src/readline.c:234:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 20 and 4115 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'migemo_init': src/readline.c:197:36: warning: '/utf-8/migemo-dict' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 197 | snprintf(buf, PATH_MAX, "%s/utf-8/migemo-dict", migemodir); | ^~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'migemo_init' at src/readline.c:197:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'migemo_init': src/readline.c:202:36: warning: '/utf-8/roma2hira.dat' directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 202 | snprintf(buf, PATH_MAX, "%s/utf-8/roma2hira.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'migemo_init' at src/readline.c:202:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'migemo_init': src/readline.c:207:36: warning: '/utf-8/hira2kata.dat' directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 207 | snprintf(buf, PATH_MAX, "%s/utf-8/hira2kata.dat", migemodir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'migemo_init' at src/readline.c:207:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'migemo_init': src/readline.c:212:36: warning: '/utf-8/han2zen.dat' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 212 | snprintf(buf, PATH_MAX, "%s/utf-8/han2zen.dat", migemodir); | ^~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'migemo_init' at src/readline.c:212:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/readline.c: In function 'readline_file_completion_migemo_match': src/readline.c:347:11: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 347 | if(r != ONIG_NORMAL) { | ^ src/readline.c:315:13: note: 'r' was declared here 315 | int r; | ^ src/readline.c: In function 'readline_file_completion_migemo': src/readline.c:442:11: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 442 | if(r != ONIG_NORMAL) { | ^ src/readline.c:409:13: note: 'r' was declared here 409 | int r; | ^ if echo -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast | grep -q pg; then 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o src/saphiresh src/main.c -DENABLE_READLINE src/readline.o -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/usr/lib64/saphire\" -DSYSTEM_MIGEMODIR=\"/usr/share/cmigemo\" -lsaphire -lreadline -lcurses -lncurses -lm -lonig -lmigemo -L. -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast; else 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o saphiresh src/main.c -DENABLE_READLINE src/readline.o -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/usr/lib64/saphire\" -DSYSTEM_MIGEMODIR=\"/usr/share/cmigemo\" -lsaphire -lreadline -lcurses -lncurses -lm -lonig -lmigemo -L. -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast; fi src/main.c: In function 'main': src/main.c:152:29: warning: variable 'code' set but not used [-Wunused-but-set-variable] 152 | enum eTerminalKanjiCode code = kTKUtf8; | ^~~~ src/main.c: In function 'readline_signal': src/main.c:128:1: warning: control reaches end of non-void function [-Wreturn-type] 128 | } | ^ src/main.c: At top level: src/main.c:39:13: warning: 'atexit_fun' defined but not used [-Wunused-function] 39 | static void atexit_fun() | ^~~~~~~~~~ env TERM=dumb env LD_LIBRARY_PATH=.::/usr/local/lib ./saphire -rn -c 'compile saphire.sa' saphire.sao env TERM=dumb env LD_LIBRARY_PATH=.::/usr/local/lib ./saphire -rn -c 'compile completion.sa' completion.sao env TERM=dumb env LD_LIBRARY_PATH=.::/usr/local/lib ./saphire -rn -c 'compile shelp.sa' shelp.sao rm -f install + rm -rf install_samples/ + mkdir -p install_samples/samples + cp -p samples/check_same_options.sa samples/edit_text_with_saphire.sa samples/get_dl.sa samples/get_forblock.sa samples/get_options.sa samples/get_options2.sa samples/triangle.sa install_samples/samples + pushd install_samples/samples ~/build/BUILD/saphire-3.6.5/install_samples/samples ~/build/BUILD/saphire-3.6.5 + chmod 0644 check_same_options.sa edit_text_with_saphire.sa get_dl.sa get_forblock.sa get_options.sa get_options2.sa triangle.sa + sed -i -e '\@^#!/usr.*@d' -e '\@^#!/home.*@d' check_same_options.sa edit_text_with_saphire.sa get_dl.sa get_forblock.sa get_options.sa get_options2.sa triangle.sa + popd ~/build/BUILD/saphire-3.6.5 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rHp3A8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd saphire-3.6.5 + make install DESTDIR=/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64 includedir=/usr/include/saphire docdir=/usr/share/doc/saphire-3.6.5 if [ -z "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64" ]; then make lib-normal-install; else make lib-dest-install; fi make[1]: Entering directory '/builddir/build/BUILD/saphire-3.6.5' mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64" if [ "" = libsaphire.a ]; then /usr/bin/install -c -p -m 0644 -s libsaphire.a "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64"; fi if [ "libsaphire.so" = libsaphire.so ]; then if echo -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast | grep -q MDEBUG; then /usr/bin/install -c -p -m 0755 libsaphire.so.2.0.0 "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64"; else /usr/bin/install -c -p -m 0755 libsaphire.so.2.0.0 "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64"; fi; elif [ "libsaphire.so" = libsaphire.dylib ]; then /usr/bin/install -c -p -m 0755 libsaphire.2.0.0.dylib "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64"; fi if [ "libsaphire.so" = libsaphire.so ]; then ln -s -f libsaphire.so.2.0.0 "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64"/libsaphire.so.2; elif [ "libsaphire.so" = libsaphire.dylib ]; then ln -s -f libsaphire.2.0.0.dylib "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64"/libsaphire.2.dylib; fi if [ "libsaphire.so" = libsaphire.so ]; then ln -s -f libsaphire.so.2.0.0 "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64"/libsaphire.so; elif [ "libsaphire.so" = libsaphire.dylib ]; then ln -s -f libsaphire.2.0.0.dylib "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64"/libsaphire.dylib; fi make[1]: Leaving directory '/builddir/build/BUILD/saphire-3.6.5' if [ -z "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64" ]; then make normal-install; else make dest-install; fi make[1]: Entering directory '/builddir/build/BUILD/saphire-3.6.5' mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/bin"; mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64/saphire"; mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64" mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/include/saphire" mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/share/doc/saphire-3.6.5" mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/share/man/man1" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_curses.h "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_debug.h "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_extra.h "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_hash.h "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_kanji.h "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_list.h "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_string.h "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_vector.h "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire.h "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/include/saphire" /usr/bin/install -c -p -m 0644 USAGE.ja.txt "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/share/doc/saphire-3.6.5" /usr/bin/install -c -p -m 0644 USAGE.en.txt "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/share/doc/saphire-3.6.5" /usr/bin/install -c -p -m 0644 README.ja.txt "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/share/doc/saphire-3.6.5" /usr/bin/install -c -p -m 0644 README.en.txt "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/share/doc/saphire-3.6.5" /usr/bin/install -c -p -m 0644 CHANGELOG.txt "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/share/doc/saphire-3.6.5" rm -f "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/bin/saphire" if echo -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast | grep -q MDEBUG; then /usr/bin/install -c -p -m 0755 saphire "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/bin"; else /usr/bin/install -c -p -m 0755 saphire "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/bin"; fi; rm -f "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/bin/saphiresh" if echo -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast | grep -q MDEBUG; then /usr/bin/install -c -p -m 0755 saphiresh "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/bin"; else /usr/bin/install -c -p -m 0755 saphiresh "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/bin"; fi; /usr/bin/install -c -p -m 0644 saphire.sa "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 saphire.sao "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 completion.sao "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 completion.sa "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 shelp.sao "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 shelp.sa "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 man/man1/saphire.1 "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/share/man/man1" /usr/bin/install -c -p -m 0644 man/man1/saphiresh.1 "/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64//usr/share/man/man1" make[1]: Leaving directory '/builddir/build/BUILD/saphire-3.6.5' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.6.5-27.fc38 --unique-debug-suffix -3.6.5-27.fc38.x86_64 --unique-debug-src-base saphire-3.6.5-27.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/saphire-3.6.5 extracting debug info from /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/bin/saphire extracting debug info from /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/bin/saphiresh extracting debug info from /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/lib64/libsaphire.so.2.0.0 original debug info size: 1312kB, size after compression: 1248kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 2709 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: saphire-3.6.5-27.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.D3WRrI + umask 022 + cd /builddir/build/BUILD + cd saphire-3.6.5 + DOCDIR=/builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/share/doc/saphire-3.6.5 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/share/doc/saphire-3.6.5 + cp -pr AUTHORS /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/share/doc/saphire-3.6.5 + cp -pr LICENSE /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/share/doc/saphire-3.6.5 + cp -pr README.en.txt /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/share/doc/saphire-3.6.5 + cp -pr USAGE.en.txt /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/share/doc/saphire-3.6.5 + cp -pr install_samples/samples /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/share/doc/saphire-3.6.5 + cp -pr CHANGELOG.txt /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/share/doc/saphire-3.6.5 + cp -pr README.ja.txt /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/share/doc/saphire-3.6.5 + cp -pr USAGE.ja.txt /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64/usr/share/doc/saphire-3.6.5 + RPM_EC=0 ++ jobs -p + exit 0 Provides: libsaphire.so.2()(64bit) saphire = 3.6.5-27.fc38 saphire(x86-64) = 3.6.5-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libmigemo.so.1()(64bit) libncurses.so.6()(64bit) libonig.so.5()(64bit) libreadline.so.8()(64bit) libsaphire.so.2()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: saphire-devel-3.6.5-27.fc38.x86_64 Provides: saphire-devel = 3.6.5-27.fc38 saphire-devel(x86-64) = 3.6.5-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libsaphire.so.2()(64bit) Processing files: saphire-debugsource-3.6.5-27.fc38.x86_64 Provides: saphire-debugsource = 3.6.5-27.fc38 saphire-debugsource(x86-64) = 3.6.5-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: saphire-debuginfo-3.6.5-27.fc38.x86_64 Provides: debuginfo(build-id) = 49ccbd8de90e3ad84db893558ce02a9e989b730e debuginfo(build-id) = 63eff177982968a116cb96aad3e218eb2aef5db4 debuginfo(build-id) = 9ef5e57d7a99d92baaa97ea1af345e03adf29156 libsaphire.so.2.0.0-3.6.5-27.fc38.x86_64.debug()(64bit) saphire-debuginfo = 3.6.5-27.fc38 saphire-debuginfo(x86-64) = 3.6.5-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: saphire-debugsource(x86-64) = 3.6.5-27.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64 Wrote: /builddir/build/RPMS/saphire-debuginfo-3.6.5-27.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/saphire-debugsource-3.6.5-27.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/saphire-3.6.5-27.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/saphire-devel-3.6.5-27.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Fq2xRm + umask 022 + cd /builddir/build/BUILD + cd saphire-3.6.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/saphire-3.6.5-27.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.VJNVHD + umask 022 + cd /builddir/build/BUILD + rm -rf saphire-3.6.5 saphire-3.6.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0