* Package: app-text/chasen-2.4.5:0 * Repository: gentoo * Maintainer: cjk@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking chasen-2.4.5.tar.xz to /var/tmp/portage/app-text/chasen-2.4.5/work >>> Source unpacked in /var/tmp/portage/app-text/chasen-2.4.5/work >>> Preparing source in /var/tmp/portage/app-text/chasen-2.4.5/work/chasen-2.4.5 ... * Applying chasen-uar.patch ... [ ok ] >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/app-text/chasen-2.4.5/work/chasen-2.4.5 ... * econf: updating chasen-2.4.5/config.guess with /usr/share/gnuconfig/config.guess * econf: updating chasen-2.4.5/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-static --docdir=/usr/share/doc/chasen-2.4.5 --htmldir=/usr/share/doc/chasen-2.4.5/html --libdir=/usr/lib64 --disable-static configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... clang 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 clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of clang... none checking whether we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking dependency style of clang++... none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from clang object... ok checking how to run the C preprocessor... clang -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 for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether clang++ accepts -g... (cached) yes checking dependency style of clang++... (cached) none checking how to run the C++ preprocessor... clang++ -E checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by clang++... /usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes checking whether the clang++ linker (/usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC -DPIC checking if clang++ PIC flag -fPIC -DPIC works... yes checking if clang++ static flag -static works... yes checking if clang++ supports -c -o file.o... yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (/usr/lib/llvm/17/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking how to run the C preprocessor... clang -E checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for library containing strerror... none required checking whether make sets $(MAKE)... (cached) yes checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/types.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for vprintf... yes checking for _doprnt... no checking for mblen... yes checking for memset... yes checking for munmap... yes checking for strchr... yes checking for strpbrk... yes checking for strrchr... yes checking for darts.h... yes checking for iconv in -liconv... no checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking iconv args... EUC-JP SHIFT_JIS ISO-8859-1 checking for off_t... (cached) yes checking for size_t... (cached) yes checking for working memcmp... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating chasen-config config.status: creating chasen/Makefile config.status: creating mkchadic/Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating tests/Makefile config.status: creating chasen.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands >>> Source configured. '/var/tmp/portage/app-text/chasen-2.4.5/temp/clang16-errors.log' -> '/var/tmp/clang/app-text/chasen-2.4.5/clang16-errors.log' '/var/tmp/portage/app-text/chasen-2.4.5/temp/clang16-safe.log' -> '/var/tmp/clang/app-text/chasen-2.4.5/clang16-safe.log' >>> Compiling source in /var/tmp/portage/app-text/chasen-2.4.5/work/chasen-2.4.5 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-text/chasen-2.4.5/work/chasen-2.4.5' Making all in doc make[2]: Entering directory '/var/tmp/portage/app-text/chasen-2.4.5/work/chasen-2.4.5/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/app-text/chasen-2.4.5/work/chasen-2.4.5/doc' Making all in lib make[2]: Entering directory '/var/tmp/portage/app-text/chasen-2.4.5/work/chasen-2.4.5/lib' /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o block.lo `test -f 'block.c' || echo './'`block.c /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o chalib.lo `test -f 'chalib.c' || echo './'`chalib.c /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o connect.lo `test -f 'connect.c' || echo './'`connect.c /bin/sh ../libtool --mode=compile clang++ -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o dartsdic.lo `test -f 'dartsdic.cpp' || echo './'`dartsdic.cpp libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c block.c -fPIC -DPIC -o .libs/block.o libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c connect.c -fPIC -DPIC -o .libs/connect.o libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c chalib.c -fPIC -DPIC -o .libs/chalib.o libtool: compile: clang++ -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c dartsdic.cpp -fPIC -DPIC -o .libs/dartsdic.o chalib.c:326:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | seg.text = input + cursor; | ^ ~~~~~~~~~~~~~~ chalib.c:381:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 381 | cha_jistoeuc(str_in, euc_str); | ^~~~~~ ./chalib.h:171:32: note: passing argument to parameter here 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^ chalib.c:381:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 381 | cha_jistoeuc(str_in, euc_str); | ^~~~~~~ ./chalib.h:171:48: note: passing argument to parameter here 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^ chalib.c:424:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 424 | if (strcmp(line, STR_UNSPECIFIED) == 0) { | ^~~~ /usr/include/string.h:156:32: note: passing argument to parameter '__s1' here 156 | extern int strcmp (const char *__s1, const char *__s2) | ^ chalib.c:427:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 427 | } else if (strcmp(line, STR_ANNOTATION) == 0) { | ^~~~ /usr/include/string.h:156:32: note: passing argument to parameter '__s1' here 156 | extern int strcmp (const char *__s1, const char *__s2) | ^ chalib.c:434:8: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not connect.c:[-Wpointer-sign] 434 | 126:char5 :* lwarning: ignoring= returnl ivaluen eof; function | declared ^ ~~~~ with 'warn_unused_result' attribute [-Wunused-result] 126 | fscanf(fp, "%d\n", &cell_num); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ chalib.c:451:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 451 | pos[i++] = l = line; | ^ ~~~~ chalib.c:472:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 472 | int len = strlen(s); | ^ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here 407 | extern size_t strlen (const char *__s) | ^ chalib.c:499:18: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 499 | while (fgets(buf, CHA_INPUT_SIZE, input) != NULL) { | ^~~ /usr/include/bits/stdio2.h:195:25: note: passing argument to parameter '__s' here 195 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^ chalib.c:506:30: warning: passing 'unsigned char[8192]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 506 | if (!buf[0] || cha_litmatch(buf, 2, STR_EOS, STR_BOS_EOS)) { | ^~~ ./literal.h:28:30: note: passing argument to parameter here 28 | int cha_litmatch(const char *, int, ...); | ^ connect.c:261:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 261 | fscanf(fp, "%d %d\n", &i_num, &j_num); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chalib.c:561:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 561 | cha_jistoeuc(str_in, euc_str); | ^~~~~~ ./chalib.h:171:32: note: passing argument to parameter here 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^ chalib.c:561:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 561 | cha_jistoeuc(str_in, euc_str); | ^~~~~~~ ./chalib.h:171:48: note: passing argument to parameter here 171 | int cha_jistoeuc(unsigned char*, unsigned char*); | ^ /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o getid.lo `test -f 'getid.c' || echo './'`getid.c libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c getid.c -fPIC -DPIC -o .libs/getid.o 12 warnings generated. 2 warnings generated. /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o getopt.lo `test -f 'getopt.c' || echo './'`getopt.c /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o grammar.lo `test -f 'grammar.c' || echo './'`grammar.c libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c getopt.c -fPIC -DPIC -o .libs/getopt.o /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o init.lo `test -f 'init.c' || echo './'`init.c libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c grammar.c -fPIC -DPIC -o .libs/grammar.o libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c init.c -fPIC -DPIC -o .libs/init.o /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o iotool.lo `test -f 'iotool.c' || echo './'`iotool.c libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c iotool.c -fPIC -DPIC -o .libs/iotool.o /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o jfgets.lo `test -f 'jfgets.c' || echo './'`jfgets.c iotool.c:298:9: warning: address of array 'progpath' will always evaluate to 'true' [-Wpointer-bool-conversion] 298 | if (progpath) | ~~ ^~~~~~~~ iotool.c:324:9: warning: address of array 'progpath' will always evaluate to 'true' [-Wpointer-bool-conversion] 324 | if (progpath) | ~~ ^~~~~~~~ iotool.c:365:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 365 | char *home_dir, *rc_env, *getenv(); | ^ /usr/include/stdlib.h:773:14: note: conflicting prototype is here 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^ /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o katuyou.lo `test -f 'katuyou.c' || echo './'`katuyou.c libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c jfgets.c -fPIC -DPIC -o .libs/jfgets.o 3 warnings generated. libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c katuyou.c -fPIC -DPIC -o .libs/katuyou.o /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o lisp.lo `test -f 'lisp.c' || echo './'`lisp.c jfgets.c:45:38: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 45 | static char jfgets_delimiter[256] = ""; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jfgets.c:169:15: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | if (fgets(tmp_buf, bufsize, stream) == NULL) | ^~~~~~~ /usr/include/bits/stdio2.h:195:25: note: passing argument to parameter '__s' here 195 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^ jfgets.c:175:19: warning: passing 'unsigned char[8192]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 175 | last = strlen(tmp_buf) - 1; | ^~~~~~~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here 407 | extern size_t strlen (const char *__s) | ^ jfgets.c:188:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | cha_jistoeuc(tmp_buf, buffer); | ^~~~~~ jfgets.c:54:53: note: passing argument to parameter 'obuffer' here 54 | cha_jistoeuc(unsigned char *ibuffer, unsigned char *obuffer) | ^ jfgets.c:208:23: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | (pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^~~~ jfgets.c:164:21: note: passing argument to parameter 'buffer' here 164 | cha_fget_line(char *buffer, int bufsize, FILE * stream) | ^ jfgets.c:208:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | (pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jfgets.c:220:31: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 220 | if ((pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^~~~ jfgets.c:164:21: note: passing argument to parameter 'buffer' here 164 | cha_fget_line(char *buffer, int bufsize, FILE * stream) | ^ jfgets.c:220:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 220 | if ((pos = cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jfgets.c:237:32: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 237 | if (isterminator(pos - 2, jfgets_delimiter)) { | ^~~~~~~~~~~~~~~~ jfgets.c:125:52: note: passing argument to parameter 'termlist' here 125 | isterminator(unsigned char *target, unsigned char *termlist) | ^ jfgets.c:259:22: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 259 | cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ^~~~ jfgets.c:164:21: note: passing argument to parameter 'buffer' here 164 | cha_fget_line(char *buffer, int bufsize, FILE * stream) | ^ jfgets.c:258:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 258 | if ((pos = | ^ 259 | cha_fget_line(ibuf, sizeof(ibuf), stream)) == NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jfgets.c:293:29: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 293 | if (isterminator(pos - 1, jfgets_delimiter)) { | ^~~~~~~~~~~~~~~~ jfgets.c:125:52: note: passing argument to parameter 'termlist' here 125 | isterminator(unsigned char *target, unsigned char *termlist) | ^ libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c lisp.c -fPIC -DPIC -o .libs/lisp.o dartsdic.cpp:192:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 192 | cha_exit_perror("build darts file"); | ^ 12 warnings generated. /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o literal.lo `test -f 'literal.c' || echo './'`literal.c /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o mmap.lo `test -f 'mmap.c' || echo './'`mmap.c libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c mmap.c -fPIC -DPIC -o .libs/mmap.o libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c literal.c -fPIC -DPIC -o .libs/literal.o literal.c:127:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 127 | { JSTR_EOS, ESTR_EOS, NULL }, | ^~~~~~~~ literal.c:42:33: note: expanded from macro 'JSTR_EOS' 42 | #define JSTR_EOS "ʸ" | ^~~~~~~~ literal.c:129:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 129 | { JSTR_BASE_FORM_STR, ESTR_BASE_FORM_STR1, NULL }, | ^~~~~~~~~~~~~~~~~~ literal.c:47:31: note: expanded from macro 'JSTR_BASE_FORM_STR' 47 | #define JSTR_BASE_FORM_STR "ܷ" | ^~~~~~~~~~~~~~~~ literal.c:130:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 130 | { JSTR_BASE_FORM_STR, ESTR_BASE_FORM_STR2, NULL }, | ^~~~~~~~~~~~~~~~~~ literal.c:47:31: note: expanded from macro 'JSTR_BASE_FORM_STR' 47 | #define JSTR_BASE_FORM_STR "ܷ" | ^~~~~~~~~~~~~~~~ literal.c:131:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 131 | { JSTR_BASE_FORM, ESTR_BASE_FORM1, NULL }, | ^~~~~~~~~~~~~~ literal.c:50:31: note: expanded from macro 'JSTR_BASE_FORM' 50 | #define JSTR_BASE_FORM "ܷ" | ^~~~~~~~~~~~~~~~ literal.c:132:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 132 | { JSTR_BASE_FORM, ESTR_BASE_FORM2, NULL }, | ^~~~~~~~~~~~~~ literal.c:50:31: note: expanded from macro 'JSTR_BASE_FORM' 50 | #define JSTR_BASE_FORM "ܷ" | ^~~~~~~~~~~~~~~~ literal.c:133:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 133 | { JSTR_DEF_POS_COST, ESTR_DEF_POS_COST, NULL }, | ^~~~~~~~~~~~~~~~~ literal.c:55:29: note: expanded from macro 'JSTR_DEF_POS_COST' 55 | #define JSTR_DEF_POS_COST "ǥեʻ쥳" | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ literal.c:134:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 134 | { JSTR_MRPH, ESTR_MRPH, NULL }, | ^~~~~~~~~ literal.c:57:29: note: expanded from macro 'JSTR_MRPH' 57 | #define JSTR_MRPH "" | ^~~~~~~~~~~~~~~~~~~~~~~~ literal.c:135:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 135 | { JSTR_POS, ESTR_POS, NULL }, | ^~~~~~~~ literal.c:59:29: note: expanded from macro 'JSTR_POS' 59 | #define JSTR_POS "ʻ" | ^~~~ ~~~~ literal.c:136:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 136 | { JSTR_WORD, ESTR_WORD, NULL }, | ^~~~~~~~~ literal.c:61:29: note: expanded from macro 'JSTR_WORD' 61 | #define JSTR_WORD "Ф" | ^~~~~~~~~~~~ ~~~~~~~~~~~~ literal.c:137:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 137 | { JSTR_READING, ESTR_READING, NULL }, | ^~~~~~~~~~~~ literal.c:63:29: note: expanded from macro 'JSTR_READING' 63 | #define JSTR_READING "ɤ" | ^~~~ ~~~~ literal.c:138:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 138 | { JSTR_BASE, ESTR_BASE, NULL }, | ^~~~~~~~~ literal.c:65:29: note: expanded from macro 'JSTR_BASE' 65 | #define JSTR_BASE "" | ^~~~~~~~~~~~~~~~ literal.c:139:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 139 | { JSTR_PRON, ESTR_PRON, NULL }, | ^~~~~~~~~ literal.c:67:31: note: expanded from macro 'JSTR_PRON' 67 | #define JSTR_PRON "ȯ" | ^~~~~~~~ literal.c:140:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 140 | { JSTR_CTYPE, ESTR_CTYPE, NULL }, | ^~~~~~~~~~ literal.c:69:29: note: expanded from macro 'JSTR_CTYPE' 69 | #define JSTR_CTYPE "ѷ" | ^~~~~~~~~~~~ ~~~~ literal.c:141:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 141 | { JSTR_CFORM, ESTR_CFORM, NULL }, | ^~~~~~~~~~ literal.c:71:29: note: expanded from macro 'JSTR_CFORM' 71 | #define JSTR_CFORM "ѷ" | ^~~~~~~~~~~~ ~~~~ literal.c:142:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 142 | { JSTR_INFO1, ESTR_INFO, NULL }, | ^~~~~~~~~~ literal.c:73:29: note: expanded from macro 'JSTR_INFO1' 73 | #define JSTR_INFO1 "ղþ" | ^~~~ ~~~~~~~~~~~~ literal.c:143:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 143 | { JSTR_INFO2, ESTR_INFO, NULL }, | ^~~~~~~~~~ literal.c:74:29: note: expanded from macro 'JSTR_INFO2' 74 | #define JSTR_INFO2 "̣" | ^~~~~~~~~~~~~~~~~~~~~~~~ literal.c:144:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 144 | { JSTR_COMPOUND, ESTR_COMPOUND, NULL }, | ^~~~~~~~~~~~~ literal.c:76:31: note: expanded from macro 'JSTR_COMPOUND' 76 | #define JSTR_COMPOUND "ʣ" | ^~~~~~~~~~~~~~~~ literal.c:145:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 145 | { JSTR_SEG, ESTR_SEG, NULL }, | ^~~~~~~~ literal.c:78:29: note: expanded from macro 'JSTR_SEG' 78 | #define JSTR_SEG "" | ^~~~~~~~~~~~~~~~~~~~~~~~ literal.c:146:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 146 | { JSTR_CONN_ATTR, "", NULL }, | ^~~~~~~~~~~~~~ literal.c:80:31: note: expanded from macro 'JSTR_CONN_ATTR' 80 | #define JSTR_CONN_ATTR "Ϣ°" | ^~~~~~~~ ~~~~~~~~ literal.c:148:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 148 | { JSTR_GRAM_FILE, ESTR_GRAM_FILE, NULL }, | ^~~~~~~~~~~~~~ literal.c:84:34: note: expanded from macro 'JSTR_GRAM_FILE' 84 | #define JSTR_GRAM_FILE "ʸˡե" | ^~~~ ~~~~~~~~~~~~~~~~~~~~ literal.c:149:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 149 | { JSTR_UNKNOWN_WORD1, ESTR_UNKNOWN_WORD, NULL }, | ^~~~~~~~~~~~~~~~~~ literal.c:86:32: note: expanded from macro 'JSTR_UNKNOWN_WORD1' 86 | #define JSTR_UNKNOWN_WORD1 "̤θ" | ^~~~ ~~~~ literal.c:150:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 150 | { JSTR_UNKNOWN_WORD1, ESTR_UNKNOWN_WORD, NULL }, | ^~~~~~~~~~~~~~~~~~ literal.c:86:32: note: expanded from macro 'JSTR_UNKNOWN_WORD1' 86 | #define JSTR_UNKNOWN_WORD1 "̤θ" | ^~~~ ~~~~ literal.c:151:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 151 | { JSTR_UNKNOWN_WORD2, ESTR_UNKNOWN_WORD, NULL }, | ^~~~~~~~~~~~~~~~~~ literal.c:87:32: note: expanded from macro 'JSTR_UNKNOWN_WORD2' 87 | #define JSTR_UNKNOWN_WORD2 "̤" | ^~~~~~~~~~~~~~~~~~~~~~~~ literal.c:152:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 152 | { JSTR_UNKNOWN_POS1, ESTR_UNKNOWN_POS, NULL }, | ^~~~~~~~~~~~~~~~~ literal.c:90:32: note: expanded from macro 'JSTR_UNKNOWN_POS1' 90 | #define JSTR_UNKNOWN_POS1 "̤θʻ" | ^~~~ ~~~~~~~~ ~~~~ literal.c:153:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 153 | { JSTR_UNKNOWN_POS2, ESTR_UNKNOWN_POS, NULL }, | ^~~~~~~~~~~~~~~~~ literal.c:91:32: note: expanded from macro 'JSTR_UNKNOWN_POS2' 91 | #define JSTR_UNKNOWN_POS2 "̤ʻ" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ literal.c:154:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 154 | { JSTR_SPACE_POS, ESTR_SPACE_POS, NULL }, | ^~~~~~~~~~~~~~ literal.c:93:30: note: expanded from macro 'JSTR_SPACE_POS' 93 | #define JSTR_SPACE_POS "ʻ" | ^~~~~~~~~~~~~~~~~~~~ ~~~~ literal.c:155:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 155 | { JSTR_ANNOTATION, ESTR_ANNOTATION, NULL }, | ^~~~~~~~~~~~~~~ literal.c:95:30: note: expanded from macro 'JSTR_ANNOTATION' 95 | #define JSTR_ANNOTATION "" | ^~~~~~~~~~~~~~~~ literal.c:156:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 156 | { JSTR_POS_COST, ESTR_POS_COST, NULL }, | ^~~~~~~~~~~~~ literal.c:97:30: note: expanded from macro 'JSTR_POS_COST' 97 | #define JSTR_POS_COST "ʻ쥳" | ^~~~ ~~~~~~~~~~~~~~~~ literal.c:157:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 157 | { JSTR_CONN_WEIGHT, ESTR_CONN_WEIGHT, NULL }, | ^~~~~~~~~~~~~~~~ literal.c:99:32: note: expanded from macro 'JSTR_CONN_WEIGHT' 99 | #define JSTR_CONN_WEIGHT "ϢܥȽŤ" | ^~~~ ~~~~~~~~~~~~~~~~ ~~~~ literal.c:158:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 158 | { JSTR_MRPH_WEIGHT, ESTR_MRPH_WEIGHT, NULL }, | ^~~~~~~~~~~~~~~~ literal.c:101:30: note: expanded from macro 'JSTR_MRPH_WEIGHT' 101 | #define JSTR_MRPH_WEIGHT "ǥȽŤ" | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ literal.c:159:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 159 | { JSTR_COST_WIDTH, ESTR_COST_WIDTH, NULL }, | ^~~~~~~~~~~~~~~ literal.c:103:30: note: expanded from macro 'JSTR_COST_WIDTH' 103 | #define JSTR_COST_WIDTH "" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ literal.c:160:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 160 | { JSTR_DEF_CONN_COST, ESTR_DEF_CONN_COST, NULL }, | ^~~~~~~~~~~~~~~~~~ literal.c:105:32: note: expanded from macro 'JSTR_DEF_CONN_COST' 105 | #define JSTR_DEF_CONN_COST "̤Ϣܥ" | ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ literal.c:161:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 161 | { JSTR_COMPOSIT_POS, ESTR_COMPOSIT_POS, NULL }, | ^~~~~~~~~~~~~~~~~ literal.c:107:35: note: expanded from macro 'JSTR_COMPOSIT_POS' 107 | #define JSTR_COMPOSIT_POS "Ϣʻ" | ^~~~~~~~~~~~ ~~~~ literal.c:162:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 162 | { JSTR_OUTPUT_COMPOUND, ESTR_OUTPUT_COMPOUND, NULL }, | ^~~~~~~~~~~~~~~~~~~~ literal.c:109:35: note: expanded from macro 'JSTR_OUTPUT_COMPOUND' 109 | #define JSTR_OUTPUT_COMPOUND "ʣ" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ literal.c:164:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 164 | { JSTR_OUTPUT_FORMAT, ESTR_OUTPUT_FORMAT, NULL }, | ^~~~~~~~~~~~~~~~~~ literal.c:112:30: note: expanded from macro 'JSTR_OUTPUT_FORMAT' 112 | #define JSTR_OUTPUT_FORMAT "ϥեޥå" | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ literal.c:165:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 165 | { JSTR_LANG, ESTR_LANG, NULL }, | ^~~~~~~~~ literal.c:114:30: note: expanded from macro 'JSTR_LANG' 114 | #define JSTR_LANG "" | ^~~~~~~~~~~~~~~~ literal.c:166:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 166 | { JSTR_DELIMITER, ESTR_DELIMITER, NULL }, | ^~~~~~~~~~~~~~ literal.c:116:30: note: expanded from macro 'JSTR_DELIMITER' 116 | #define JSTR_DELIMITER "ڤʸ" | ^~~~~~~~~~~~ ~~~~ ~~~~~~~~ literal.c:167:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 167 | { JSTR_BOS_STR, ESTR_BOS_STR, NULL }, | ^~~~~~~~~~~~ literal.c:118:35: note: expanded from macro 'JSTR_BOS_STR' 118 | #define JSTR_BOS_STR "BOSʸ" | ^~~~~~~~~~~~~~~~ literal.c:168:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 168 | { JSTR_EOS_STR, ESTR_EOS_STR, NULL }, | ^~~~~~~~~~~~ literal.c:120:35: note: expanded from macro 'JSTR_EOS_STR' 120 | #define JSTR_EOS_STR "EOSʸ" | ^~~~~~~~~~~~~~~~ 39 warnings generated. /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o parse.lo `test -f 'parse.c' || echo './'`parse.c /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o print.lo `test -f 'print.c' || echo './'`print.c /bin/sh ../libtool --mode=compile clang -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o tokenizer.lo `test -f 'tokenizer.c' || echo './'`tokenizer.c libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c parse.c -fPIC -DPIC -o .libs/parse.o libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c print.c -fPIC -DPIC -o .libs/print.o libtool: compile: clang -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c tokenizer.c -fPIC -DPIC -o .libs/tokenizer.o print.c:186:16: error: expected parameter declarator 186 | extern int fprintf(FILE *, const char *, ...); | ^ /usr/include/bits/stdio2.h:92:26: note: expanded from macro 'fprintf' 92 | __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' 428 | # define __USE_FORTIFY_LEVEL 2 | ^ print.c:186:16: error: expected ')' /usr/include/bits/stdio2.h:92:26: note: expanded from macro 'fprintf' 92 | __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' 428 | # define __USE_FORTIFY_LEVEL 2 | ^ print.c:186:16: note: to match this '(' /usr/include/bits/stdio2.h:92:17: note: expanded from macro 'fprintf' 92 | __fprintf_chk (stream, __USE_FORTIFY_parse.cL:EV417E:L43 :- warning: 1passing, 'unsigned char *'_ _toV Aparameter_ AofR GtypeS _'char *'_ ) converts| ^between pointers to integer types where one is of the unique plain 'char' type and the other print.cis: 186not: 16[-Wpointer-sign]: error: conflicting types for '__fprintf_chk' 186 | 417 | e x t e r n dian_te xfapcrti_nltofo(kFuIpL(ED a*_,d iccofnislte [cdhiacr_ n*o,] ,. .t.e)x;t , | s ^e g-/usr/include/bits/stdio2.h>:l92e:n3):) note: headword = text; | ^ ~~~~ parse.c:440:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 440 | mrph->headword = text; print.c :| 314 ^ ~~~~: 37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 314 | len = cha_tok_mblen(Cha_tokenizer, s1, 4 /* XXX */); | ^~ ./tokenizer.h:32:47: note: passing argument to parameter here 32 | int cha_tok_mblen(chasen_tok_t*,unsiparse.cgned char:464:20:* ,warning: iassigningn tto) ;'char *' from| ^'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 464 | mrph->headword = lat->text + lat->offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ print.c:343:47: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 343 | for (; *y; y += cha_tok_mblen(Cha_tokenizer, y, 4 /* XXX */)) { | ^ ./tokenizer.h:32:47: note: passing argument to parameter here 32 | int cha_tok_mblen(chasen_tok_t*,unsigned char*,int); | ^ print.c:356:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 356 | m += cha_tok_mblen(Cha_tokenizer, m, 4 /* XXX */); | ^ ./tokenizer.h:32:47: note: passing argument to parameter here 32 | int cha_tok_mblen(chasen_tok_t*,unsigned char*,int); | ^ print.c:367:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | m += cha_tok_mblen(Cha_tokenizer, m, 4 /* XXX */); | ^ ./tokenizer.h:32:47: note: passing argument to parameter here 32 | int chparse.ca:_537t:o10k:_ mwarning: bassigningl eton ('char *'c hfroma s'unsigned char *'e nconverts_ t obetweenk _pointerst *to, uintegern stypesi gwheren eoned isc hofa rthe* ,uniquei nplaint )'char'; type| ^and the other is not [-Wpointer-sign] 537 | text = lat->text + lat->offset; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ print.c:399:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 399 | cha_putc(c, cha_output); | ^ print.c:403:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 403 | cha_puts(Cha_hinsi[*path].name, cha_parse.co:u567t:p8u:t )warning: ;assigning to| ^'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not print.c[-Wpointer-sign]: 407:14: warning: passing567 | arguments to a tfunction =without tae xprototypet is+ ldeprecated; in | all ^ ~~~~~~~~ versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 407 | cha_puts("'-'", cha_output); | ^ parse.c:569print.c::33409:: 14warning: :passing warning: 'unsigned char *'passing toarguments parameterto ofa typefunction 'char *'without aconverts prototypebetween ispointers todeprecated integerin typesall whereversions oneof isC ofand theis uniquenot supportedplain in'char' C2xtype and[-Wdeprecated-non-prototype] the other 409is | not [-Wpointer-sign] cha_pu t569c | ( c , c hlaa_sotu_tipduxt )=; l o| o ^k up_dic(lat, t, seg->len - print.c:413:l10):; | warning: passing ^ arguments to aparse.c :function313 :without34 :a note: prototypepassing isargument todeprecated parameterin 'string'all hereversions of C and 313is | lnoto osupportedk uinp _C2xd i c[-Wdeprecated-non-prototype]( cha _413l | a tc_hta _*pluattc,( cc,h acrh a*_soturtipnugt,) ;i n t| ^l en) | ^ parse.c:570:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 570 | last_idx = set_unknownword(lat, t, seg->char_type[l], | ^ parse.c:367:39: note: passing argument to parameter 'string' here 367 | set_unknownword(cha_lat_t *lat, char *string, int len, | ^ print.c:463:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 463 | cha_puts(buff, out); | ^ print.c:486:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 486 | cha_puts(word, cha_output); | ^ print.c:508:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 508 | field_putsn(word, cha_output, word_len); | ^ print.c:474:27: note: expanded from macro 'field_putsn' 474 | ((l) == -1) ? cha_puts((w), (o)) : fputsn((w), (o), (l)) | ^ print.c:511:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 511 | cha_putc(' ', cha_output); | ^ print.c:515:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 515 | cha_putc(' ', cha_output); | ^ print.c:516:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 516 | field_putsn(word, cha_output, word_len); | ^ print.c:474:27: note: expanded from macro 'field_putsn' 474 | ((l) == -1) ? cha_puts((w), (o)) : fputsn((w), (o), (l)) | ^ print.c:591:41: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 591 | int len = cha_tok_mblen(Cha_tokenizer, (s), 4 /* XXX */); | ^~~ ./tokenizer.h:32:47: note: passing argument to parameter here 32 | int cha_tok_mblen(chasen_tok_t*,unsigned char*,int); | ^ print.c:647:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 647 | cha_putc(*s, cha_output); | ^ print.c:754:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 754 | cha_putc(*s, cha_output); | ^ print.c:801:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 801 | cha_putc(*--s, cha_output); | ^ print.c:812:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 812 | cha_putc(*s, cha_output); | ^ print.c:834:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 834 | cha_putc(*s, cha_output); | ^ print.c:854:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 854 | cha_putc(*--s, cha_output); | ^ print.c:865:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 865 | cha_putc(*--s, cha_output); | ^ print.c:887:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 887 | cha_putc(*s, cha_output); | ^ print.c:908:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 908 | cha_putc(*s, cha_output); | ^ print.c:912:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 912 | cha_printf(cha_output, "%d", path->best_path); | ^ print.c:917:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 917 | cha_putc(c, cha_output); | ^ print.c:918:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 918 | cha_printf(cha_output, "%d", path->path[j]); | ^ print.c:925:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 925 | cha_printf(cha_output, "%d", Cha_con_cost_weight * | ^ print.c:932:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 932 | cha_putc(c, cha_output); | ^ print.c:933:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 933 | cha_printf(cha_output, "%d", | ^ print.c:946:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 946 | cha_putc(*s, cha_output); | ^ print.c:975:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 975 | cha_write(lat->text, sizeof(char), lat->len, cha_output); | ^ print.c:977:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 977 | cha_putc(*s, cha_output); | ^ print.c:992:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 992 | cha_putc('\n', cha_output); | ^ print.c:1223:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 1223 | cha_putc(',', cha_output); | ^ print.c:1290:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 1290 | cha_putc(',', cha_output); | ^ print.c:1313:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 1313 | cha_puts("EOP\n", cha_output); | ^ print.c:1334:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 1334 | cha_putc('[', cha_output); | ^ print.c:1348:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 1348 | cha_puts("].\n", cha_output); | ^ print.c:1365:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 1365 | cha_printf(cha_output, "%d ", i); | ^ print.c:1367:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 1367 | cha_putc('\n', cha_output); | ^ print.c:1376:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 1376 | cha_printf(cha_output, "%d %s\n", i, Cha_type[i].name); | ^ 43 warnings and 3 errors generated. make[2]: *** [Makefile:311: print.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... 8 warnings generated. 1 warning generated. make[2]: Leaving directory '/var/tmp/portage/app-text/chasen-2.4.5/work/chasen-2.4.5/lib' make[1]: *** [Makefile:264: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-text/chasen-2.4.5/work/chasen-2.4.5' make: *** [Makefile:186: all] Error 2 * ERROR: app-text/chasen-2.4.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/chasen-2.4.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/chasen-2.4.5::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:chasen-2.4.5:20231205-151420.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/chasen-2.4.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/chasen-2.4.5/temp/environment'. * Working directory: '/var/tmp/portage/app-text/chasen-2.4.5/work/chasen-2.4.5' * S: '/var/tmp/portage/app-text/chasen-2.4.5/work/chasen-2.4.5'