Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/saphire.spec'], chrootPath='/var/lib/mock/f40-build-751618-116204/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/saphire-3.6.5-31.fc40.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/saphire.spec'], chrootPath='/var/lib/mock/f40-build-751618-116204/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zQodef + 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 + rm -rf /builddir/build/BUILD/saphire-3.6.5-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/saphire-3.6.5-SPECPARTS + /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 Patch #1 (saphire-3.6.5-c99-port.patch): + echo 'Patch #1 (saphire-3.6.5-c99-port.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file headers/saphire/saphire_inner.h patching file src/saphire_commands.c patching file src/saphire_commands_string.c patching file src/saphire_curses.c patching file src/saphire_kanji.c patching file src/saphire_main.c patching file src/saphire_vm.c Patch #2 (saphire-string_chomp-public.patch): + echo 'Patch #2 (saphire-string_chomp-public.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .string_chomp --fuzz=0 patching file headers/saphire/saphire_inner.h patching file headers/saphire/saphire_string.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.1ATLlG + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --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 riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c 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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' docdir=/usr/share/doc/saphire-3.6.5 -k gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I./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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I./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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I./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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I./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:268:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 268 | return c >= 0xA1 && c <= 0xFE || c == 0x8e; | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_kanji.c:272:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 272 | return c >= 0x81 && c <= 0x9f || c >= 0xE0; | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_kanji.c: In function ‘kanji_convert’: src/saphire_kanji.c:378:12: warning: unused variable ‘result’ [-Wunused-variable] 378 | size_t result; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I./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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I./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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I./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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 ‘sIf_save’: src/saphire_main.c:2541:19: warning: unused variable ‘c’ [-Wunused-variable] 2541 | unsigned char c; | ^ src/saphire_main.c: In function ‘sCommand_delete’: src/saphire_main.c:2640:5: warning: enumeration value ‘kObject’ not handled in switch [-Wswitch] 2640 | switch(self->mKind) { | ^~~~~~ src/saphire_main.c:2640:5: warning: enumeration value ‘kRef’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kVar’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kGlobal’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kExport’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kAry’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kAryAdd’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kAryErase’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kHash’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kHashAdd’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kHashErase’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kDef’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kInherit’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kSelf’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kStackFrame’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kClass’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kSweep’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kShow’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMSleep’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kTrue’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kFalse’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kTest’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kIndex’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kRIndex’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kLength’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kLc’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kUc’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kChomp’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kEval’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kFg’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kBg’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kJobs’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kRehash’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kKanjiCode’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kLineField’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kPrint’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kPuts’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kLoad’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kCompile’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kRaise’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kTry’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kBreak’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kExit’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kSplit’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kX’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kJoin’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kSelect’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kLines’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kRows’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMatch’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kScan’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kSub’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kGSub’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kRead’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kClose’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kCd’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kAdd’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kDel’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kSelector’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMax’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMin’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kExtName’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kParentName’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kNoExtName’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kPopd’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kPushd’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kPlusPlus’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMinusMinus’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kPlus’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMinus’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMult’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kDiv’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMod’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kPow’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kSort’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kRange’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kPrintf’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kPomch’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kPTee’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kPCat’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kReturn’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMInitScr’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMEndWin’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMClear’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMClearImmediately’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMRefresh’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMMove’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMMoveImmediately’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kMPrintw’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kYeild’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kBlock’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kEach’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kForeach’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kAbs’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kFAbs’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kP’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kEnvSpace’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kQuote’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kTime’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kFSelector’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kUnset’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kUMask’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kErrMsg’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kRunInfo’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionN’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionZ’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionB’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionC’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionD’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionF’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionH’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionL’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionP’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionS2’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionT’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionG’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionK’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionU’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionR’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionW’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionX’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionO’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionG2’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionE’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionS’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionEq’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionNEq’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionSLT’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionSGT’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionSLE’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionSGE’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionSILT’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionSIGT’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionSILE’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionSIGE’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionEqI’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionRE’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionREI’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionREIM’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionREMI’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionREM’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionEQ’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionNE’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionLT’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionLE’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionGT’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionGE’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionNT’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionOT’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kConditionEF’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kInnerCommand’ not handled in switch [-Wswitch] src/saphire_main.c:2640:5: warning: enumeration value ‘kCommand’ not handled in switch [-Wswitch] src/saphire_main.c: In function ‘sCommand_view’: src/saphire_main.c:2712:5: warning: enumeration value ‘kObject’ not handled in switch [-Wswitch] 2712 | switch(self->mKind) { | ^~~~~~ src/saphire_main.c:2712:5: warning: enumeration value ‘kRef’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kVar’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kGlobal’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kExport’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kAry’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kAryAdd’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kAryErase’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kHash’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kHashAdd’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kHashErase’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kDef’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kInherit’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kSelf’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kStackFrame’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kClass’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kSweep’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kShow’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMSleep’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kTrue’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kFalse’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kTest’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kIndex’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kRIndex’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kLength’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kLc’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kUc’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kChomp’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kEval’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kFg’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kBg’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kJobs’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kRehash’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kKanjiCode’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kLineField’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kPrint’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kPuts’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kLoad’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kCompile’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kRaise’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kTry’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kBreak’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kExit’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kSplit’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kX’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kJoin’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kSelect’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kLines’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kRows’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMatch’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kScan’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kSub’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kGSub’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kRead’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kClose’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kCd’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kAdd’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kDel’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kSelector’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMax’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMin’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kExtName’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kParentName’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kNoExtName’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kPopd’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kPushd’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kPlusPlus’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMinusMinus’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kPlus’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMinus’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMult’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kDiv’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMod’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kPow’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kSort’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kRange’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kPrintf’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kPomch’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kPTee’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kPCat’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kReturn’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMInitScr’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMEndWin’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMClear’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMClearImmediately’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMRefresh’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMMove’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMMoveImmediately’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kMPrintw’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kYeild’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kBlock’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kEach’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kForeach’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kAbs’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kFAbs’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kP’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kEnvSpace’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kQuote’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kTime’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kFSelector’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kUnset’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kUMask’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kErrMsg’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kRunInfo’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionN’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionZ’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionB’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionC’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionD’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionF’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionH’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionL’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionP’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionS2’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionT’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionG’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionK’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionU’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionR’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionW’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionX’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionO’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionG2’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionE’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionS’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionEq’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionNEq’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionSLT’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionSGT’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionSLE’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionSGE’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionSILT’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionSIGT’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionSILE’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionSIGE’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionEqI’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionRE’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionREI’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionREIM’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionREMI’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionREM’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionEQ’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionNE’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionLT’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionLE’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionGT’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionGE’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionNT’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionOT’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kConditionEF’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kInnerCommand’ not handled in switch [-Wswitch] src/saphire_main.c:2712:5: warning: enumeration value ‘kCommand’ not handled in switch [-Wswitch] src/saphire_main.c: In function ‘sCommand_save’: src/saphire_main.c:2771:5: warning: enumeration value ‘kObject’ not handled in switch [-Wswitch] 2771 | switch(self->mKind) { | ^~~~~~ src/saphire_main.c:2771:5: warning: enumeration value ‘kRef’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kVar’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kGlobal’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kExport’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kAry’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kAryAdd’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kAryErase’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kHash’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kHashAdd’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kHashErase’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kDef’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kInherit’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kSelf’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kStackFrame’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kClass’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kSweep’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kShow’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMSleep’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kTrue’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kFalse’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kTest’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kIndex’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kRIndex’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kLength’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kLc’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kUc’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kChomp’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kEval’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kFg’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kBg’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kJobs’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kRehash’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kKanjiCode’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kLineField’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kPrint’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kPuts’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kLoad’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kCompile’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kRaise’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kTry’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kBreak’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kExit’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kSplit’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kX’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kJoin’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kSelect’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kLines’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kRows’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMatch’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kScan’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kSub’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kGSub’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kRead’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kClose’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kCd’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kAdd’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kDel’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kSelector’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMax’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMin’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kExtName’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kParentName’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kNoExtName’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kPopd’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kPushd’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kPlusPlus’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMinusMinus’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kPlus’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMinus’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMult’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kDiv’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMod’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kPow’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kSort’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kRange’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kPrintf’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kPomch’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kPTee’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kPCat’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kReturn’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMInitScr’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMEndWin’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMClear’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMClearImmediately’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMRefresh’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMMove’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMMoveImmediately’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kMPrintw’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kYeild’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kBlock’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kEach’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kForeach’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kAbs’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kFAbs’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kP’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kEnvSpace’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kQuote’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kTime’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kFSelector’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kUnset’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kUMask’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kErrMsg’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kRunInfo’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionN’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionZ’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionB’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionC’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionD’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionF’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionH’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionL’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionP’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionS2’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionT’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionG’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionK’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionU’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionR’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionW’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionX’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionO’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionG2’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionE’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionS’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionEq’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionNEq’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionSLT’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionSGT’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionSLE’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionSGE’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionSILT’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionSIGT’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionSILE’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionSIGE’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionEqI’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionRE’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionREI’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionREIM’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionREMI’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionREM’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionEQ’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionNE’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionLT’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionLE’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionGT’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionGE’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionNT’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionOT’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kConditionEF’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kInnerCommand’ not handled in switch [-Wswitch] src/saphire_main.c:2771:5: warning: enumeration value ‘kCommand’ not handled in switch [-Wswitch] src/saphire_main.c: In function ‘sCommand_load’: src/saphire_main.c:2788:12: warning: unused variable ‘m’ [-Wunused-variable] 2788 | int n, m; | ^ src/saphire_main.c: In function ‘sStatment_save’: src/saphire_main.c:3060:9: warning: unused variable ‘wret’ [-Wunused-variable] 3060 | int wret = write(fd, string_c_str(self->mFName), n); | ^~~~ src/saphire_main.c: In function ‘saphire_rehash_external_prog’: src/saphire_main.c:3791:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3791 | while(entry = readdir(dir)) { | ^~~~~ src/saphire_main.c:3845:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3845 | while(entry = readdir(dir)) { | ^~~~~ src/saphire_main.c: In function ‘sRFd_close’: src/saphire_main.c:4756:1: warning: control reaches end of non-void function [-Wreturn-type] 4756 | } | ^ src/saphire_main.c: In function ‘sAtCommand_save’: src/saphire_main.c:7269:1: warning: control reaches end of non-void function [-Wreturn-type] 7269 | } | ^ src/saphire_main.c: In function ‘saphire_rehash_external_prog’: src/saphire_main.c:3793:51: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 3793 | snprintf(path2, PATH_MAX, "%s/%s", buf, entry->d_name); | ^~ In file included from /usr/include/stdio.h:980, from src/saphire_main.c:2: In function ‘snprintf’, inlined from ‘saphire_rehash_external_prog’ at src/saphire_main.c:3793: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:5632:26: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized] 5632 | c++; | ~^~ src/saphire_main.c:5623:21: note: ‘c’ was declared here 5623 | int c; | ^ src/saphire_main.c:5610:26: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized] 5610 | c++; | ~^~ src/saphire_main.c:5601:21: note: ‘c’ was declared here 5601 | int c; | ^ src/saphire_main.c: In function ‘sRFd_read_oneline_preserve_num’: src/saphire_main.c:5959:26: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized] 5959 | c++; | ~^~ src/saphire_main.c:5950:21: note: ‘c’ was declared here 5950 | int c; | ^ src/saphire_main.c:5937:26: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized] 5937 | c++; | ~^~ src/saphire_main.c:5928:21: note: ‘c’ was declared here 5928 | int c; | ^ In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28: In function ‘read’, inlined from ‘sArg_load’ at src/saphire_main.c:2300:12: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘sArg_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function ‘read’, inlined from ‘sArg_load’ at src/saphire_main.c:2334:12: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘sArg_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function ‘read’, inlined from ‘sStatment_load’ at src/saphire_main.c:3180:8: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘sStatment_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function ‘read’, inlined from ‘sStatment_load’ at src/saphire_main.c:3199:8: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘sStatment_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function ‘read’, inlined from ‘sStatment_load’ at src/saphire_main.c:3220:12: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘sStatment_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function ‘read’, inlined from ‘sStatments_load’ at src/saphire_main.c:3398:8: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘sStatments_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function ‘read’, inlined from ‘sClass_load’ at src/saphire_main.c:3497:8: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘sClass_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function ‘read’, inlined from ‘sFunction_load’ at src/saphire_main.c:3646:8: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘sFunction_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function ‘read’, inlined from ‘sFunction_load’ at src/saphire_main.c:3660:8: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘sFunction_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function ‘read’, inlined from ‘sBlock_load’ at src/saphire_main.c:6623:12: /usr/include/bits/unistd.h:28:10: warning: ‘*read’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘sBlock_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I./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:36:13: warning: enumeration value ‘kRedirectErrAndOutput’ not handled in switch [-Wswitch] 36 | switch(redirect->mType) { | ^~~~~~ src/saphire_vm.c:59:13: warning: enumeration value ‘kRedirectErrAndOutput’ not handled in switch [-Wswitch] 59 | switch(redirect->mType) { | ^~~~~~ src/saphire_vm.c: In function ‘statment_tree_exec_cprog’: src/saphire_vm.c:130:13: warning: enumeration value ‘kRedirectErrAndOutput’ not handled in switch [-Wswitch] 130 | switch(redirect->mType) { | ^~~~~~ src/saphire_vm.c: In function ‘statment_tree_external_command’: src/saphire_vm.c:374:26: warning: unused variable ‘epipe’ [-Wunused-variable] 374 | BOOL epipe = FALSE; | ^~~~~ src/saphire_vm.c:268:11: warning: unused variable ‘argv0’ [-Wunused-variable] 268 | char* argv0 = string_c_str(vector_item(argv, 0)); | ^~~~~ src/saphire_vm.c: In function ‘statment_tree’: src/saphire_vm.c:1720:21: warning: unused variable ‘k’ [-Wunused-variable] 1720 | int k; | ^ src/saphire_vm.c:950:13: warning: unused variable ‘ii’ [-Wunused-variable] 950 | int ii; | ^~ src/saphire_vm.c: In function ‘run_wait_cprogs’: src/saphire_vm.c:2470:19: warning: unused variable ‘pid’ [-Wunused-variable] 2470 | pid_t pid = waitpid(last_program_pid, &status, WUNTRACED); | ^~~ src/saphire_vm.c: In function ‘tmpfile_all_sweep’: src/saphire_vm.c:3265:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3265 | while(entry = readdir(dir)) { | ^~~~~ src/saphire_vm.c: In function ‘statment_tree_redirect’: src/saphire_vm.c:50:26: warning: ‘mode’ may be used uninitialized [-Wmaybe-uninitialized] 50 | int openfd = open(string_c_str(redirect->mFName), mode, 0666); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_vm.c:35:20: note: ‘mode’ was declared here 35 | mode_t mode; | ^~~~ In function ‘statment_tree_exec_cprog’, inlined from ‘statment_tree_external_command.isra.0’ at src/saphire_vm.c:337:13: src/saphire_vm.c:144:26: warning: ‘mode’ may be used uninitialized [-Wmaybe-uninitialized] 144 | int openfd = open(string_c_str(redirect->mFName), mode, 0666); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_vm.c: In function ‘statment_tree_external_command.isra.0’: src/saphire_vm.c:129:20: note: ‘mode’ was declared here 129 | mode_t mode; | ^~~~ src/saphire_vm.c: In function ‘statment_tree.constprop.0’: src/saphire_vm.c:783:46: warning: ‘/saphire_psub’ directive output may be truncated writing 13 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 783 | snprintf(fname, PATH_MAX, "%s/saphire_psub", gTmpDir); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from src/saphire_vm.c:6: In function ‘snprintf’, inlined from ‘statment_tree_make_argv’ at src/saphire_vm.c:783:17, inlined from ‘statment_tree.constprop.0’ at src/saphire_vm.c:904: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:746:46: warning: ‘/saphire_here_doc’ directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 746 | snprintf(fname, PATH_MAX, "%s/saphire_here_doc", gTmpDir); | ^~~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘statment_tree_make_argv’ at src/saphire_vm.c:746:17, inlined from ‘statment_tree.constprop.0’ at src/saphire_vm.c:904: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:694:46: warning: ‘/saphire_psub2’ directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 694 | snprintf(fname, PATH_MAX, "%s/saphire_psub2", gTmpDir); | ^~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘statment_tree_make_argv’ at src/saphire_vm.c:694:17, inlined from ‘statment_tree.constprop.0’ at src/saphire_vm.c:904: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 ‘tmpfile_all_sweep’: src/saphire_vm.c:3268:47: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 3268 | snprintf(fname, PATH_MAX, "%s/%s", gTmpDir, entry->d_name); | ^~ In function ‘snprintf’, inlined from ‘tmpfile_all_sweep’ at src/saphire_vm.c:3268: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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I./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: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_; | ^~~~~~~ In file included from src/saphire_parser.c:15: 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; | ^~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I./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 ‘statment_tree_internal_commands_selector_base’: src/saphire_commands.c:314:39: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] 314 | 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:692:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 692 | if(!reverse && (vector_size(argv) + (input ? 1: 0)) == 4 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands.c:873:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 873 | && !stat_.st_uid == getuid()) | ^~ src/saphire_commands.c:873:32: note: add parentheses around left hand side expression to silence this warning 873 | && !stat_.st_uid == getuid()) | ^~~~~~~~~~~~~ | ( ) src/saphire_commands.c:883:47: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 883 | && ! stat_.st_gid == getgid()) | ^~ src/saphire_commands.c:883:32: note: add parentheses around left hand side expression to silence this warning 883 | && ! stat_.st_gid == getgid()) | ^~~~~~~~~~~~~~ | ( ) src/saphire_commands.c:912:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 912 | else if(!reverse && (vector_size(argv) + (input ? 1:0)) == 5 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands.c:1032:44: warning: pointer targets in passing argument 2 of ‘onig_new’ differ in signedness [-Wpointer-sign] 1032 | r = onig_new(®, regex2 | ^~~~~~ | | | char * In file included from src/saphire_commands.c:15: /usr/include/oniguruma.h:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1033:38: warning: pointer targets in passing argument 3 of ‘onig_new’ differ in signedness [-Wpointer-sign] 1033 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1065:44: warning: pointer targets in passing argument 2 of ‘onig_new’ differ in signedness [-Wpointer-sign] 1065 | r = onig_new(®, regex2 | ^~~~~~ | | | char * /usr/include/oniguruma.h:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1066:38: warning: pointer targets in passing argument 3 of ‘onig_new’ differ in signedness [-Wpointer-sign] 1066 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1098:44: warning: pointer targets in passing argument 2 of ‘onig_new’ differ in signedness [-Wpointer-sign] 1098 | r = onig_new(®, regex2 | ^~~~~~ | | | char * /usr/include/oniguruma.h:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1099:38: warning: pointer targets in passing argument 3 of ‘onig_new’ differ in signedness [-Wpointer-sign] 1099 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1131:44: warning: pointer targets in passing argument 2 of ‘onig_new’ differ in signedness [-Wpointer-sign] 1131 | r = onig_new(®, regex2 | ^~~~~~ | | | char * /usr/include/oniguruma.h:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1132:38: warning: pointer targets in passing argument 3 of ‘onig_new’ differ in signedness [-Wpointer-sign] 1132 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ src/saphire_commands.c:1163:47: warning: pointer targets in passing argument 2 of ‘onig_search’ differ in signedness [-Wpointer-sign] 1163 | int r2 = onig_search(reg, target | ^~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:1164:33: warning: pointer targets in passing argument 3 of ‘onig_search’ differ in signedness [-Wpointer-sign] 1164 | , target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:1165:26: warning: pointer targets in passing argument 4 of ‘onig_search’ differ in signedness [-Wpointer-sign] 1165 | , target, target + strlen(target) | ^~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:1165:41: warning: pointer targets in passing argument 5 of ‘onig_search’ differ in signedness [-Wpointer-sign] 1165 | , target, target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:1236:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1236 | if(r2 >= 0 && !reverse || r2 < 0 && reverse) { | ~~~~~~~~^~~~~~~~~~~ src/saphire_commands.c:622:15: warning: unused variable ‘arg5’ [-Wunused-variable] 622 | char* arg5; | ^~~~ src/saphire_commands.c:621:15: warning: unused variable ‘arg4’ [-Wunused-variable] 621 | char* arg4; | ^~~~ src/saphire_commands.c: In function ‘sort_name’: src/saphire_commands.c:1495:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1495 | 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:1516:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1516 | while(entry = readdir(dir)) { | ^~~~~ src/saphire_commands.c: In function ‘statment_tree_internal_commands_fselector’: src/saphire_commands.c:1783:39: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] 1783 | 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:3088:18: warning: variable ‘local’ set but not used [-Wunused-but-set-variable] 3088 | BOOL local = FALSE; | ^~~~~ src/saphire_commands.c: In function ‘statment_tree_internal_commands_ary_add’: src/saphire_commands.c:3937:10: warning: variable ‘line_field’ set but not used [-Wunused-but-set-variable] 3937 | BOOL line_field = FALSE; | ^~~~~~~~~~ src/saphire_commands.c: In function ‘statment_tree_internal_commands_def’: src/saphire_commands.c:5189:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5189 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5277:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5277 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5360:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5360 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:4850:21: warning: variable ‘lf’ set but not used [-Wunused-but-set-variable] 4850 | enum eLineField lf = gLineField; | ^~ src/saphire_commands.c: In function ‘statment_tree_internal_commands_class’: src/saphire_commands.c:5620:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5620 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5638:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5638 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5696:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5696 | if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5716:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5716 | 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:5829:21: warning: unused variable ‘k’ [-Wunused-variable] 5829 | int k; | ^ src/saphire_commands.c:5869:22: warning: unused variable ‘r’ [-Wunused-variable] 5869 | BOOL r = inner_fun->mFun(rcode, (vector_obj*)argv2 | ^ src/saphire_commands.c: In function ‘statment_tree_internal_commands_rows’: src/saphire_commands.c:7987:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 7987 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8002:43: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 8002 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8067:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 8067 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8082:43: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 8082 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8139:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 8139 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8160:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 8160 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8200:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 8200 | else if(arg[0] == '-' || arg[0] >= '0' && arg[0] <= '9') { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/saphire_commands.c:7908:21: warning: variable ‘next_arg’ set but not used [-Wunused-but-set-variable] 7908 | string_obj* next_arg; | ^~~~~~~~ src/saphire_commands.c:8611:25: warning: unused variable ‘baisuu’ [-Wunused-variable] 8611 | int baisuu = larg[i].num1; | ^~~~~~ src/saphire_commands.c:7904:9: warning: unused variable ‘block_num’ [-Wunused-variable] 7904 | int block_num = 0; | ^~~~~~~~~ src/saphire_commands.c:7902:10: warning: variable ‘terminal’ set but not used [-Wunused-but-set-variable] 7902 | BOOL terminal = FALSE; | ^~~~~~~~ src/saphire_commands.c: In function ‘statment_tree_internal_commands_lines’: src/saphire_commands.c:9096:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 9096 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9108:43: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 9108 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9167:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 9167 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9179:43: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 9179 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9239:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 9239 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9260:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 9260 | if(*p == '-' || *p >= '0' && *p <= '9') { | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9300:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 9300 | else if(arg[0] == '-' || arg[0] >= '0' && arg[0] <= '9') { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/saphire_commands.c:9035:21: warning: variable ‘next_arg’ set but not used [-Wunused-but-set-variable] 9035 | string_obj* next_arg; | ^~~~~~~~ src/saphire_commands.c:10114:29: warning: unused variable ‘baisuu’ [-Wunused-variable] 10114 | int baisuu = larg[i].num1; | ^~~~~~ src/saphire_commands.c:9031:9: warning: unused variable ‘block_num’ [-Wunused-variable] 9031 | int block_num = 0; | ^~~~~~~~~ src/saphire_commands.c: In function ‘statment_tree_internal_commands_ary_add’: src/saphire_commands.c:4106:19: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized] 4106 | if(n < 0) { | ^ src/saphire_commands.c:3941:9: note: ‘n’ was declared here 3941 | int n; | ^ src/saphire_commands.c: In function ‘statment_tree_internal_commands_read’: src/saphire_commands.c:10735:23: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized] 10735 | for(i=0; i= 0xA1 && c <= 0xFE || c == 0x8e; | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_curses.c:83:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 83 | return c >= 0x81 && c <= 0x9f || c >= 0xE0; | ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_curses.c: In function ‘minitscr’: src/saphire_curses.c:274:21: warning: unused variable ‘item’ [-Wunused-variable] 274 | struct sKeyMap* item; | ^~~~ src/saphire_curses.c:273:12: warning: unused variable ‘j’ [-Wunused-variable] 273 | int i, j; | ^ src/saphire_curses.c:273:9: warning: unused variable ‘i’ [-Wunused-variable] 273 | int i, j; | ^ src/saphire_curses.c: In function ‘mclear’: src/saphire_curses.c:372:10: warning: unused variable ‘space2’ [-Wunused-variable] 372 | char space2[1024]; | ^~~~~~ src/saphire_curses.c: In function ‘mgetch_’: src/saphire_curses.c:1299:12: warning: unused variable ‘y’ [-Wunused-variable] 1299 | static int y = 0; | ^ src/saphire_curses.c:1293:20: warning: unused variable ‘tv’ [-Wunused-variable] 1293 | struct timeval tv; | ^~ src/saphire_curses.c:1292:12: warning: unused variable ‘mask’ [-Wunused-variable] 1292 | fd_set mask; | ^~~~ src/saphire_curses.c: At top level: src/saphire_curses.c:1006:13: warning: ‘mrefresh_non_buffer’ defined but not used [-Wunused-function] 1006 | static void mrefresh_non_buffer() | ^~~~~~~~~~~~~~~~~~~ src/saphire_curses.c:121:12: warning: ‘mhas_color’ defined but not used [-Wunused-function] 121 | static int mhas_color() | ^~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I./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:138:29: warning: pointer targets in passing argument 2 of ‘onig_new’ differ in signedness [-Wpointer-sign] 138 | *r = onig_new(®, regex2 | ^~~~~~ | | | char * In file included from src/saphire_commands_string.c:15: /usr/include/oniguruma.h:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:139:26: warning: pointer targets in passing argument 3 of ‘onig_new’ differ in signedness [-Wpointer-sign] 139 | , regex2 + strlen((char*)regex2) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); | ^~ In file included from ./headers/saphire/saphire.h:11, from src/saphire_commands_string.c:30: 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:298:39: note: in expansion of macro ‘string_c_str’ 298 | int r2 = onig_search(reg, string_c_str(line) | ^~~~~~~~~~~~ /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:299:37: warning: pointer targets in passing argument 3 of ‘onig_search’ differ in signedness [-Wpointer-sign] 299 | , string_c_str(line) + string_length(line) /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:300:18: warning: pointer targets in passing argument 4 of ‘onig_search’ differ in signedness [-Wpointer-sign] 300 | , target, string_c_str(line) + string_length(line) | ^~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:300:45: warning: pointer targets in passing argument 5 of ‘onig_search’ differ in signedness [-Wpointer-sign] 300 | , target, string_c_str(line) + string_length(line) /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:298:17: warning: unused variable ‘r2’ [-Wunused-variable] 298 | 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:531:61: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 531 | if(vector_size(argv) == 3 || vector_size(argv) == 2 && vector_size(blocks) >= 1) src/saphire_commands_string.c:558:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 558 | else if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) src/saphire_commands_string.c:602:39: warning: pointer targets in passing argument 2 of ‘onig_search’ differ in signedness [-Wpointer-sign] 602 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:603:23: warning: pointer targets in passing argument 3 of ‘onig_search’ differ in signedness [-Wpointer-sign] 603 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:604:23: warning: pointer targets in passing argument 4 of ‘onig_search’ differ in signedness [-Wpointer-sign] 604 | , str2 + point | ~~~~~^~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:605:23: warning: pointer targets in passing argument 5 of ‘onig_search’ differ in signedness [-Wpointer-sign] 605 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:27: warning: unused variable ‘err_info’ [-Wunused-variable] 600 | OnigErrorInfo err_info; | ^~~~~~~~ src/saphire_commands_string.c:588:13: warning: unused variable ‘region_end_before’ [-Wunused-variable] 588 | int region_end_before = 0; | ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:578:9: warning: unused variable ‘i’ [-Wunused-variable] 578 | int i; | ^ src/saphire_commands_string.c: In function ‘statment_tree_internal_commands_sub_base_oneline’: src/saphire_commands_string.c:1158:61: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1158 | if(vector_size(argv) == 3 || vector_size(argv) == 2 && vector_size(blocks) >= 1) src/saphire_commands_string.c:1175:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1175 | else if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) src/saphire_commands_string.c:1211:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1211 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1229:73: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1229 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1235:43: warning: pointer targets in passing argument 2 of ‘onig_search’ differ in signedness [-Wpointer-sign] 1235 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:1236:27: warning: pointer targets in passing argument 3 of ‘onig_search’ differ in signedness [-Wpointer-sign] 1236 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:1237:27: warning: pointer targets in passing argument 4 of ‘onig_search’ differ in signedness [-Wpointer-sign] 1237 | , str2 + point | ~~~~~^~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:1238:27: warning: pointer targets in passing argument 5 of ‘onig_search’ differ in signedness [-Wpointer-sign] 1238 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:1275:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1275 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1331:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1331 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1403:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1403 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1442:97: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1442 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1502:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1502 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1526:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1526 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1537:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1537 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1544:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1544 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1551:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1551 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1570:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1570 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1593:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1593 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1604:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1604 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1611:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1611 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1618:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1618 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1639:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1639 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1654:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1654 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1670:89: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1670 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1696:85: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1696 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1715:89: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1715 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1732:89: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1732 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1234:31: warning: unused variable ‘err_info’ [-Wunused-variable] 1234 | OnigErrorInfo err_info; | ^~~~~~~~ src/saphire_commands_string.c:1763:77: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1763 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1221:17: warning: unused variable ‘region_end_before’ [-Wunused-variable] 1221 | int region_end_before = 0; | ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:1774:61: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1774 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1779:57: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1779 | if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1197:9: warning: unused variable ‘i’ [-Wunused-variable] 1197 | int i; | ^ src/saphire_commands_string.c: In function ‘statment_tree_internal_commands_scan_base’: src/saphire_commands_string.c:2956:43: warning: pointer targets in passing argument 2 of ‘onig_search’ differ in signedness [-Wpointer-sign] 2956 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:2957:27: warning: pointer targets in passing argument 3 of ‘onig_search’ differ in signedness [-Wpointer-sign] 2957 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:2958:22: warning: pointer targets in passing argument 4 of ‘onig_search’ differ in signedness [-Wpointer-sign] 2958 | , p | ^ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:2959:27: warning: pointer targets in passing argument 5 of ‘onig_search’ differ in signedness [-Wpointer-sign] 2959 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:43: warning: pointer targets in passing argument 2 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3065 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3066:27: warning: pointer targets in passing argument 3 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3066 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3067:22: warning: pointer targets in passing argument 4 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3067 | , p | ^ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3068:27: warning: pointer targets in passing argument 5 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3068 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:2946:13: warning: unused variable ‘region_end_before’ [-Wunused-variable] 2946 | int region_end_before = 0; | ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c: In function ‘statment_tree_internal_commands_scan_oneline_base’: src/saphire_commands_string.c:3285:47: warning: pointer targets in passing argument 2 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3285 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3286:31: warning: pointer targets in passing argument 3 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3286 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3287:26: warning: pointer targets in passing argument 4 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3287 | , p | ^ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3288:31: warning: pointer targets in passing argument 5 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3288 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:47: warning: pointer targets in passing argument 2 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3398 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3399:31: warning: pointer targets in passing argument 3 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3399 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3400:26: warning: pointer targets in passing argument 4 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3400 | , p | ^ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3401:31: warning: pointer targets in passing argument 5 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3401 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3274:17: warning: unused variable ‘region_end_before’ [-Wunused-variable] 3274 | int region_end_before = 0; | ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c: In function ‘statment_tree_internal_commands_match_base’: src/saphire_commands_string.c:3571:32: warning: pointer targets in passing argument 2 of ‘get_reg’ differ in signedness [-Wpointer-sign] 3571 | regex_t* reg = get_reg(&r, regex2, ignore_case, multiline, code); | ^~~~~~ | | | OnigUChar * {aka unsigned char *} src/saphire_commands_string.c:33:39: note: expected ‘char *’ but argument is of type ‘OnigUChar *’ {aka ‘unsigned char *’} 33 | static regex_t* get_reg(int* r, char* regex2, BOOL ignore_case, BOOL multiline, enum eKanjiCode code) | ~~~~~~^~~~~~ src/saphire_commands_string.c:3578:35: warning: pointer targets in passing argument 2 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3578 | int r2 = onig_search(reg, str2 | ^~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3579:19: warning: pointer targets in passing argument 3 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3579 | , str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3580:19: warning: pointer targets in passing argument 4 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3580 | , str2 + position, str2 + strlen(str2) | ~~~~~^~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3580:36: warning: pointer targets in passing argument 5 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3580 | , str2 + position, str2 + strlen(str2) | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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_condition_re’: src/saphire_commands_string.c:3975:35: warning: pointer targets in passing argument 2 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3975 | int r2 = onig_search(reg, target | ^~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3976:21: warning: pointer targets in passing argument 3 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3976 | , target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3977:14: warning: pointer targets in passing argument 4 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3977 | , target, target + strlen(target) | ^~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:3977:29: warning: pointer targets in passing argument 5 of ‘onig_search’ differ in signedness [-Wpointer-sign] 3977 | , target, target + strlen(target) | ~~~~~~~^~~~~~~~~~~~~~~~ | | | char * /usr/include/oniguruma.h:830:17: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 830 | 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:4461:10: warning: variable ‘quiet’ set but not used [-Wunused-but-set-variable] 4461 | BOOL quiet = FALSE; | ^~~~~ src/saphire_commands_string.c: In function ‘statment_tree_internal_commands_match’: src/saphire_commands_string.c:4865:44: warning: pointer targets in passing argument 2 of ‘statment_tree_internal_commands_match_base’ differ in signedness [-Wpointer-sign] 4865 | string_c_str(str), regex2, rcode, nextout | ^~~~~~ | | | char * src/saphire_commands_string.c:3566:12: note: expected ‘OnigUChar *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 3566 | , UChar* regex2, int* rcode, sWFd* nextout, BOOL print, BOOL line_field | ^ src/saphire_commands_string.c:4906:40: warning: pointer targets in passing argument 2 of ‘statment_tree_internal_commands_match_base’ differ in signedness [-Wpointer-sign] 4906 | string_c_str(str), regex2, rcode, nextout | ^~~~~~ | | | char * src/saphire_commands_string.c:3566:12: note: expected ‘OnigUChar *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 3566 | , UChar* regex2, int* rcode, sWFd* nextout, BOOL print, BOOL line_field | ^ src/saphire_commands_string.c:4946:19: warning: pointer targets in passing argument 2 of ‘statment_tree_internal_commands_match_base’ differ in signedness [-Wpointer-sign] 4946 | str2, regex2, rcode, nextout, !quiet, line_field | ^~~~~~ | | | char * src/saphire_commands_string.c:3566:12: note: expected ‘OnigUChar *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 3566 | , UChar* regex2, int* rcode, sWFd* nextout, BOOL print, BOOL line_field | ^ src/saphire_commands_string.c: In function ‘statment_tree_internal_commands_printf_base’: src/saphire_commands_string.c:3790:29: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3790 | asprintf(&buf, string_c_str(aformat), atoi(string_c_str(arg))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:3808:29: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3808 | asprintf(&buf, string_c_str(aformat), atof(string_c_str(arg))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:3825:29: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3825 | asprintf(&buf, string_c_str(aformat), string_c_str(arg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands_string.c: In function ‘statment_tree_internal_commands_split_base’: src/saphire_commands_string.c:280:11: warning: ‘line’ may be used uninitialized [-Wmaybe-uninitialized] 280 | char* p = string_c_str(line); | ^ src/saphire_commands_string.c:241:17: note: ‘line’ was declared here 241 | string_obj* line; | ^~~~ src/saphire_commands_string.c:284:20: warning: ‘regex’ may be used uninitialized [-Wmaybe-uninitialized] 284 | regex_t* reg = get_reg(&r, regex2, ignore_case, multiline, code); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:242:11: note: ‘regex’ was declared here 242 | char* regex; | ^~~~~ src/saphire_commands_string.c: In function ‘statment_tree_internal_commands_index’: src/saphire_commands_string.c:2148:26: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized] 2148 | if(start < 0 || start >= len) | ~~~~~~~~~~^~~~~~~~~~~~~~~ src/saphire_commands_string.c:1962:9: note: ‘n’ was declared here 1962 | int n; | ^ src/saphire_commands_string.c:2161:15: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized] 2161 | if(match_count <= 0) { | ^ src/saphire_commands_string.c:1964:9: note: ‘c’ was declared here 1964 | int c; | ^ src/saphire_commands_string.c: In function ‘statment_tree_internal_commands_rindex’: src/saphire_commands_string.c:2447:26: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized] 2447 | if(start < 0 || start >= len) | ~~~~~~~~~~^~~~~~~~~~~~~~~ src/saphire_commands_string.c:2263:9: note: ‘n’ was declared here 2263 | int n; | ^ src/saphire_commands_string.c:2460:15: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized] 2460 | if(match_count <= 0) { | ^ src/saphire_commands_string.c:2266:9: note: ‘c’ was declared here 2266 | int c; | ^ src/saphire_commands_string.c: In function ‘statment_tree_internal_commands_add’: src/saphire_commands_string.c:5597:15: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized] 5597 | if(n < 0) { | ^ src/saphire_commands_string.c:5290:9: note: ‘n’ was declared here 5290 | int n; | ^ src/saphire_commands_string.c: In function ‘statment_tree_internal_commands_del’: src/saphire_commands_string.c:5923:19: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized] 5923 | n = str_kanjilen(code, string_c_str(str)) + n; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:5674:9: note: ‘n’ was declared here 5674 | 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 In function ‘read’, inlined from ‘sBlock_load’ at src/saphire_main.c:6623:12: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘sBlock_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function ‘read’, inlined from ‘sArg_load’ at src/saphire_main.c:2300:12: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘sArg_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function ‘read’, inlined from ‘sArg_load’ at src/saphire_main.c:2334:12: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘sArg_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function ‘read’, inlined from ‘sStatment_load’ at src/saphire_main.c:3180:8: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘sStatment_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function ‘read’, inlined from ‘sStatment_load’ at src/saphire_main.c:3199:8: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘sStatment_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function ‘read’, inlined from ‘sStatment_load’ at src/saphire_main.c:3220:12: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘sStatment_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function ‘read’, inlined from ‘sStatments_load’ at src/saphire_main.c:3398:8: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘sStatments_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function ‘read’, inlined from ‘sClass_load’ at src/saphire_main.c:3497:8: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘sClass_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function ‘read’, inlined from ‘sFunction_load’ at src/saphire_main.c:3646:8: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘sFunction_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function ‘read’, inlined from ‘sFunction_load’ at src/saphire_main.c:3660:8: /usr/include/bits/unistd.h:28:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ /usr/include/bits/unistd-decl.h: In function ‘sFunction_load’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ 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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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:817:14: note: expected ‘const OnigUChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 817 | 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) == '|') { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from ./headers/saphire/saphire.h:11: src/readline.c: 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:980, 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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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.Uy5Ajx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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-31.fc40.riscv64 includedir=/usr/include/saphire docdir=/usr/share/doc/saphire-3.6.5 if [ -z "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64" ]; 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-31.fc40.riscv64//usr/lib64" if [ "" = libsaphire.a ]; then /usr/bin/install -c -p -m 0644 -s libsaphire.a "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//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-31.fc40.riscv64//usr/lib64"; else /usr/bin/install -c -p -m 0755 libsaphire.so.2.0.0 "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//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-31.fc40.riscv64//usr/lib64"; fi if [ "libsaphire.so" = libsaphire.so ]; then ln -s -f libsaphire.so.2.0.0 "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//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-31.fc40.riscv64//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-31.fc40.riscv64//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-31.fc40.riscv64//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-31.fc40.riscv64" ]; 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-31.fc40.riscv64//usr/bin"; mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/lib64/saphire"; mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/lib64" mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/include/saphire" mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/share/doc/saphire-3.6.5" mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/share/man/man1" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_curses.h "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_debug.h "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_extra.h "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_hash.h "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_kanji.h "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_list.h "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_string.h "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_vector.h "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire.h "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 USAGE.ja.txt "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/share/doc/saphire-3.6.5" /usr/bin/install -c -p -m 0644 USAGE.en.txt "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/share/doc/saphire-3.6.5" /usr/bin/install -c -p -m 0644 README.ja.txt "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/share/doc/saphire-3.6.5" /usr/bin/install -c -p -m 0644 README.en.txt "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/share/doc/saphire-3.6.5" /usr/bin/install -c -p -m 0644 CHANGELOG.txt "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/share/doc/saphire-3.6.5" rm -f "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//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-31.fc40.riscv64//usr/bin"; else /usr/bin/install -c -p -m 0755 saphire "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/bin"; fi; rm -f "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//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-31.fc40.riscv64//usr/bin"; else /usr/bin/install -c -p -m 0755 saphiresh "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/bin"; fi; /usr/bin/install -c -p -m 0644 saphire.sa "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 saphire.sao "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 completion.sao "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 completion.sa "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 shelp.sao "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 shelp.sa "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 man/man1/saphire.1 "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/share/man/man1" /usr/bin/install -c -p -m 0644 man/man1/saphiresh.1 "/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64//usr/share/man/man1" make[1]: Leaving directory '/builddir/build/BUILD/saphire-3.6.5' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.6.5-31.fc40 --unique-debug-suffix -3.6.5-31.fc40.riscv64 --unique-debug-src-base saphire-3.6.5-31.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/saphire-3.6.5 find-debuginfo: starting Extracting debug info from 3 files DWARF-compressing 3 files sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/saphire-3.6.5-31.fc40.riscv64 2710 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: saphire-3.6.5-31.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NrTQ80 + umask 022 + cd /builddir/build/BUILD + cd saphire-3.6.5 + DOCDIR=/builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64/usr/share/doc/saphire-3.6.5 + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr /builddir/build/BUILD/saphire-3.6.5/AUTHORS /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr /builddir/build/BUILD/saphire-3.6.5/LICENSE /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr /builddir/build/BUILD/saphire-3.6.5/README.en.txt /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr /builddir/build/BUILD/saphire-3.6.5/USAGE.en.txt /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr /builddir/build/BUILD/saphire-3.6.5/install_samples/samples /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr /builddir/build/BUILD/saphire-3.6.5/CHANGELOG.txt /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr /builddir/build/BUILD/saphire-3.6.5/README.ja.txt /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr /builddir/build/BUILD/saphire-3.6.5/USAGE.ja.txt /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64/usr/share/doc/saphire-3.6.5 + RPM_EC=0 ++ jobs -p + exit 0 Provides: libsaphire.so.2()(64bit) saphire = 3.6.5-31.fc40 saphire(riscv-64) = 3.6.5-31.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(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-31.fc40.riscv64 Provides: saphire-devel = 3.6.5-31.fc40 saphire-devel(riscv-64) = 3.6.5-31.fc40 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-31.fc40.riscv64 Provides: saphire-debugsource = 3.6.5-31.fc40 saphire-debugsource(riscv-64) = 3.6.5-31.fc40 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-31.fc40.riscv64 Provides: debuginfo(build-id) = 00c3f7f8f93519edaf7af1e9c86231af00cb9b90 debuginfo(build-id) = 31710f309aee111997e560193fe5810a4b6aeb7d debuginfo(build-id) = fa889e38e366bd8641bfae9f1074117c4f9c4be9 libsaphire.so.2.0.0-3.6.5-31.fc40.riscv64.debug()(64bit) saphire-debuginfo = 3.6.5-31.fc40 saphire-debuginfo(riscv-64) = 3.6.5-31.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: saphire-debugsource(riscv-64) = 3.6.5-31.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64 Wrote: /builddir/build/RPMS/saphire-devel-3.6.5-31.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/saphire-3.6.5-31.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/saphire-debuginfo-3.6.5-31.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/saphire-debugsource-3.6.5-31.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HUT2jC + umask 022 + cd /builddir/build/BUILD + cd saphire-3.6.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/saphire-3.6.5-31.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.sioytT + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/saphire-3.6.5-SPECPARTS + rm -rf saphire-3.6.5 saphire-3.6.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0