=>> Building japanese/lipsf build started at Thu Apr 4 16:51:50 BST 2024 port directory: /usr/ports/japanese/lipsf package name: ja-lipsf-2.00_2 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 665 Feb 25 10:26 /usr/ports/japanese/lipsf/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 107394c6f5 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ja-lipsf-2.00_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/lipsf/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/lipsf/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/lipsf/work/.cache HOME=/wrkdirs/usr/ports/japanese/lipsf/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/japanese/lipsf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/lipsf/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/lipsf/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/lipsf/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/lipsf/work/.cache HOME=/wrkdirs/usr/ports/japanese/lipsf/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/japanese/lipsf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/lipsf/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/lipsf" EXAMPLESDIR="share/examples/lipsf" DATADIR="share/lipsf" WWWDIR="www/lipsf" ETCDIR="etc/lipsf" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/lipsf DOCSDIR=/usr/local/share/doc/lipsf EXAMPLESDIR=/usr/local/share/examples/lipsf WWWDIR=/usr/local/www/lipsf ETCDIR=/usr/local/etc/lipsf --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lipsf port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-lipsf-2.00_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> ja-lipsf-2.00_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-lipsf-2.00_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lipsf port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ja-lipsf-2.00_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lipsf port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ja-lipsf-2.00_2 for building => SHA256 Checksum OK for lipsf200.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lipsf port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ja-lipsf-2.00_2 for building ===> Extracting for ja-lipsf-2.00_2 ===> NOTICE: The lipsf port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ja-lipsf-2.00_2 for building => SHA256 Checksum OK for lipsf200.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ja-lipsf-2.00_2 ===> Applying FreeBSD patches for ja-lipsf-2.00_2 from /usr/ports/japanese/lipsf/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ja-lipsf-2.00_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ja-lipsf-2.00_2 cp config.hin config.h cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DCCCOMMAND='"cc"' -o mkmfsed mkmfsed.c ./mkmfsed > mkmf.sed sed -f mkmf.sed Makefile.in > Makefile.tmp || (rm -f Makefile.tmp; exit 1) /usr/bin/make SHELL=/bin/sh -f Makefile.tmp cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -c -o lipsf.o lipsf.c lipsf.c:198:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((headerstr && strstr(headerstr, "%P")) ^~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ lipsf.c:199:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] || (footerstr && strstr(footerstr, "%P"))) { ^~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -c -o output.o output.c output.c:263:21: warning: passing 'char[8]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033$*,%1d", (jismode) ? 2 : 0); ^~~~~~~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:273:21: warning: passing 'char[5]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033(%c", (romanmode) ? 'J' : 'B'); ^~~~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:321:4: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:335:5: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:340:5: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:351:5: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:356:5: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:365:6: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:388:6: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:421:7: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:431:7: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:504:39: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (lipsmode < 4) bufprintf(stream, "\033[7 I"); ^~~~~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:505:26: warning: passing 'char[10]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else bufprintf(stream, "\033[?7;%d I", dpitable[lipsmode]); ^~~~~~~~~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:522:31: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (isbuf) bufprintf(stream, "\033[%sm", cp); ^~~~~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:535:32: warning: passing 'char[10]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (isbuf) bufprintf(stream, "\033[0;%d%%p", color); ^~~~~~~~~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:536:40: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] else lprintf(stream, "\033[0;%d%%p", color); ~~ ^~~~~ %ld output.c:540:32: warning: passing 'char[14]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (isbuf) bufprintf(stream, "\033[?0;2;%d0%%p", color); ^~~~~~~~~~~~~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:541:44: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] else lprintf(stream, "\033[?0;2;%d0%%p", color); ~~ ^~~~~ %ld output.c:550:32: warning: passing 'char[19]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (isbuf) bufprintf(stream, "\033[?0;0;%d;%d;%d%%p", r, g, b); ^~~~~~~~~~~~~~~~~~~~~~~ output.c:81:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ output.c:551:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] else lprintf(stream, "\033[?0;0;%d;%d;%d%%p", r, g, b); ~~ ^ %ld output.c:551:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] else lprintf(stream, "\033[?0;0;%d;%d;%d%%p", r, g, b); ~~ ^ %ld output.c:551:55: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] else lprintf(stream, "\033[?0;0;%d;%d;%d%%p", r, g, b); ~~ ^ %ld 22 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -c -o print.o print.c In file included from print.c:9: /usr/include/sys/timeb.h:44:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ print.c:337:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vsprintf(buf, fmt, args); ^~~ /usr/include/stdio.h:294:32: note: passing argument to parameter here int vsprintf(char * __restrict, const char * __restrict, ^ print.c:337:16: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vsprintf(buf, fmt, args); ^~~ /usr/include/stdio.h:294:57: note: passing argument to parameter here int vsprintf(char * __restrict, const char * __restrict, ^ print.c:373:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strchr((u_char *)KINSOKUBOL, c)) max++; ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ print.c:374:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (strchr((u_char *)KINSOKUEOL, c)) max--; ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ print.c:375:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (strchr((u_char *)KINSOKUBOLKANA, c)) max++; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ print.c:376:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (strchr((u_char *)KINSOKUEOLKANA, c)) max--; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ print.c:397:22: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033K"); ^~~~~~~ print.c:319:43: note: passing argument to parameter 'fmt' here int bufprintf(FILE *stream, CONST u_char *fmt, ...) ^ print.c:414:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && !strncmp(&linebuf[linep - 2], "\033n", 2)) ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ print.c:423:18: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (kanjiflag) kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ print.c:319:43: note: passing argument to parameter 'fmt' here int bufprintf(FILE *stream, CONST u_char *fmt, ...) ^ print.c:470:11: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vsprintf(buf, fmt, args); ^~~ /usr/include/stdio.h:294:32: note: passing argument to parameter here int vsprintf(char * __restrict, const char * __restrict, ^ print.c:470:16: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vsprintf(buf, fmt, args); ^~~ /usr/include/stdio.h:294:57: note: passing argument to parameter here int vsprintf(char * __restrict, const char * __restrict, ^ 12 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -c -o control.o control.c control.c:85:20: warning: passing 'char[12]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d;%d;%d{", width, mode, start); ^~~~~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:86:20: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d}", end); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:100:20: warning: passing 'char[10]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d;%d B", vert, side); ^~~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:101:2: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:102:20: warning: passing 'char[10]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d;%d B", vert, side); ^~~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:147:22: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[11h"); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:148:22: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d%c", lettersize / 2, ch); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:161:22: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%dm", n); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:168:22: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%dm", n); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:173:4: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:181:22: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[?%dm", n); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:187:22: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%dm", n); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:193:22: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%dm", n); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:199:22: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[?%dm", n); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:205:22: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[?%dm", n); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:211:22: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[?%dm", n); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:409:23: warning: passing 'char[24]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] foldprintf(stream, "%02d-%02d-%02d %2d:%02d", ^~~~~~~~~~~~~~~~~~~~~~~~~ control.c:77:51: note: passing argument to parameter here extern int foldprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:434:4: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:448:25: warning: passing 'char[5]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] foldprintf(stream, "%2ld", num); ^~~~~~ control.c:77:51: note: passing argument to parameter here extern int foldprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:450:6: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:460:25: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] foldprintf(stream, "%02ld", num); ^~~~~~~ control.c:77:51: note: passing argument to parameter here extern int foldprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:462:6: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:470:24: warning: passing 'char[4]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] foldprintf(stream, "%ld", num); ^~~~~ control.c:77:51: note: passing argument to parameter here extern int foldprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:486:22: warning: passing 'char[9]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] foldprintf(stream, "%c{%c%s}", controlchar, c, parenbuf); ^~~~~~~~~~ control.c:77:51: note: passing argument to parameter here extern int foldprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:491:36: warning: passing 'u_char[80]' (aka 'unsigned char[80]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else usrlettersize = trunclimit(parenbuf, ^~~~~~~~ control.c:61:35: note: passing argument to parameter here extern int trunclimit __P_((char *, int, int)); ^ control.c:495:22: warning: passing 'char[8]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[?%d K", ^~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:497:22: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d C", lettersize); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:498:22: warning: passing 'char[10]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d;%d G", ^~~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:501:4: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:502:22: warning: passing 'char[8]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[?%d K", ^~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:504:22: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d C", lettersize); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:505:22: warning: passing 'char[10]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d;%d G", ^~~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:515:22: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%dy", fontpattern); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:516:4: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:518:22: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%dy", fontpattern); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:523:22: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d S", isvertical); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:524:22: warning: passing 'char[8]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[?29%c", ^~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:529:37: warning: passing 'u_char[80]' (aka 'unsigned char[80]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else usrcolumnwidth = trunclimit(parenbuf, ^~~~~~~~ control.c:61:35: note: passing argument to parameter here extern int trunclimit __P_((char *, int, int)); ^ control.c:533:22: warning: passing 'char[10]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d;%d G", ^~~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:536:4: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:537:22: warning: passing 'char[10]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d;%d G", ^~~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:544:36: warning: passing 'u_char[80]' (aka 'unsigned char[80]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else usrlineheight = trunclimit(parenbuf, ^~~~~~~~ control.c:61:35: note: passing argument to parameter here extern int trunclimit __P_((char *, int, int)); ^ control.c:548:22: warning: passing 'char[10]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d;%d G", ^~~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:551:4: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:552:22: warning: passing 'char[10]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d;%d G", ^~~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:559:34: warning: passing 'u_char[80]' (aka 'unsigned char[80]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else tabposition = trunclimit(parenbuf, ^~~~~~~~ control.c:61:35: note: passing argument to parameter here extern int trunclimit __P_((char *, int, int)); ^ control.c:563:22: warning: passing 'u_char[80]' (aka 'unsigned char[80]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] leftindent = atoi(parenbuf); ^~~~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ control.c:564:31: warning: passing 'u_char[80]' (aka 'unsigned char[80]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((cp = (u_char *)strchr(parenbuf, ','))) ^~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ control.c:565:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rightindent = atoi(++cp); ^~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ control.c:574:24: warning: passing 'u_char[80]' (aka 'unsigned char[80]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((color = getrgb(parenbuf)) < 0) ^~~~~~~~ control.c:62:32: note: passing argument to parameter here extern long getrgb __P_((char *)); ^ control.c:593:23: warning: passing 'char[5]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] foldprintf(stream, "%c{}", controlchar); ^~~~~~ control.c:77:51: note: passing argument to parameter here extern int foldprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:625:24: warning: passing 'char[4]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] foldprintf(stream, "%c{", controlchar); ^~~~~ control.c:77:51: note: passing argument to parameter here extern int foldprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:648:24: warning: passing 'char[8]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] foldprintf(stream, "%c{%c%s", ^~~~~~~~~ control.c:77:51: note: passing argument to parameter here extern int foldprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:674:24: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d S", ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:676:24: warning: passing 'char[9]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[1;%d$q", ^~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:682:24: warning: passing 'char[8]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d S ", ^~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:693:23: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[11h"); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:694:23: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%de", lettersize / 2); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:697:23: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[24m"); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:700:5: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:704:38: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (italicchar) bufprintf(stream, "\033[?29m"); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:705:35: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (amikake) bufprintf(stream, "\033[25m"); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:706:37: warning: passing 'char[6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (exclusive) bufprintf(stream, "\033[27m"); ^~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:707:35: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (outline) bufprintf(stream, "\033[?27m"); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:708:39: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (patternfill) bufprintf(stream, "\033[?25m"); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:709:34: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (shadow) bufprintf(stream, "\033[?26m"); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:737:23: warning: passing 'char[7]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d S", isvertical | 3); ^~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:739:24: warning: passing 'char[9]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[1;%d$q", ^~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:747:24: warning: passing 'char[9]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[2;%d$q", ^~~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:754:23: warning: passing 'char[8]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bufprintf(stream, "\033[%d S ", isvertical); ^~~~~~~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ control.c:757:20: warning: passing 'char[3]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (kanjiflag) kanjiin(stream); ^~~~~~~~~~~~~~~ ./lipsf.h:297:35: note: expanded from macro 'kanjiin' #define kanjiin(fp) bufprintf(fp, "\033n") ^~~~~~~ control.c:76:50: note: passing argument to parameter here extern int bufprintf __P_((FILE *, CONST u_char *, ...)); ^ 71 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -c -o args.o args.c args.c:519:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(styletitle, argbuf + 1, i - 1); ^~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -c -o var.o var.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -o lipsf lipsf.o output.o print.o control.o args.o var.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -o kanjicnv kanjicnv.c ./kanjicnv -e -c kanji.hin kanji.h cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -c -o pols.o pols.c pols.c:98:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ pols.c:118:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_standout); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ pols.c:250:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] savestring(fp, headerstr); ^~~~~~~~~ pols.c:255:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] savestring(fp, footerstr); ^~~~~~~~~ pols.c:278:54: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] else if (defcolor < 0x01000000L) fprintf(fp, "%d", defcolor); ~~ ^~~~~~~~ %ld pols.c:280:24: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(fp, "%%%d", defcolor & 0xff); ~~ ^~~~~~~~~~~~~~~ %ld pols.c:281:29: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] else fprintf(fp, "#%06x", defcolor & 0xffffffL); ~~~~ ^~~~~~~~~~~~~~~~~~~~ %06lx pols.c:311:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((headerstr && strstr(headerstr, "%P")) ^~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ pols.c:312:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] || (footerstr && strstr(footerstr, "%P"))) { ^~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ pols.c:329:34: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cprintf2("%-24.24s: %4d %s\n", PAGSM_K, page + 1, PAGES_K); ^~~~~~~ ./kanji.h:136:18: note: expanded from macro 'PAGSM_K' #define PAGSM_K "ڡ" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ pols.c:329:53: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cprintf2("%-24.24s: %4d %s\n", PAGSM_K, page + 1, PAGES_K); ^~~~~~~ ./kanji.h:134:18: note: expanded from macro 'PAGES_K' #define PAGES_K "ڡ" ^~~~ ~~~~~~~~~~~~ pols.c:331:34: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cprintf2("%-24.24s: %4d %s\n", STPSM_K, step + 1, STEPS_K); ^~~~~~~ ./kanji.h:137:18: note: expanded from macro 'STPSM_K' #define STPSM_K "ǽڡΰʿ" ^~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ pols.c:331:53: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cprintf2("%-24.24s: %4d %s\n", STPSM_K, step + 1, STEPS_K); ^~~~~~~ ./kanji.h:101:18: note: expanded from macro 'STEPS_K' #define STEPS_K "" ^~~~~~~~ pols.c:333:34: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cprintf2("%-24.24s: %4d %s\n", LINSM_K, line, LINES_K); ^~~~~~~ ./kanji.h:138:18: note: expanded from macro 'LINSM_K' #define LINSM_K "ǽڡʤΰԿ" ^~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ pols.c:333:49: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cprintf2("%-24.24s: %4d %s\n", LINSM_K, line, LINES_K); ^~~~~~~ ./kanji.h:98:18: note: expanded from macro 'LINES_K' #define LINES_K "" ^~~~~~~~ pols.c:334:9: warning: illegal character encoding in string literal [-Winvalid-source-encoding] yesno(CNFOK_K); ^~~~~~~ ./kanji.h:22:18: note: expanded from macro 'CNFOK_K' #define CNFOK_K "ǧǤ" ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ pols.c:357:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] showfilename(FILEN_K, printfile); ^~~~~~~ ./kanji.h:23:18: note: expanded from macro 'FILEN_K' #define FILEN_K "оݥե" ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ pols.c:359:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] showfilename(STYF_K, stylefile); ^~~~~~ ./kanji.h:24:17: note: expanded from macro 'STYF_K' #define STYF_K "ե" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ pols.c:363:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] showfilename(STYN_K, styletitle); ^~~~~~ ./kanji.h:25:17: note: expanded from macro 'STYN_K' #define STYN_K "̾" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pols.c:363:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] showfilename(STYN_K, styletitle); ^~~~~~~~~~ pols.c:376:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ pols.c:405:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] if (!yesno(REGOK_K)) free(name); ^~~~~~~ ./kanji.h:26:18: note: expanded from macro 'REGOK_K' #define REGOK_K "ϿƤǤ" ^~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ pols.c:414:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] if (yesno(OVROK_K)) return; ^~~~~~~ ./kanji.h:27:18: note: expanded from macro 'OVROK_K' #define OVROK_K "λƤǤ" ^~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ 23 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -c -o term.o term.c term.c:623:14: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] && (ttyio = safe_dup(STDERR_FILENO)) < 0) ^ term.c:422:18: note: expanded from macro 'safe_dup' #define safe_dup dup ^ term.c:771:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(ttyio); ^ term.c:804:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(ttyio); ^ term.c:830:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short set, reset, iset, ireset, oset, oreset; ^ term.c:447:43: note: previous declaration is here static int NEAR ttymode __P_((int, u_short, u_short, u_short, u_short, ^ term.c:830:14: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short set, reset, iset, ireset, oset, oreset; ^ term.c:447:52: note: previous declaration is here static int NEAR ttymode __P_((int, u_short, u_short, u_short, u_short, ^ term.c:830:21: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short set, reset, iset, ireset, oset, oreset; ^ term.c:447:61: note: previous declaration is here static int NEAR ttymode __P_((int, u_short, u_short, u_short, u_short, ^ term.c:830:27: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short set, reset, iset, ireset, oset, oreset; ^ term.c:447:70: note: previous declaration is here static int NEAR ttymode __P_((int, u_short, u_short, u_short, u_short, ^ term.c:830:35: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short set, reset, iset, ireset, oset, oreset; ^ term.c:448:10: note: previous declaration is here u_short, u_short, int, int)); ^ term.c:830:41: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short set, reset, iset, ireset, oset, oreset; ^ term.c:448:19: note: previous declaration is here u_short, u_short, int, int)); ^ term.c:1262:2: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(ttyio, GETSIZE, sizeof(GETSIZE) - 1); ^ term.c:2558:14: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] while ((i = read(ttyio, &ch, sizeof(u_char))) < 0 && errno == EINTR); ^ term.c:2574:9: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] kill(getpid(), sig); ^ term.c:2622:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_char' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] u_char c; ^ ./term.h:187:33: note: previous declaration is here extern int ungetch2 __P_((u_char)); ^ 13 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -c -o input.o input.c input.c:50:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] key[0] = 'F'; str[0] = FILE_K; ^~~~~~ ./kanji.h:14:17: note: expanded from macro 'FILE_K' #define FILE_K "ե" ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:51:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] key[1] = 'H'; str[1] = HEAD_K; ^~~~~~ ./kanji.h:15:17: note: expanded from macro 'HEAD_K' #define HEAD_K "إåեå" ^~~~ ~~~~~~~~ ~~~~ input.c:52:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] key[2] = 'L'; str[2] = LOAD_K; ^~~~~~ ./kanji.h:16:17: note: expanded from macro 'LOAD_K' #define LOAD_K "ɹ" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ input.c:53:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] key[3] = 'P'; str[3] = PRINT_K; ^~~~~~~ ./kanji.h:17:20: note: expanded from macro 'PRINT_K' #define PRINT_K " " ^~~~~~~~ ~~~~~~~~ input.c:54:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] key[4] = 'S'; str[4] = STYLE_K; ^~~~~~~ ./kanji.h:18:18: note: expanded from macro 'STYLE_K' #define STYLE_K "" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:55:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] key[5] = 'O'; str[5] = OPTIO_K; ^~~~~~~ ./kanji.h:19:19: note: expanded from macro 'OPTIO_K' #define OPTIO_K " ץ " ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ input.c:56:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] key[6] = 'R'; str[6] = SAVE_K; ^~~~~~ ./kanji.h:20:17: note: expanded from macro 'SAVE_K' #define SAVE_K "Ͽ" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:57:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] key[7] = 'Q'; str[7] = OVER_K; ^~~~~~ ./kanji.h:21:19: note: expanded from macro 'OVER_K' #define OVER_K " λ " ^~~~~~~~ input.c:61:16: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] if (i == no) putterm(t_standout); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:71:4: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_standout); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:88:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_underline); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:121:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_underline); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:151:4: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_bell); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:158:4: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(c_right); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:164:4: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(c_right); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:182:4: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(c_left); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:187:23: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] if (cx-- % linemax) putterm(c_left); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:204:29: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] for (j = 0; j < ins; j++) putterm(c_insert); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:278:29: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] for (j = 0; j < del; j++) putterm(c_delete); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:344:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:363:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:372:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cputs2(str + cx); ^~~~~~~~ ./term.h:182:31: note: passing argument to parameter here extern int cputs2 __P_((char *)); ^ input.c:383:37: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] displaystr(str, x, y, len = strlen(str), linemax); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ input.c:395:20: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] if (cx >= len) putterm(t_bell); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:560:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_standout); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:588:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:654:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_bell); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:670:10: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] if (so) putterm(t_standout); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:757:4: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_underline); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:869:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_standout); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ input.c:879:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_standout); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ 31 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -c -o file.o file.c file.c:189:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:229:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat(prompt, NEXT_K); ^~~~~~ ./kanji.h:7:21: note: expanded from macro 'NEXT_K' #define NEXT_K ": ³ɤߤޤ" ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ file.c:236:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:247:4: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:371:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:387:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_standout); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:391:9: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cputs2(HELP1_K); ^~~~~~~ ./kanji.h:8:24: note: expanded from macro 'HELP1_K' #define HELP1_K " RET: , ESC: , SPC: " ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ file.c:392:9: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cputs2(HELP2_K); ^~~~~~~ ./kanji.h:9:24: note: expanded from macro 'HELP2_K' #define HELP2_K ", BS: DIRذư" ^~~~~~~~ ~~~~ ~~~~ file.c:393:9: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cputs2(HELP3_K); ^~~~~~~ ./kanji.h:10:26: note: expanded from macro 'HELP3_K' #define HELP3_K ", /: DIRѹ" ^~~~ ~~~~ file.c:418:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:499:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:518:7: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] else putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:548:10: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] if (so) putterm(t_standout); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:564:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:606:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] new = (save) ? addlist(filelist, NEWN_K, no++, 2) ^~~~~~ ./kanji.h:12:21: note: expanded from macro 'NEWN_K' #define NEWN_K "!!! Ͽ !!!" ^~~~~~~~~~~~~~~~~~~~~~~~ file.c:708:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:720:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(t_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ file.c:727:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] } while(!yesno(PEND_K)); ^~~~~~ ./kanji.h:13:17: note: expanded from macro 'PEND_K' #define PEND_K "λޤ" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ 18 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -c -o style.o style.c style.c:94:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *ifdo[] = {NOTDO_K, DODO_K}; ^~~~~~~ ./kanji.h:28:18: note: expanded from macro 'NOTDO_K' #define NOTDO_K "ʤ" ^~~~~~~~~~~~ ~~~~ style.c:94:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *ifdo[] = {NOTDO_K, DODO_K}; ^~~~~~ ./kanji.h:29:17: note: expanded from macro 'DODO_K' #define DODO_K "" ^~~~~~~~~~~~~~~~ style.c:97:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *size[] = {A3SIZ_K, A4SIZ_K, A5SIZ_K, ^~~~~~~ ./kanji.h:30:18: note: expanded from macro 'A3SIZ_K' #define A3SIZ_K "귿(A3)" ^~~~ style.c:97:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *size[] = {A3SIZ_K, A4SIZ_K, A5SIZ_K, ^~~~~~~ ./kanji.h:31:18: note: expanded from macro 'A4SIZ_K' #define A4SIZ_K "귿(A4)" ^~~~ style.c:97:42: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *size[] = {A3SIZ_K, A4SIZ_K, A5SIZ_K, ^~~~~~~ ./kanji.h:32:18: note: expanded from macro 'A5SIZ_K' #define A5SIZ_K "귿(A5)" ^~~~ style.c:98:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] HAGAK_K, B4SIZ_K, B5SIZ_K, FREE_K}; ^~~~~~~ ./kanji.h:33:18: note: expanded from macro 'HAGAK_K' #define HAGAK_K "귿(ս)" ^~~~ ~~~~ ~~~~ style.c:98:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] HAGAK_K, B4SIZ_K, B5SIZ_K, FREE_K}; ^~~~~~~ ./kanji.h:34:18: note: expanded from macro 'B4SIZ_K' #define B4SIZ_K "귿(B4)" ^~~~ style.c:98:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] HAGAK_K, B4SIZ_K, B5SIZ_K, FREE_K}; ^~~~~~~ ./kanji.h:35:18: note: expanded from macro 'B5SIZ_K' #define B5SIZ_K "귿(B5)" ^~~~ style.c:98:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding] HAGAK_K, B4SIZ_K, B5SIZ_K, FREE_K}; ^~~~~~ ./kanji.h:36:17: note: expanded from macro 'FREE_K' #define FREE_K "ͳ" ^~~~~~~~ style.c:104:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *land[] = {PORTR_K, LANDS_K}; ^~~~~~~ ./kanji.h:37:18: note: expanded from macro 'PORTR_K' #define PORTR_K "֤" ^~~~~~~~~~~~~~~~ style.c:104:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *land[] = {PORTR_K, LANDS_K}; ^~~~~~~ ./kanji.h:38:18: note: expanded from macro 'LANDS_K' #define LANDS_K "֤" ^~~~~~~~~~~~~~~~ style.c:105:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *font[] = {MINCH_K, GOTH_K, RGOTH_K}; ^~~~~~~ ./kanji.h:39:18: note: expanded from macro 'MINCH_K' #define MINCH_K "ī" ^~~~~~~~ style.c:105:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *font[] = {MINCH_K, GOTH_K, RGOTH_K}; ^~~~~~ ./kanji.h:40:17: note: expanded from macro 'GOTH_K' #define GOTH_K "å" ^~~~~~~~~~~~~~~~~~~~ ~~~~ style.c:105:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *font[] = {MINCH_K, GOTH_K, RGOTH_K}; ^~~~~~~ ./kanji.h:41:18: note: expanded from macro 'RGOTH_K' #define RGOTH_K "ݥå" ^~~~ ~~~~~~~~~~~~~~~~ ~~~~ style.c:107:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *vert[] = {HORIZ_K, VERTI_K}; ^~~~~~~ ./kanji.h:42:18: note: expanded from macro 'HORIZ_K' #define HORIZ_K "" ^~~~~~~~~~~~~~~~~~~~~~~~ style.c:107:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *vert[] = {HORIZ_K, VERTI_K}; ^~~~~~~ ./kanji.h:43:18: note: expanded from macro 'VERTI_K' #define VERTI_K "Ľ" ^~~~ ~~~~~~~~~~~~ style.c:110:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *cass[] = {AUTO_K, MANU_K, UPPER_K, LOWER_K}; ^~~~~~ ./kanji.h:44:17: note: expanded from macro 'AUTO_K' #define AUTO_K "å(ư)" ^~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ style.c:110:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *cass[] = {AUTO_K, MANU_K, UPPER_K, LOWER_K}; ^~~~~~ ./kanji.h:45:17: note: expanded from macro 'MANU_K' #define MANU_K "" ^~~~ ~~~~~~~~ style.c:110:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *cass[] = {AUTO_K, MANU_K, UPPER_K, LOWER_K}; ^~~~~~~ ./kanji.h:46:18: note: expanded from macro 'UPPER_K' #define UPPER_K "å" ^~~~ ~~~~~~~~~~~~ ~~~~ style.c:110:49: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *cass[] = {AUTO_K, MANU_K, UPPER_K, LOWER_K}; ^~~~~~~ ./kanji.h:47:18: note: expanded from macro 'LOWER_K' #define LOWER_K "å" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ style.c:111:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *knum[] = {NUMER_K, KNUM_K}; ^~~~~~~ ./kanji.h:48:18: note: expanded from macro 'NUMER_K' #define NUMER_K "" ^~~~~~~~~~~~~~~~ style.c:111:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *knum[] = {NUMER_K, KNUM_K}; ^~~~~~ ./kanji.h:49:17: note: expanded from macro 'KNUM_K' #define KNUM_K "" ^~~~~~~~~~~~~~~~~~~~~~~~ style.c:114:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *uplow[] = {NOCHG_K, UPCAS_K, DWCAS_K}; ^~~~~~~ ./kanji.h:50:20: note: expanded from macro 'NOCHG_K' #define NOCHG_K "̵Ѵ" ^~~~ ~~~~ style.c:114:34: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *uplow[] = {NOCHG_K, UPCAS_K, DWCAS_K}; ^~~~~~~ ./kanji.h:51:18: note: expanded from macro 'UPCAS_K' #define UPCAS_K "ʸ" ^~~~~~~~ ~~~~~~~~~~~~~~~~ style.c:114:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *uplow[] = {NOCHG_K, UPCAS_K, DWCAS_K}; ^~~~~~~ ./kanji.h:52:18: note: expanded from macro 'DWCAS_K' #define DWCAS_K "ʸ" ^~~~~~~~ ~~~~~~~~~~~~~~~~ style.c:116:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *over[] = {NOTDO_K, REG1_K, REG2_K, PRT1_K, PRT2_K, PRT12_K}; ^~~~~~~ ./kanji.h:28:18: note: expanded from macro 'NOTDO_K' #define NOTDO_K "ʤ" ^~~~~~~~~~~~ ~~~~ style.c:116:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *over[] = {NOTDO_K, REG1_K, REG2_K, PRT1_K, PRT2_K, PRT12_K}; ^~~~~~ ./kanji.h:53:17: note: expanded from macro 'REG1_K' #define REG1_K "Ͽ1" ^~~~~~~~ style.c:116:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *over[] = {NOTDO_K, REG1_K, REG2_K, PRT1_K, PRT2_K, PRT12_K}; ^~~~~~ ./kanji.h:54:17: note: expanded from macro 'REG2_K' #define REG2_K "Ͽ2" ^~~~~~~~ style.c:116:49: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *over[] = {NOTDO_K, REG1_K, REG2_K, PRT1_K, PRT2_K, PRT12_K}; ^~~~~~ ./kanji.h:55:17: note: expanded from macro 'PRT1_K' #define PRT1_K "1" ^~~~~~~~~~~~~~~~ style.c:116:57: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *over[] = {NOTDO_K, REG1_K, REG2_K, PRT1_K, PRT2_K, PRT12_K}; ^~~~~~ ./kanji.h:56:17: note: expanded from macro 'PRT2_K' #define PRT2_K "2" ^~~~~~~~~~~~~~~~ style.c:116:65: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *over[] = {NOTDO_K, REG1_K, REG2_K, PRT1_K, PRT2_K, PRT12_K}; ^~~~~~~ ./kanji.h:57:18: note: expanded from macro 'PRT12_K' #define PRT12_K "1&2" ^~~~~~~~~~~~~~~~ style.c:117:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *outdev[] = {TOPRN_K, TOFIL_K, CONFM_K}; ^~~~~~~ ./kanji.h:58:18: note: expanded from macro 'TOPRN_K' #define TOPRN_K "ץ" ^~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:117:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *outdev[] = {TOPRN_K, TOFIL_K, CONFM_K}; ^~~~~~~ ./kanji.h:59:18: note: expanded from macro 'TOFIL_K' #define TOFIL_K "ե" ^~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:117:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *outdev[] = {TOPRN_K, TOFIL_K, CONFM_K}; ^~~~~~~ ./kanji.h:60:18: note: expanded from macro 'CONFM_K' #define CONFM_K "Ͼǧ" ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:118:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *outindex[] = {OUTD_K, OUTF_K, OUTD_K}; ^~~~~~ ./kanji.h:127:17: note: expanded from macro 'OUTD_K' #define OUTD_K "ϥץ̾" ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:118:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *outindex[] = {OUTD_K, OUTF_K, OUTD_K}; ^~~~~~ ./kanji.h:126:17: note: expanded from macro 'OUTF_K' #define OUTF_K "ϥե̾" ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:118:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *outindex[] = {OUTD_K, OUTF_K, OUTD_K}; ^~~~~~ ./kanji.h:127:17: note: expanded from macro 'OUTD_K' #define OUTD_K "ϥץ̾" ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:120:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *omode[] = {OVWRT_K, APPEN_K}; ^~~~~~~ ./kanji.h:61:18: note: expanded from macro 'OVWRT_K' #define OVWRT_K "" ^~~~~~~~~~~~~~~~~~~~~~~~ style.c:120:34: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *omode[] = {OVWRT_K, APPEN_K}; ^~~~~~~ ./kanji.h:62:18: note: expanded from macro 'APPEN_K' #define APPEN_K "ɲ" ^~~~ ~~~~ style.c:121:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *colindex[] = {BLACK_K, RED_K, GREEN_K, YELOW_K, ^~~~~~~ ./kanji.h:63:18: note: expanded from macro 'BLACK_K' #define BLACK_K "" ^~~~~~~~ style.c:121:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *colindex[] = {BLACK_K, RED_K, GREEN_K, YELOW_K, ^~~~~ ./kanji.h:64:16: note: expanded from macro 'RED_K' #define RED_K "" ^~~~~~~~ style.c:121:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *colindex[] = {BLACK_K, RED_K, GREEN_K, YELOW_K, ^~~~~~~ ./kanji.h:65:18: note: expanded from macro 'GREEN_K' #define GREEN_K "" ^~~~~~~~ style.c:121:53: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *colindex[] = {BLACK_K, RED_K, GREEN_K, YELOW_K, ^~~~~~~ ./kanji.h:66:18: note: expanded from macro 'YELOW_K' #define YELOW_K "" ^~~~~~~~ style.c:122:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] BLUE_K, MAGEN_K, CYAN_K, WHITE_K, GRAY_K, "RGB"}; ^~~~~~ ./kanji.h:67:17: note: expanded from macro 'BLUE_K' #define BLUE_K "" ^~~~~~~~ style.c:122:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] BLUE_K, MAGEN_K, CYAN_K, WHITE_K, GRAY_K, "RGB"}; ^~~~~~~ ./kanji.h:68:18: note: expanded from macro 'MAGEN_K' #define MAGEN_K "" ^~~~~~~~ style.c:122:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] BLUE_K, MAGEN_K, CYAN_K, WHITE_K, GRAY_K, "RGB"}; ^~~~~~ ./kanji.h:69:17: note: expanded from macro 'CYAN_K' #define CYAN_K "" ^~~~~~~~ style.c:122:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] BLUE_K, MAGEN_K, CYAN_K, WHITE_K, GRAY_K, "RGB"}; ^~~~~~~ ./kanji.h:70:18: note: expanded from macro 'WHITE_K' #define WHITE_K "" ^~~~~~~~ style.c:122:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] BLUE_K, MAGEN_K, CYAN_K, WHITE_K, GRAY_K, "RGB"}; ^~~~~~ ./kanji.h:71:17: note: expanded from macro 'GRAY_K' #define GRAY_K "졼" ^~~~~~~~~~~~ style.c:127:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *jcode[] = {OJIS_K, NJIS_K}; ^~~~~~ ./kanji.h:72:17: note: expanded from macro 'OJIS_K' #define OJIS_K "JIS" ^~~~~~~~ style.c:127:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] static char *jcode[] = {OJIS_K, NJIS_K}; ^~~~~~ ./kanji.h:73:17: note: expanded from macro 'NJIS_K' #define NJIS_K "JIS" ^~~~~~~~ style.c:462:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ style.c:473:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ style.c:491:5: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] putterm(l_clear); ^ ./term.h:150:20: note: expanded from macro 'putterm' #define putterm(s) tputs(s, 1, putch3) ^ style.c:627:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[0].x = 2; st[0].y = 4; st[0].name = PSIZE_K; ^~~~~~~ ./kanji.h:74:18: note: expanded from macro 'PSIZE_K' #define PSIZE_K "ѻ極" ^~~~ ~~~~~~~~~~~~~~~~ style.c:628:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[1].x = 50; st[1].y = 6; st[1].name = PWID_K; ^~~~~~ ./kanji.h:75:17: note: expanded from macro 'PWID_K' #define PWID_K "ѻ沣" ^~~~ ~~~~~~~~ style.c:629:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[2].x = 50; st[2].y = 7; st[2].name = PHIGH_K; ^~~~~~~ ./kanji.h:76:18: note: expanded from macro 'PHIGH_K' #define PHIGH_K "ѻ" ^~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:630:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[3].x = 2; st[3].y = 5; st[3].name = PTURN_K; ^~~~~~~ ./kanji.h:77:18: note: expanded from macro 'PTURN_K' #define PTURN_K "ѻ֤" ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:631:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[4].x = 2; st[4].y = 6; st[4].name = COLUM_K; ^~~~~~~ ./kanji.h:78:20: note: expanded from macro 'COLUM_K' #define COLUM_K "ʸ/" ^~~~~~~~~~~~~~~~ ~~~~~~~~ style.c:632:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[5].x = 2; st[5].y = 7; st[5].name = LINE_K; ^~~~~~ ./kanji.h:79:17: note: expanded from macro 'LINE_K' #define LINE_K "Կ/ڡ" ^~~~ ~~~~ ~~~~ ~~~~~~~~~~~~ style.c:633:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[6].x = 2; st[6].y = 8; st[6].name = CWID_K; ^~~~~~ ./kanji.h:80:19: note: expanded from macro 'CWID_K' #define CWID_K "ʸֳ" ^~~~~~~~~~~~~~~~ style.c:634:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[7].x = 2; st[7].y = 9; st[7].name = LHIGH_K; ^~~~~~~ ./kanji.h:81:18: note: expanded from macro 'LHIGH_K' #define LHIGH_K "Դֳ" ^~~~ ~~~~ style.c:635:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[8].x = 2; st[8].y = 10; st[8].name = TMARG_K; ^~~~~~~ ./kanji.h:82:18: note: expanded from macro 'TMARG_K' #define TMARG_K "ޡ" ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:636:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[9].x = 2; st[9].y = 11; st[9].name = BMARG_K; ^~~~~~~ ./kanji.h:83:18: note: expanded from macro 'BMARG_K' #define BMARG_K "ޡ" ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:637:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[10].x = 2; st[10].y = 12; st[10].name = LMARG_K; ^~~~~~~ ./kanji.h:84:18: note: expanded from macro 'LMARG_K' #define LMARG_K "ޡ" ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:638:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[11].x = 2; st[11].y = 13; st[11].name = RMARG_K; ^~~~~~~ ./kanji.h:85:18: note: expanded from macro 'RMARG_K' #define RMARG_K "ޡ" ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:639:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[12].x = 2; st[12].y = 14; st[12].name = TABP_K; ^~~~~~ ./kanji.h:86:17: note: expanded from macro 'TABP_K' #define TABP_K "ְ" ^~~~~~~~~~~~~~~~~~~~~~~~ style.c:640:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[13].x = 2; st[13].y = 15; st[13].name = LSIZE_K; ^~~~~~~ ./kanji.h:87:20: note: expanded from macro 'LSIZE_K' #define LSIZE_K "ʸ" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:641:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[14].x = 2; st[14].y = 16; st[14].name = FPATT_K; ^~~~~~~ ./kanji.h:88:18: note: expanded from macro 'FPATT_K' #define FPATT_K "" ^~~~~~~~~~~~~~~~ style.c:642:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[15].x = 2; st[15].y = 17; st[15].name = KMODE_K; ^~~~~~~ ./kanji.h:89:18: note: expanded from macro 'KMODE_K' #define KMODE_K "" ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ style.c:643:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[16].x = 2; st[16].y = 18; st[16].name = NSTEP_K; ^~~~~~~ ./kanji.h:90:18: note: expanded from macro 'NSTEP_K' #define NSTEP_K "Ȱ" ^~~~~~~~~~~~ ~~~~~~~~~~~~ style.c:644:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[17].x = 2; st[17].y = 19; st[17].name = STCOL_K; ^~~~~~~ ./kanji.h:91:18: note: expanded from macro 'STCOL_K' #define STCOL_K "ʸ" ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ style.c:645:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[18].x = 32; st[18].y = 19; st[18].name = STWID_K; ^~~~~~~ ./kanji.h:92:18: note: expanded from macro 'STWID_K' #define STWID_K "ʴ" ^~~~ ~~~~ style.c:646:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[19].x = 50; st[19].y = 9; st[19].name = PRWID_K; ^~~~~~~ ./kanji.h:93:18: note: expanded from macro 'PRWID_K' #define PRWID_K "" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:647:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[20].x = 50; st[20].y = 10; st[20].name = PRHIG_K; ^~~~~~~ ./kanji.h:94:18: note: expanded from macro 'PRHIG_K' #define PRHIG_K "" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:648:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[21].x = 50; st[21].y = 11; st[21].name = ZCWID_K; ^~~~~~~ ./kanji.h:95:18: note: expanded from macro 'ZCWID_K' #define ZCWID_K "ѻ" ^~~~~~~~~~~~ ~~~~~~~~~~~~ style.c:649:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[22].x = 50; st[22].y = 12; st[22].name = LHIGH_K; ^~~~~~~ ./kanji.h:81:18: note: expanded from macro 'LHIGH_K' #define LHIGH_K "Դֳ" ^~~~ ~~~~ style.c:655:58: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[19].unit = st[20].unit = st[21].unit = st[22].unit = MILLI_K; ^~~~~~~ ./kanji.h:96:18: note: expanded from macro 'MILLI_K' #define MILLI_K "ߥ" ^~~~ ~~~~ style.c:656:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[4].unit = st[17].unit = CHARS_K; ^~~~~~~ ./kanji.h:97:18: note: expanded from macro 'CHARS_K' #define CHARS_K "" ^~~~~~~~ style.c:657:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[5].unit = LINES_K; ^~~~~~~ ./kanji.h:98:18: note: expanded from macro 'LINES_K' #define LINES_K "" ^~~~~~~~ style.c:658:42: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[6].unit = st[7].unit = st[13].unit = DOTS_K; ^~~~~~ ./kanji.h:99:17: note: expanded from macro 'DOTS_K' #define DOTS_K "ɥå" ^~~~ ~~~~ style.c:659:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[12].unit = PDOT_K; ^~~~~~ ./kanji.h:100:17: note: expanded from macro 'PDOT_K' #define PDOT_K "" ^~~~~~~~~~~~~~~~ style.c:660:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[16].unit = STEPS_K; ^~~~~~~ ./kanji.h:101:18: note: expanded from macro 'STEPS_K' #define STEPS_K "" ^~~~~~~~ style.c:772:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[0].x = 2; st[0].y = 4; st[0].name = SHEAD_K; ^~~~~~~ ./kanji.h:102:18: note: expanded from macro 'SHEAD_K' #define SHEAD_K "إå" ^~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:773:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[1].x = 2; st[1].y = 6; st[1].name = SFOOT_K; ^~~~~~~ ./kanji.h:103:18: note: expanded from macro 'SFOOT_K' #define SFOOT_K "եå" ^~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:774:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[2].x = 2; st[2].y = 10; st[2].name = PHEAD_K; ^~~~~~~ ./kanji.h:104:18: note: expanded from macro 'PHEAD_K' #define PHEAD_K "إåΰ" ^~~~ ~~~~~~~~ ~~~~~~~~~~~~ style.c:775:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[3].x = 2; st[3].y = 11; st[3].name = MHEAD_K; ^~~~~~~ ./kanji.h:105:18: note: expanded from macro 'MHEAD_K' #define MHEAD_K "إåޡ" ^~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:776:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[4].x = 2; st[4].y = 12; st[4].name = PFOOT_K; ^~~~~~~ ./kanji.h:106:18: note: expanded from macro 'PFOOT_K' #define PFOOT_K "եåΰ" ^~~~ ~~~~~~~~ ~~~~~~~~~~~~ style.c:777:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[5].x = 2; st[5].y = 13; st[5].name = MFOOT_K; ^~~~~~~ ./kanji.h:107:18: note: expanded from macro 'MFOOT_K' #define MFOOT_K "եåޡ" ^~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:778:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[6].x = 2; st[6].y = 15; st[6].name = ZEROS_K; ^~~~~~~ ./kanji.h:108:18: note: expanded from macro 'ZEROS_K' #define ZEROS_K "ץ쥹" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:779:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[7].x = 2; st[7].y = 16; st[7].name = VNUM_K; ^~~~~~ ./kanji.h:109:17: note: expanded from macro 'VNUM_K' #define VNUM_K "Ľο" ^~~~ ~~~~~~~~ ~~~~~~~~~~~~ style.c:780:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[8].x = 2; st[8].y = 17; st[8].name = FCHG_K; ^~~~~~ ./kanji.h:110:17: note: expanded from macro 'FCHG_K' #define FCHG_K "ե̾Ѵ" ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ style.c:784:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[3].unit = st[5].unit = MILLI_K; ^~~~~~~ ./kanji.h:96:18: note: expanded from macro 'MILLI_K' #define MILLI_K "ߥ" ^~~~ ~~~~ style.c:800:33: warning: passing 'u_char[121]' (aka 'unsigned char[121]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (i = 0; i < 2; i++) strcpy(dupl2[i], (char *)(st[i].obj)); ^~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ style.c:846:33: warning: passing 'u_char[121]' (aka 'unsigned char[121]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy((char *)(st[i].obj), dupl2[i]); ^~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ style.c:901:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[0].x = 2; st[0].y = 4; st[0].name = STYN_K; ^~~~~~ ./kanji.h:25:17: note: expanded from macro 'STYN_K' #define STYN_K "̾" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:902:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[1].x = 2; st[1].y = 6; st[1].name = LMODE_K; ^~~~~~~ ./kanji.h:111:22: note: expanded from macro 'LMODE_K' #define LMODE_K "LIPS" ^~~~ ~~~~~~~~ style.c:903:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[2].x = 2; st[2].y = 7; st[2].name = PAPER_K; ^~~~~~~ ./kanji.h:112:18: note: expanded from macro 'PAPER_K' #define PAPER_K "ˡ" ^~~~~~~~~~~~~~~~~~~~~~~~ style.c:904:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[3].x = 2; st[3].y = 8; st[3].name = OVRAY_K; ^~~~~~~ ./kanji.h:113:18: note: expanded from macro 'OVRAY_K' #define OVRAY_K "Х쥤" ^~~~~~~~~~~~~~~~~~~~ style.c:905:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[4].x = 2; st[4].y = 9; st[4].name = FINE_K; ^~~~~~ ./kanji.h:121:19: note: expanded from macro 'FINE_K' #define FINE_K "Ķ" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:906:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[5].x = 2; st[5].y = 10; st[5].name = DOUBL_K; ^~~~~~~ ./kanji.h:122:20: note: expanded from macro 'DOUBL_K' #define DOUBL_K "ξ̰" ^~~~~~~~~~~~~~~~ style.c:907:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[6].x = 2; st[6].y = 11; st[6].name = COLOR_K; ^~~~~~~ ./kanji.h:123:18: note: expanded from macro 'COLOR_K' #define COLOR_K "" ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ style.c:908:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[7].x = 2; st[7].y = 12; st[7].name = DEFCL_K; ^~~~~~~ ./kanji.h:124:18: note: expanded from macro 'DEFCL_K' #define DEFCL_K "ܿ" ^~~~~~~~~~~~~~~~ style.c:913:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[12].x = 2; st[12].y = 14; st[12].name = CONTR_K; ^~~~~~~ ./kanji.h:114:18: note: expanded from macro 'CONTR_K' #define CONTR_K "" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:914:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[13].x = 2; st[13].y = 15; st[13].name = CTPRE_K; ^~~~~~~ ./kanji.h:115:18: note: expanded from macro 'CTPRE_K' #define CTPRE_K "Ƭ" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ style.c:915:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[14].x = 2; st[14].y = 17; st[14].name = CONC_K; ^~~~~~ ./kanji.h:116:17: note: expanded from macro 'CONC_K' #define CONC_K "Ϣ" ^~~~~~~~~~~~~~~~ ~~~~~~~~ style.c:916:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[15].x = 2; st[15].y = 18; st[15].name = ISKIN_K; ^~~~~~~ ./kanji.h:117:18: note: expanded from macro 'ISKIN_K' #define ISKIN_K "§" ^~~~~~~~ ~~~~~~~~~~~~~~~~ style.c:917:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[16].x = 2; st[16].y = 19; st[16].name = KCODE_K; ^~~~~~~ ./kanji.h:118:18: note: expanded from macro 'KCODE_K' #define KCODE_K "" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:918:47: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[17].x = 40; st[17].y = 18; st[17].name = JCODE_K; ^~~~~~~ ./kanji.h:119:21: note: expanded from macro 'JCODE_K' #define JCODE_K "JIS" ^~~~~~~~~~~~~~~~~~~~~~~~ style.c:919:47: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[18].x = 40; st[18].y = 19; st[18].name = ACODE_K; ^~~~~~~ ./kanji.h:120:23: note: expanded from macro 'ACODE_K' #define ACODE_K "ASCII" ^~~~~~~~~~~~~~~~~~~~~~~~ style.c:1065:29: warning: passing 'u_char[17]' (aka 'unsigned char[17]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (outputprinter) strcpy(outputprn, outputprinter); ^~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ style.c:1079:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[0].x = 2; st[0].y = 4; st[0].name = OUTP_K; ^~~~~~ ./kanji.h:125:17: note: expanded from macro 'OUTP_K' #define OUTP_K "" ^~~~~~~~~~~~~~~~~~~~~~~~ style.c:1081:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[2].x = 2; st[2].y = 6; st[2].name = OUTM_K; ^~~~~~ ./kanji.h:128:17: note: expanded from macro 'OUTM_K' #define OUTM_K "" ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ style.c:1082:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[3].x = 2; st[3].y = 8; st[3].name = PNUM_K; ^~~~~~ ./kanji.h:129:17: note: expanded from macro 'PNUM_K' #define PNUM_K "" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:1083:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[4].x = 2; st[4].y = 9; st[4].name = SPAGE_K; ^~~~~~~ ./kanji.h:130:18: note: expanded from macro 'SPAGE_K' #define SPAGE_K "" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:1084:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[5].x = 2; st[5].y = 10; st[5].name = EPAGE_K; ^~~~~~~ ./kanji.h:131:18: note: expanded from macro 'EPAGE_K' #define EPAGE_K "λ" ^~~~~~~~~~~~~~~~~~~~~~~~ style.c:1085:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[6].x = 2; st[6].y = 11; st[6].name = FPAGE_K; ^~~~~~~ ./kanji.h:132:18: note: expanded from macro 'FPAGE_K' #define FPAGE_K "ڡ" ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ style.c:1088:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[3].unit = COPYS_K; ^~~~~~~ ./kanji.h:133:18: note: expanded from macro 'COPYS_K' #define COPYS_K "" ^~~~~~~~ style.c:1089:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] st[4].unit = st[5].unit = st[6].unit = PAGES_K; ^~~~~~~ ./kanji.h:134:18: note: expanded from macro 'PAGES_K' #define PAGES_K "ڡ" ^~~~ ~~~~~~~~~~~~ style.c:1099:43: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (i = 0; i < 2; i++) strcpy(dupl2[i], outf[i]); ^~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ style.c:1161:35: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (i = 0; i < 2; i++) strcpy(outf[i], dupl2[i]); ^~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ style.c:1188:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] else if (!yesno(PRTOK_K)) fp = NULL; ^~~~~~~ ./kanji.h:135:18: note: expanded from macro 'PRTOK_K' #define PRTOK_K "ƤǤ" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ style.c:1190:21: warning: passing 'u_char[17]' (aka 'unsigned char[17]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(fp = fopen(outputfile, ^~~~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ style.c:1192:17: warning: passing 'u_char[17]' (aka 'unsigned char[17]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] warning(-1, outputfile); ^~~~~~~~~~ style.c:209:37: note: passing argument to parameter here extern int warning __P_((int, char *)); ^ style.c:1215:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(headerstr) <= MAXHEADLEN) ^~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ style.c:1216:11: warning: passing 'u_char[121]' (aka 'unsigned char[121]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(headerbody, headerstr); ^~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ style.c:1216:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(headerbody, headerstr); ^~~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ style.c:1218:12: warning: passing 'u_char[121]' (aka 'unsigned char[121]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(headerbody, headerstr, MAXHEADLEN); ^~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ style.c:1218:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(headerbody, headerstr, MAXHEADLEN); ^~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ style.c:1229:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(footerstr) <= MAXHEADLEN) ^~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ style.c:1230:11: warning: passing 'u_char[121]' (aka 'unsigned char[121]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(footerbody, footerstr); ^~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ style.c:1230:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(footerbody, footerstr); ^~~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ style.c:1232:12: warning: passing 'u_char[121]' (aka 'unsigned char[121]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(footerbody, footerstr, MAXHEADLEN); ^~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ style.c:1232:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(footerbody, footerstr, MAXHEADLEN); ^~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ style.c:1244:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(styletitle) <= MAXHEADLEN) ^~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ style.c:1245:11: warning: passing 'u_char[61]' (aka 'unsigned char[61]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(styletitlebody, styletitle); ^~~~~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ style.c:1245:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(styletitlebody, styletitle); ^~~~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ style.c:1247:12: warning: passing 'u_char[61]' (aka 'unsigned char[61]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(styletitlebody, styletitle, MAXHEADLEN); ^~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ style.c:1247:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(styletitlebody, styletitle, MAXHEADLEN); ^~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ style.c:1247:4: warning: 'strncpy' size argument is too large; destination buffer has size 61, but size argument is 120 [-Wfortify-source] strncpy(styletitlebody, styletitle, MAXHEADLEN); ^ style.c:1248:4: warning: array index 120 is past the end of the array (which contains 61 elements) [-Warray-bounds] styletitlebody[MAXHEADLEN] = '\0'; ^ ~~~~~~~~~~ style.c:83:1: note: array 'styletitlebody' declared here static u_char styletitlebody[MAXTITLELEN + 1] = ""; ^ 140 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DFREEBSD -o pols pols.o term.o input.o file.o style.o output.o print.o control.o args.o var.o -fstack-protector-strong -lncurses ./kanjicnv -e -c lipsf.man lipsf.1 ./kanjicnv -e -c pols.man pols.1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ja-lipsf-2.00_2 ===> Generating temporary packing list /usr/bin/make SHELL=/bin/sh -f Makefile.tmp install install -s -m 555 lipsf /wrkdirs/usr/ports/japanese/lipsf/work/stage/usr/local/bin install -s -m 555 pols /wrkdirs/usr/ports/japanese/lipsf/work/stage/usr/local/bin install -m 444 lipsf.1 /wrkdirs/usr/ports/japanese/lipsf/work/stage/usr/local/share/man/ja/man1/lipsf.1 install -m 444 pols.1 /wrkdirs/usr/ports/japanese/lipsf/work/stage/usr/local/share/man/ja/man1/pols.1 install -m 0644 /wrkdirs/usr/ports/japanese/lipsf/work/lipsf-200/HISTORY /wrkdirs/usr/ports/japanese/lipsf/work/lipsf-200/Install /wrkdirs/usr/ports/japanese/lipsf/work/lipsf-200/README /wrkdirs/usr/ports/japanese/lipsf/work/lipsf-200/TECHKNOW /wrkdirs/usr/ports/japanese/lipsf/work/stage/usr/local/share/doc/lipsf ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-04T15:51:50+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=107394c6f5' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ja-lipsf-2.00_2 ===> Building ja-lipsf-2.00_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ja-lipsf-2.00_2 build of japanese/lipsf | ja-lipsf-2.00_2 ended at Thu Apr 4 16:51:58 BST 2024 build time: 00:00:09