* Package: dev-libs/m17n-lib-1.8.0:0 * Repository: gentoo * Maintainer: cjk@gentoo.org * USE: X abi_x86_64 amd64 anthy athena bidi elibc_glibc fontconfig gd kernel_linux libxml2 * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking m17n-lib-1.8.0.tar.gz to /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work >>> Source unpacked in /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work >>> Preparing source in /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0 ... * Applying m17n-lib-configure.patch ... [ ok ] * Applying m17n-lib-freetype.patch ... [ ok ] * Applying m17n-lib-ftconfig.patch ... [ ok ] * Applying m17n-lib-ispell.patch ... [ ok ] * Applying m17n-lib-parallel-make.patch ... [ ok ] * Applying m17n-lib-pkg-config.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0' ... * Running 'autopoint --force' ... [ ok ] * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/dev-libs/m17n-lib-1.8.0/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: m17n-lib-1.8.0/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> 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/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0 ... * econf: updating m17n-lib-1.8.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating m17n-lib-1.8.0/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-silent-rules --disable-static --docdir=/usr/share/doc/m17n-lib-1.8.0 --htmldir=/usr/share/doc/m17n-lib-1.8.0/html --with-sysroot=/ --libdir=/usr/lib64 --with-anthy --with-libxml2 --without-ispell --with-athena --with-fribidi --with-fontconfig --without-freetype --with-gd --with-gui --without-libotf --with-x --without-xft configure: loading site script /usr/share/config.site configure: loading site script /usr/share/config.site.d/80crossdev.conf 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 a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... 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 the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/param.h... yes checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to run the C preprocessor... clang-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether we are using the GNU C Library 2 or newer... yes checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking for simple visibility declarations... yes checking for inline... inline checking for size_t... yes checking for stdint.h... yes checking for working alloca.h... yes checking for alloca... yes checking for getpagesize... yes checking for working mmap... yes checking whether integer division by zero raises SIGFPE... no checking for inttypes.h... yes checking for unsigned long long int... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... ld.lld checking if the linker (ld.lld) is GNU ld... yes checking for shared library run path origin... done checking whether imported symbols can be declared weak... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... yes checking for pthread_rwlock_t... yes checking for multithread API to use... posix checking for argz.h... yes checking for inttypes.h... (cached) yes checking for limits.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for argz_count... yes checking for argz_stringify... yes checking for argz_next... yes checking for __fsetlocking... yes checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for NL_LOCALE_NAME macro... yes checking for bison... bison checking version of bison... 3.8.2, ok checking for long long int... yes checking for wchar_t... yes checking for wint_t... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for ptrdiff_t... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for asprintf... yes checking for fwprintf... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for wcslen... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by clang... ld.lld checking if the linker (ld.lld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... llvm-nm checking the name lister (llvm-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for ld.lld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... llvm-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... llvm-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... llvm-strip checking for x86_64-pc-linux-gnu-ranlib... (cached) llvm-ranlib checking command to parse llvm-nm output from clang object... ok checking for sysroot... / checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes 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... no checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (ld.lld -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 X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for egrep... (cached) /usr/bin/grep -E checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl.h... yes checking for langinfo.h... yes checking for limits.h... (cached) yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for X11/Xaw/Command.h... yes checking for an ANSI C-conforming const... yes checking for inline... (cached) inline checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether byte ordering is bigendian... no checking for working alloca.h... (cached) yes checking for alloca... (cached) checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking for working memcmp... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for working strcoll... yes checking for strftime... yes checking for working strtod... yes checking for memmove... yes checking for memset... yes checking for nl_langinfo... yes checking for putenv... (cached) yes checking for regcomp... yes checking for setlocale... (cached) yes checking for strchr... yes checking for strdup... (cached) yes checking for gettimeofday... yes checking for m17n-db... yes checking for library containing dlopen... none required checking for pkg-config... yes checking for fribidi-config... no checking for fribidi_set_mirroring in -lfribidi... yes checking for fribidi/fribidi.h... yes checking for xft-config... no checking for XftDrawCreate in -lXft... yes checking for X11/Xft/Xft.h... yes checking for FcInit in -lfontconfig... yes checking for fontconfig/fontconfig.h... yes checking for gdImageCreate in -lgd... yes checking for gd.h... yes checking for gdImageCreateTrueColor in -lgd... yes checking for xml2-config... yes checking for xmlParseMemory in -lxml2... yes checking for libxml/tree.h... yes checking for anthy... no checking for ispell... no checking for libthai... no checking for wordcut... no checking for wordcut_init in -lwordcut... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating example/Makefile config.status: creating m17n-config config.status: creating m17n-core.pc config.status: creating m17n-shell.pc config.status: creating m17n-flt.pc config.status: creating m17n-gui.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing libtool commands The m17n library is configured with these external libraries. X11 Xaw fribidi fontconfig gdlib xml2 >>> Source configured. '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/temp/clang16-errors.log' -> '/var/tmp/clang/dev-libs/m17n-lib-1.8.0/clang16-errors.log' '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/temp/clang16-safe.log' -> '/var/tmp/clang/dev-libs/m17n-lib-1.8.0/clang16-safe.log' >>> Compiling source in /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0' Making all in intl make[2]: Entering directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/intl' Making all in po make[2]: Entering directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/po' make m17n-lib.pot-update make[3]: Entering directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/po' sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed mv t-remove-potcdate.sed remove-potcdate.sed if LC_ALL=C grep 'GNU m17n-lib' ../* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \ package_gnu='GNU '; \ else \ package_gnu=''; \ fi; \ if test -n '' || test 'm17n-lib-bug@m17n.org' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address=''; \ else \ msgid_bugs_address='m17n-lib-bug@m17n.org'; \ fi; \ case `/usr/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ /usr/bin/xgettext --default-domain=m17n-lib --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ --copyright-holder='Free Software Foundation, Inc.' \ --msgid-bugs-address="$msgid_bugs_address" \ ;; \ *) \ /usr/bin/xgettext --default-domain=m17n-lib --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ --copyright-holder='Free Software Foundation, Inc.' \ --package-name="${package_gnu}m17n-lib" \ --package-version='1.8.0' \ --msgid-bugs-address="$msgid_bugs_address" \ ;; \ esac test ! -f m17n-lib.po || { \ if test -f ./m17n-lib.pot; then \ sed -f remove-potcdate.sed < ./m17n-lib.pot > m17n-lib.1po && \ sed -f remove-potcdate.sed < m17n-lib.po > m17n-lib.2po && \ if cmp m17n-lib.1po m17n-lib.2po >/dev/null 2>&1; then \ rm -f m17n-lib.1po m17n-lib.2po m17n-lib.po; \ else \ rm -f m17n-lib.1po m17n-lib.2po ./m17n-lib.pot && \ mv m17n-lib.po ./m17n-lib.pot; \ fi; \ else \ mv m17n-lib.po ./m17n-lib.pot; \ fi; \ } make[3]: Leaving directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/po' test ! -f ./m17n-lib.pot || \ test -z "" || make make[2]: Leaving directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/po' Making all in src make[2]: Entering directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src' /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o character.lo character.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o chartab.lo chartab.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o database.lo database.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o plist.lo plist.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c database.c -fPIC -DPIC -o .libs/database.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c plist.c -fPIC -DPIC -o .libs/plist.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c chartab.c -fPIC -DPIC -o .libs/chartab.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c character.c -fPIC -DPIC -o .libs/character.o chartab.c:561:48: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 561 | fprintf (mdebug__output, "(default #x%X)", (unsigned) table->default_value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:92:51: note: expanded from macro 'fprintf' 92 | __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~ chartab.c:592:44: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 592 | fprintf (mdebug__output, " #xx%X)", (unsigned) default_value); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:92:51: note: expanded from macro 'fprintf' 92 | __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~ plist.c:440:42: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 440 | MPLIST_SET_ADVANCE (plist, Minteger, (void *) num); | ^~~~~~~~~~~~ plist.c:118:27: note: expanded from macro 'MPLIST_SET_ADVANCE' 118 | MPLIST_VAL (plist) = (val); \ | ^~~ plist.c:576:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 576 | int num = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ plist.c:693:29: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 693 | sprintf (buf, "%04X", (unsigned) MPLIST_VAL (plist)); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:37:30: note: expanded from macro 'sprintf' 37 | __glibc_objsize (str), __VA_ARGS__) | ^~~~~~~~~~~ database.c:292:10: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 292 | val = (void *) (n * positive); | ^~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o m17n-core.lo m17n-core.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c m17n-core.c -fPIC -DPIC -o .libs/m17n-core.o 2 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o mtext.lo mtext.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c mtext.c -fPIC -DPIC -o .libs/mtext.o /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o symbol.lo symbol.c 1 warning generated. mtext.c:640:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 640 | c1 = (int) mchar_get_prop (c, Msimple_case_folding); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext.c:839:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 839 | if ((int) mchartable_lookup (tricky_chars, c) == 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext.c:869:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 869 | c = (int) mchartable_lookup (case/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o textprop.lo textprop.c d, mtext_ref_char (mt, i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext.c:883:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 883 | c = (int) mchartable_lookup (cased, mtext_ref_char (mt, i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext.c:905:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 905 | class = (int) mchartable_lookup (combining_class, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext.c:920:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 920 | class = (int) mchartable_lookup (combining_class, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 921 | mtext_ref_char (mt, i)); | ~~~~~~~~~~~~~~~~~~~~~~~ mtext.c:941:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 941 | class = (int) mchartable_lookup (combining_class, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext.c:959:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 959 | class = (int) mchlibtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c symbol.c -fPIC -DPIC -o .libs/symbol.o artable_lookup (combining_class, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o mtext-lbrk.lo mtext-lbrk.c mtext.c:3506:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3506 | int csd = (int) mchartable_lookup (cased, mtext_ref_char (mt, from)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext.c:3521:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3521 | && ((int) mchartable_lookup (combining_class, mtext_ref_char (mt, to)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c textprop.c -fPIC -DPIC -o .libs/textprop.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c mtext-lbrk.c -fPIC -DPIC -o .libs/mtext-lbrk.o mtext-lbrk.c:206:3: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 206 | GET_LBC (lbc, mt, len, pos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:213:4: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 213 | GET_LBC (Albc, mt, len, Apos + 1, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:219:4: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 219 | GET_LBC (Albc, mt, len, Apos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:225:7: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 225 | GET_LBC (Albc, mt, len, Apos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:236:7: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 236 | GET_LBC (Albc, mt, len, Apos - 1, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:254:2: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 254 | GET_LBC (Blbc, mt, len, Bpos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:269:8: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 269 | GET_LBC (Blbc, mt, len, Bpos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:328:2: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 328 | GET_LBC (Blbc, mt, len, Bpos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:349:4: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 349 | GET_LBC (Blbc, mt, len, Bpos + 1, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:358:4: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 358 | GET_LBC (Blbc, mt, len, Bpos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:377:8: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 377 | GET_LBC (Blbc, mt, len, Bpos + 1, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:386:2: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 386 | GET_LBC (Albc, mt, len, Apos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtext-lbrk.c:140:10: note: expanded from macro 'GET_LBC' 140 | (LBC) = (enum LineBreakClass) mchartable_lookup (lbc_table, c); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textprop.c:1138:7: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1138 | (unsigned) interval->stack[i]->val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:92:51: note: expanded from macro 'fprintf' 92 | __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~ textprop.c:1171:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1171 | (int) interval->stack[i]->val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:92:51: note: expanded from macro 'fprintf' 92 | __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o mtext-wseg.lo mtext-wseg.c 12 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o charset.lo charset.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c mtext-wseg.c -fPIC -DPIC -o .libs/mtext-wseg.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c charset.c -fPIC -DPIC -o .libs/charset.o /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o coding.lo coding.c charset.c:382:37: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 382 | mchartable_set (encoder, c1, (void *) code1); | ^~~~~~~~~~~~~~ charset.c:387:34: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 387 | mchartable_set (encoder, c1, (void *) code1); | ^~~~~~~~~~~~~~ charset.c:618:23: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 618 | unsigned code = ENCODE_CHAR (parent, c); | ^~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:635:20: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 635 | unsigned code = ENCODE_CHAR (parent, c); | ^~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:647:12: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 647 | return (unsigned) mchartable_lookup (charset->encoder, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:656:14: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 656 | return (unsigned) mchartable_lookup (charset->encoder, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1262:31: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1262 | if (! (charset->dimension = (int) mplist_get (plist, Mdimension))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1265:15: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1265 | min_range = (unsigned) mplist_get (plist, Mmin_range); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1268:19: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1268 | max_range = (unsigned) MPLIST_VAL (pl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1291:28: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1291 | if ((charset->min_code = (int) mplist_get (plist, Mmin_code)) < min_range) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1293:28: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1293 | if ((charset->max_code = (int) mplist_get (plist, Mmax_code)) > max_range) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1297:25: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1297 | charset->final_byte = (int) mplist_get (plist, Mfinal_byte); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1298:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1298 | charset->revision = (int) mplist_get (plist, Mrevision); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1299:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1299 | charset->min_char = (int) mplist_get (plist, Mmin_char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1315:28: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1315 | charset->subset_offset = (int) mplist_get (plist, Msubset_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1470:10: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1470 | return ENCODE_CHAR (charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1527:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1527 | if ((int) mchartable__lookup (charset->encoder, c, &next_c, 1) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:1531:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1531 | if ((int) mchartable__lookup (charset->encoder, c, &next_c, 1) >= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c coding.c -fPIC -DPIC -o .libs/coding.o coding.c:634:15: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 634 | code = ENCODE_CHAR (charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coding.c:2386:15: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2386 | code = ENCODE_CHAR (primary, c); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coding.c:2404:16: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2404 | code = ENCODE_CHAR (charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coding.c:2415:17: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2415 | code = ENCODE_CHAR (charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coding.c:2773:16: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2773 | if ((code = ENCODE_CHAR (charset_roman, c)) != MCHAR_INVALID_CODE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coding.c:2778:21: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2778 | else if ((code = ENCODE_CHAR (charset_kanji, c)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coding.c:2787:21: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2787 | else if ((code = ENCODE_CHAR (charset_kana, c)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coding.c:3848:30: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3848 | info->code_unit_bits = (int) mplist_get (plist, Mcode_unit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coding.c:3901:34: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3901 | info->initial_invocation[0] = MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ coding.c:3907:38: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3907 | info->initial_invocation[1] = MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ coding.c:3914:26: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3914 | info->designations[i] = MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ 18 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o input.lo input.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c input.c -fPIC -DPIC -o .libs/input.o 10 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o language.lo language.c input.c:604:37: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 604 | mplist_push (ic->plist, Minteger, (void *) len); | ^~~~~~~~~~~~ input.c:617:37: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 617 | mplist_push (ic->plist, Minteger, (void *) pos); | ^~~~~~~~~~~~ 2 warnings generated. input.c:728:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 728 | return MPLIST_INTEGER (arg); | ^~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:735:40: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 735 | return (MPLIST_INTEGER_P (val) ? MPLIST_INTEGER (val) : 0); | ^~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:806:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 806 | return MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:893:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 893 | int c = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:920:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 920 | int c = MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:1091:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1091 | int c = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o locale.lo locale.c input.c:2028:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2028 | int n = MPLIST_INTEGER (val); | ^~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:2034:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2034 | if (n == MPLIST_INTEGER (valids)) | ^~~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:2044:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2044 | min_bound = MPLIST_INTEGER (p); | ^~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:2048:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2048 | max_bound = MPLIST_INTEGER (p); | ^~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:2615:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2615 | if (MPLIST_INTEGER (markers) > from) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:2616:37: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2616 | MPLIST_VAL (markers) = (void *) (MPLIST_INTEGER (markers) + ins); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:2616:27: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2616 | MPLIST_VAL (markers) = (void *) (MPLIST_INTEGER (markers) + ins); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:2624:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2624 | if (MPLIST_INTEGER (markers) >= to) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:2626:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2626 | = (void *) (MPLIST_INTEGER (markers) + ins - (to - from)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:2626:10: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2626 | = (void *) (MPLIST_INTEGER (markers) + ins - (to - from)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:2627:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2627 | else if (MPLIST_INTEGER (markers) > from) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:2628:29: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2628 | MPLIST_VAL (markers) = (void *) from; | ^~~~~~~~~~~~~ input.c:2778:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2778 | return (int) mplist_get (((MInputContextInfo *) ic->info)->markers, sym); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:2813:60: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2813 | mtext_put_prop (ic->preedit, from, to, Mcandidate_index, (void *) idx); | ^~~~~~~~~~~~ input.c:2853:12: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2853 | if (ENCODE_CHAR (charset, c) == MCHAR_INVALID_CODE) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:2894:9: warning: cast to smaller integer type 'unsigned int' libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c language.c -fPIC -DPIC -o .libs/language.o from 'void *' [-Wvoid-pointer-to-int-cast] 2894 | if (ENCODE_CHAR (charset, c) == MCHAR_INVALID_CODE) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:2946:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2946 | column = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:3126:48: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3126 | preedit_insert (ic, ic->cursor_pos, NULL, MPLIST_INTEGER (args)); | ^~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:3176:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3176 | idx = (int) mtext_get_prop (ic->preedit, pos - 1, Mcandidate_index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:3187:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3187 | idx = start + MPLIST_INTEGER (args); | ^~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:3204:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3204 | : MPLIST_INTEGER (args))); | ^~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:3278:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3278 | : MPLIST_INTEGER (args)); | ^~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:3298:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3298 | : MPLIST_INTEGER (args)); | ^~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:3318:6: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3318 | (void *) ic->cursor_pos); | ^~~~~~~~~~~~~~~~~~~~~~~ input.c:3332:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3332 | num = MPLIST_INTEGER (args); | ^~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:3337:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3337 | num = MPLIST_INTEGER (args); | ^~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:3424:38: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3424 | mplist_add (func_args, Minteger, (void *) code); | ^~~~~~~~~~~~~ input.c:3478:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3478 | val1 = MPLIST_INTEGER (value); | ^~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ input.c:3493:33: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3493 | mplist_set (value, Minteger, (void *) val1); | ^~~~~~~~~~~~~ input.c:4218:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 4218 | = (int) mtext_get_prop (ic->preedit, ic->cursor_pos - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4219 | Mcandidate_index); | ~~~~~~~~~~~~~~~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c locale.c -fPIC -DPIC -o .libs/locale.o /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o m17n.lo m17n.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o m17n-flt.lo m17n-flt.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c m17n.c -fPIC -DPIC -o .libs/m17n.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c m17n-flt.c -fPIC -DPIC -o .libs/m17n-flt.o m17n-flt.c:516:40: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 516 | mchartable_set (table, from + i, (void *) category); | ^~~~~~~~~~~~~~~~~ m17n-flt.c:563:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 563 | from = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:567:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 567 | to = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:589:24: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 589 | category_code = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:602:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 602 | category_code = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:608:31: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 608 | mchartable_set (table, from, (void *) category_code); | ^~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:610:41: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 610 | mchartable_set_range (table, from, to, (void *) category_code); | ^~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:646:38: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 646 | category->feature_table.code[i] = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:977:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 977 | int code = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:1090:39: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1090 | cmd->body.rule.src.match_idx = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:1110:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1110 | = (unsigned) MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:1124:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1124 | = (unsigned) MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:1129:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1129 | = (unsigned) MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o face.lo face.c m17n-flt.c:1735:29: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1735 | GREF (&gstring, i)->c = MPLIST_INTEGER (p); | ^~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:1908:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1908 | enc = (g->c > 0 ? (int) mchartable_lookup (category->table, g->c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:2044:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2044 | ? (g->c > 0 ? (int) mchartable_lookup (table, g->c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:2047:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2047 | ? (int) mchartable_lookup (table, g->code) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:2129:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2129 | ? (g->c > 0 ? (int) mchartable_lookup (table, g->c) : 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:2131:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2131 | ? (int) mchartable_lookup (table, g->code) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:2322:22: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2322 | ? (g->c > 0 ? (int) mchartable_lookup (table, g->c) : 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:2324:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2324 | ? (int) mchartable_lookup (table, g->code) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m17n-flt.c:2552:25: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2552 | int combining_class = (int) val; | ^~~~~~~~~ m17n-flt.c:2573:55: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2573 | mchartable_set_range ((MCharTable *) arg, from, to, (void *) category); | ^~~~~~~~~~~~~~~~~ m17n-flt.c:3023:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3023 | enc = (int) mchartable_lookup (flt->coverage->table, g->c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c face.c -fPIC -DPIC -o .libs/face.o face.c:206:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 206 | mplist_add (pl, Minteger, (void *) hline->width); | ^~~~~~~~~~~~~~~~~~~~~ face.c:221:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 221 | mplist_add (pl, Minteger, (void *) box->width); | ^~~~~~~~~~~~~~~~~~~ face.c:222:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 222 | mplist_add (pl, Minteger, (void *) box->inner_hmargin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ face.c:223:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 223 | mplist_add (pl, Minteger, (void *) box->inner_vmargin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ face.c:224:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 224 | mplist_add (pl, Minteger, (void *) box->outer_hmargin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ face.c:225:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 225 | mplist_add (pl, Minteger, (void *) box->outer_vmargin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ face.c:308:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 308 | box.width = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ face.c:312:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 312 | box.inner_hmargin = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ face.c:316:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 316 | box.inner_vmargin = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ face.c:320:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 320 | box.outer_hmargin = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ face.c:324:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 324 | box.outer_vmargin = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ face.c:360:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 360 | index = (int) msymbol_get (key, M_face_prop_index) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ face.c:465:6: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 465 | (void *) (mface_prop_data[i].index + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ face.c:640:39: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 640 | merged_face.property[MFACE_SIZE] = (void *) font_size; | ^~~~~~~~~~~~~~~~~~ face.c:647:26: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 647 | double font_size = (int) merged_face.property[MFACE_SIZE]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ face.c:653:7: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 653 | && (int) merged_face.property[MFACE_RATIO] != 100) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ face.c:655:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 655 | font_size *= (int) merged_face.property[MFACE_RATIO]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ face.c:659:42: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 659 | merged_face.property[MFACE_SIZE] = (void *) ifont_size; | ^~~~~~~~~~~~~~~~~~~ face.c:685:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 685 | spec.size = (int) merged_face.property[MFONT_SIZE]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ face.c:853:7: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 853 | = (unsigned) mchartable_lookup (coverage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 854 | from_g->g.c)))) | ~~~~~~~~~~~~ face.c:1849:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1849 | int index = (int) msymbol_get (key, M_face_prop_index) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ face.c:1934:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1934 | int index = (int) msymbol_get (key, M_face_prop_index) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o font.lo font.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c font.c -fPIC -DPIC -o .libs/font.o 11 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o font-ft.lo font-ft.c font.c:583:24: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 583 | resize->resize = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ ./plist.h:74:32: note: expanded from macro 'MPLIST_INTEGER' 74 | #define MPLIST_INTEGER(plist) ((int) MPLIST_VAL (plist)) | ^~~~~~~~~~~~~~~~~~~~~~~~ font.c:844:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 844 | resy = (int) mfont_get_prop (font, Mresolution); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1120:7: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1120 | (void *) (j + 1)) < 0) | ^~~~~~~~~~~~~~~~ font.c:1344:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1344 | spec->size = (int) (face->property[MFACE_SIZE]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1481:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1481 | num = (int) msymbol_get (id, M_font_list_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1498:41: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1498 | msymbol_put (id, M_font_list_len, (void *) num); | ^~~~~~~~~~~~ font.c:1594:14: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1594 | code = ENCODE_CHAR (encoding->repertory_charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1597:10: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1597 | code = ENCODE_CHAR (encoding->encoding_charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1625:13: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1625 | return (ENCODE_CHAR (encoding->repertory_charset, c)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1626:10: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1626 | code = ENCODE_CHAR (encoding->encoding_charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1691:14: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1691 | g->g.code = ENCODE_CHAR (encoding->repertory_charset, g->g.c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1697:13: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1697 | code = ENCODE_CHAR (encoding->encoding_charset, g->g.c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./charset.h:218:6: note: expanded from macro 'ENCODE_CHAR' 218 | : (unsigned) mchartable_lookup ((charset)->encoder, (c))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1750:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1750 | numeric = FONT_PROPERTY_NUMERIC (val, key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:457:7: note: expanded from macro 'FONT_PROPERTY_NUMERIC' 457 | : ((int) msymbol_get ((symbol), mfont__property_table[(n)].property))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1755:4: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1755 | SET_FONT_PROPERTY_NUMERIC (val, key, numeric); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:464:8: note: expanded from macro 'SET_FONT_PROPERTY_NUMERIC' 464 | (void *) (numeric)) | ^~~~~~~~~~~~~~~~~~ font.c:2459:14: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2459 | return (void *) size; | ^~~~~~~~~~~~~ font.c:2464:14: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2464 | return (void *) resy; | ^~~~~~~~~~~~~ font.c:2489:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2489 | return (void *) rfont->ascent; | ^~~~~~~~~~~~~~~~~~~~~~ font.c:2491:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2491 | return (void *) rfont->descent; | ^~~~~~~~~~~~~~~~~~~~~~~ font.c:2493:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2493 | return (void *) rfont->max_advance; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:2547:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2547 | int size = (int) val; | ^~~~~~~~~ font.c:2552:23: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2552 | unsigned resy = (unsigned) val; | ^~~~~~~~~~~~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c font-ft.c -fPIC -DPIC -o .libs/font-ft.o 24 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o fontset.lo fontset.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o draw.lo draw.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c fontset.c -fPIC -DPIC -o .libs/fontset.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c draw.c -fPIC -DPIC -o .libs/draw.o draw.c:112:42: warning: implicit conversion from enumeration type 'FriBidiCharType' to different enumeration type 'FriBidiParType' [-Wenum-conversion] 112 | FriBidiParType base = bidi_sensitive ? FRIBIDI_TYPE_RTL : FRIBIDI_TYPE_LTR; | ~~~~ ^~~~~~~~~~~~~~~~ draw.c:112:61: warning: implicit conversion from enumeration type 'FriBidiCharType' to different enumeration type 'FriBidiParType' [-Wenum-conversion] 112 | FriBidiParType base = bidi_sensitive ? FRIBIDI_TYPE_RTL : FRIBIDIfontset.c_:TY630P:E11_:L Twarning: Rcast; to | smaller ~~~~ ^~~~~~~~~~~~~~~~ integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 630 | ? (unsigned ) mchartable_lookup (coverage, c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fontset.c:1491:5: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1490 | fprintf (mdebug__output, "\n %s(0x%X %s ", prefix, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1491 | (unsigned) MPLIST_VAL (p), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1492 | MPLIST_KEY (p)->name); | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:92:51: note: expanded from macro 'fprintf' 92 | __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~ draw.c:1719:48: warning: cast to smaller integer type 'unsigned int' from 'MRealizedFace *' (aka 'struct MRealizedFace *') [-Wpointer-to-int-cast] 1719 | g->g.from, g->g.to, g->g.c, g->g.code, (unsigned) g->rface, | ^~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:92:51: note: expanded from macro 'fprintf' 92 | __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~ 2 warnings generated. 38 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o input-gui.lo input-gui.c 21 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o m17n-gui.lo m17n-gui.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o m17n-X.lo m17n-X.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c input-gui.c -fPIC -DPIC -o .libs/input-gui.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c m17n-gui.c -fPIC -DPIC -o .libs/m17n-gui.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c m17n-X.c -fPIC -DPIC -o .libs/m17n-X.o input-gui.c:305:31: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 305 | mface_put_prop (face, Msize, (void *) ic->spot.fontsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ m17n-gui.c:794:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 794 | return (void *) (frame->average_width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m17n-gui.c:796:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 796 | return (void *) (frame->ascent); | ^~~~~~~~~~~~~~~~~~~~~~~~ m17n-gui.c:798:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 798 | return (void *) (frame->descent); | ^~~~~~~~~~~~~~~~~~~~~~~~~ m17n-X.c:1441:12: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 1441 | return (void *) device->depth; | ^~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. m17n-X.c:2199:10: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2199 | depth = (unsigned) mplist_value (plist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o m17n-gd.lo m17n-gd.c 1 warning generated. /bin/sh ../libtool --tag=CC --mode=link clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -export-dynamic -version-info 4:2:4 -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libm17n-core.la -rpath /usr/lib64 character.lo chartab.lo database.lo plist.lo m17n-core.lo mtext.lo symbol.lo textprop.lo mtext-lbrk.lo mtext-wseg.lo -lxml2 -lz -lm libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DM17NDIR=\"/usr/share/m17n\" -DM17N_MODULE_DIR=\"/usr/lib64/m17n/1.0\" -DGETTEXTDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c m17n-gd.c -fPIC -DPIC -o .libs/m17n-gd.o libtool: link: clang -shared -fPIC -DPIC .libs/character.o .libs/chartab.o .libs/database.o .libs/plist.o .libs/m17n-core.o .libs/mtext.o .libs/symbol.o .libs/textprop.o .libs/mtext-lbrk.o .libs/mtext-wseg.o -Wl,--as-needed -lxml2 -lz -lm -O2 -march=native -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libm17n-core.so.0 -o .libs/libm17n-core.so.0.4.2 libtool: link: (cd ".libs" && rm -f "libm17n-core.so.0" && ln -s "libm17n-core.so.0.4.2" "libm17n-core.so.0") libtool: link: (cd ".libs" && rm -f "libm17n-core.so" && ln -s "libm17n-core.so.0.4.2" "libm17n-core.so") libtool: link: ( cd ".libs" && rm -f "libm17n-core.la" && ln -s "../libm17n-core.la" "libm17n-core.la" ) /bin/sh ../libtool --tag=CC --mode=link clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -export-dynamic -version-info 4:2:4 -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libm17n.la -rpath /usr/lib64 charset.lo coding.lo input.lo language.lo locale.lo m17n.lo libm17n-core.la -ldl /bin/sh ../libtool --tag=CC --mode=link clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -export-dynamic -version-info 4:2:4 -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libm17n-flt.la -rpath /usr/lib64 m17n-flt.lo libm17n-core.la 3 warnings generated. libtool: link: clang -shared -fPIC -DPIC .libs/charset.o .libs/coding.o .libs/input.o .libs/language.o .libs/locale.o .libs/m17n.o -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs -Wl,--as-needed ./.libs/libm17n-core.so -lxml2 -lz -lm -ldl -O2 -march=native -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libm17n.so.0 -o .libs/libm17n.so.0.4.2 2 warnings generated. libtool: link: clang -shared -fPIC -DPIC .libs/m17n-flt.o -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs -Wl,--as-needed ./.libs/libm17n-core.so -lxml2 -lz -lm -O2 -march=native -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libm17n-flt.so.0 -o .libs/libm17n-flt.so.0.4.2 libtool: link: (cd ".libs" && rm -f "libm17n-flt.so.0" && ln -s "libm17n-flt.so.0.4.2" "libm17n-flt.so.0") libtool: link: (cd ".libs" && rm -f "libm17n.so.0" && ln -s "libm17n.so.0.4.2" "libm17n.so.0") libtool: link: (cd ".libs" && rm -f "libm17n-flt.so" && ln -s "libm17n-flt.so.0.4.2" "libm17n-flt.so") libtool: link: (cd ".libs" && rm -f "libm17n.so" && ln -s "libm17n.so.0.4.2" "libm17n.so") libtool: link: ( cd ".libs" && rm -f "libm17n-flt.la" && ln -s "../libm17n-flt.la" "libm17n-flt.la" ) libtool: link: ( cd ".libs" && rm -f "libm17n.la" && ln -s "../libm17n.la" "libm17n.la" ) /bin/sh ../libtool --tag=CC --mode=link clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -export-dynamic -version-info 4:2:4 -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libm17n-gui.la -rpath /usr/lib64 face.lo font.lo font-ft.lo fontset.lo draw.lo input-gui.lo m17n-gui.lo -lfribidi -lfontconfig -lfreetype libm17n-core.la libm17n.la libm17n-flt.la libtool: link: clang -shared -fPIC -DPIC .libs/face.o .libs/font.o .libs/font-ft.o .libs/fontset.o .libs/draw.o .libs/input-gui.o .libs/m17n-gui.o -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs -L/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs -Wl,--as-needed -lfribidi -lfontconfig -lfreetype ./.libs/libm17n-core.so ./.libs/libm17n.so -ldl ./.libs/libm17n-flt.so /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs/libm17n-core.so -lxml2 -lz -lm -O2 -march=native -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libm17n-gui.so.0 -o .libs/libm17n-gui.so.0.4.2 libtool: link: (cd ".libs" && rm -f "libm17n-gui.so.0" && ln -s "libm17n-gui.so.0.4.2" "libm17n-gui.so.0") libtool: link: (cd ".libs" && rm -f "libm17n-gui.so" && ln -s "libm17n-gui.so.0.4.2" "libm17n-gui.so") libtool: link: ( cd ".libs" && rm -f "libm17n-gui.la" && ln -s "../libm17n-gui.la" "libm17n-gui.la" ) /bin/sh ../libtool --tag=CC --mode=link clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -avoid-version -module -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libm17n-X.la -rpath /usr/lib64/m17n/1.0 m17n-X.lo -lSM -lICE -lXt -lX11 -lfontconfig -lfreetype libm17n-core.la libm17n.la libm17n-flt.la libm17n-gui.la /bin/sh ../libtool --tag=CC --mode=link clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -avoid-version -module -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libm17n-gd.la -rpath /usr/lib64/m17n/1.0 m17n-gd.lo -lgd libm17n-core.la libm17n.la libm17n-flt.la libm17n-gui.la libtool: link: clang -shared -fPIC -DPIC .libs/m17n-gd.o -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs -L/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs -Wl,--as-needed -lgd ./.libs/libm17n-core.so ./.libs/libm17n.so ./.libs/libm17n-flt.so ./.libs/libm17n-gui.so -lfribidi -lfontconfig -lfreetype /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs/libm17n.so -ldl /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs/libm17n-flt.so /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs/libm17n-core.so -lxml2 -lz -lm -O2 -march=native -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libm17n-gd.so -o .libs/libm17n-gd.so libtool: link: clang -shared -fPIC -DPIC .libs/m17n-X.o -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs -L/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs -Wl,--as-needed -lSM -lICE -lXt -lX11 ./.libs/libm17n-core.so ./.libs/libm17n.so ./.libs/libm17n-flt.so ./.libs/libm17n-gui.so -lfribidi -lfontconfig -lfreetype /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs/libm17n.so -ldl /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs/libm17n-flt.so /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs/libm17n-core.so -lxml2 -lz -lm -O2 -march=native -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libm17n-X.so -o .libs/libm17n-X.so libtool: link: ( cd ".libs" && rm -f "libm17n-gd.la" && ln -s "../libm17n-gd.la" "libm17n-gd.la" ) libtool: link: ( cd ".libs" && rm -f "libm17n-X.la" && ln -s "../libm17n-X.la" "libm17n-X.la" ) make[2]: Leaving directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src' Making all in example make[2]: Entering directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/example' clang -DHAVE_CONFIG_H -I. -I.. -I../src -DHAVE_X11_XAW_COMMAND_H -DHAVE_GD=2 -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o mconv.o mconv.c clang -DHAVE_CONFIG_H -I. -I.. -I../src -DHAVE_X11_XAW_COMMAND_H -DHAVE_GD=2 -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o mview.o mview.c clang -DHAVE_CONFIG_H -I. -I.. -I../src -DHAVE_X11_XAW_COMMAND_H -DHAVE_GD=2 -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o mdate.o mdate.c clang -DHAVE_CONFIG_H -I. -I.. -I../src -DHAVE_X11_XAW_COMMAND_H -DHAVE_GD=2 -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o mdump.o mdump.c clang -DHAVE_CONFIG_H -I. -I.. -I../src -DHAVE_X11_XAW_COMMAND_H -DHAVE_GD=2 -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o medit.o medit.c mview.c:348:36: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 348 | mface_put_prop (face, Msize, (void *) fontsize); | ^~~~~~~~~~~~~~~~~ mview.c:370:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 370 | viewport_width = (int) mframe_get_prop (frame, Mfont_width) * 80; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mview.c:372:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 372 | = ((int) mframe_get_prop (frame, Mfont_ascent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mview.c:373:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 373 | + (int) mframe_get_prop (frame, Mfont_descent)) * 24; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../src -DHAVE_X11_XAW_COMMAND_H -DHAVE_GD=2 -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o mimx-anthy.lo mimx-anthy.c 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../src -DHAVE_X11_XAW_COMMAND_H -DHAVE_GD=2 -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c mimx-anthy.c -fPIC -DPIC -o .libs/mimx-anthy.o /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../src -DHAVE_X11_XAW_COMMAND_H -DHAVE_GD=2 -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o mimx-ispell.lo mimx-ispell.c /bin/sh ../libtool --tag=CC --mode=link clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o m17n-conv mconv.o ../src/libm17n-core.la ../src/libm17n.la medit.c:445:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 445 | size = (int) mface_get_prop (faces[i], Msize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:447:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 447 | ratio = (int) mface_get_prop (faces[i], Mratio); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:665:22: error: parameter 'idx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 665 | select_input_method (idx) | ^ 666 | { medit.c:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 665 | select_input_method (idx) | ^ medit.c:813:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 813 | int size = (int) mfont_get_prop (cursor.font, Msize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:1478:8: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1478 | if (((int) position) < 0) | ^~~~~~~~~~~~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../src -DHAVE_X11_XAW_COMMAND_H -DHAVE_GD=2 -I/usr/include/freetype2 -I/usr/include/libxml2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c mimx-ispell.c -fPIC -DPIC -o .libs/mimx-ispell.o medit.c:1593:27: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1593 | InputMethodProc (w, (XtPointer) saved_input_method, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:1770:28: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1770 | InputMethodProc (w, (XtPointer) unicode_input_method, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:1833:16: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1833 | serialized = (int) client_data; | ^~~~~~~~~~~~~~~~~ medit.c:1880:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1880 | int data = (int) client_data; | ^~~~~~~~~~~~~~~~~ medit.c:1909:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1909 | int data = (int) client_data; | ^~~~~~~~~~~~~~~~~ medit.c:1954:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1954 | int data = (int) client_data; | ^~~~~~~~~~~~~~~~~ medit.c:1997:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1997 | int idx = (int) client_data; | ^~~~~~~~~~~~~~~~~ medit.c:2033:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2033 | int idx = (int) client_data; | ^~~~~~~~~~~~~~~~~ medit.c:2138:18: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2138 | int narrowed = (int) client_data; | ^~~~~~~~~~~~~~~~~ medit.c:2198:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2198 | int len = (int) mplist_value (ic->plist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:2223:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2223 | int len = (int) mplist_value (ic->plist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:2433:7: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2433 | if ((int) client_data == 1) | ^~~~~~~~~~~~~~~~~ medit.c:2736:27: warning: too many arguments in call to 'read_file' 2736 | mt = read_file (filename); | ~~~~~~~~~ ^ medit.c:2736:18: warning: passing arguments to 'read_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 2736 | mt = read_file (filename); | ^ medit.c:2790:33: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2790 | mface_put_prop (face, Msize, (void *) fontsize); | ^~~~~~~~~~~~~~~~~ medit.c:2806:25: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2806 | default_font_size = (int) mfont_get_prop (font, Msize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:2809:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2809 | font_width = (int) mframe_get_prop (frame, Mfont_width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:2810:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2810 | font_ascent = (int) mframe_get_prop (frame, Mfont_ascent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:2811:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2811 | font_descent = (int) mframe_get_prop (frame, Mfont_descent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:2996:2: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2996 | SetMenu (menus[i + 2], 0, name1, name2, InputMethodProc, i, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit.c:2468:47: note: expanded from macro 'SetMenu' 2468 | (MENU).proc = (PROC), (MENU).client_data = (XtPointer) (DATA), \ | ^~~~~~~~~~~~~~~~~~ medit.c:3068:4: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3068 | SetMenu (menus[j - i], 0, face_table[j].name, NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3069 | FaceProc, j, -1); | ~~~~~~~~~~~~~~~~ medit.c:2468:47: note: expanded from macro 'SetMenu' 2468 | (MENU).proc = (PROC), (MENU).client_data = (XtPointer) (DATA), \ | ^~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o m17n-view mview.o -lSM -lICE -lXaw -lXmu -lXt -lX11 ../src/libm17n-core.la ../src/libm17n.la ../src/libm17n-flt.la ../src/libm17n-gui.la 26 warnings and 1 error generated. make[2]: *** [Makefile:704: medit.o] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: link: clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/m17n-conv mconv.o -Wl,--as-needed ../src/.libs/libm17n-core.so ../src/.libs/libm17n.so /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs/libm17n-core.so -lxml2 -lz -lm -ldl libtool: link: clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/m17n-view mview.o -Wl,--as-needed -lSM -lICE -lXaw -lXmu -lXt -lX11 ../src/.libs/libm17n-core.so ../src/.libs/libm17n.so ../src/.libs/libm17n-flt.so ../src/.libs/libm17n-gui.so -lfribidi -lfontconfig -lfreetype /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs/libm17n.so -ldl /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs/libm17n-flt.so /var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/src/.libs/libm17n-core.so -lxml2 -lz -lm make[2]: Leaving directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0/example' make[1]: *** [Makefile:641: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0' make: *** [Makefile:505: all] Error 2 * ERROR: dev-libs/m17n-lib-1.8.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/m17n-lib-1.8.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/m17n-lib-1.8.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:m17n-lib-1.8.0:20231207-061055.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0' * S: '/var/tmp/portage/dev-libs/m17n-lib-1.8.0/work/m17n-lib-1.8.0'