* Package: dev-util/biew-6.1.0-r3:0 * Repository: gentoo * USE: abi_x86_64 amd64 cpu_flags_x86_mmx cpu_flags_x86_sse elibc_glibc gpm kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking biew-610-src.tar.bz2 to /var/tmp/portage/dev-util/biew-6.1.0-r3/work >>> Source unpacked in /var/tmp/portage/dev-util/biew-6.1.0-r3/work >>> Preparing source in /var/tmp/portage/dev-util/biew-6.1.0-r3/work/biew-610 ... * Applying biew-610-fix_localedep-1.patch ... [ ok ] * Applying biew-610-portable_configure-1.patch ... [ ok ] * Applying biew-610-crash.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/biew-6.1.0-r3/work/biew-610 ... Checking for architecture ... x86_64 Checking for build ... x86_64 Checking for target OS ... linux Detected host...Linux Checking for C compiler name ... gcc Checking for C compiler version ... 12.2.0 Checking for X11 headers ... yes (using /usr/include) Checking for X11 libs ... x11lib not found Checking for pragma pack ... yes Checking for gpm.h ... yes Checking for checking for popen ... yes Checking for checking for pclose ... yes Checking for checking for sys/resource.h ... yes Checking for iconv ... yes Creating config.mak Config files successfully generated by ./configure ! Install prefix: /usr Data directory: /usr/share/biew Lib directory: /usr/lib/biew Compiler: x86_64-pc-linux-gnu-gcc Linker: x86_64-pc-linux-gnu-gcc Librarian: x86_64-pc-linux-gnu-ar -rcu Ranlib: x86_64-pc-linux-gnu-ranlib Remover: rm -f TARGETS system: linux arch: x86_64 >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/biew-6.1.0-r3/work/biew-610 ... make -j4 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/bbio.c -o biewlib/bbio.o x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/biewlib.c -o biewlib/biewlib.o x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/file_ini.c -o biewlib/file_ini.o x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/pmalloc.c -o biewlib/pmalloc.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/__config.h:27, from biewlib/pmalloc.c:20: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/bbio.h:21, from biewlib/file_ini.c:25: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/__config.h:27, from biewlib/biewlib.c:24: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/bbio.h:21, from biewlib/bbio.c:26: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition biewlib/file_ini.c: In function ‘__addCache’: biewlib/file_ini.c:1321:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1321 | ic.item = section; | ^ biewlib/file_ini.c:1351:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1351 | ic.item = subsection; | ^ biewlib/file_ini.c:1380:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1380 | ic.item = item; | ^ biewlib/file_ini.c: In function ‘iniReadProfileString’: biewlib/file_ini.c:1615:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1615 | ic.item = section; | ^ biewlib/file_ini.c:1619:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1619 | ic.item=subsection; | ^ biewlib/file_ini.c:1623:24: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1623 | ic.item = _item; | ^ x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/twin.c -o biewlib/twin.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/twin.h:24, from biewlib/twin.c:30: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition biewlib/twin.c: In function ‘twPutS’: biewlib/twin.c:1896:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1896 | else __nls = str; | ^ biewlib/twin.c:1898:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1898 | else __nls = str; | ^ x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/tw_class.c -o biewlib/tw_class.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/twin.h:24, from biewlib/tw_class.c:19: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition biewlib/tw_class.c: In function ‘twcFindClass’: biewlib/tw_class.c:74:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | key.name = name; | ^ x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/aclib.c -o biewlib/sysdep/x86_64/aclib.o In file included from biewlib/sysdep/x86_64/aclib.c:27: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/cpu_info.c -o biewlib/sysdep/x86_64/cpu_info.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from biewlib/sysdep/x86_64/cpu_info.c:27: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition In file included from biewlib/sysdep/x86_64/cpu_info.c:626: ./biewlib/sysdep/ia16/cmn_ix86.c: In function ‘__FillCPUInfo’: ./biewlib/sysdep/ia16/cmn_ix86.c:1068:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1068 | " %d/%d - Maximal linear / physical address size (bits)\n" | ~^ | | | int | %ld 1069 | ,(__eax>>8)&0xFF,(__eax)&0xFF); | ~~~~~~~~~~~~~~~ | | | long unsigned int ./biewlib/sysdep/ia16/cmn_ix86.c:1068:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 1068 | " %d/%d - Maximal linear / physical address size (bits)\n" | ~^ | | | int | %ld 1069 | ,(__eax>>8)&0xFF,(__eax)&0xFF); | ~~~~~~~~~~~~ | | | long unsigned int ./biewlib/sysdep/ia16/cmn_ix86.c:1078:16: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1078 | " %02X - SVM revision\n" | ~~~^ | | | unsigned int | %02lX 1079 | ,(__eax)&0xFF); | ~~~~~~~~~~~~ | | | long unsigned int x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/fileio.c -o biewlib/sysdep/x86_64/linux/fileio.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/generic/posix/fileio.c:32, from ./biewlib/sysdep/generic/linux/fileio.c:1, from biewlib/sysdep/x86_64/linux/fileio.c:1: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition ./biewlib/sysdep/generic/posix/fileio.c: In function ‘__OsCreate’: ./biewlib/sysdep/generic/posix/fileio.c:36:10: warning: returning ‘int’ from a function with return type ‘bhandle_t’ {aka ‘void *’} makes pointer from integer without a cast [-Wint-conversion] 36 | return open(name,O_RDWR | O_CREAT | O_TRUNC, S_IREAD | S_IWRITE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function ‘__OsClose’: ./biewlib/sysdep/generic/posix/fileio.c:51:9: warning: passing argument 1 of ‘close’ makes integer from pointer without a cast [-Wint-conversion] 51 | close(handle); | ^~~~~~ | | | bhandle_t {aka void *} In file included from ./biewlib/sysdep/generic/posix/fileio.c:25: /usr/include/unistd.h:358:23: note: expected ‘int’ but argument is of type ‘bhandle_t’ {aka ‘void *’} 358 | extern int close (int __fd); | ~~~~^~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function ‘__OsDupHandle’: ./biewlib/sysdep/generic/posix/fileio.c:56:14: warning: passing argument 1 of ‘dup’ makes integer from pointer without a cast [-Wint-conversion] 56 | return dup(handle); | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/unistd.h:552:21: note: expected ‘int’ but argument is of type ‘bhandle_t’ {aka ‘void *’} 552 | extern int dup (int __fd) __THROW __wur; | ~~~~^~~~ ./biewlib/sysdep/generic/posix/fileio.c:56:10: warning: returning ‘int’ from a function with return type ‘bhandle_t’ {aka ‘void *’} makes pointer from integer without a cast [-Wint-conversion] 56 | return dup(handle); | ^~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function ‘__OsOpen’: ./biewlib/sysdep/generic/posix/fileio.c:79:53: warning: returning ‘int’ from a function with return type ‘bhandle_t’ {aka ‘void *’} makes pointer from integer without a cast [-Wint-conversion] 79 | if (S_ISDIR(st.st_mode)) { errno = EISDIR; return -1; } | ^ ./biewlib/sysdep/generic/posix/fileio.c:80:10: warning: returning ‘int’ from a function with return type ‘bhandle_t’ {aka ‘void *’} makes pointer from integer without a cast [-Wint-conversion] 80 | return open(fname,flags); | ^~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function ‘__OsSeek’: ./biewlib/sysdep/generic/posix/fileio.c:85:16: warning: passing argument 1 of ‘lseek’ makes integer from pointer without a cast [-Wint-conversion] 85 | return lseek(handle,offset,origin); | ^~~~~~ | | | bhandle_t {aka void *} In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed/limits.h:203, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed/limits.h:34, from ./biewlib/sysdep/generic/posix/fileio.c:18: /usr/include/unistd.h:342:18: note: expected ‘int’ but argument is of type ‘bhandle_t’ {aka ‘void *’} 342 | extern __off64_t __REDIRECT_NTH (lseek, | ^~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function ‘__OsTruncFile’: ./biewlib/sysdep/generic/posix/fileio.c:90:20: warning: passing argument 1 of ‘ftruncate’ makes integer from pointer without a cast [-Wint-conversion] 90 | return ftruncate(handle,newsize); | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/unistd.h:1052:12: note: expected ‘int’ but argument is of type ‘bhandle_t’ {aka ‘void *’} 1052 | extern int __REDIRECT_NTH (ftruncate, (int __fd, __off64_t __length), | ^~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function ‘__OsRead’: ./biewlib/sysdep/generic/posix/fileio.c:95:15: warning: passing argument 1 of ‘read’ makes integer from pointer without a cast [-Wint-conversion] 95 | return read(handle,buff,count); | ^~~~~~ | | | bhandle_t {aka void *} In file included from /usr/include/unistd.h:1214: /usr/include/bits/unistd.h:36:11: note: expected ‘int’ but argument is of type ‘bhandle_t’ {aka ‘void *’} 36 | read (int __fd, void *__buf, size_t __nbytes) | ~~~~^~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function ‘__OsWrite’: ./biewlib/sysdep/generic/posix/fileio.c:100:16: warning: passing argument 1 of ‘write’ makes integer from pointer without a cast [-Wint-conversion] 100 | return write(handle,buffer,count); | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/unistd.h:378:27: note: expected ‘int’ but argument is of type ‘bhandle_t’ {aka ‘void *’} 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ~~~~^~~~ ./biewlib/sysdep/generic/posix/fileio.c: In function ‘__FileLength’: ./biewlib/sysdep/generic/posix/fileio.c:143:20: warning: passing argument 1 of ‘fstat’ makes integer from pointer without a cast [-Wint-conversion] 143 | stat_ret = fstat(handle,&statbuf); | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/sys/stat.h:230:12: note: expected ‘int’ but argument is of type ‘bhandle_t’ {aka ‘void *’} 230 | extern int __REDIRECT_NTH (fstat, (int __fd, struct stat *__buf), fstat64) | ^~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c:161:22: warning: passing argument 1 of ‘lseek’ makes integer from pointer without a cast [-Wint-conversion] 161 | if (lseek(handle,off,SEEK_SET) == -1) | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/unistd.h:342:18: note: expected ‘int’ but argument is of type ‘bhandle_t’ {aka ‘void *’} 342 | extern __off64_t __REDIRECT_NTH (lseek, | ^~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c:164:20: warning: passing argument 1 of ‘read’ makes integer from pointer without a cast [-Wint-conversion] 164 | if(read(handle,&ch,1) == 1) min = off; | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/bits/unistd.h:36:11: note: expected ‘int’ but argument is of type ‘bhandle_t’ {aka ‘void *’} 36 | read (int __fd, void *__buf, size_t __nbytes) | ~~~~^~~~ ./biewlib/sysdep/generic/posix/fileio.c:170:20: warning: passing argument 1 of ‘lseek’ makes integer from pointer without a cast [-Wint-conversion] 170 | lseek(handle,retval,SEEK_SET); | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/unistd.h:342:18: note: expected ‘int’ but argument is of type ‘bhandle_t’ {aka ‘void *’} 342 | extern __off64_t __REDIRECT_NTH (lseek, | ^~~~~~~~~~~~~~ ./biewlib/sysdep/generic/posix/fileio.c:173:25: warning: passing argument 1 of ‘read’ makes integer from pointer without a cast [-Wint-conversion] 173 | if(read(handle,&ch,1) == 1) retval++; | ^~~~~~ | | | bhandle_t {aka void *} /usr/include/bits/unistd.h:36:11: note: expected ‘int’ but argument is of type ‘bhandle_t’ {aka ‘void *’} 36 | read (int __fd, void *__buf, size_t __nbytes) | ~~~~^~~~ x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/keyboard.c -o biewlib/sysdep/x86_64/linux/keyboard.o x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/mmfio.c -o biewlib/sysdep/x86_64/linux/mmfio.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/pmalloc.h:23, from ./biewlib/sysdep/generic/linux/mmfio.c:21, from biewlib/sysdep/x86_64/linux/mmfio.c:1: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition ./biewlib/sysdep/generic/linux/mmfio.c: In function ‘__mmfOpen’: ./biewlib/sysdep/generic/linux/mmfio.c:70:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | if(((int)fhandle) != -1) | ^ ./biewlib/sysdep/generic/linux/mmfio.c:81:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 81 | mk_flags(mode),(int)fhandle,0L); | ^ In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/kbd_code.h:17, from ./biewlib/sysdep/ia32/linux/keyboard.c:41, from biewlib/sysdep/x86_64/linux/keyboard.c:1: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition In file included from ./biewlib/sysdep/x86_64/_inlines.h:47, from ./biewlib/sysdep/_sys_dep.h:31: ./biewlib/sysdep/ia32/linux/keyboard.c: In function ‘console_enter’: ./biewlib/sysdep/ia32/linux/keyboard.c:303:12: warning: passing argument 1 of ‘fast_memset_ptr’ discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-array-qualifiers] 303 | memset(&keypressed, 0, KEYNUM * sizeof(int)); | ^~~~~~~~~~~ ./biewlib/sysdep/x86_64/fastcopy.h:17:42: note: in definition of macro ‘memset’ 17 | #define memset(a,b,c) (*fast_memset_ptr)(a,b,c) | ^ ./biewlib/sysdep/ia32/linux/keyboard.c:303:12: note: expected ‘void *’ but argument is of type ‘volatile int (*)[128]’ 303 | memset(&keypressed, 0, KEYNUM * sizeof(int)); | ^~~~~~~~~~~ ./biewlib/sysdep/x86_64/fastcopy.h:17:42: note: in definition of macro ‘memset’ 17 | #define memset(a,b,c) (*fast_memset_ptr)(a,b,c) | ^ x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/mouse.c -o biewlib/sysdep/x86_64/linux/mouse.o ./biewlib/sysdep/ia32/linux/keyboard.c: In function ‘ReadNextEvent’: ./biewlib/sysdep/ia32/linux/keyboard.c:314:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 314 | #define get(x) read(in_fd,&(x),1) | ^~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/ia32/linux/keyboard.c:354:18: note: in expansion of macro ‘get’ 354 | do { get(c); } while (c == 0xe0); | ^~~ ./biewlib/sysdep/ia32/linux/keyboard.c:314:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 314 | #define get(x) read(in_fd,&(x),1) | ^~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/ia32/linux/keyboard.c:355:28: note: in expansion of macro ‘get’ 355 | if (c == 0xe1) get(c); | ^~~ ./biewlib/sysdep/ia16/cmn_ix86.c:982:45: warning: writing 8 bytes into a region of size 5 [-Wstringop-overflow=] 982 | *((unsigned long*)&extended_name[48]) = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./biewlib/sysdep/ia16/cmn_ix86.c:699:10: note: at offset 48 into destination object ‘extended_name’ of size 53 699 | char extended_name[53]; | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/misc.c -o biewlib/sysdep/x86_64/linux/misc.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/ia32/linux/misc.c:14, from biewlib/sysdep/x86_64/linux/misc.c:1: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/nls.c -o biewlib/sysdep/x86_64/linux/nls.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/generic/unix/nls.c:35, from ./biewlib/sysdep/generic/linux/nls.c:1, from biewlib/sysdep/x86_64/linux/nls.c:1: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/os_dep.c -o biewlib/sysdep/x86_64/linux/os_dep.o x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/timer.c -o biewlib/sysdep/x86_64/linux/timer.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/generic/unix/os_dep.c:43, from ./biewlib/sysdep/generic/linux/os_dep.c:1, from biewlib/sysdep/x86_64/linux/os_dep.c:1: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/generic/posix/timer.c:21, from biewlib/sysdep/x86_64/linux/timer.c:1: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/linux/vio.c -o biewlib/sysdep/x86_64/linux/vio.o x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c addendum.c -o addendum.o x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c bconsole.c -o bconsole.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from biewlib/twin.h:24, from bconsole.h:28, from addendum.c:18: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from ./biewlib/sysdep/generic/linux/vio.c:45, from biewlib/sysdep/x86_64/linux/vio.c:1: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition ./biewlib/sysdep/generic/linux/vio.c: In function ‘__init_vio’: ./biewlib/sysdep/generic/linux/vio.c:355:8: error: implicit declaration of function ‘strncasecmp’ [-Werror=implicit-function-declaration] 355 | if(strncasecmp(screen_cp,"UTF",3)==0 && !on_console) { | ^~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:355:36: warning: ‘strncasecmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 355 | if(strncasecmp(screen_cp,"UTF",3)==0 && !on_console) { | ^ : note: built-in ‘strncasecmp’ declared here ./biewlib/sysdep/generic/linux/vio.c:412:18: error: implicit declaration of function ‘strcasecmp’ [-Werror=implicit-function-declaration] 412 | (strcasecmp(lang, "ru_RU.utf8") != 0) && | ^~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c: In function ‘__vioSetCursorType’: ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:171:9: note: in expansion of macro ‘twrite’ 171 | twrite(vtmp); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:174:5: note: in expansion of macro ‘twrite’ 174 | twrite(vtmp); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c: In function ‘gotoxy’: ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:158:5: note: in expansion of macro ‘twrite’ 158 | twrite(vtmp); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c: In function ‘__vioWriteBuff’: ./biewlib/sysdep/generic/linux/vio.c:49:16: warning: ignoring return value of ‘pwrite’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 49 | #define PWRITE pwrite | ^ ./biewlib/sysdep/generic/linux/vio.c:223:9: note: in expansion of macro ‘PWRITE’ 223 | PWRITE(viohandle, pb, len << 1, 4 + ((x + y * tvioWidth) << 1)); | ^~~~~~ In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from biewlib/twin.h:24, from editor.h:21, from bconsole.c:29: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition ./biewlib/sysdep/generic/linux/vio.c: In function ‘__init_vio’: ./biewlib/sysdep/generic/linux/vio.c:344:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 344 | read(viohandle, &b, 4); | ^~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:387:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 387 | read(viohandle, buf, violen << 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:395:9: note: in expansion of macro ‘twrite’ 395 | twrite(VT100_NORMALCHARS VT100_MODE80); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:400:17: note: in expansion of macro ‘twrite’ 400 | twrite("\033[?1000h\033]0;BIEW: Binary vIEWer\007"); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:407:21: note: in expansion of macro ‘twrite’ 407 | twrite("\033(K\033)0"); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:418:18: note: in expansion of macro ‘twrite’ 418 | else twrite("\033(U"); /* set null mapping */ | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c: In function ‘__term_vio’: ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:430:43: note: in expansion of macro ‘twrite’ 430 | if (terminal->type == TERM_XTERM) twrite("\033[?1001r\033[?1000l"); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:432:13: note: in expansion of macro ‘twrite’ 432 | twrite("\033(K"); | ^~~~~~ ./biewlib/sysdep/generic/linux/vio.c:87:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 87 | #define twrite(x) write(out_fd, (x), strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./biewlib/sysdep/generic/linux/vio.c:433:9: note: in expansion of macro ‘twrite’ 433 | twrite(VT100_MODE80 VT100_NORMALCHARS VT100_CLEARSCREEN); | ^~~~~~ x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biew.c -o biew.o bconsole.c: In function ‘__ListBox’: bconsole.c:872:25: warning: format not a string literal and no format arguments [-Wformat-security] 872 | fprintf(out,names[i]); | ^~~~~~~ bconsole.c:877:23: warning: format not a string literal and no format arguments [-Wformat-security] 877 | else fprintf(out,names[i]); | ^~~~ biewlib/sysdep/x86_64/cpu_info.c: Assembler messages: biewlib/sysdep/x86_64/cpu_info.c:396: Warning: no instruction mnemonic suffix given and no register operands; using default for `fild' biewlib/sysdep/x86_64/cpu_info.c:397: Warning: no instruction mnemonic suffix given and no register operands; using default for `fistp' biewlib/sysdep/x86_64/cpu_info.c:436: Warning: no instruction mnemonic suffix given and no register operands; using default for `fild' biewlib/sysdep/x86_64/cpu_info.c:437: Warning: no instruction mnemonic suffix given and no register operands; using default for `fistp' x86_64-pc-linux-gnu-gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -DHAVE_MOUSE -D__LINUX__ -D__UNIX__ -D__OS_NAME__='"Linux64"' -D__OS__="linux" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX="/usr" -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -mmmx -msse -DDATADIR='"/usr/share/biew"' -I/usr/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewhelp.c -o biewhelp.o In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from biewlib/twin.h:24, from bconsole.h:28, from biew.c:32: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition biew.c: In function ‘load_ini_info’: biew.c:457:17: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 457 | sprintf(buf,"%u",LastMode); /* [dBorca] so that src and dst won't overlap for strncpy */ | ~^ ~~~~~~~~ | | | | | size_t {aka long unsigned int} | unsigned int | %lu In file included from ./biewlib/sysdep/x86_64/__config.h:22, from ./biewlib/sysdep/_sys_dep.h:30, from ./biewlib/biewlib.h:25, from biewlib/twin.h:24, from colorset.h:21, from biewhelp.c:25: ./biewlib/sysdep/x86_64/stdint.h:119: warning: "__INT64_C" redefined 119 | #define __INT64_C(c) c ## LL | : note: this is the location of the previous definition ./biewlib/sysdep/x86_64/stdint.h:120: warning: "__UINT64_C" redefined 120 | #define __UINT64_C(c) c ## ULL | : note: this is the location of the previous definition cc1: some warnings being treated as errors make: *** [makefile:167: biewlib/sysdep/x86_64/linux/vio.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: dev-util/biew-6.1.0-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/biew-6.1.0-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/biew-6.1.0-r3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:biew-6.1.0-r3:20221003-181049.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/biew-6.1.0-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/biew-6.1.0-r3/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/biew-6.1.0-r3/work/biew-610' * S: '/var/tmp/portage/dev-util/biew-6.1.0-r3/work/biew-610'