+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/saphire.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: bogus date in %changelog: Sat Apr 29 2011 Mamoru Tasaka - 3.0.3-1 warning: bogus date in %changelog: Wed Dec 21 2010 Mamoru Tasaka - 1.0.8-1 warning: bogus date in %changelog: Fri Nov 10 2010 Mamoru Tasaka - 0.9.5-1 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QpLC8Y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf saphire-3.6.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/saphire-3.6.5.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd saphire-3.6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XClTG9 + umask 022 + cd /builddir/build/BUILD + cd saphire-3.6.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --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... no checking for 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' docdir=/usr/share/doc/saphire-3.6.5 -k gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] char* max; ^~~ src/saphire_extra.c: In function 'correct_path': src/saphire_extra.c:160:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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] int max; ^~~ src/saphire_hash.c:209:8: warning: unused variable 'i' [-Wunused-variable] int i; ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_kanji.o src/saphire_kanji.c src/saphire_kanji.c: In function 'is_kanji': src/saphire_kanji.c:265:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return c >= 0xA1 && c <= 0xFE || c == 0x8e; ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_kanji.c:269:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return c >= 0x81 && c <= 0x9f || c >= 0xE0; ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_kanji.c: In function 'str_termlen': src/saphire_kanji.c:314:18: warning: implicit declaration of function 'wcswidth'; did you mean 'wcstod'? [-Wimplicit-function-declaration] result = wcswidth(wcs, wcslen(wcs)); ^~~~~~~~ wcstod src/saphire_kanji.c: In function 'kanji_convert': src/saphire_kanji.c:375:12: warning: unused variable 'result' [-Wunused-variable] size_t result; ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] } ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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] } ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c src/saphire_main.c -o src/saphire_main.o -DSYSCONFDIR=\"/usr/lib64/saphire\" -DDOCDIR=\"/usr/share/doc/saphire-3.6.5\" -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast src/saphire_main.c: In function 'all_get_quoted_fname': src/saphire_main.c:1019:13: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] if(!isalpha(*p)) ^~~~~~~ src/saphire_main.c: In function 'sIf_save': src/saphire_main.c:2539:19: warning: unused variable 'c' [-Wunused-variable] unsigned char c; ^ src/saphire_main.c: In function 'sCommand_delete': src/saphire_main.c:2638:5: warning: enumeration value 'kObject' not handled in switch [-Wswitch] switch(self->mKind) { ^~~~~~ src/saphire_main.c:2638:5: warning: enumeration value 'kRef' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kVar' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kGlobal' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kExport' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kAry' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kAryAdd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kAryErase' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kHash' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kHashAdd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kHashErase' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kDef' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kInherit' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSelf' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kStackFrame' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kClass' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSweep' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kShow' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMSleep' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kTrue' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kFalse' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kTest' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kIndex' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRIndex' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kLength' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kLc' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kUc' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kChomp' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kEval' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kFg' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kBg' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kJobs' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRehash' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kKanjiCode' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kLineField' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPrint' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPuts' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kLoad' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kCompile' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRaise' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kTry' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kBreak' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kExit' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSplit' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kX' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kJoin' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSelect' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kLines' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRows' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMatch' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kScan' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSub' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kGSub' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRead' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kClose' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kCd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kAdd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kDel' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSelector' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMax' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMin' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kExtName' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kParentName' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kNoExtName' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPopd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPushd' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPlusPlus' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMinusMinus' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPlus' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMinus' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMult' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kDiv' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMod' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPow' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kSort' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRange' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPrintf' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPomch' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPTee' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kPCat' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kReturn' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMInitScr' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMEndWin' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMClear' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMClearImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMRefresh' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMMove' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMMoveImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kMPrintw' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kYeild' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kBlock' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kEach' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kForeach' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kAbs' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kFAbs' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kP' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kEnvSpace' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kQuote' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kTime' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kFSelector' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kUnset' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kUMask' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kErrMsg' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kRunInfo' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionN' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionZ' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionB' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionC' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionD' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionF' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionH' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionL' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionP' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionS2' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionG' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionK' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionU' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionR' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionW' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionX' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionO' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionG2' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionS' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionEq' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionNEq' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSLT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSGT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSLE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSGE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSILT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSIGT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSILE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionSIGE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionEqI' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionRE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionREI' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionREIM' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionREMI' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionREM' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionEQ' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionNE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionLT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionLE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionGT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionGE' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionNT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionOT' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kConditionEF' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kInnerCommand' not handled in switch [-Wswitch] src/saphire_main.c:2638:5: warning: enumeration value 'kCommand' not handled in switch [-Wswitch] src/saphire_main.c: In function 'sCommand_view': src/saphire_main.c:2710:5: warning: enumeration value 'kObject' not handled in switch [-Wswitch] switch(self->mKind) { ^~~~~~ src/saphire_main.c:2710:5: warning: enumeration value 'kRef' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kVar' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kGlobal' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kExport' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kAry' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kAryAdd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kAryErase' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kHash' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kHashAdd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kHashErase' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kDef' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kInherit' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSelf' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kStackFrame' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kClass' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSweep' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kShow' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMSleep' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kTrue' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kFalse' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kTest' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kIndex' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRIndex' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kLength' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kLc' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kUc' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kChomp' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kEval' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kFg' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kBg' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kJobs' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRehash' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kKanjiCode' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kLineField' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPrint' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPuts' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kLoad' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kCompile' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRaise' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kTry' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kBreak' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kExit' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSplit' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kX' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kJoin' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSelect' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kLines' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRows' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMatch' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kScan' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSub' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kGSub' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRead' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kClose' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kCd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kAdd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kDel' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSelector' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMax' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMin' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kExtName' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kParentName' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kNoExtName' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPopd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPushd' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPlusPlus' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMinusMinus' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPlus' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMinus' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMult' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kDiv' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMod' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPow' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kSort' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRange' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPrintf' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPomch' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPTee' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kPCat' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kReturn' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMInitScr' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMEndWin' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMClear' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMClearImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMRefresh' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMMove' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMMoveImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kMPrintw' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kYeild' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kBlock' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kEach' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kForeach' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kAbs' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kFAbs' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kP' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kEnvSpace' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kQuote' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kTime' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kFSelector' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kUnset' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kUMask' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kErrMsg' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kRunInfo' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionN' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionZ' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionB' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionC' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionD' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionF' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionH' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionL' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionP' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionS2' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionG' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionK' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionU' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionR' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionW' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionX' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionO' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionG2' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionS' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionEq' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionNEq' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSLT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSGT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSLE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSGE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSILT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSIGT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSILE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionSIGE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionEqI' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionRE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionREI' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionREIM' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionREMI' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionREM' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionEQ' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionNE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionLT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionLE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionGT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionGE' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionNT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionOT' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kConditionEF' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kInnerCommand' not handled in switch [-Wswitch] src/saphire_main.c:2710:5: warning: enumeration value 'kCommand' not handled in switch [-Wswitch] src/saphire_main.c: In function 'sCommand_save': src/saphire_main.c:2769:5: warning: enumeration value 'kObject' not handled in switch [-Wswitch] switch(self->mKind) { ^~~~~~ src/saphire_main.c:2769:5: warning: enumeration value 'kRef' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kVar' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kGlobal' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kExport' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kAry' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kAryAdd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kAryErase' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kHash' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kHashAdd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kHashErase' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kDef' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kInherit' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSelf' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kStackFrame' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kClass' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSweep' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kShow' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMSleep' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kTrue' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kFalse' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kTest' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kIndex' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRIndex' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kLength' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kLc' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kUc' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kChomp' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kEval' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kFg' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kBg' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kJobs' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRehash' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kKanjiCode' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kLineField' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPrint' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPuts' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kLoad' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kCompile' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRaise' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kTry' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kBreak' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kExit' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSplit' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kX' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kJoin' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSelect' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kLines' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRows' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMatch' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kScan' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSub' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kGSub' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRead' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kClose' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kCd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kAdd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kDel' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSelector' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMax' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMin' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kExtName' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kParentName' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kNoExtName' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPopd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPushd' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPlusPlus' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMinusMinus' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPlus' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMinus' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMult' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kDiv' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMod' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPow' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kSort' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRange' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPrintf' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPomch' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPTee' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kPCat' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kReturn' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMInitScr' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMEndWin' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMClear' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMClearImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMRefresh' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMMove' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMMoveImmediately' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kMPrintw' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kYeild' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kBlock' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kEach' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kForeach' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kAbs' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kFAbs' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kP' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kEnvSpace' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kQuote' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kTime' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kFSelector' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kUnset' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kUMask' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kErrMsg' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kRunInfo' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionN' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionZ' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionB' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionC' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionD' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionF' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionH' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionL' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionP' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionS2' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionG' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionK' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionU' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionR' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionW' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionX' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionO' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionG2' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionS' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionEq' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionNEq' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSLT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSGT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSLE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSGE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSILT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSIGT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSILE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionSIGE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionEqI' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionRE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionREI' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionREIM' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionREMI' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionREM' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionEQ' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionNE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionLT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionLE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionGT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionGE' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionNT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionOT' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kConditionEF' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kInnerCommand' not handled in switch [-Wswitch] src/saphire_main.c:2769:5: warning: enumeration value 'kCommand' not handled in switch [-Wswitch] src/saphire_main.c: In function 'sCommand_load': src/saphire_main.c:2786:12: warning: unused variable 'm' [-Wunused-variable] int n, m; ^ src/saphire_main.c: In function 'sStatment_save': src/saphire_main.c:3058:9: warning: unused variable 'wret' [-Wunused-variable] int wret = write(fd, string_c_str(self->mFName), n); ^~~~ src/saphire_main.c: In function 'saphire_rehash_external_prog': src/saphire_main.c:3789:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(entry = readdir(dir)) { ^~~~~ src/saphire_main.c:3843:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(entry = readdir(dir)) { ^~~~~ src/saphire_main.c: In function 'saphire_final': src/saphire_main.c:4308:9: warning: implicit declaration of function 'onig_free' [-Wimplicit-function-declaration] onig_free(hash_loop_item(it)); ^~~~~~~~~ src/saphire_main.c: In function 'sRFd_close': src/saphire_main.c:4754:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/saphire_main.c: In function 'sAtCommand_save': src/saphire_main.c:7267:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/saphire_main.c: In function 'sRFd_read_oneline_num': src/saphire_main.c:5630:26: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] c++; ~^~ src/saphire_main.c:5608:26: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] c++; ~^~ src/saphire_main.c: In function 'sRFd_read_oneline_preserve_num': src/saphire_main.c:5957:26: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] c++; ~^~ src/saphire_main.c:5935:26: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] c++; ~^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_vm.o src/saphire_vm.c src/saphire_vm.c: In function 'statment_tree_redirect': src/saphire_vm.c:34:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] switch(redirect->mType) { ^~~~~~ src/saphire_vm.c:57:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] switch(redirect->mType) { ^~~~~~ src/saphire_vm.c: In function 'statment_tree_exec_cprog': src/saphire_vm.c:128:13: warning: enumeration value 'kRedirectErrAndOutput' not handled in switch [-Wswitch] switch(redirect->mType) { ^~~~~~ src/saphire_vm.c: In function 'statment_tree_external_command': src/saphire_vm.c:372:26: warning: unused variable 'epipe' [-Wunused-variable] BOOL epipe = FALSE; ^~~~~ src/saphire_vm.c:266:11: warning: unused variable 'argv0' [-Wunused-variable] char* argv0 = string_c_str(vector_item(argv, 0)); ^~~~~ src/saphire_vm.c: In function 'statment_tree_make_argv_make_randomize_file_name': src/saphire_vm.c:546:35: warning: implicit declaration of function 'time'; did you mean 'nice'? [-Wimplicit-function-declaration] srandom((unsigned)time(NULL)); ^~~~ nice src/saphire_vm.c: In function 'statment_tree': src/saphire_vm.c:923:28: warning: implicit declaration of function 'umask'; did you mean 'sigmask'? [-Wimplicit-function-declaration] umask_before = umask(0077); ^~~~~ sigmask src/saphire_vm.c:1718:21: warning: unused variable 'k' [-Wunused-variable] int k; ^ src/saphire_vm.c:2100:22: warning: implicit declaration of function 'statment_tree_internal_commands'; did you mean 'statment_tree_internal_commands_p'? [-Wimplicit-function-declaration] BOOL r = statment_tree_internal_commands(runinfo, command, rcode, argv, blocks, nextout, nextin, nexterr, j, title, input, sname, sline); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ statment_tree_internal_commands_p src/saphire_vm.c:948:13: warning: unused variable 'ii' [-Wunused-variable] int ii; ^~ src/saphire_vm.c: In function 'run_wait_cprogs': src/saphire_vm.c:2468:19: warning: unused variable 'pid' [-Wunused-variable] pid_t pid = waitpid(last_program_pid, &status, WUNTRACED); ^~~ src/saphire_vm.c: In function 'tmpfile_all_sweep': src/saphire_vm.c:3263:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(entry = readdir(dir)) { ^~~~~ src/saphire_vm.c: In function 'statment_tree_redirect.isra.0': src/saphire_vm.c:33:20: warning: 'mode' may be used uninitialized in this function [-Wmaybe-uninitialized] mode_t mode; ^~~~ src/saphire_vm.c: In function 'statment_tree_external_command.isra.3': src/saphire_vm.c:127:20: warning: 'mode' may be used uninitialized in this function [-Wmaybe-uninitialized] mode_t mode; ^~~~ src/saphire_vm.c: In function 'statment_tree.constprop': src/saphire_vm.c:988:21: warning: 'umask_before' may be used uninitialized in this function [-Wmaybe-uninitialized] umask(umask_before); ^~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] if(*(*p+1) == '$' && *(*p+2) == '(' || *(*p+1) == '(') ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_parser.c:113:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] 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] 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] 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] line_inc && (*sline)++; ^~ src/saphire_parser.c:230:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while(**p >= 'a' && **p <= 'z' ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:242:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(**p >= 'a' && **p <= 'z' ~~~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c:273:26: warning: value computed is not used [-Wunused-value] line_inc && (*sline)++; ^~ src/saphire_parser.c:350:22: warning: value computed is not used [-Wunused-value] line_inc && (*sline)++; ^~ src/saphire_parser.c: In function 'read_one_argument': src/saphire_parser.c:546:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*(*p+1) == '(' || *(*p+1) == '$' && *(*p+2) == '(') ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_parser.c:583:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] 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] 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] 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] else if(**p == '@' && (*(*p+1) == '(') || (*(*p+1) == '@' && *(*p+2) == '(') || (*(*p+1) == '@' && *(*p+2) >= 'a' && *(*p+2) <= 'z' && *(*p+3) == '(')) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/saphire_parser.c:837:22: warning: array subscript has type 'char' [-Wchar-subscripts] else if(table[**p]) { ^ src/saphire_parser.c: In function 'read_command': src/saphire_parser.c:1507:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] if(*(p+1) == '$' && *(p+2) == '(' || *(p+1) == '(') ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/saphire_parser.c:2177:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] 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] 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] BOOL bracket; ^~~~~~~ src/saphire_parser.c:2304:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if(*p >='A' && * p <= 'Z' || *p >='a' && *p <='z') ~~~~~~~~~^~~~~~~~~~~~~ src/saphire_parser.c: In function 'parse': src/saphire_parser.c:1387:68: warning: 'lf' may be used uninitialized in this function [-Wmaybe-uninitialized] 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 enum eLineField lf; ^~ src/saphire_parser.c:1386:15: warning: 'double_' may be used uninitialized in this function [-Wmaybe-uninitialized] if(double_) { ^ src/saphire_parser.c:1328:18: note: 'double_' was declared here BOOL double_; ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_commands.o src/saphire_commands.c src/saphire_commands.c: In function 'str_cut': src/saphire_commands.c:145:16: warning: implicit declaration of function 'wcswidth'; did you mean 'wcstod'? [-Wimplicit-function-declaration] if(wcswidth(wcs_tmp, wcslen(wcs_tmp)) > termsize) { ^~~~~~~~ wcstod src/saphire_commands.c: In function 'statment_tree_internal_commands_selector_base': src/saphire_commands.c:311:39: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] else if(key == 'q' || key == 3 | key == 27 || key == 7) { ~~~~^~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_test_base': src/saphire_commands.c:689:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(!reverse && (vector_size(argv) + (input ? 1: 0)) == 4 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands.c:870:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] && !stat_.st_uid == getuid()) ^~ src/saphire_commands.c:870:32: note: add parentheses around left hand side expression to silence this warning && !stat_.st_uid == getuid()) ^~~~~~~~~~~~~ ( ) src/saphire_commands.c:880:47: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] && ! stat_.st_gid == getgid()) ^~ src/saphire_commands.c:880:32: note: add parentheses around left hand side expression to silence this warning && ! stat_.st_gid == getgid()) ^~~~~~~~~~~~~~ ( ) src/saphire_commands.c:909:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if(!reverse && (vector_size(argv) + (input ? 1:0)) == 5 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands.c:1029:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(®, regex2 ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/saphire_commands.c:1030:31: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] , regex2 + strlen((char*)regex2) ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/saphire_commands.c:1062:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(®, regex2 ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/saphire_commands.c:1063:31: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] , regex2 + strlen((char*)regex2) ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/saphire_commands.c:1095:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(®, regex2 ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/saphire_commands.c:1096:31: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] , regex2 + strlen((char*)regex2) ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/saphire_commands.c:1128:44: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(®, regex2 ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/saphire_commands.c:1129:31: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] , regex2 + strlen((char*)regex2) ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/saphire_commands.c:1160:47: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] int r2 = onig_search(reg, target ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands.c:1161:26: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , target + strlen(target) ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands.c:1162:26: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] , target, target + strlen(target) ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands.c:1162:34: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , target, target + strlen(target) ^~~~~~ In file included from src/saphire_commands.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands.c:1233:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(r2 >= 0 && !reverse || r2 < 0 && reverse) { ~~~~~~~~^~~~~~~~~~~ src/saphire_commands.c:619:15: warning: unused variable 'arg5' [-Wunused-variable] char* arg5; ^~~~ src/saphire_commands.c:618:15: warning: unused variable 'arg4' [-Wunused-variable] char* arg4; ^~~~ src/saphire_commands.c: In function 'sort_name': src/saphire_commands.c:1492:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(!S_ISDIR(l->mStat.st_mode) && !S_ISDIR(r->mStat.st_mode) ^ src/saphire_commands.c: In function 'select_file_read': src/saphire_commands.c:1513:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(entry = readdir(dir)) { ^~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_fselector': src/saphire_commands.c:1780:39: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] else if(key == 'q' || key == 3 | key == 27 || key == 7) { ~~~~^~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_global': src/saphire_commands.c:3085:18: warning: variable 'local' set but not used [-Wunused-but-set-variable] BOOL local = FALSE; ^~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_ary': src/saphire_commands.c:3800:13: warning: implicit declaration of function 'saphire_clear_array_element'; did you mean 'saphire_insert_array_element'? [-Wimplicit-function-declaration] saphire_clear_array_element(v); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ saphire_insert_array_element src/saphire_commands.c: In function 'statment_tree_internal_commands_ary_add': src/saphire_commands.c:3934:10: warning: variable 'line_field' set but not used [-Wunused-but-set-variable] BOOL line_field = FALSE; ^~~~~~~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_ary_erase': src/saphire_commands.c:4188:17: warning: implicit declaration of function 'saphire_erase_array_element'; did you mean 'saphire_erase_hash_element'? [-Wimplicit-function-declaration] saphire_erase_array_element(v, n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ saphire_erase_hash_element src/saphire_commands.c: In function 'statment_tree_internal_commands_def': src/saphire_commands.c:5186:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5274:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5357:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:4847:21: warning: variable 'lf' set but not used [-Wunused-but-set-variable] enum eLineField lf = gLineField; ^~ src/saphire_commands.c: In function 'statment_tree_internal_commands_class': src/saphire_commands.c:5617:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5635:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5693:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c:5713:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(strlen(name) > 1 && name[0] == '`' || strlen(name) > 2 && name[0] == '0' && name[1] == 'x') ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_inherit': src/saphire_commands.c:5826:21: warning: unused variable 'k' [-Wunused-variable] int k; ^ src/saphire_commands.c:5866:22: warning: unused variable 'r' [-Wunused-variable] BOOL r = inner_fun->mFun(rcode, (vector_obj*)argv2 ^ src/saphire_commands.c:5910:26: warning: implicit declaration of function 'statment_tree_internal_commands'; did you mean 'statment_tree_internal_commands_p'? [-Wimplicit-function-declaration] BOOL r = statment_tree_internal_commands(runinfo, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ statment_tree_internal_commands_p src/saphire_commands.c: In function 'statment_tree_internal_commands_rows': src/saphire_commands.c:7984:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:7999:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8064:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8079:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8136:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8157:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:8197:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if(arg[0] == '-' || arg[0] >= '0' && arg[0] <= '9') { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/saphire_commands.c:7905:21: warning: variable 'next_arg' set but not used [-Wunused-but-set-variable] string_obj* next_arg; ^~~~~~~~ src/saphire_commands.c:8608:25: warning: unused variable 'baisuu' [-Wunused-variable] int baisuu = larg[i].num1; ^~~~~~ src/saphire_commands.c:7901:9: warning: unused variable 'block_num' [-Wunused-variable] int block_num = 0; ^~~~~~~~~ src/saphire_commands.c:7899:10: warning: variable 'terminal' set but not used [-Wunused-but-set-variable] BOOL terminal = FALSE; ^~~~~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_lines': src/saphire_commands.c:9093:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9105:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9164:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9176:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9236:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9257:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(*p == '-' || *p >= '0' && *p <= '9') { ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_commands.c:9297:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if(arg[0] == '-' || arg[0] >= '0' && arg[0] <= '9') { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/saphire_commands.c:9032:21: warning: variable 'next_arg' set but not used [-Wunused-but-set-variable] string_obj* next_arg; ^~~~~~~~ src/saphire_commands.c:10111:29: warning: unused variable 'baisuu' [-Wunused-variable] int baisuu = larg[i].num1; ^~~~~~ src/saphire_commands.c:9028:9: warning: unused variable 'block_num' [-Wunused-variable] int block_num = 0; ^~~~~~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_test_base.isra.1': src/saphire_commands.c:714:24: warning: 'arg1' may be used uninitialized in this function [-Wmaybe-uninitialized] if(strcmp(arg1, "-b") == 0) { ^~~~~~~~~~~~~~~~~~ src/saphire_commands.c: In function 'statment_tree_internal_commands_ary_add': src/saphire_commands.c:4104:27: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] n = n + vector_size(v) + 1; src/saphire_commands.c: In function 'statment_tree_internal_commands_read': src/saphire_commands.c:10568:21: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] int result = statment_tree_internal_commands_read_nextin_onechar_num(nextin, out, c); ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_curses.o src/saphire_curses.c src/saphire_curses.c: In function 'wis_2cols': src/saphire_curses.c:70:12: warning: implicit declaration of function 'wcswidth'; did you mean 'wcstod'? [-Wimplicit-function-declaration] return wcswidth(buf, 10) == 2; ^~~~~~~~ wcstod src/saphire_curses.c: In function 'is_kanji': src/saphire_curses.c:76:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return c >= 0xA1 && c <= 0xFE || c == 0x8e; ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_curses.c:80:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return c >= 0x81 && c <= 0x9f || c >= 0xE0; ~~~~~~~~~~^~~~~~~~~~~~ src/saphire_curses.c: In function 'mcurses_init': src/saphire_curses.c:163:8: warning: implicit declaration of function 'setupterm'; did you mean 'set_term'? [-Wimplicit-function-declaration] if(setupterm(NULL, STDOUT_FILENO, (int*) 0) == ERR) { ^~~~~~~~~ set_term src/saphire_curses.c: In function 'minitscr': src/saphire_curses.c:271:21: warning: unused variable 'item' [-Wunused-variable] struct sKeyMap* item; ^~~~ src/saphire_curses.c:270:12: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ src/saphire_curses.c:270:9: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ src/saphire_curses.c: In function 'mclear': src/saphire_curses.c:369:10: warning: unused variable 'space2' [-Wunused-variable] char space2[1024]; ^~~~~~ src/saphire_curses.c: In function 'mgetch_': src/saphire_curses.c:1296:12: warning: unused variable 'y' [-Wunused-variable] static int y = 0; ^ src/saphire_curses.c:1290:20: warning: unused variable 'tv' [-Wunused-variable] struct timeval tv; ^~ src/saphire_curses.c:1289:12: warning: unused variable 'mask' [-Wunused-variable] fd_set mask; ^~~~ At top level: src/saphire_curses.c:1296:12: warning: 'y' defined but not used [-Wunused-variable] static int y = 0; ^ src/saphire_curses.c:1003:13: warning: 'mrefresh_non_buffer' defined but not used [-Wunused-function] static void mrefresh_non_buffer() ^~~~~~~~~~~~~~~~~~~ src/saphire_curses.c:118:12: warning: 'mhas_color' defined but not used [-Wunused-function] static int mhas_color() ^~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -c -o src/saphire_commands_string.o src/saphire_commands_string.c src/saphire_commands_string.c: In function 'get_reg': src/saphire_commands_string.c:135:29: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] *r = onig_new(®, regex2 ^~~~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/saphire_commands_string.c:136:19: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] , regex2 + strlen((char*)regex2) ^~~~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/saphire_commands_string.c: In function 'strcasestr_back': src/saphire_commands_string.c:172:16: warning: implicit declaration of function 'isascii' [-Wimplicit-function-declaration] if(isascii(p[i]) && isascii(word[n+i])) { ^~~~~~~ src/saphire_commands_string.c:173:20: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] if(tolower(p[i]) != tolower(word[n+i])) { ^~~~~~~ In file included from ./headers/saphire/saphire.h:11:0, from src/saphire_commands_string.c:27: src/saphire_commands_string.c: In function 'statment_tree_internal_commands_split_base': ./headers/saphire/saphire_string.h:37:25: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] #define string_c_str(o) ((string_obj*)o)->mStr ^ src/saphire_commands_string.c:295:39: note: in expansion of macro 'string_c_str' int r2 = onig_search(reg, string_c_str(line) ^~~~~~~~~~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ In file included from ./headers/saphire/saphire.h:11:0, from src/saphire_commands_string.c:27: ./headers/saphire/saphire_string.h:37:25: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] #define string_c_str(o) ((string_obj*)o)->mStr ^ src/saphire_commands_string.c:296:18: note: in expansion of macro 'string_c_str' , string_c_str(line) + string_length(line) ^~~~~~~~~~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:297:18: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] , target, string_c_str(line) + string_length(line) ^~~~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ In file included from ./headers/saphire/saphire.h:11:0, from src/saphire_commands_string.c:27: ./headers/saphire/saphire_string.h:37:25: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] #define string_c_str(o) ((string_obj*)o)->mStr ^ src/saphire_commands_string.c:297:26: note: in expansion of macro 'string_c_str' , target, string_c_str(line) + string_length(line) ^~~~~~~~~~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:314:25: warning: implicit declaration of function 'statment_tree_internal_commands_write_lf'; did you mean 'statment_tree_internal_commands_printf'? [-Wimplicit-function-declaration] if(!statment_tree_internal_commands_write_lf(nextout, lf)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ statment_tree_internal_commands_printf src/saphire_commands_string.c:295:17: warning: unused variable 'r2' [-Wunused-variable] int r2 = onig_search(reg, string_c_str(line) ^~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_sub_base': src/saphire_commands_string.c:528:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 3 || vector_size(argv) == 2 && vector_size(blocks) >= 1) src/saphire_commands_string.c:555:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) src/saphire_commands_string.c:599:39: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] int r2 = onig_search(reg, str2 ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:18: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:601:18: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + point ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:602:18: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:597:27: warning: unused variable 'err_info' [-Wunused-variable] OnigErrorInfo err_info; ^~~~~~~~ src/saphire_commands_string.c:585:13: warning: unused variable 'region_end_before' [-Wunused-variable] int region_end_before = 0; ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:575:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_sub_base_oneline': src/saphire_commands_string.c:1155:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 3 || vector_size(argv) == 2 && vector_size(blocks) >= 1) src/saphire_commands_string.c:1172:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) src/saphire_commands_string.c:1208:69: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1226:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1232:43: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] int r2 = onig_search(reg, str2 ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:1233:22: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:1234:22: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + point ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:1235:22: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:1272:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1328:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1400:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1439:97: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1499:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1523:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1534:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1541:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1548:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1567:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1590:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1601:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1608:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1615:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1636:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1651:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1667:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1693:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1712:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1729:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1231:31: warning: unused variable 'err_info' [-Wunused-variable] OnigErrorInfo err_info; ^~~~~~~~ src/saphire_commands_string.c:1760:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1218:17: warning: unused variable 'region_end_before' [-Wunused-variable] int region_end_before = 0; ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:1771:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1776:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(vector_size(argv) == 4 || vector_size(argv) == 3 && vector_size(blocks) >= 1) sRFd_delete(nextin2); src/saphire_commands_string.c:1194:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_length': src/saphire_commands_string.c:1895:23: warning: implicit declaration of function 'str_lflen'; did you mean 'strnlen'? [-Wimplicit-function-declaration] len = str_lflen(gLineField, string_c_str(str)); ^~~~~~~~~ strnlen src/saphire_commands_string.c: In function 'statment_tree_internal_commands_index': src/saphire_commands_string.c:2180:29: warning: implicit declaration of function 'strcasestr'; did you mean 'mystrcasestr'? [-Wimplicit-function-declaration] result = (char*)strcasestr((const char*) p, (const char*)word); ^~~~~~~~~~ mystrcasestr src/saphire_commands_string.c: In function 'statment_tree_internal_commands_scan_base': src/saphire_commands_string.c:2953:43: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] int r2 = onig_search(reg, str2 ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:2954:22: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:2955:22: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] , p ^ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:2956:22: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3062:43: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] int r2 = onig_search(reg, str2 ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3063:22: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3064:22: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] , p ^ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:22: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:2943:13: warning: unused variable 'region_end_before' [-Wunused-variable] int region_end_before = 0; ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_scan_oneline_base': src/saphire_commands_string.c:3282:47: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] int r2 = onig_search(reg, str2 ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3283:26: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3284:26: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] , p ^ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3285:26: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3395:47: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] int r2 = onig_search(reg, str2 ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3396:26: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3397:26: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] , p ^ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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:26: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3271:17: warning: unused variable 'region_end_before' [-Wunused-variable] int region_end_before = 0; ^~~~~~~~~~~~~~~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_match_base': src/saphire_commands_string.c:3568:32: warning: pointer targets in passing argument 2 of 'get_reg' differ in signedness [-Wpointer-sign] regex_t* reg = get_reg(&r, regex2, ignore_case, multiline, code); ^~~~~~ src/saphire_commands_string.c:30:17: note: expected 'char *' but argument is of type 'OnigUChar * {aka unsigned char *}' static regex_t* get_reg(int* r, char* regex2, BOOL ignore_case, BOOL multiline, enum eKanjiCode code) ^~~~~~~ src/saphire_commands_string.c:3575:35: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] int r2 = onig_search(reg, str2 ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3576:14: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3577:14: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + position, str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3577:31: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , str2 + position, str2 + strlen(str2) ^~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_printf_base': src/saphire_commands_string.c:3787:29: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] asprintf(&buf, string_c_str(aformat), atoi(string_c_str(arg))); ^~~~~~~~ vsprintf src/saphire_commands_string.c: In function 'statment_tree_internal_commands_condition_re': src/saphire_commands_string.c:3972:35: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] int r2 = onig_search(reg, target ^~~~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3973:14: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] , target + strlen(target) ^~~~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3974:14: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] , target, target + strlen(target) ^~~~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c:3974:22: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] , target, target + strlen(target) ^~~~~~ In file included from src/saphire_commands_string.c:13:0: /usr/include/oniguruma.h:771:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); ^~~~~~~~~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_scan': src/saphire_commands_string.c:4458:10: warning: variable 'quiet' set but not used [-Wunused-but-set-variable] BOOL quiet = FALSE; ^~~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_match': src/saphire_commands_string.c:4862:44: warning: pointer targets in passing argument 2 of 'statment_tree_internal_commands_match_base' differ in signedness [-Wpointer-sign] string_c_str(str), regex2, rcode, nextout ^~~~~~ src/saphire_commands_string.c:3562:13: note: expected 'OnigUChar * {aka unsigned char *}' but argument is of type 'char *' static BOOL statment_tree_internal_commands_match_base(char* str2 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:4903:40: warning: pointer targets in passing argument 2 of 'statment_tree_internal_commands_match_base' differ in signedness [-Wpointer-sign] string_c_str(str), regex2, rcode, nextout ^~~~~~ src/saphire_commands_string.c:3562:13: note: expected 'OnigUChar * {aka unsigned char *}' but argument is of type 'char *' static BOOL statment_tree_internal_commands_match_base(char* str2 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands_string.c:4943:19: warning: pointer targets in passing argument 2 of 'statment_tree_internal_commands_match_base' differ in signedness [-Wpointer-sign] str2, regex2, rcode, nextout, !quiet, line_field ^~~~~~ src/saphire_commands_string.c:3562:13: note: expected 'OnigUChar * {aka unsigned char *}' but argument is of type 'char *' static BOOL statment_tree_internal_commands_match_base(char* str2 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_split_base': src/saphire_commands_string.c:281:14: warning: 'regex' may be used uninitialized in this function [-Wmaybe-uninitialized] regex_t* reg = get_reg(&r, regex2, ignore_case, multiline, code); ^~~ In file included from ./headers/saphire/saphire.h:11:0, from src/saphire_commands_string.c:27: ./headers/saphire/saphire_string.h:37:41: warning: 'line' may be used uninitialized in this function [-Wmaybe-uninitialized] #define string_c_str(o) ((string_obj*)o)->mStr ^~ src/saphire_commands_string.c:238:17: note: 'line' was declared here string_obj* line; ^~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_index': src/saphire_commands_string.c:2108:15: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] if(match_count <= 0) { ^ src/saphire_commands_string.c:2142:23: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] start = len + start; ~~~~~~^~~~~~~~~~~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_rindex': src/saphire_commands_string.c:2408:15: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] if(match_count <= 0) { ^ src/saphire_commands_string.c:2441:23: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] start = len + start; ~~~~~~^~~~~~~~~~~~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_add': src/saphire_commands_string.c:5595:59: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] n = str_kanjilen(code, string_c_str(str)) + n + 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/saphire_commands_string.c: In function 'statment_tree_internal_commands_del': src/saphire_commands_string.c:5919:15: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] if(n < 0) { ^ gcc -shared -Wl,-soname,libsaphire.so.2 -o libsaphire.so.2.0.0 src/saphire_debug.o src/saphire_extra.o src/saphire_hash.o src/saphire_kanji.o src/saphire_list.o src/saphire_string.o src/saphire_vector.o src/saphire_main.o src/saphire_vm.o src/saphire_parser.o src/saphire_commands.o src/saphire_curses.o src/saphire_commands_string.o -lc -lcurses -lncurses -lm -lonig -L. -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast rm -f install ln -s libsaphire.so.2.0.0 libsaphire.so.2 ln -s libsaphire.so.2.0.0 libsaphire.so if echo -I./headers -I. -L. -I/usr/include -L/usr/lib -fPIC -I/usr/local/include -L/usr/local/lib -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast | grep -q pg; then gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] enum eTerminalKanjiCode code = kTKUtf8; ^~~~ At top level: src/main.c:39:13: warning: 'atexit_fun' defined but not used [-Wunused-function] static void atexit_fun() ^~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:22: warning: array subscript has type 'char' [-Wchar-subscripts] else if(table[*p]) { ^ src/readline.c:151:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ src/readline.c: In function 'readline_file_completion_migemo_match': src/readline.c:309:47: warning: pointer targets in passing argument 2 of 'migemo_query' differ in signedness [-Wpointer-sign] OnigUChar * p = migemo_query(gMigemo, text+same_point); ^~~~ In file included from src/readline.c:182:0: /usr/include/migemo.h:51:32: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char* MIGEMO_CALLTYPE migemo_query(migemo* object, ^~~~~~~~~~~~ In file included from ./headers/saphire/saphire.h:8:0, from src/readline.c:1: src/readline.c:318:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] char* p2 = MALLOC(strlen(p)*2); ^ ./headers/saphire/saphire_debug.h:15:29: note: in definition of macro 'MALLOC' # define MALLOC(o) malloc(o) ^ In file included from src/readline.c:2:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'OnigUChar * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ src/readline.c:320:20: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char* _p = p; ^ src/readline.c:336:32: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_UTF8, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/readline.c:336:36: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_UTF8, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_EUC_JP, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/readline.c:339:36: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_EUC_JP, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_SJIS, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/readline.c:342:36: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(®, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_SJIS, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] OnigUChar* p = migemo_query(gMigemo, text2); ^~~~~ In file included from src/readline.c:182:0: /usr/include/migemo.h:51:32: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char* MIGEMO_CALLTYPE migemo_query(migemo* object, ^~~~~~~~~~~~ In file included from ./headers/saphire/saphire.h:8:0, from src/readline.c:1: src/readline.c:412:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] char* p2 = MALLOC(strlen(p)*2); ^ ./headers/saphire/saphire_debug.h:15:29: note: in definition of macro 'MALLOC' # define MALLOC(o) malloc(o) ^ In file included from src/readline.c:2:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'OnigUChar * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ src/readline.c:413:20: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char* _p = p; ^ src/readline.c:429:39: warning: pointer targets in passing argument 2 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_UTF8, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/readline.c:429:43: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_UTF8, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_EUC_JP, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/readline.c:432:43: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_EUC_JP, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_SJIS, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); ^~~~~~~~ src/readline.c:435:43: warning: pointer targets in passing argument 3 of 'onig_new' differ in signedness [-Wpointer-sign] r = onig_new(&gMigemoReg, p2, p2 + strlen((char*)p2), ONIG_OPTION_DEFAULT, ONIG_ENCODING_SJIS, ONIG_SYNTAX_DEFAULT, &err_info); ^~ In file included from src/readline.c:13:0: /usr/include/oniguruma.h:758:5: note: expected 'const OnigUChar * {aka const unsigned char *}' but argument is of type 'char *' 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] while(entry = readdir(dir)) { ^~~~~ src/readline.c:569:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] 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] while(entry = readdir(dir)) { ^~~~~ src/readline.c:1052:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(entry = readdir(dir)) { ^~~~~ src/readline.c: In function 'readline_on_complete': src/readline.c:1423:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if(*p == '&' && *(p+1) == '&' || *p == '|' && *(p+1) == '|') { ~~~~~~~~~~^~~~~~~~~~~~~~~~ src/readline.c: In function 'commands_history': src/readline.c:1727:13: warning: implicit declaration of function 'statment_tree_internal_commands_write_lf'; did you mean 'statment_tree_internal_commands_printf'? [-Wimplicit-function-declaration] if(!statment_tree_internal_commands_write_lf(nextout, kLF)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ statment_tree_internal_commands_printf In file included from ./headers/saphire/saphire.h:11:0, from src/readline.c:1: src/readline.c: In function 'commands_add_history': ./headers/saphire/saphire_string.h:37:41: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] #define string_c_str(o) ((string_obj*)o)->mStr ^~ src/readline.c:1742:17: note: 'str' was declared here string_obj* str; ^~~ src/readline.c: In function 'readline_file_completion_migemo_match': src/readline.c:347:11: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] if(r != ONIG_NORMAL) { ^ src/readline.c: In function 'readline_file_completion_migemo': src/readline.c:442:11: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] if(r != ONIG_NORMAL) { ^ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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] } ^ At top level: src/main.c:39:13: warning: 'atexit_fun' defined but not used [-Wunused-function] 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tGAt0D + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64 + cd saphire-3.6.5 + make install DESTDIR=/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64 includedir=/usr/include/saphire docdir=/usr/share/doc/saphire-3.6.5 if [ -z "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.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-14.fc28.riscv64//usr/lib64" if [ "" = libsaphire.a ]; then /usr/bin/install -c -p -m 0644 -s libsaphire.a "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.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-14.fc28.riscv64//usr/lib64"; else /usr/bin/install -c -p -m 0755 libsaphire.so.2.0.0 "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.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-14.fc28.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-14.fc28.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-14.fc28.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-14.fc28.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-14.fc28.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-14.fc28.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-14.fc28.riscv64//usr/bin"; mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/lib64/saphire"; mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/lib64" mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/include/saphire" mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/share/doc/saphire-3.6.5" mkdir -p "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/share/man/man1" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_curses.h "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_debug.h "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_extra.h "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_hash.h "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_kanji.h "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_list.h "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_string.h "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire_vector.h "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 headers/saphire/saphire.h "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/include/saphire" /usr/bin/install -c -p -m 0644 USAGE.ja.txt "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.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-14.fc28.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-14.fc28.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-14.fc28.riscv64//usr/share/doc/saphire-3.6.5" /usr/bin/install -c -p -m 0644 CHANGELOG.txt "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/share/doc/saphire-3.6.5" rm -f "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.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-14.fc28.riscv64//usr/bin"; else /usr/bin/install -c -p -m 0755 saphire "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/bin"; fi; rm -f "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.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-14.fc28.riscv64//usr/bin"; else /usr/bin/install -c -p -m 0755 saphiresh "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/bin"; fi; /usr/bin/install -c -p -m 0644 saphire.sa "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 saphire.sao "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 completion.sao "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 completion.sa "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 shelp.sao "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 shelp.sa "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/lib64/saphire" /usr/bin/install -c -p -m 0644 man/man1/saphire.1 "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/share/man/man1" /usr/bin/install -c -p -m 0644 man/man1/saphiresh.1 "/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64//usr/share/man/man1" make[1]: Leaving directory '/builddir/build/BUILD/saphire-3.6.5' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: saphire-3.6.5-14.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PUxAA2 + umask 022 + cd /builddir/build/BUILD + cd saphire-3.6.5 + DOCDIR=/builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64/usr/share/doc/saphire-3.6.5 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr AUTHORS /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr LICENSE /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr README.en.txt /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr USAGE.en.txt /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr install_samples/samples /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr CHANGELOG.txt /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr README.ja.txt /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64/usr/share/doc/saphire-3.6.5 + cp -pr USAGE.ja.txt /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64/usr/share/doc/saphire-3.6.5 + exit 0 Provides: libsaphire.so.2()(64bit) saphire = 3.6.5-14.fc28 saphire(riscv-64) = 3.6.5-14.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libmigemo.so.1()(64bit) libncurses.so.6()(64bit) libonig.so.4()(64bit) libreadline.so.7()(64bit) libsaphire.so.2()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: saphire-devel-3.6.5-14.fc28.riscv64 Provides: saphire-devel = 3.6.5-14.fc28 saphire-devel(riscv-64) = 3.6.5-14.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libsaphire.so.2()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64 Wrote: /builddir/build/SRPMS/saphire-3.6.5-14.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/saphire-3.6.5-14.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/saphire-devel-3.6.5-14.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zuDxv4 + umask 022 + cd /builddir/build/BUILD + cd saphire-3.6.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/saphire-3.6.5-14.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff