=> Building japanese/namazu Started : Friday, 8 MAR 2019 at 14:08:40 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/japanese/namazu XDG_CONFIG_HOME=/construction/japanese/namazu HOME=/construction/japanese/namazu TMPDIR="/tmp" PATH=/construction/japanese/namazu/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/japanese/namazu XDG_CONFIG_HOME=/construction/japanese/namazu HOME=/construction/japanese/namazu TMPDIR="/tmp" PATH=/construction/japanese/namazu/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" 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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/japanese/namazu/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.28.1 PERL_VER=5.28 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.28 PROFILE="@comment " DOCSDIR="share/doc/namazu" EXAMPLESDIR="share/examples/namazu" DATADIR="share/namazu" WWWDIR="www/namazu" ETCDIR="etc/namazu" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/namazu DOCSDIR=/usr/local/share/doc/namazu EXAMPLESDIR=/usr/local/share/examples/namazu WWWDIR=/usr/local/www/namazu ETCDIR=/usr/local/etc/namazu -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The namazu 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> ja-namazu-1.3.0.11_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> ja-namazu-1.3.0.11_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-namazu-1.3.0.11_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The namazu 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by ja-namazu-1.3.0.11_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The namazu 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by ja-namazu-1.3.0.11_1 for building => SHA256 Checksum OK for namazu-1.3.0.11.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The namazu 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by ja-namazu-1.3.0.11_1 for building ===> Extracting for ja-namazu-1.3.0.11_1 ===> NOTICE: The namazu 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by ja-namazu-1.3.0.11_1 for building => SHA256 Checksum OK for namazu-1.3.0.11.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for ja-namazu-1.3.0.11_1 ===> Applying ports patches for ja-namazu-1.3.0.11_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> ja-namazu-1.3.0.11_1 depends on executable: kakasi - not found ===> Installing existing package /packages/All/ja-kakasi-2.3.5_3.txz Installing ja-kakasi-2.3.5_3... Extracting ja-kakasi-2.3.5_3: .......... done ===> ja-namazu-1.3.0.11_1 depends on executable: kakasi - found ===> Returning to build of ja-namazu-1.3.0.11_1 ===> ja-namazu-1.3.0.11_1 depends on executable: nkf - not found ===> Installing existing package /packages/All/ja-nkf-2.1.4,1.txz Installing ja-nkf-2.1.4,1... Extracting ja-nkf-2.1.4,1: ...... done ===> ja-namazu-1.3.0.11_1 depends on executable: nkf - found ===> Returning to build of ja-namazu-1.3.0.11_1 ===> ja-namazu-1.3.0.11_1 depends on package: perl5>=5.28.r1<5.29 - not found ===> Installing existing package /packages/All/perl5-5.28.1.txz Installing perl5-5.28.1... Extracting perl5-5.28.1: .......... done Message from perl5-5.28.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> ja-namazu-1.3.0.11_1 depends on package: perl5>=5.28.r1<5.29 - found ===> Returning to build of ja-namazu-1.3.0.11_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for ja-namazu-1.3.0.11_1 loading site script /xports/Templates/config.site creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for main in -lm... yes checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking for working const... yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for working alloca.h... (cached) no checking for alloca... yes checking for 8-bit clean memcmp... yes checking for re_comp... no checking for memmove... (cached) yes checking for perl5... (cached) /usr/local/bin/perl checking for nkf... /usr/local/bin/nkf checking for kakasi... /usr/local/bin/kakasi checking for chasen... not_found checking for zcat... /usr/bin/zcat checking for jgroff... no checking for groff... /usr/bin/groff updating cache ./config.cache creating ./config.status creating Makefile -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for ja-namazu-1.3.0.11_1 --- mknmz --- --- wdnmz --- --- rvnmz --- --- clnmz --- --- vfnmz --- --- mknmz --- rm -f mknmz --- wdnmz --- rm -f wdnmz --- rvnmz --- rm -f rvnmz --- clnmz --- rm -f clnmz --- mknmz --- sed -e 's!%OPT_PATH_PERL%!/usr/local/bin/perl!g' -e 's!%OPT_SYSTEM%!UNIX!g' -e 's!%OPT_PATH_NKF%!/usr/local/bin/nkf!g' -e 's!%OPT_PATH_KAKASI%!/usr/local/bin/kakasi!g' -e 's!%OPT_PATH_CHASEN%!/usr/local/bin/chasen!g' -e 's!%OPT_HELPER_ZCAT%!/usr/bin/zcat!g' -e 's!%OPT_HELPER_MAN%!/usr/bin/groff -man -Tnippon!g' -e 's!%OPT_WAKATI_DEFAULT%!KAKASI!g' -e 's!%OPT_ADMIN_EMAIL%!webmaster@foobar.jp!g' -e 's!%OPT_ADMIN_NAME%!!g' -e 's!%OPT_URL_CGIBIN%!/cgi-bin!g' -e 's!%OPT_TARGET_FILE%!.*\\.html?|.*\\.txt|.*_default!g' -e 's!%OPT_DENY_FILE%!.*\\.gif|.*\\.(jpg|jpeg)|.*\\.tar\\.gz|core|.*\\.bak|.*~|\\..*|\\x23.*|NMZ\\..*!g' -e 's!%OPT_DEFAULT_FILE%!_default!g' -e 's!%OPT_ON_MEMORY_MAX%!5000000!g' -e 's!%OPT_FILE_SIZE_LIMIT%!600000!g' -e 's!%OPT_LIBDIR%!/usr/local/namazu/lib!g' -e 's!%OPT_LANGUAGE%!ja!g' -e 's!%OPT_HTDOCUMENT_ROOT%!/usr/local/apache/share/htdocs!g' -e 's!%OPT_HTDOCUMENT_ROOT_URL_PREFIX%!http://www.foo.domain.jp/!g' -e 's!%OPT_ROBOTS_EXCLUDE_URLS%!''!g' mknmz.pl > mknmz --- vfnmz --- rm -f vfnmz --- rvnmz --- sed -e 's!%OPT_PATH_PERL%!/usr/local/bin/perl!g' -e 's!%OPT_SYSTEM%!UNIX!g' -e 's!%OPT_PATH_NKF%!/usr/local/bin/nkf!g' rvnmz.pl > rvnmz --- wdnmz --- sed -e 's!%OPT_PATH_PERL%!/usr/local/bin/perl!g' -e 's!%OPT_SYSTEM%!UNIX!g' -e 's!%OPT_PATH_NKF%!/usr/local/bin/nkf!g' -e 's!%OPT_LANGUAGE%!ja!g' wdnmz.pl > wdnmz --- clnmz --- sed -e 's!%OPT_PATH_PERL%!/usr/local/bin/perl!g' -e 's!%OPT_SYSTEM%!UNIX!g' -e 's!%OPT_PATH_NKF%!/usr/local/bin/nkf!g' clnmz.pl > clnmz --- vfnmz --- sed -e 's!%OPT_PATH_PERL%!/usr/local/bin/perl!g' -e 's!%OPT_SYSTEM%!UNIX!g' -e 's!%OPT_PATH_NKF%!/usr/local/bin/nkf!g' vfnmz.pl > vfnmz --- wdnmz --- chmod +x wdnmz --- vfnmz --- chmod +x vfnmz --- mailutime --- --- clnmz --- chmod +x clnmz --- mailutime --- rm -f mailutime --- rvnmz --- chmod +x rvnmz --- gcnmz --- --- mailutime --- sed -e 's!%OPT_PATH_PERL%!/usr/local/bin/perl!g' mailutime.pl > mailutime --- gtnmz --- --- namazu.o --- --- gcnmz --- rm -f gcnmz --- gtnmz --- rm -f gtnmz --- gcnmz --- sed -e 's!%OPT_PATH_PERL%!/usr/local/bin/perl!g' gcnmz.pl > gcnmz --- namazu.o --- cc -O2 -DINDEXDIR=\"/usr/local/namazu/index\" -DSCORING=TFIDF -DUNIX -DOPT_NAMAZU_CONF=\"/usr/local/namazu/lib/namazu.conf\" -DLANGUAGE=\"ja\" -DMSIE4MACFIX -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DHAVE_MEMMOVE=1 -Wall -c namazu.c --- gtnmz --- sed -e 's!%OPT_PATH_PERL%!/usr/local/bin/perl!g' gtnmz.pl > gtnmz --- mailutime --- chmod +x mailutime --- gcnmz --- chmod +x gcnmz --- codeconv.o --- --- gtnmz --- chmod +x gtnmz --- codeconv.o --- cc -O2 -DINDEXDIR=\"/usr/local/namazu/index\" -DSCORING=TFIDF -DUNIX -DOPT_NAMAZU_CONF=\"/usr/local/namazu/lib/namazu.conf\" -DLANGUAGE=\"ja\" -DMSIE4MACFIX -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DHAVE_MEMMOVE=1 -Wall -c codeconv.c --- messages.o --- --- parser.o --- --- messages.o --- cc -O2 -DINDEXDIR=\"/usr/local/namazu/index\" -DSCORING=TFIDF -DUNIX -DOPT_NAMAZU_CONF=\"/usr/local/namazu/lib/namazu.conf\" -DLANGUAGE=\"ja\" -DMSIE4MACFIX -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DHAVE_MEMMOVE=1 -Wall -c messages.c --- parser.o --- cc -O2 -DINDEXDIR=\"/usr/local/namazu/index\" -DSCORING=TFIDF -DUNIX -DOPT_NAMAZU_CONF=\"/usr/local/namazu/lib/namazu.conf\" -DLANGUAGE=\"ja\" -DMSIE4MACFIX -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DHAVE_MEMMOVE=1 -Wall -c parser.c --- mknmz --- chmod +x mknmz --- cgi.o --- cc -O2 -DINDEXDIR=\"/usr/local/namazu/index\" -DSCORING=TFIDF -DUNIX -DOPT_NAMAZU_CONF=\"/usr/local/namazu/lib/namazu.conf\" -DLANGUAGE=\"ja\" -DMSIE4MACFIX -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DHAVE_MEMMOVE=1 -Wall -c cgi.c --- messages.o --- messages.c:40:18: warning: pointer targets in initialization of 'uchar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] uchar *VERSION = "1.3.0.11"; ^~~~~~~~~~ messages.c:42:1: warning: pointer targets in initialization of 'uchar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] " Copyright (C) 1997-1999 Satoru Takabayashi All rights reserved."; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from messages.c:29: messages.c: In function 'initialize_message': --- namazu.o --- namazu.c: In function 'error': --- messages.o --- messages.c:60:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (is_lang_ja(Lang)) { ^~~~ namazu.h:27:32: note: in definition of macro 'is_lang_ja' #define is_lang_ja(a) (!strcmp(a,"ja")) ^ --- namazu.o --- namazu.c:49:8: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(MSG_MIME_HEADER, output); ^~~~~~~~~~~~~~~ --- messages.o --- In file included from messages.c:28: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- namazu.o --- In file included from namazu.c:28: /usr/include/stdio.h:202:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int fputs(const char * __restrict, FILE * __restrict); ^~~~~ --- messages.o --- messages.c:64:25: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_MIME_HEADER = "Content-type: text/html; charset=ISO-2022-JP\r\n\r\n"; ^ --- namazu.o --- namazu.c: In function 'cat': namazu.c:61:21: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if ((fp = fopen(fname, "rb"))) { ^~~~~ --- messages.o --- messages.c:67:17: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_USAGE = "%s\n\ ^ --- namazu.o --- In file included from namazu.c:28: /usr/include/stdio.h:198:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} FILE *fopen(const char * __restrict, const char * __restrict); ^~~~~ --- messages.o --- messages.c:92:26: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_TOO_LONG_KEY = ^ messages.c:94:30: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_TOO_MANY_KEYITEM = ^ --- namazu.o --- namazu.c:62:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(buf, BUFSIZE, fp)) ^~~ --- messages.o --- messages.c:96:35: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_QUERY_STRING_TOO_LONG = "CGIのクエリーが長すぎます"; ^ --- namazu.o --- In file included from namazu.c:28: /usr/include/stdio.h:197:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *fgets(char * __restrict, int, FILE * __restrict); ^~~~~ namazu.c:63:12: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(buf, stdout); ^~~ --- messages.o --- messages.c:97:27: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_INVALID_QUERY = ^ --- namazu.o --- In file included from namazu.c:28: /usr/include/stdio.h:202:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int fputs(const char * __restrict, FILE * __restrict); ^~~~~ --- messages.o --- messages.c:99:27: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_RESULT_HEADER = "\t
検索式にマッチする文書はありませんでした。
\n"; ^ messages.c:101:19: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_HIT_1 = "\t検索式にマッチする "; ^ messages.c:102:19: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_HIT_2 = "\t 個の文書が見つかりました。
\n\n"; ^ --- namazu.o --- In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:73:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(buf, MSG_USAGE); ^~~~~~~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ --- messages.o --- messages.c:103:26: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_TOO_MUCH_HIT = " (ヒット数が多すぎるので無視しました)"; ^ messages.c:104:28: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_TOO_MUCH_MATCH = " (マッチする単語が多すぎるので無視しました)"; ^ messages.c:105:31: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_CANNOT_OPEN_INDEX = " (インデックスが開けませんでした)\n"; ^ --- namazu.o --- namazu.c:77:21: warning: pointer targets in passing argument 2 of 'fprintf' differ in signedness [-Wpointer-sign] fprintf(stderr, buf, COPYRIGHT, VERSION); ^~~ In file included from namazu.c:28: /usr/include/stdio.h:199:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int fprintf(FILE * __restrict, const char * __restrict, ...) ^~~~~~~ namazu.c: In function 'set_redirect_stdout_to_file': namazu.c:87:26: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if (-1 == (fd = open(fname, O_CREAT | O_TRUNC | O_WRONLY, 00600))) ^~~~~ --- parser.o --- parser.c: In function 'ismetastring': --- messages.o --- messages.c:106:37: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_CANNOT_OPEN_REGEX_INDEX = " (正規表現用インデックスが開けませんでした)"; ^ --- parser.o --- parser.c:57:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if ((!strcmp(c, AND_STRING)) || ^ --- namazu.o --- In file included from namazu.c:31: /usr/include/fcntl.h:315:5: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int open(const char *, int, ...); ^~~~ --- messages.o --- messages.c:107:37: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_CANNOT_OPEN_FIELD_INDEX = " (フィールド検索用インデックスが開けませんでした)"; ^ messages.c:108:38: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_CANNOT_OPEN_PHRASE_INDEX = " (フレーズ検索用インデックスが開けませんでした)"; ^ --- parser.o --- In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:109:28: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_INDEXDIR_ERROR = "INDEXDIR の設定を確認してください\n"; ^ --- parser.o --- parser.c:58:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (!strcmp(c, AND_STRING_ALT)) || ^ --- messages.o --- messages.c:110:30: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_REFERENCE_HEADER = "\t参考ヒット数: "; ^ --- parser.o --- In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:111:29: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_INVALID_DB_NAME = "不正な dbname の指定です"; ^ --- parser.o --- parser.c:59:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (!strcmp(c, OR_STRING)) || ^ In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:116:25: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_MIME_HEADER = "Content-type: text/html\r\n\r\n"; ^ --- parser.o --- parser.c:60:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (!strcmp(c, OR_STRING_ALT)) || ^ In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:119:19: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_USAGE = "%s\n\ ^ --- namazu.o --- namazu.c: In function 'get_commandline_opt': --- parser.o --- parser.c:61:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (!strcmp(c, NOT_STRING)) || ^ In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:142:26: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_TOO_LONG_KEY = ^ --- namazu.o --- namazu.c:107:43: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] HListMax = atoi(av[++i]); ~~^~~~~ --- messages.o --- messages.c:144:30: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_TOO_MANY_KEYITEM = ^ --- parser.o --- parser.c:62:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (!strcmp(c, NOT_STRING_ALT)) || ^ In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:146:35: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_QUERY_STRING_TOO_LONG = "Too long CGI query length"; ^ --- namazu.o --- In file included from namazu.c:29: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int atoi(const char *); ^~~~ --- parser.o --- parser.c:63:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (!strcmp(c, LP_STRING)) || ^ In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ parser.c:64:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (!strcmp(c, RP_STRING))) ^ In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:147:27: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_INVALID_QUERY = ^ messages.c:149:27: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_RESULT_HEADER = "\tNo match.
\n"; ^ messages.c:151:19: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_HIT_1 = "\tTotal "; ^ messages.c:152:19: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_HIT_2 = "\t documents match your query.
\n\n"; ^ messages.c:153:26: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_TOO_MUCH_HIT = " (Too many pages. Ignored.)"; ^ messages.c:154:28: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_TOO_MUCH_MATCH = " (Too many words. Ignored.)"; ^ --- parser.o --- parser.c: In function 'factor': parser.c:79:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(KeyItem[Cp], LP_STRING)) { ~~~~~~~^~~~ --- messages.o --- messages.c:155:31: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_CANNOT_OPEN_INDEX = " (cannot open index)\n"; ^ --- namazu.o --- namazu.c:165:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(NAMAZURC, av[++i]); ^~~~~~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:165:44: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(NAMAZURC, av[++i]); ~~^~~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ --- parser.o --- In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ parser.c:86:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(KeyItem[Cp], RP_STRING)) ~~~~~~~^~~~ --- messages.o --- messages.c:156:37: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_CANNOT_OPEN_FIELD_INDEX = " (cannot open field index)"; ^ messages.c:157:37: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_CANNOT_OPEN_REGEX_INDEX = " (cannot open regex index)"; ^ messages.c:158:38: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_CANNOT_OPEN_PHRASE_INDEX = " (cannot open phrase index)"; ^ messages.c:159:28: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_INDEXDIR_ERROR = ^ --- namazu.o --- namazu.c:170:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(Lang, av[i + 1], 2); ^~~~ In file included from namazu.c:33: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ namazu.c:170:41: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(Lang, av[i + 1], 2); ~~^~~~~~~ In file included from namazu.c:33: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ --- parser.o --- In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:161:30: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_REFERENCE_HEADER = "Word count: "; ^ --- namazu.o --- namazu.c:181:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(av[i + 1], "SIMPLE")) ~~^~~~~~~ In file included from namazu.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:162:29: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] MSG_INVALID_DB_NAME = "Invalid dbname."; ^ --- namazu.o --- namazu.c:183:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(av[i + 1], "TFIDF")) ~~^~~~~~~ In file included from namazu.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:164:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(HEADERFILE, "NMZ.head."); ^~~~~~~~~~ In file included from messages.c:28: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ messages.c:165:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(FOOTERFILE, "NMZ.foot."); ^~~~~~~~~~ In file included from messages.c:28: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ --- parser.o --- parser.c: In function 'andop': --- messages.o --- messages.c:166:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(BODYMSGFILE, "NMZ.body."); ^~~~~~~~~~~ In file included from messages.c:28: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ --- parser.o --- parser.c:111:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(KeyItem[Cp], AND_STRING) || ~~~~~~~^~~~ --- namazu.o --- namazu.c: In function 'pathcat': namazu.c:215:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i = strlen(name) - 1; i >= 0; i--) { ^~~~ In file included from namazu.c:33: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ --- parser.o --- In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:167:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(HEADERFILE, Lang); ^~~~~~~~~~ In file included from messages.c:28: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ --- parser.o --- parser.c:112:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(KeyItem[Cp], AND_STRING_ALT)) { ~~~~~~~^~~~ In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- messages.c:167:24: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(HEADERFILE, Lang); ^~~~ In file included from messages.c:28: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ --- namazu.o --- namazu.c:217:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(name, name + i + 1); ^~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ --- parser.o --- parser.c:116:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(KeyItem[Cp], NOT_STRING) || ~~~~~~~^~~~ --- messages.o --- messages.c:168:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(FOOTERFILE, Lang); ^~~~~~~~~~ --- parser.o --- In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ parser.c:117:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(KeyItem[Cp], NOT_STRING_ALT)) { ~~~~~~~^~~~ In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ parser.c:121:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(KeyItem[Cp], LP_STRING)) ~~~~~~~^~~~ --- messages.o --- In file included from messages.c:28: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ messages.c:168:24: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(FOOTERFILE, Lang); ^~~~ --- namazu.o --- namazu.c:217:35: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(name, name + i + 1); ~~~~~~~~~^~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:221:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(work, base); ^~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:221:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(work, base); ^~~~ In file included from namazu.c:33: --- parser.o --- In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- messages.o --- In file included from messages.c:28: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ --- namazu.o --- /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:222:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(work, "/"); ^~~~ In file included from namazu.c:33: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ --- messages.o --- messages.c:169:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(BODYMSGFILE, Lang); ^~~~~~~~~~~ In file included from messages.c:28: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ --- namazu.o --- namazu.c:223:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(work, name); ^~~~ In file included from namazu.c:33: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:223:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(work, name); ^~~~ --- messages.o --- messages.c:169:25: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(BODYMSGFILE, Lang); ^~~~ --- namazu.o --- In file included from namazu.c:33: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:224:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(name, work); ^~~~ --- messages.o --- In file included from messages.c:28: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ --- namazu.o --- In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:224:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(name, work); ^~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ --- parser.o --- parser.c: In function 'orop': --- namazu.o --- namazu.c: In function 'namazu_core': namazu.c:253:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(query_with_subquery, query); ^~~~~~~~~~~~~~~~~~~ --- parser.o --- parser.c:151:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(KeyItem[Cp], OR_STRING) || ~~~~~~~^~~~ In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- namazu.o --- In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:253:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(query_with_subquery, query); ^~~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ --- parser.o --- parser.c:152:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(KeyItem[Cp], OR_STRING_ALT)) { ~~~~~~~^~~~ --- namazu.o --- namazu.c:254:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(query_with_subquery, " "); ^~~~~~~~~~~~~~~~~~~ In file included from namazu.c:33: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ --- parser.o --- In file included from parser.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- namazu.o --- namazu.c:255:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(query_with_subquery, subquery); ^~~~~~~~~~~~~~~~~~~ In file included from namazu.c:33: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:255:33: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(query_with_subquery, subquery); ^~~~~~~~ In file included from namazu.c:33: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:260:19: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(MSG_MIME_HEADER, stdout); ^~~~~~~~~~~~~~~ In file included from namazu.c:28: /usr/include/stdio.h:202:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int fputs(const char * __restrict, FILE * __restrict); ^~~~~ namazu.c:275:8: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(MSG_MIME_HEADER, stdout); ^~~~~~~~~~~~~~~ In file included from namazu.c:28: /usr/include/stdio.h:202:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int fputs(const char * __restrict, FILE * __restrict); ^~~~~ namazu.c: In function 'getenv_namazuconf': namazu.c:299:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(NAMAZURC, env_namazu_conf); ^~~~~~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:299:26: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(NAMAZURC, env_namazu_conf); ^~~~~~~~~~~~~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c: In function 'uniq_dbnames': namazu.c:308:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(DbNames[i], DbNames[j])) { ~~~~~~~^~~ In file included from namazu.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ namazu.c:308:44: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(DbNames[i], DbNames[j])) { ~~~~~~~^~~ In file included from namazu.c:33: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ namazu.c: In function 'main': namazu.c:344:32: warning: passing argument 2 of 'get_commandline_opt' from incompatible pointer type [-Wincompatible-pointer-types] i = get_commandline_opt(argc, argv); ^~~~ namazu.c:97:41: note: expected 'uchar **' {aka 'unsigned char **'} but argument is of type 'char **' int get_commandline_opt(int ac, uchar * av[]) ~~~~~~~~^~~~ namazu.c:351:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(query, argv[i++]); ^~~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:360:35: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(DbNames[DbNumber], argv[i]); ~~~~~~~^~~~~~~~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:368:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (uchar *) malloc(strlen(DEFAULT_DIR) + 1); ^~~~~~~~~~~ In file included from namazu.c:33: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ namazu.c:372:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(DbNames[DbNumber], DEFAULT_DIR); ~~~~~~~^~~~~~~~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:372:39: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(DbNames[DbNumber], DEFAULT_DIR); ^~~~~~~~~~~ In file included from namazu.c:33: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ namazu.c:386:38: warning: pointer targets in passing argument 3 of 'namazu_core' differ in signedness [-Wpointer-sign] namazu_core(query, subquery, argv[0]); ~~~~^~~ namazu.c:245:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' void namazu_core(uchar * query, uchar *subquery, uchar *av0) ^~~~~~~~~~~ --- cgi.o --- cgi.c:34:21: warning: pointer targets in initialization of 'uchar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] uchar *ScriptName = "", *QueryString = "", *ContentLength = ""; ^~ cgi.c:34:40: warning: pointer targets in initialization of 'uchar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] uchar *ScriptName = "", *QueryString = "", *ContentLength = ""; ^~ cgi.c:34:61: warning: pointer targets in initialization of 'uchar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] uchar *ScriptName = "", *QueryString = "", *ContentLength = ""; ^~ cgi.c: In function 'validate_dbname': cgi.c:45:15: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(MSG_MIME_HEADER, stdout); ^~~~~~~~~~~~~~~ In file included from cgi.c:26: /usr/include/stdio.h:202:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int fputs(const char * __restrict, FILE * __restrict); ^~~~~ cgi.c:50:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp("../", dbname, 3) == 0 || ^~~~~~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:51:19: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] strcmp("..", dbname) == 0 || ^~~~~~ In file included from cgi.c:28: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ cgi.c:52:39: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] (win32 && strncmp("..\\", dbname, 3) == 0)) ^~~~~~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:54:19: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(MSG_MIME_HEADER, stdout); ^~~~~~~~~~~~~~~ In file included from cgi.c:26: /usr/include/stdio.h:202:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int fputs(const char * __restrict, FILE * __restrict); ^~~~~ cgi.c: In function 'get_cgi_variables': cgi.c:81:22: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if ((QueryString = getenv("QUERY_STRING"))) { ^ cgi.c:82:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] content_length = strlen(QueryString); ^~~~~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ cgi.c:84:19: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(MSG_MIME_HEADER, stdout); ^~~~~~~~~~~~~~~ In file included from cgi.c:26: /usr/include/stdio.h:202:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int fputs(const char * __restrict, FILE * __restrict); ^~~~~ cgi.c:88:26: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!(ScriptName = getenv("SCRIPT_NAME"))) { ^ cgi.c:92:21: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if ((ContentLength = getenv("CONTENT_LENGTH"))) { ^ cgi.c:93:28: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] content_length = atoi(ContentLength); ^~~~~~~~~~~~~ In file included from cgi.c:27: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int atoi(const char *); ^~~~ cgi.c:95:23: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(MSG_MIME_HEADER, stdout); ^~~~~~~~~~~~~~~ In file included from cgi.c:26: /usr/include/stdio.h:202:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int fputs(const char * __restrict, FILE * __restrict); ^~~~~ cgi.c:117:29: warning: pointer targets in passing argument 1 of 'validate_dbname' differ in signedness [-Wpointer-sign] validate_dbname(path_info); ^~~~~~~~~ cgi.c:37:5: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' int validate_dbname(uchar * dbname) ^~~~~~~~~~~~~~~ cgi.c:118:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(tmp, "%s%s", DEFAULT_DIR, path_info); ^~~ In file included from cgi.c:26: /usr/include/stdio.h:226:6: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ cgi.c:119:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] DbNames[DbNumber] = (uchar *) malloc(strlen(tmp) + 1); ^~~ In file included from cgi.c:28: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ cgi.c:123:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(DbNames[DbNumber], tmp); ~~~~~~~^~~~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ cgi.c:123:39: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(DbNames[DbNumber], tmp); ^~~ In file included from cgi.c:28: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ cgi.c:132:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "key=", 4)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:140:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(query) > QUERY_MAX_LENGTH) { ^~~~~ In file included from cgi.c:28: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ cgi.c:141:23: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(MSG_MIME_HEADER, stdout); ^~~~~~~~~~~~~~~ In file included from cgi.c:26: /usr/include/stdio.h:202:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int fputs(const char * __restrict, FILE * __restrict); ^~~~~ cgi.c:149:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(query, "%1B", 3)) { ^~~~~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:155:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif MSIE4MACFIX ^~~~~~~~~~~ cgi.c:157:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "subquery=", 4)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:165:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(subquery) > QUERY_MAX_LENGTH) { ^~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ cgi.c:166:23: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] fputs(MSG_MIME_HEADER, stdout); ^~~~~~~~~~~~~~~ In file included from cgi.c:26: /usr/include/stdio.h:202:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int fputs(const char * __restrict, FILE * __restrict); ^~~~~ cgi.c:174:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(subquery, "%1B", 3)) { ^~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:180:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif MSIE4MACFIX ^~~~~~~~~~~ cgi.c:182:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "format=short", 12)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:185:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "sort=", 5)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:187:19: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(qs, "score", 5)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:190:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "later", 5)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:194:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "earlier", 7)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:201:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "max=", 4)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:203:13: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(qs, "%d", &HListMax); ^~ In file included from cgi.c:26: /usr/include/stdio.h:228:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int sscanf(const char * __restrict, const char * __restrict, ...) ^~~~~~ cgi.c:210:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "whence=", 7)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:212:13: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(qs, "%d", &HListWhence); ^~ In file included from cgi.c:26: /usr/include/stdio.h:228:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} int sscanf(const char * __restrict, const char * __restrict, ...) ^~~~~~ cgi.c:217:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "lang=", 5)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:219:21: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(Lang, qs, 2); ^~~~ In file included from cgi.c:28: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ cgi.c:219:27: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(Lang, qs, 2); ^~ In file included from cgi.c:28: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ cgi.c:224:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "reference=off", 13)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:227:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "mode=tknamazu", 13)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:230:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (!strncmp(qs, "dbname=", 7)) { ^~ In file included from cgi.c:28: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ cgi.c:241:33: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if ((x = strchr(pp, (int)','))) { ^~ In file included from cgi.c:28: /usr/include/string.h:82:7: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strchr(const char *, int) __pure; ^~~~~~ cgi.c:241:24: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if ((x = strchr(pp, (int)','))) { ^ cgi.c:243:28: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(name, pp); ^~~~ In file included from cgi.c:28: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ cgi.c:243:34: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(name, pp); ^~ In file included from cgi.c:28: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ cgi.c:246:28: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(name, pp); ^~~~ In file included from cgi.c:28: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ cgi.c:246:34: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(name, pp); ^~ In file included from cgi.c:28: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ cgi.c:247:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pp += strlen(pp); ^~ In file included from cgi.c:28: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ cgi.c:253:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] malloc(strlen(DEFAULT_DIR) + 1 + strlen(name) + 1); ^~~~~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ --- codeconv.o --- codeconv.c: In function 'sjistoeuc': codeconv.c:40:45: warning: comparison of constant '159' with boolean expression is always true [-Wbool-compare] #define iskanji1st(c) (((c) >= 0x81 && (c)) <= 0x9f ||\ ^~ codeconv.c:153:11: note: in expansion of macro 'iskanji1st' else if (iskanji1st(c)) { ^~~~~~~~~~ --- cgi.o --- cgi.c:253:61: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] malloc(strlen(DEFAULT_DIR) + 1 + strlen(name) + 1); ^~~~ In file included from cgi.c:28: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ cgi.c:258:31: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(DbNames[DbNumber], DEFAULT_DIR); ~~~~~~~^~~~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ cgi.c:258:43: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(DbNames[DbNumber], DEFAULT_DIR); ^~~~~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ cgi.c:259:31: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(DbNames[DbNumber], "/"); ~~~~~~~^~~~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ cgi.c:260:31: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(DbNames[DbNumber], name); ~~~~~~~^~~~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ cgi.c:260:43: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(DbNames[DbNumber], name); ^~~~ --- codeconv.o --- In file included from codeconv.c:35: codeconv.c: In function 'codeconv': codeconv.c:229:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!is_lang_ja(Lang)) { /* Lang != ja */ ^~~~ namazu.h:27:32: note: in definition of macro 'is_lang_ja' #define is_lang_ja(a) (!strcmp(a,"ja")) ^ --- cgi.o --- In file included from cgi.c:28: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ --- codeconv.o --- In file included from codeconv.c:34: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ --- cgi.o --- cgi.c: In function 'cgi_initialize': cgi.c:280:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] DbNames[DbNumber] = (uchar *) malloc(strlen(DEFAULT_DIR) + 1); ^~~~~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ cgi.c:284:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(DbNames[DbNumber], DEFAULT_DIR); ~~~~~~~^~~~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ cgi.c:284:35: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(DbNames[DbNumber], DEFAULT_DIR); ^~~~~~~~~~~ In file included from cgi.c:28: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ --- wakati.o --- cc -O2 -DINDEXDIR=\"/usr/local/namazu/index\" -DSCORING=TFIDF -DUNIX -DOPT_NAMAZU_CONF=\"/usr/local/namazu/lib/namazu.conf\" -DLANGUAGE=\"ja\" -DMSIE4MACFIX -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DHAVE_MEMMOVE=1 -Wall -c wakati.c --- namazu.o --- namazu.c: In function 'pathcat': namazu.c:217:13: warning: 'strcpy' accessing 0 or more bytes at offsets 0 and [1, 2147483648] may overlap up to 9223372036854775806 bytes at offset [9223372036854775805, 1] [-Wrestrict] strcpy(name, name + i + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- wakati.o --- wakati.c: In function 'wakati': wakati.c:78:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i = 0; i < strlen(key); ) { ^~~ In file included from wakati.c:28: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ wakati.c:93:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, key + i, j + 2); ^~~ In file included from wakati.c:28: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ wakati.c:93:20: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(tmp, key + i, j + 2); ~~~~^~~ In file included from wakati.c:28: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ wakati.c:102:11: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(buf, key + i, key_leng); ^~~ In file included from wakati.c:28: /usr/include/string.h:111:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncat(char * __restrict, const char * __restrict, size_t); ^~~~~~~ wakati.c:102:20: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] strncat(buf, key + i, key_leng); ~~~~^~~ In file included from wakati.c:28: /usr/include/string.h:111:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncat(char * __restrict, const char * __restrict, size_t); ^~~~~~~ wakati.c:103:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(buf, "\t"); ^~~ In file included from wakati.c:28: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ wakati.c:113:33: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(buf, key + i + j, 2); ^~~ In file included from wakati.c:28: /usr/include/string.h:111:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncat(char * __restrict, const char * __restrict, size_t); ^~~~~~~ wakati.c:113:46: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] strncat(buf, key + i + j, 2); ~~~~~~~~^~~ In file included from wakati.c:28: /usr/include/string.h:111:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncat(char * __restrict, const char * __restrict, size_t); ^~~~~~~ wakati.c:116:28: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(buf, "\t"); ^~~ In file included from wakati.c:28: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ wakati.c:118:29: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(buf, key + i, 2); ^~~ In file included from wakati.c:28: /usr/include/string.h:111:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncat(char * __restrict, const char * __restrict, size_t); ^~~~~~~ wakati.c:118:38: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] strncat(buf, key + i, 2); ~~~~^~~ In file included from wakati.c:28: /usr/include/string.h:111:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncat(char * __restrict, const char * __restrict, size_t); ^~~~~~~ wakati.c:119:28: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(buf, "\t"); ^~~ In file included from wakati.c:28: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ wakati.c:127:25: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(buf, key + i, 1); ^~~ In file included from wakati.c:28: /usr/include/string.h:111:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncat(char * __restrict, const char * __restrict, size_t); ^~~~~~~ wakati.c:127:34: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] strncat(buf, key + i, 1); ~~~~^~~ In file included from wakati.c:28: /usr/include/string.h:111:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strncat(char * __restrict, const char * __restrict, size_t); ^~~~~~~ wakati.c:130:20: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(buf, "\t"); ^~~ In file included from wakati.c:28: /usr/include/string.h:81:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcat(char * __restrict, const char * __restrict); ^~~~~~ wakati.c:135:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(buf) <= BUFSIZE) { ^~~ In file included from wakati.c:28: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ wakati.c:136:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(key, buf); ^~~ In file included from wakati.c:28: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ wakati.c:136:14: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(key, buf); ^~~ In file included from wakati.c:28: /usr/include/string.h:90:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ wakati.c:139:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ wakati.c:139:2: warning: incompatible implicit declaration of built-in function 'exit' wakati.c:139:2: note: include '