Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mfiler4.spec'], chrootPath='/var/lib/mock/f31-build-95589-32069/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mfiler4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/mfiler4-1.3.1-15.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mfiler4.spec'], chrootPath='/var/lib/mock/f31-build-95589-32069/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mfiler4.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ydaq7T + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mfiler4-1.3.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/mfiler4-1.3.1.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd mfiler4-1.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i.optflags -e 's|-O3|-O2|' configure + sed -i.werror -e 's|-Werror||' configure Makefile.in + sed -i.docdir -e '/^CFLAGS=.*DATAROOTDIR=/s|doc/mfiler4/|doc/mfiler4-1.3.1/|' configure + sed -i.bak -e 's|install -m |install -p -m |' -e 's|install -s |install |' Makefile.in + sed -i.inst -e 's|USAGE.ja |USAGE.ja.txt |' -e 's|USAGE |USAGE.txt |' Makefile.in + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3VxKLS + umask 022 + cd /builddir/build/BUILD + cd mfiler4-1.3.1 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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 --bindir=/usr/libexec/mfiler4/ --with-migemo --with-system-migemodir=/usr/share/cmigemo/ BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 -k '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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' docdir=/usr/share/doc/mfiler4-1.3.1 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... no 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 xyzsh/xyzsh.h usability... yes checking xyzsh/xyzsh.h presence... yes checking for xyzsh/xyzsh.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 -lcursesw... yes checking for main in -lncursesw... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking oniguruma.h usability... yes checking oniguruma.h presence... yes checking for oniguruma.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking migemo.h usability... yes checking migemo.h presence... yes checking for migemo.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/config.h 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/ -I/usr/include -L/usr/lib -I . -DSYSCONFDIR="\"/etc/mfiler4/\"" -DDOCDIR="\"/usr/share/doc/mfiler4-1.3.1/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -I/usr/local/include -L/usr/local/lib -c -o src/filer.o src/filer.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/ -I/usr/include -L/usr/lib -I . -DSYSCONFDIR="\"/etc/mfiler4/\"" -DDOCDIR="\"/usr/share/doc/mfiler4-1.3.1/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -I/usr/local/include -L/usr/local/lib -c -o src/file.o src/file.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/ -I/usr/include -L/usr/lib -I . -DSYSCONFDIR="\"/etc/mfiler4/\"" -DDOCDIR="\"/usr/share/doc/mfiler4-1.3.1/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -I/usr/local/include -L/usr/local/lib -c -o src/isearch.o src/isearch.c BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Isrc/ -I/usr/include -L/usr/lib -I . -DSYSCONFDIR="\"/etc/mfiler4/\"" -DDOCDIR="\"/usr/share/doc/mfiler4-1.3.1/\"" -DSYSTEM_MIGEMODIR="\"/usr/share/cmigemo/\"" -I/usr/local/include -L/usr/local/lib -c -o src/menu.o srcsrc/file.c: In function 'copy_timestamp_and_permission': BUILDSTDERR: src/file.c:103:17: warning: the address of 'move' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 103 | if(preserve || move) { BUILDSTDERR: | ^~ BUILDSTDERR: src/menu.c: In function 'sMenu_mainfun': BUILDSTDERR: src/menu.c:88:15: warning: unused variable 'command' [-Wunused-variable] BUILDSTDERR: 88 | sCommand* command = runinfo->mCommand; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/file.c: In function 'do_copy': BUILDSTDERR: src/file.c:583:10: warning: unused variable 'raw_mode' [-Wunused-variable] BUILDSTDERR: 583 | BOOL raw_mode = mis_raw_mode(); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/menu.c: In function 'menu_run': BUILDSTDERR: src/file.c: In function 'make_absolute_path_from_relative_path': BUILDSTDERR: src/menu.c:230:22: warning: unused variable 'str' [-Wunused-variable] BUILDSTDERR: 230 | char str[128]; BUILDSTDERR: | ^~~ BUILDSTDERR: src/file.c:654:15: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: 654 | const int len = strlen(path1); BUILDSTDERR: | ^~~ BUILDSTDERR: src/menu.c:241:18: warning: unused variable 'str' [-Wunused-variable] BUILDSTDERR: 241 | char str[128]; BUILDSTDERR: | ^~~ BUILDSTDERR: src/isearch.c: In function 'is_isearch_char': BUILDSTDERR: src/isearch.c:65:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 64 | return key == 9 || (key >= ' ' && key <= '~') BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 65 | && key != '\\' || key >= 128; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c: In function 'mystrcasestr': BUILDSTDERR: src/isearch.c:88:16: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] BUILDSTDERR: 88 | if(tolower(*p2) != tolower(*p3)) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/isearch.c: In function 'match_back': BUILDSTDERR: src/isearch.c:143:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 143 | if(!gISearchPartMatch && result == fnamev BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:157:52: warning: pointer targets in passing argument 2 of 'hash_item' differ in signedness [-Wpointer-sign] BUILDSTDERR: 157 | regex_t* reg = hash_item(gMigemoCache, (unsigned char*)string_c_str(gInputFileName)); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/xyzsh/xyzsh.h:694:7: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 694 | void* hash_item(sObject* self, char* key); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/xyzsh/xyzsh.h:14, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: src/isearch.c:170:60: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 170 | OnigUChar* p2 = MALLOC(sizeof(char)*strlen(p)*2); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | OnigUChar * {aka unsigned char *} BUILDSTDERR: In file included from src/common.h:27, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'OnigUChar *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: src/isearch.c:171:28: warning: pointer targets in initialization of 'char *' from 'OnigUChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 171 | char* p3 = p2; BUILDSTDERR: | ^~ BUILDSTDERR: src/isearch.c:172:28: warning: pointer targets in initialization of 'char *' from 'OnigUChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 172 | char* p4 = p; BUILDSTDERR: | ^ BUILDSTDERR: src/isearch.c:201:37: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 201 | unsigned char* p5 = string_c_str(gInputFileName); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:202:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 202 | if(strlen(p5) == 1 && *p5 >= 'A' && *p5 <= 'z') { BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from src/common.h:27, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: src/isearch.c:203:44: warning: pointer targets in passing argument 2 of 'hash_put' differ in signedness [-Wpointer-sign] BUILDSTDERR: 203 | hash_put(gMigemoCache, (unsigned char*)string_c_str(gInputFileName), gReg); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/xyzsh/xyzsh.h:687:36: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 687 | void hash_put(sObject* self, char* key, void* item); BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: src/isearch.c:226:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 226 | if(!gISearchPartMatch && result == fnamev BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:244:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 244 | if(!gISearchPartMatch && r2 == 0 BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: src/isearch.c: In function 'match_next': BUILDSTDERR: src/isearch.c:294:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 294 | if(!gISearchPartMatch && result == fnamev BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:305:56: warning: pointer targets in passing argument 2 of 'hash_item' differ in signedness [-Wpointer-sign] BUILDSTDERR: 305 | regex_t* reg = hash_item(gMigemoCache, (unsigned char*)string_c_str(gInputFileName)); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/xyzsh/xyzsh.h:694:7: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 694 | void* hash_item(sObject* self, char* key); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/xyzsh/xyzsh.h:14, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: src/isearch.c:315:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 315 | OnigUChar* p2 = MALLOC(strlen(p)*2); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | OnigUChar * {aka unsigned char *} BUILDSTDERR: In file included from src/common.h:27, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'OnigUChar *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: src/isearch.c:316:32: warning: pointer targets in initialization of 'char *' from 'OnigUChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 316 | char* p3 = p2; BUILDSTDERR: | ^~ BUILDSTDERR: src/isearch.c:317:32: warning: pointer targets in initialization of 'char *' from 'OnigUChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: 317 | char* p4 = p; BUILDSTDERR: | ^ BUILDSTDERR: src/isearch.c:350:41: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 350 | unsigned char* p5 = string_c_str(gInputFileName); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:351:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 351 | if(strlen(p5) == 1 && *p5 >= 'A' && *p5 <= 'z') { BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from src/common.h:27, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: src/isearch.c:352:48: warning: pointer targets in passing argument 2 of 'hash_put' differ in signedness [-Wpointer-sign] BUILDSTDERR: 352 | hash_put(gMigemoCache, (unsigned char*)string_c_str(gInputFileName), gReg); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/xyzsh/xyzsh.h:687:36: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 687 | void hash_put(sObject* self, char* key, void* item); BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: src/isearch.c:376:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 376 | if(!gISearchPartMatch && result == fnamev BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:394:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 394 | if(!gISearchPartMatch && r2 == 0 BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: src/filer.c: In function 'sKeyCommand_mainfun': BUILDSTDERR: src/filer.c:71:15: warning: unused variable 'command' [-Wunused-variable] BUILDSTDERR: 71 | sCommand* command = runinfo->mCommand; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/filer.c: In function 'correct_path': BUILDSTDERR: src/filer.c:415:13: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 415 | int i; BUILDSTDERR: | ^ BUILDSTDERR: src/filer.c: In function 'adir': BUILDSTDERR: src/filer.c:724:11: warning: unused variable 'dir1' [-Wunused-variable] BUILDSTDERR: 724 | sDir* dir1 = (sDir*)vector_item(gDirs, 1); BUILDSTDERR: | ^~~~ BUILDSTDERR: src/filer.c: In function 'sdir': BUILDSTDERR: src/filer.c:735:11: warning: unused variable 'dir1' [-Wunused-variable] BUILDSTDERR: 735 | sDir* dir1 = (sDir*)vector_item(gDirs, 1); BUILDSTDERR: | ^~~~ BUILDSTDERR: src/filer.c: In function 'filer_input': BUILDSTDERR: src/filer.c:916:26: warning: unused variable 'str' [-Wunused-variable] BUILDSTDERR: 916 | char str[128]; BUILDSTDERR: | ^~~ BUILDSTDERR: src/filer.c:926:22: warning: unused variable 'str' [-Wunused-variable] BUILDSTDERR: 926 | char str[128]; BUILDSTDERR: | ^~~ BUILDSTDERR: src/filer.c:882:12: warning: unused variable 'cursor' [-Wunused-variable] BUILDSTDERR: 882 | sFile* cursor = (sFile*)vector_item(dir->mFiles, dir->mCursor); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: src/filer.c: In function 'str_cut': BUILDSTDERR: src/filer.c:980:16: warning: implicit declaration of function 'wcswidth' [-Wimplicit-function-declaration] BUILDSTDERR: 980 | if(wcswidth(wcs_tmp, wcslen(wcs_tmp)) > termsize) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/filer.c: In function 'str_cut3': BUILDSTDERR: src/filer.c:1150:15: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: 1150 | char* buf; BUILDSTDERR: | ^~~ BUILDSTDERR: src/filer.c: In function 'filer_view': BUILDSTDERR: src/filer.c:1754:21: warning: unused variable 'blue' [-Wunused-variable] BUILDSTDERR: 1754 | int blue = -1; BUILDSTDERR: | ^~~~ BUILDSTDERR: src/filer.c:1753:21: warning: unused variable 'green' [-Wunused-variable] BUILDSTDERR: 1753 | int green = -1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/filer.c:1752:21: warning: unused variable 'red' [-Wunused-variable] BUILDSTDERR: 1752 | int red = -1; BUILDSTDERR: | ^~~ BUILDSTDERR: src/filer.c:1877:21: warning: unused variable 'blue' [-Wunused-variable] BUILDSTDERR: 1877 | int blue = -1; BUILDSTDERR: | ^~~~ BUILDSTDERR: src/filer.c:1876:21: warning: unused variable 'green' [-Wunused-variable] BUILDSTDERR: 1876 | int green = -1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/filer.c:1875:21: warning: unused variable 'red' [-Wunused-variable] BUILDSTDERR: 1875 | int red = -1; BUILDSTDERR: | ^~~ BUILDSTDERR: src/filer.c:2009:21: warning: unused variable 'blue' [-Wunused-variable] BUILDSTDERR: 2009 | int blue = -1; BUILDSTDERR: | ^~~~ BUILDSTDERR: src/filer.c:2008:21: warning: unused variable 'green' [-Wunused-variable] BUILDSTDERR: 2008 | int green = -1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/filer.c:2007:21: warning: unused variable 'red' [-Wunused-variable] BUILDSTDERR: 2007 | int red = -1; BUILDSTDERR: | ^~~ BUILDSTDERR: src/filer.c:2141:21: warning: unused variable 'blue' [-Wunused-variable] BUILDSTDERR: 2141 | int blue = -1; BUILDSTDERR: | ^~~~ BUILDSTDERR: src/filer.c:2140:21: warning: unused variable 'green' [-Wunused-variable] BUILDSTDERR: 2140 | int green = -1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/filer.c:2139:21: warning: unused variable 'red' [-Wunused-variable] BUILDSTDERR: 2139 | int red = -1; BUILDSTDERR: | ^~~ BUILDSTDERR: src/filer.c:2288:21: warning: unused variable 'blue' [-Wunused-variable] BUILDSTDERR: 2288 | int blue = -1; BUILDSTDERR: | ^~~~ BUILDSTDERR: src/filer.c:2287:21: warning: unused variable 'green' [-Wunused-variable] BUILDSTDERR: 2287 | int green = -1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/filer.c:2286:21: warning: unused variable 'red' [-Wunused-variable] BUILDSTDERR: 2286 | int red = -1; BUILDSTDERR: | ^~~ BUILDSTDERR: src/filer.c:2234:13: warning: unused variable 'line' [-Wunused-variable] BUILDSTDERR: 2234 | int line = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: src/isearch.c: In function 'match_back': BUILDSTDERR: src/isearch.c:196:19: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 196 | if(r != ONIG_NORMAL) { BUILDSTDERR: | ^ BUILDSTDERR: src/filer.c: In function 'filer_line': BUILDSTDERR: src/filer.c:2589:15: warning: unused variable 'maxx' [-Wunused-variable] BUILDSTDERR: 2589 | const int maxx = mgetmaxx(); BUILDSTDERR: | ^~~~ BUILDSTDERR: src/filer.c: In function 'filer_row': BUILDSTDERR: src/filer.c:2631:15: warning: unused variable 'maxx' [-Wunused-variable] BUILDSTDERR: 2631 | const int maxx = mgetmaxx(); BUILDSTDERR: | ^~~~ BUILDSTDERR: src/filer.c: In function 'filer_row_max': BUILDSTDERR: src/filer.c:2664:15: warning: unused variable 'maxx' [-Wunused-variable] BUILDSTDERR: 2664 | const int maxx = mgetmaxx(); BUILDSTDERR: | ^~~~ BUILDSTDERR: src/filer.c: In function 'filer_dotdir_mask': BUILDSTDERR: src/filer.c:2723:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 2723 | } BUILDSTDERR: | ^ BUILDSTDERR: src/isearch.c: In function 'mfiler4_migemo_init': BUILDSTDERR: src/isearch.c:466:36: warning: '/cp932/migemo-dict' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 466 | snprintf(buf, PATH_MAX, "%s/cp932/migemo-dict", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:471:36: warning: '/cp932/roma2hira.dat' directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 471 | snprintf(buf, PATH_MAX, "%s/cp932/roma2hira.dat", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:476:36: warning: '/cp932/hira2kata.dat' directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 476 | snprintf(buf, PATH_MAX, "%s/cp932/hira2kata.dat", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:481:36: warning: '/cp932/han2zen.dat' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 481 | snprintf(buf, PATH_MAX, "%s/cp932/han2zen.dat", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:444:36: warning: '/euc-jp/migemo-dict' directive output may be truncated writing 19 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 444 | snprintf(buf, PATH_MAX, "%s/euc-jp/migemo-dict", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 20 and 4115 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:449:36: warning: '/euc-jp/roma2hira.dat' directive output may be truncated writing 21 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 449 | snprintf(buf, PATH_MAX, "%s/euc-jp/roma2hira.dat", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:454:36: warning: '/euc-jp/hira2kata.dat' directive output may be truncated writing 21 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 454 | snprintf(buf, PATH_MAX, "%s/euc-jp/hira2kata.dat", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 4117 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:459:36: warning: '/euc-jp/han2zen.dat' directive output may be truncated writing 19 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 459 | snprintf(buf, PATH_MAX, "%s/euc-jp/han2zen.dat", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 20 and 4115 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:422:36: warning: '/utf-8/migemo-dict' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 422 | snprintf(buf, PATH_MAX, "%s/utf-8/migemo-dict", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:427:36: warning: '/utf-8/roma2hira.dat' directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 427 | snprintf(buf, PATH_MAX, "%s/utf-8/roma2hira.dat", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:432:36: warning: '/utf-8/hira2kata.dat' directive output may be truncated writing 20 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 432 | snprintf(buf, PATH_MAX, "%s/utf-8/hira2kata.dat", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 21 and 4116 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/isearch.c:437:36: warning: '/utf-8/han2zen.dat' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] BUILDSTDERR: 437 | snprintf(buf, PATH_MAX, "%s/utf-8/han2zen.dat", migemodir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/xyzsh/xyzsh.h:5, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/isearch.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 19 and 4114 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/gui.c: In function 'merr_msg': BUILDSTDERR: src/gui.c:170:19: warning: unused variable 'maxx' [-Wunused-variable] BUILDSTDERR: 170 | const int maxx = mgetmaxx(); BUILDSTDERR: | ^~~~ BUILDSTDERR: src/gui.c: In function 'msg_nonstop': BUILDSTDERR: src/gui.c:208:19: warning: unused variable 'maxx' [-Wunused-variable] BUILDSTDERR: 208 | const int maxx = mgetmaxx(); BUILDSTDERR: | ^~~~ BUILDSTDERR: src/gui.c: In function 'choice': BUILDSTDERR: src/gui.c:228:15: warning: unused variable 'maxx' [-Wunused-variable] BUILDSTDERR: 228 | const int maxx = mgetmaxx(); BUILDSTDERR: | ^~~~ BUILDSTDERR: src/gui.c: In function 'input_box': BUILDSTDERR: src/gui.c:496:9: warning: unused variable 'maxx' [-Wunused-variable] BUILDSTDERR: 496 | int maxx = mgetmaxx(); BUILDSTDERR: | ^~~~ BUILDSTDERR: src/gui.c: In function 'select_str_view': BUILDSTDERR: src/gui.c:526:9: warning: unused variable 'maxx' [-Wunused-variable] BUILDSTDERR: 526 | int maxx = mgetmaxx(); BUILDSTDERR: | ^~~~ BUILDSTDERR: src/gui.c: In function 'select_str': BUILDSTDERR: src/gui.c:589:33: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] BUILDSTDERR: 589 | else if(key == 3 || key == 7 | key == 27) { // CTRL-C -G Escape BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: src/gui.c: In function 'input_box_on_readline': BUILDSTDERR: src/gui.c:514:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 514 | } BUILDSTDERR: | ^ BUILDSTDERR: src/gui.c: In function 'select_str_on_readline': BUILDSTDERR: src/gui.c:618:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 618 | } BUILDSTDERR: | ^ BUILDSTDERR: src/commands.c:2232:13: warning: 'draw_progress_box' defined but not used [-Wunused-function] BUILDSTDERR: 2232 | static void draw_progress_box(int mark_num) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/commands.c: In function 'cmd_cursor_move': BUILDSTDERR: src/commands.c:140:17: warning: 'cursor_num' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 140 | if(!filer_cursor_move(dir, cursor_num)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/dir.c: In function 'sDir_mask': BUILDSTDERR: src/dir.c:196:54: warning: pointer targets in passing argument 2 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: 196 | int r2 = onig_search(self->mMaskReg, fname BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/xyzsh/xyzsh.h:12, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dir.c:1: BUILDSTDERR: /usr/include/oniguruma.h:786:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 786 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: | ^~ BUILDSTDERR: src/dir.c:197:28: warning: pointer targets in passing argument 3 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: 197 | , fname + strlen(fname) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/xyzsh/xyzsh.h:12, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dir.c:1: BUILDSTDERR: /usr/include/oniguruma.h:786:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 786 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: | ^~ BUILDSTDERR: src/dir.c:198:22: warning: pointer targets in passing argument 4 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: 198 | , fname, fname + strlen(fname) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/xyzsh/xyzsh.h:12, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dir.c:1: BUILDSTDERR: /usr/include/oniguruma.h:786:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 786 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: | ^~ BUILDSTDERR: src/dir.c:198:35: warning: pointer targets in passing argument 5 of 'onig_search' differ in signedness [-Wpointer-sign] BUILDSTDERR: 198 | , fname, fname + strlen(fname) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/xyzsh/xyzsh.h:12, BUILDSTDERR: from src/common.h:5, BUILDSTDERR: from src/dir.c:1: BUILDSTDERR: /usr/include/oniguruma.h:786:17: note: expected 'const OnigUChar *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 786 | int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); BUILDSTDERR: | ^~ BUILDSTDERR: src/dir.c: In function 'convert_fname2': BUILDSTDERR: src/dir.c:246:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 246 | if(*p >= 0 && *p < ' ' || *p == 127) { BUILDSTDERR: | ~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: src/dir.c:242:9: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 242 | int i; BUILDSTDERR: | ^ BUILDSTDERR: src/dir.c: In function 'sDir_read': BUILDSTDERR: src/dir.c:395:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 395 | while(entry = readdir(dir)) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/dir.c: In function 'sort_name': BUILDSTDERR: src/dir.c:500:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 500 | if(!S_ISDIR(l->mStat.st_mode) && !S_ISDIR(r->mStat.st_mode) BUILDSTDERR: | ^ BUILDSTDERR: src/dir.c: In function 'sort_name_reverse': BUILDSTDERR: src/dir.c:544:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 544 | if(!S_ISDIR(l->mStat.st_mode) && !S_ISDIR(r->mStat.st_mode) BUILDSTDERR: | ^ BUILDSTDERR: src/dir.c: In function 'sort_random': BUILDSTDERR: src/dir.c:1218:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1218 | if(!S_ISDIR(l->mStat.st_mode) && !S_ISDIR(r->mStat.st_mode) BUILDSTDERR: | ^ BUILDSTDERR: src/dir.c: In function 'convert_fname2': BUILDSTDERR: src/dir.c:256:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 256 | } BUILDSTDERR: | ^ BUILDSTDERR: src/termbuf.c: In function 'xclear_immediately': BUILDSTDERR: src/termbuf.c:48:5: warning: implicit declaration of function 'mclear_immediately'; did you mean 'xclear_immediately'? [-Wimplicit-function-declaration] BUILDSTDERR: 48 | mclear_immediately(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: | xclear_immediately BUILDSTDERR: src/termbuf.c: In function 'xclear': BUILDSTDERR: src/termbuf.c:63:20: warning: implicit declaration of function 'mgetmaxy'; did you mean 'getmaxy'? [-Wimplicit-function-declaration] BUILDSTDERR: 63 | for(y=0; y