-------------------------------------------------------------------------------
-- Phase: Environment
-------------------------------------------------------------------------------
NO_DEPENDS=1
UNAME_r=6.5
UNAME_m=x86_64
UNAME_p=x86_64
UNAME_v=unknown
UNAME_s=DragonFly
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
SSL_NO_VERIFY_PEER=1
LANG=C
HOME=/root
USER=root
TERM=dumb
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: showconfig
-------------------------------------------------------------------------------
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: 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 XDG_CACHE_HOME=/construction/japanese/namazu/.cache HOME=/construction/japanese/namazu TMPDIR="/tmp" PATH=/construction/japanese/namazu/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/japanese/namazu/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: CONFIGURE_ARGS
-------------------------------------------------------------------------------
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: MAKE_ENV
-------------------------------------------------------------------------------
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/japanese/namazu XDG_CONFIG_HOME=/construction/japanese/namazu XDG_CACHE_HOME=/construction/japanese/namazu/.cache HOME=/construction/japanese/namazu TMPDIR="/tmp" PATH=/construction/japanese/namazu/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/japanese/namazu/.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 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"
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: MAKE_ARGS
-------------------------------------------------------------------------------
DESTDIR=/construction/japanese/namazu/stage
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: PLIST_SUB
-------------------------------------------------------------------------------
OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1 PERL_VER=5.32 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.32 PROFILE="@comment " DOCSDIR="share/doc/namazu" EXAMPLESDIR="share/examples/namazu" DATADIR="share/namazu" WWWDIR="www/namazu" ETCDIR="etc/namazu"
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: 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
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: /etc/make.conf
-------------------------------------------------------------------------------
DPORTS_BUILDER=yes
DISABLE_LICENSES=yes
DEFAULT_VERSIONS=ssl=openssl
FORCE_PACKAGE=yes
DEVELOPER=yes
DFLY_STING_XFAIL=yes
USE_PACKAGE_DEPENDS_ONLY=yes
PORTSDIR=/xports
PORT_DBDIR=/options
PKG_DBDIR=/var/db/pkg
PKG_CACHEDIR=/var/cache/pkg
PKG_COMPRESSION_FORMAT=.tgz
DEVELOPER=1
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/ccache
UID=0
ARCH=x86_64
OPSYS=DragonFly
DFLYVERSION=600503
OSVERSION=9999999
OSREL=6.5
_OSRELEASE=6.5-SYNTH
DISTDIR=/distfiles
WRKDIRPREFIX=/construction
BATCH=yes
PACKAGE_BUILDING=yes
PKG_CREATE_VERBOSE=yes
MAKE_JOBS_NUMBER=13
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: setup
-------------------------------------------------------------------------------
Installing /packages/All/ja-kakasi-2.3.5_3.pkg
Installing /packages/All/ja-nkf-2.1.4,1.pkg
Installing /packages/All/perl5-5.32.1_3.pkg
Installing /packages/All/ccache-3.7.12_4.pkg
Create compiler links...
create symlink for cc
create symlink for cc (world)
create symlink for c++
create symlink for c++ (world)
create symlink for CC
create symlink for CC (world)
create symlink for gcc
create symlink for gcc (world)
create symlink for g++
create symlink for g++ (world)
=====
Message from ccache-3.7.12_4:
--
NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for
information on using ccache with FreeBSD ports and src.
SUCCEEDED 00:00:04
-------------------------------------------------------------------------------
-- 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://docs.freebsd.org/en/articles/contributing/#ports-contributing
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: pkg-depends
-------------------------------------------------------------------------------
===> ja-namazu-1.3.0.11_1 depends on file: /usr/local/sbin/pkg - found
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: fetch-depends
-------------------------------------------------------------------------------
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- 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://docs.freebsd.org/en/articles/contributing/#ports-contributing
===> ja-namazu-1.3.0.11_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by ja-namazu-1.3.0.11_1 for building
SUCCEEDED 00:00:01
-------------------------------------------------------------------------------
-- 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://docs.freebsd.org/en/articles/contributing/#ports-contributing
===> ja-namazu-1.3.0.11_1 depends on file: /usr/local/sbin/pkg - found
===> 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.
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: extract-depends
-------------------------------------------------------------------------------
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- 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://docs.freebsd.org/en/articles/contributing/#ports-contributing
===> ja-namazu-1.3.0.11_1 depends on file: /usr/local/sbin/pkg - found
===> 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://docs.freebsd.org/en/articles/contributing/#ports-contributing
===> ja-namazu-1.3.0.11_1 depends on file: /usr/local/sbin/pkg - found
===> 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.
Extracted Memory Use: 0.94M
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: patch-depends
-------------------------------------------------------------------------------
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: patch
-------------------------------------------------------------------------------
===> Patching for ja-namazu-1.3.0.11_1
===> Applying ports patches for ja-namazu-1.3.0.11_1 from /xports/japanese/namazu/files
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: build-depends
-------------------------------------------------------------------------------
===> ja-namazu-1.3.0.11_1 depends on executable: kakasi - found
===> ja-namazu-1.3.0.11_1 depends on executable: nkf - found
===> ja-namazu-1.3.0.11_1 depends on package: perl5>=5.32.r0<5.33 - found
===> ja-namazu-1.3.0.11_1 depends on file: /usr/local/bin/ccache - found
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: lib-depends
-------------------------------------------------------------------------------
SUCCEEDED 00:00:00
-------------------------------------------------------------------------------
-- Phase: configure
-------------------------------------------------------------------------------
===> ja-namazu-1.3.0.11_1 depends on executable: kakasi - found
===> ja-namazu-1.3.0.11_1 depends on executable: nkf - found
===> ja-namazu-1.3.0.11_1 depends on package: perl5>=5.32.r0<5.33 - found
===> ja-namazu-1.3.0.11_1 depends on file: /usr/local/bin/ccache - found
===> 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... no
checking for nroff... no
configure: warning: jgroff(, groff and nroff) not found
updating cache ./config.cache
creating ./config.status
creating Makefile
SUCCEEDED 00:00:01
-------------------------------------------------------------------------------
-- Phase: build
-------------------------------------------------------------------------------
===> Building for ja-namazu-1.3.0.11_1
--- mknmz ---
--- wdnmz ---
--- rvnmz ---
--- clnmz ---
--- vfnmz ---
--- mailutime ---
--- gcnmz ---
--- gtnmz ---
--- namazu.o ---
--- codeconv.o ---
--- messages.o ---
--- parser.o ---
--- cgi.o ---
--- mknmz ---
rm -f mknmz
--- wdnmz ---
rm -f 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
--- rvnmz ---
rm -f 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
--- gcnmz ---
rm -f gcnmz
--- gtnmz ---
rm -f gtnmz
sed -e 's!%OPT_PATH_PERL%!/usr/local/bin/perl!g' gtnmz.pl > gtnmz
--- 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
--- 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
--- wdnmz ---
chmod +x wdnmz
--- vfnmz ---
rm -f vfnmz
--- 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
--- 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
--- 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
--- rvnmz ---
chmod +x rvnmz
--- gtnmz ---
chmod +x gtnmz
--- wakati.o ---
--- mailutime ---
rm -f mailutime
--- conf.o ---
--- vfnmz ---
chmod +x vfnmz
--- 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
--- 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%!not_found -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
--- mailutime ---
sed -e 's!%OPT_PATH_PERL%!/usr/local/bin/perl!g' mailutime.pl > mailutime
--- gcnmz ---
sed -e 's!%OPT_PATH_PERL%!/usr/local/bin/perl!g' gcnmz.pl > gcnmz
--- conf.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 conf.c
--- parser.o ---
parser.c: In function 'ismetastring':
parser.c:57:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if ((!strcmp(c, AND_STRING)) ||
^
In file included from parser.c:33:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
parser.c:58:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
(!strcmp(c, AND_STRING_ALT)) ||
^
In file included from parser.c:33:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
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:
--- hlist.o ---
--- 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:226: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:117: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:88: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:117: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:226: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:110: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:226: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:95: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:226: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:253: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:110: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:95: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:95: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:117: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:110: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:226: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:117: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:117: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:110: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:226: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:117: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:117: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:117: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:117: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:117: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:117: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:117: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:255: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:117: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:255: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:117: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:118: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:118: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:117: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:117: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:117: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:87: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:95: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:95: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:95: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:95: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:110: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:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
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:110: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:95: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:95: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:86: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:86: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);
^~~~
In file included from cgi.c:28:
/usr/include/string.h:86:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
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:110: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:95: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:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
--- conf.o ---
conf.c: In function 'open_conf_file':
conf.c:82:25: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
if ((fp = fopen(NAMAZURC, "rb"))) {
^~~~~~~~
In file included from conf.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
conf.c:83:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(NAMAZU_CONF, NAMAZURC);
^~~~~~~~~~~
In file included from conf.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
conf.c:83:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(NAMAZU_CONF, NAMAZURC);
^~~~~~~~
In file included from conf.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
conf.c:91:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(NAMAZU_CONF, fname);
^~~~~~~~~~~
In file included from conf.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
conf.c:100:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(NAMAZU_CONF, fname);
^~~~~~~~~~~
In file included from conf.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
conf.c:106:21: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
if ((fp = fopen(NAMAZU_CONF, "rb"))) {
^~~~~~~~~~~
In file included from conf.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
conf.c: In function 'load_namazu_conf':
conf.c:132:18: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
while (fgets(buf, BUFSIZE, fp)) {
^~~
In file included from conf.c:27:
/usr/include/stdio.h:221:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *fgets(char * __restrict, int, FILE * __restrict);
^~~~~
conf.c:134:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(buf, "INDEX\t", 6)) {
^~~
In file included from conf.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
conf.c:136:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(DEFAULT_DIR, buf + n);
^~~~~~~~~~~
In file included from conf.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
conf.c:136:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(DEFAULT_DIR, buf + n);
~~~~^~~
In file included from conf.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
conf.c:137:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
} else if (!strncmp(buf, "BASE\t", 5)) {
^~~
In file included from conf.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
conf.c:139:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(BASE_URL, buf + n);
^~~~~~~~
In file included from conf.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
conf.c:139:27: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(BASE_URL, buf + n);
~~~~^~~
In file included from conf.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
conf.c:140:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
} else if (!strncmp(buf, "REPLACE\t", 8)) {
^~~
In file included from conf.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
conf.c:146:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(URL_REPLACE_TO[url_no], buf + n);
~~~~~~~~~~~~~~^~~~~~~~
In file included from conf.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
conf.c:146:41: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(URL_REPLACE_TO[url_no], buf + n);
~~~~^~~
In file included from conf.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
conf.c:148:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
} else if (!strncmp(buf, "LOGGING\t", 8)) {
^~~
In file included from conf.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
conf.c:150:19: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(&buf[n], "OFF", 3))
^~~~~~~
In file included from conf.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
conf.c:152:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
} else if (!strncmp(buf, "SCORING\t", 8)) {
^~~
In file included from conf.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
conf.c:154:19: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(&buf[n], "TFIDF", 5))
^~~~~~~
In file included from conf.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
conf.c:156:19: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(&buf[n], "SIMPLE", 6))
^~~~~~~
In file included from conf.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
conf.c:158:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
} else if (!strncmp(buf, "LANG\t", 5)) {
^~~
In file included from conf.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
conf.c:160:14: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy(Lang, &buf[n], 2);
^~~~
In file included from conf.c:29:
/usr/include/string.h:118:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strncpy(char * __restrict, const char * __restrict, size_t);
^~~~~~~
conf.c:160:20: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy(Lang, &buf[n], 2);
^~~~~~~
In file included from conf.c:29:
/usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strncpy(char * __restrict, const char * __restrict, size_t);
^~~~~~~
--- hlist.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 hlist.c
hlist.c: In function 'do_date_processing':
hlist.c:283:24: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
date_index = fopen(DATEINDEX, "rb");
^~~~~~~~~
In file included from hlist.c:26:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
hlist.c: In function 'get_hlist':
hlist.c:327:11: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
fgets(tmp, BUFSIZE, Index); /* read and dispose */
^~~
In file included from hlist.c:26:
/usr/include/stdio.h:221:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *fgets(char * __restrict, int, FILE * __restrict);
^~~~~
hlist.c: In function 'erase_url':
hlist.c:436:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(tmp, s);
^~~
In file included from hlist.c:28:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
hlist.c:436:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(tmp, s);
^
In file included from hlist.c:28:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
hlist.c:438:36: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp("
");
^~~
In file included from hlist.c:28:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
hlist.c:443:33: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp("", &tmp[i], 4))
^~~~~~~
In file included from hlist.c:28:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
hlist.c: In function 'replace_url':
hlist.c:458:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(tmp, s);
^~~
In file included from hlist.c:28:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
hlist.c:458:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(tmp, s);
^
In file included from hlist.c:28:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
hlist.c:461:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
n_from = strlen(URL_REPLACE_FROM[n]);
~~~~~~~~~~~~~~~~^~~
In file included from hlist.c:28:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
hlist.c:462:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
n_to = strlen(URL_REPLACE_TO[n]);
~~~~~~~~~~~~~~^~~
In file included from hlist.c:28:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
hlist.c:464:34: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(URL_REPLACE_FROM[n], tmp, n_from)) {
~~~~~~~~~~~~~~~~^~~
In file included from hlist.c:28:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
hlist.c:464:39: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(URL_REPLACE_FROM[n], tmp, n_from)) {
^~~
In file included from hlist.c:28:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
hlist.c:465:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(s, URL_REPLACE_TO[n]);
^
In file included from hlist.c:28:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
hlist.c:465:26: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(s, URL_REPLACE_TO[n]);
~~~~~~~~~~~~~~^~~
In file included from hlist.c:28:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
hlist.c:469:38: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (opt && !strncmp(URL_REPLACE_FROM[n], tmp + i, n_from)) {
~~~~~~~~~~~~~~~~^~~
In file included from hlist.c:28:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
hlist.c:469:47: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
if (opt && !strncmp(URL_REPLACE_FROM[n], tmp + i, n_from)) {
~~~~^~~
In file included from hlist.c:28:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
hlist.c:470:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(s + j, URL_REPLACE_TO[n]);
~~^~~
In file included from hlist.c:28:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
hlist.c:470:34: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(s + j, URL_REPLACE_TO[n]);
~~~~~~~~~~~~~~^~~
In file included from hlist.c:28:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
hlist.c: In function 'open_files2':
hlist.c:495:19: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
Flist = fopen(FLIST, "rb");
^~~~~
In file included from hlist.c:26:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
hlist.c:499:24: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
FlistIndex = fopen(FLISTINDEX, "rb");
^~~~~~~~~~
In file included from hlist.c:26:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
hlist.c: In function 'erase_size':
hlist.c:514:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
for (i = strlen(s) -1; i > 0; i--) {
^
In file included from hlist.c:28:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
hlist.c:515:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(s + i, "size", 4)) {
~~^~~
In file included from hlist.c:28:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
hlist.c: In function 'put_hlist':
hlist.c:551:17: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
if (!fgets(buf, BUFSIZE, Flist) || *buf == '\n') {
^~~
In file included from hlist.c:26:
/usr/include/stdio.h:221:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *fgets(char * __restrict, int, FILE * __restrict);
^~~~~
hlist.c:568:48: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp("' or provide a declaration of 'exit'
wakati.c:32:1:
+#include
wakati.c:139:2:
exit(1);
^~~~
wakati.c: In function 'split_query':
wakati.c:228:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (strlen(qs) >= BUFSIZE - 1) {
^~
In file included from wakati.c:28:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
wakati.c:230:2: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^~~~
wakati.c:230:2: note: include '' or provide a declaration of 'exit'
wakati.c:233:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(KeyTable, qs);
^~~~~~~~
In file included from wakati.c:28:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
wakati.c:233:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(KeyTable, qs);
^~
In file included from wakati.c:28:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
wakati.c:250:2: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^~~~
wakati.c:250:2: note: include '' or provide a declaration of 'exit'
wakati.c:256:2: warning: incompatible implicit declaration of built-in function 'exit'
exit(1);
^~~~
wakati.c:256:2: note: include '' or provide a declaration of 'exit'
In file included from wakati.c:30:
wakati.c: In function 'codeconv_query':
wakati.c:282: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"))
^
In file included from wakati.c:28:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
--- parser.o ---
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
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:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
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:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
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:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
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:88: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:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
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)) {
~~~~~~~^~~~
In file included from parser.c:33:
/usr/include/string.h:88: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))
~~~~~~~^~~~
In file included from parser.c:33:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
parser.c: In function 'andop':
parser.c:111:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(KeyItem[Cp], AND_STRING) ||
~~~~~~~^~~~
In file included from parser.c:33:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
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:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
parser.c:116:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(KeyItem[Cp], NOT_STRING) ||
~~~~~~~^~~~
In file included from parser.c:33:
/usr/include/string.h:88: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:88: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))
~~~~~~~^~~~
In file included from parser.c:33:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
parser.c: In function 'orop':
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:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
parser.c:152:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
!strcmp(KeyItem[Cp], OR_STRING_ALT)) {
~~~~~~~^~~~
In file included from parser.c:33:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
--- 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
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':
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"))
^
In file included from messages.c:28:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
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";
^
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\
^
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 =
^
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¤Î¥¯¥¨¥ê¡¼¤¬Ä¹¤¹¤®¤Þ¤¹";
^
messages.c:97:27: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
MSG_INVALID_QUERY =
^
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:100:20: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
MSG_NO_HIT = "\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";
^
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";
^
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 = " (Àµµ¬É½¸½ÍÑ¥¤¥ó¥Ç¥Ã¥¯¥¹¤¬³«¤±¤Þ¤»¤ó¤Ç¤·¤¿)";
^
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 = " (¥Õ¥ì¡¼¥º¸¡º÷ÍÑ¥¤¥ó¥Ç¥Ã¥¯¥¹¤¬³«¤±¤Þ¤»¤ó¤Ç¤·¤¿)";
^
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";
^
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»²¹Í¥Ò¥Ã¥È¿ô: ";
^
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 ¤Î»ØÄê¤Ç¤¹";
^
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";
^
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\
^
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 =
^
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 =
^
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";
^
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 = "\tResults:
\n";
^
messages.c:150:20: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
MSG_NO_HIT = "\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 = "\t Total ";
^
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.)";
^
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";
^
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 =
^
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: ";
^
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.";
^
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:95: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:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
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:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
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:86:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
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:86:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
messages.c:168:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(FOOTERFILE, Lang);
^~~~~~~~~~
In file included from messages.c:28:
/usr/include/string.h:86: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);
^~~~
In file included from messages.c:28:
/usr/include/string.h:86:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
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:86:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
messages.c:169:25: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(BODYMSGFILE, Lang);
^~~~
In file included from messages.c:28:
/usr/include/string.h:86:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
--- 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)) {
^~~~~~~~~~
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"))
^
In file included from codeconv.c:34:
/usr/include/string.h:88: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: In function 'error':
namazu.c:49:8: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign]
fputs(MSG_MIME_HEADER, output);
^~~~~~~~~~~~~~~
In file included from namazu.c:28:
/usr/include/stdio.h:226: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 'cat':
namazu.c:61:21: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
if ((fp = fopen(fname, "rb"))) {
^~~~~
In file included from namazu.c:28:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
namazu.c:62:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
while (fgets(buf, BUFSIZE, fp))
^~~
In file included from namazu.c:28:
/usr/include/stdio.h:221: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);
^~~
In file included from namazu.c:28:
/usr/include/stdio.h:226: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 'show_usage':
namazu.c:73:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(buf, MSG_USAGE);
^~~
In file included from namazu.c:33:
/usr/include/string.h:95: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:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
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:223: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)))
^~~~~
In file included from namazu.c:31:
/usr/include/fcntl.h:333:5: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int open(const char *, int, ...);
^~~~
namazu.c: In function 'get_commandline_opt':
namazu.c:107:43: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign]
HListMax = atoi(av[++i]);
~~^~~~~
In file included from namazu.c:29:
/usr/include/stdlib.h:95:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int atoi(const char *);
^~~~
namazu.c:113:46: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign]
HListWhence = atoi(av[++i]);
~~^~~~~
In file included from namazu.c:29:
/usr/include/stdlib.h:95:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int atoi(const char *);
^~~~
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:95: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:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
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:118: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:118:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strncpy(char * __restrict, const char * __restrict, size_t);
^~~~~~~
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:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
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:88: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 '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:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
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:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
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:95: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:95: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:
/usr/include/string.h:95: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:86:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
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:86: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);
^~~~
In file included from namazu.c:33:
/usr/include/string.h:86: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);
^~~~
In file included from namazu.c:33:
/usr/include/string.h:95: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:95: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 '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);
^~~~~~~~~~~~~~~~~~~
In file included from namazu.c:33:
/usr/include/string.h:95: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:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
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:86:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
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:86: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:86: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:226: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:226: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:95: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:95: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:88: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:88: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:95: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:95: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:110: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:95: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:95: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)
^~~~~~~~~~~
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);
^~~~~~~~~~~~~~~~~~~~~~~~~~
--- gcnmz ---
chmod +x gcnmz
--- mailutime ---
chmod +x mailutime
--- clnmz ---
rm -f 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
chmod +x clnmz
--- mknmz ---
chmod +x mknmz
--- output.o ---
--- search.o ---
--- values.o ---
--- form.o ---
--- re_match.o ---
--- regex.o ---
--- util.o ---
--- seed.o ---
--- values.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 values.c
--- output.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 output.c
output.c: In function 'put_query':
output.c:13:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(qs, "whence=", 7)) {
^~
In file included from output.c:3:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
output.c: In function 'put_page_index':
output.c:39:9: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign]
fputs(ScriptName, stdout);
^~~~~~~~~~
In file included from output.c:1:
/usr/include/stdio.h:226:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
int fputs(const char * __restrict, FILE * __restrict);
^~~~~
output.c: In function 'fputs_with_codeconv':
output.c:85:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(buf, s);
^~~
In file included from output.c:3:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
output.c:85:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(buf, s);
^
In file included from output.c:3:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
output.c:91:11: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign]
fputs(buf, fp);
^~~
In file included from output.c:1:
/usr/include/stdio.h:226:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
int fputs(const char * __restrict, FILE * __restrict);
^~~~~
output.c: In function 'fputs_without_html_tag':
output.c:102:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(s, "
", 4)) {
^
In file included from output.c:3:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
output.c:116:19: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(s, "<", 4)) {
^
In file included from output.c:3:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
output.c:119:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
} else if (!strncmp(s, ">", 4)) {
^
In file included from output.c:3:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
output.c:122:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
} else if (!strncmp(s, "&", 5)) {
^
In file included from output.c:3:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
In file included from output.c:5:
output.c: In function 'euctojisput':
output.c:139:22: 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"))
^
In file included from output.c:3:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
output.c: In function 'fputx':
output.c:209:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(buf, str + is_html);
^~~
In file included from output.c:3:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
output.c:209:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(buf, str + is_html);
~~~~^~~~~~~~~
In file included from output.c:3:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
--- regex.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 regex.c
regex.c: In function 'init_syntax_once':
regex.c:177:4: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
memset(re_syntax_table, 0, sizeof re_syntax_table);
^~~~~~
regex.c:177:4: warning: incompatible implicit declaration of built-in function 'memset'
regex.c:177:4: note: include '' or provide a declaration of 'memset'
regex.c:167:1:
+#include
regex.c:177:4:
memset(re_syntax_table, 0, sizeof re_syntax_table);
^~~~~~
regex.c: In function 'set_list_bits':
regex.c:541:7: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration]
memmove(&b[(1 << BYTEWIDTH) / BYTEWIDTH], &b[sbc_size], 2 + mbc_size*4);
^~~~~~~
regex.c:541:7: warning: incompatible implicit declaration of built-in function 'memmove'
regex.c:541:7: note: include '' or provide a declaration of 'memmove'
regex.c:542:7: warning: incompatible implicit declaration of built-in function 'memset'
memset(&b[sbc_size], 0, (1 << BYTEWIDTH) / BYTEWIDTH - sbc_size);
^~~~~~
regex.c:542:7: note: include '' or provide a declaration of 'memset'
regex.c:580:5: warning: incompatible implicit declaration of built-in function 'memmove'
memmove(&b[(beg + 1)*4], &b[end*4], (mbc_size - end)*4);
^~~~~~~
regex.c:580:5: note: include '' or provide a declaration of 'memmove'
regex.c: In function 're_compile_pattern':
regex.c:1235:4: warning: incompatible implicit declaration of built-in function 'memset'
memset(b, 0, (1 << BYTEWIDTH) / BYTEWIDTH + 2);
^~~~~~
regex.c:1235:4: note: include '' or provide a declaration of 'memset'
regex.c:481:25: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
#define STREQ(s1, s2) ((strcmp (s1, s2) == 0))
^~~~~~
regex.c:1402:25: note: in expansion of macro 'STREQ'
char is_alnum = STREQ (str, "alnum");
^~~~~
regex.c:1464:6: warning: incompatible implicit declaration of built-in function 'memmove'
memmove(&b[b[-1]], &b[(1 << BYTEWIDTH) / BYTEWIDTH],
^~~~~~~
regex.c:1464:6: note: include '' or provide a declaration of 'memmove'
regex.c:1464:16: warning: array subscript has type 'char' [-Wchar-subscripts]
memmove(&b[b[-1]], &b[(1 << BYTEWIDTH) / BYTEWIDTH],
^
regex.c:1466:41: warning: array subscript has type 'char' [-Wchar-subscripts]
b += b[-1] + 2 + EXTRACT_UNSIGNED (&b[b[-1]])*4;
^
regex.c:504:20: note: in definition of macro 'EXTRACT_UNSIGNED'
((unsigned char)(p)[0] | (unsigned char)(p)[1] << 8)
^
regex.c:1466:41: warning: array subscript has type 'char' [-Wchar-subscripts]
b += b[-1] + 2 + EXTRACT_UNSIGNED (&b[b[-1]])*4;
^
regex.c:504:44: note: in definition of macro 'EXTRACT_UNSIGNED'
((unsigned char)(p)[0] | (unsigned char)(p)[1] << 8)
^
regex.c:96:17: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:1543:15: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,int);
^~~~~~~~~~~~
regex.c:96:17: warning: incompatible implicit declaration of built-in function 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:1543:15: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,int);
^~~~~~~~~~~~
regex.c:96:17: note: include '' or provide a declaration of 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:1543:15: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,int);
^~~~~~~~~~~~
regex.c:1875:3: warning: incompatible implicit declaration of built-in function 'memmove'
memmove(&b[b[-1]], &b[(1 << BYTEWIDTH) / BYTEWIDTH],
^~~~~~~
regex.c:1875:3: note: include '' or provide a declaration of 'memmove'
regex.c:1875:13: warning: array subscript has type 'char' [-Wchar-subscripts]
memmove(&b[b[-1]], &b[(1 << BYTEWIDTH) / BYTEWIDTH],
^
regex.c:1877:44: warning: array subscript has type 'char' [-Wchar-subscripts]
b += b[-1] + 2 + EXTRACT_UNSIGNED(&b[b[-1]])*4;
^
regex.c:504:20: note: in definition of macro 'EXTRACT_UNSIGNED'
((unsigned char)(p)[0] | (unsigned char)(p)[1] << 8)
^
regex.c:1877:44: warning: array subscript has type 'char' [-Wchar-subscripts]
b += b[-1] + 2 + EXTRACT_UNSIGNED(&b[b[-1]])*4;
^
regex.c:504:44: note: in definition of macro 'EXTRACT_UNSIGNED'
((unsigned char)(p)[0] | (unsigned char)(p)[1] << 8)
^
regex.c:2083:47: warning: pointer targets in passing argument 2 of 'bm_init_skip' differ in signedness [-Wpointer-sign]
bm_init_skip(bufp->must_skip, bufp->must+1,
~~~~~~~~~~^~
regex.c:162:13: note: expected 'unsigned char *' but argument is of type 'char *'
static void bm_init_skip P((int *, unsigned char*, int, char *));
^~~~~~~~~~~~
regex.c:2085:31: warning: pointer targets in passing argument 4 of 'bm_init_skip' differ in signedness [-Wpointer-sign]
MAY_TRANSLATE()?translate:0);
^
regex.c:162:13: note: expected 'char *' but argument is of type 'unsigned char *'
static void bm_init_skip P((int *, unsigned char*, int, char *));
^~~~~~~~~~~~
regex.c: In function 'bm_init_skip':
regex.c:2328:6: warning: array subscript has type 'char' [-Wchar-subscripts]
skip[translate[pat[j]]] = m-1-j;
^
regex.c: In function 're_compile_fastmap':
regex.c:2405:3: warning: incompatible implicit declaration of built-in function 'memset'
memset(fastmap, 0, (1 << BYTEWIDTH));
^~~~~~
regex.c:2405:3: note: include '' or provide a declaration of 'memset'
regex.c:96:17: warning: incompatible implicit declaration of built-in function 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2513:8: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len);
^~~~~~~~~~~~~~~~~
regex.c:96:17: note: include '' or provide a declaration of 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2513:8: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len);
^~~~~~~~~~~~~~~~~
regex.c: In function 're_match':
regex.c:3228:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
while (stackp != stackb && (int)stackp[-1] == 1)
^
regex.c:3015:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
temp = (int) *--stackp; /* How many regs pushed. */ \
^
regex.c:3229:3: note: in expansion of macro 'POP_FAILURE_POINT'
POP_FAILURE_POINT();
^~~~~~~~~~~~~~~~~
regex.c:3385:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((int) old_regend[r] >= (int) regstart[r])
^
regex.c:3385:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((int) old_regend[r] >= (int) regstart[r])
^
regex.c:96:17: warning: incompatible implicit declaration of built-in function 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3391:19: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(p2 + mcnt, d);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: note: include '' or provide a declaration of 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3391:19: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(p2 + mcnt, d);
^~~~~~~~~~~~~~~~~~
regex.c:3438:23: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration]
: memcmp((char *)d, (char *)d2, mcnt))
^~~~~~
regex.c:96:17: warning: incompatible implicit declaration of built-in function 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3446:11: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(0, d);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: note: include '' or provide a declaration of 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3446:11: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(0, d);
^~~~~~~~~~~~~~~~~~
regex.c:3015:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
temp = (int) *--stackp; /* How many regs pushed. */ \
^
regex.c:3455:4: note: in expansion of macro 'POP_FAILURE_POINT'
POP_FAILURE_POINT();
^~~~~~~~~~~~~~~~~
regex.c:3015:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
temp = (int) *--stackp; /* How many regs pushed. */ \
^
regex.c:3461:4: note: in expansion of macro 'POP_FAILURE_POINT'
POP_FAILURE_POINT();
^~~~~~~~~~~~~~~~~
regex.c:96:17: warning: incompatible implicit declaration of built-in function 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3567:11: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(p + mcnt, d);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: note: include '' or provide a declaration of 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3567:11: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(p + mcnt, d);
^~~~~~~~~~~~~~~~~~
regex.c:3015:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
temp = (int) *--stackp; /* How many regs pushed. */ \
^
regex.c:3638:11: note: in expansion of macro 'POP_FAILURE_POINT'
POP_FAILURE_POINT();
^~~~~~~~~~~~~~~~~
regex.c:96:17: warning: incompatible implicit declaration of built-in function 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3659:11: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(0, 0);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: note: include '' or provide a declaration of 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3659:11: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(0, 0);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: warning: incompatible implicit declaration of built-in function 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3670:11: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(0, 0);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: note: include '' or provide a declaration of 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3670:11: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(0, 0);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: warning: incompatible implicit declaration of built-in function 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3683:9: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(0, 0);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: note: include '' or provide a declaration of 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3683:9: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(0, 0);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: warning: incompatible implicit declaration of built-in function 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3722:6: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(p, d);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: note: include '' or provide a declaration of 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3722:6: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(p, d);
^~~~~~~~~~~~~~~~~~
regex.c:3015:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
temp = (int) *--stackp; /* How many regs pushed. */ \
^
regex.c:3729:11: note: in expansion of macro 'POP_FAILURE_POINT'
POP_FAILURE_POINT();
^~~~~~~~~~~~~~~~~
regex.c:96:17: warning: incompatible implicit declaration of built-in function 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3731:11: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(p + mcnt, d);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: note: include '' or provide a declaration of 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3731:11: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(p + mcnt, d);
^~~~~~~~~~~~~~~~~~
regex.c:3015:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
temp = (int) *--stackp; /* How many regs pushed. */ \
^
regex.c:3746:6: note: in expansion of macro 'POP_FAILURE_POINT'
POP_FAILURE_POINT();
^~~~~~~~~~~~~~~~~
regex.c:96:17: warning: incompatible implicit declaration of built-in function 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3748:6: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(p + mcnt, d);
^~~~~~~~~~~~~~~~~~
regex.c:96:17: note: include '' or provide a declaration of 'memcpy'
(type*) memcpy(stackx, stackb, len * sizeof (type)))
^~~~~~
regex.c:126:18: note: in expansion of macro 'DOUBLE_STACK'
stackx = DOUBLE_STACK(stackx,stackb,len,unsigned char*); \
^~~~~~~~~~~~
regex.c:2989:9: note: in expansion of macro 'EXPAND_FAIL_STACK'
EXPAND_FAIL_STACK(stackx, stackb, len); \
^~~~~~~~~~~~~~~~~
regex.c:3748:6: note: in expansion of macro 'PUSH_FAILURE_POINT'
PUSH_FAILURE_POINT(p + mcnt, d);
^~~~~~~~~~~~~~~~~~
regex.c:3876:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
while (stackp != stackb && (int)stackp[-1] == 1)
^
regex.c:3015:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
temp = (int) *--stackp; /* How many regs pushed. */ \
^
regex.c:3877:2: note: in expansion of macro 'POP_FAILURE_POINT'
POP_FAILURE_POINT();
^~~~~~~~~~~~~~~~~
regex.c:3015:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
temp = (int) *--stackp; /* How many regs pushed. */ \
^
regex.c:3890:6: note: in expansion of macro 'POP_FAILURE_POINT'
POP_FAILURE_POINT();
^~~~~~~~~~~~~~~~~
--- seed.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 seed.c
--- util.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 util.c
util.c: In function 'chop':
util.c:93:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
for (i = strlen(s) - 1; i >= 0; i--) {
^
In file included from util.c:7:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
util.c: In function 'lastc':
util.c:175:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
return (str + strlen(str) - 1);
^~~
In file included from util.c:7:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
--- re_match.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 re_match.c
re_match.c: In function 'replace':
re_match.c:47:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(tmp, s);
^~~
In file included from re_match.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
re_match.c:47:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(tmp, s);
^
In file included from re_match.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
re_match.c:49:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
n_from = strlen(URL_REPLACE_FROM[n]);
~~~~~~~~~~~~~~~~^~~
In file included from re_match.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
re_match.c:50:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
n_to = strlen(URL_REPLACE_TO[n]);
~~~~~~~~~~~~~~^~~
In file included from re_match.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
re_match.c:52:34: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(URL_REPLACE_FROM[n], tmp, n_from)) {
~~~~~~~~~~~~~~~~^~~
In file included from re_match.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
re_match.c:52:39: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(URL_REPLACE_FROM[n], tmp, n_from)) {
^~~
In file included from re_match.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
re_match.c:53:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(s, URL_REPLACE_TO[n]);
^
In file included from re_match.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
re_match.c:53:26: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(s, URL_REPLACE_TO[n]);
~~~~~~~~~~~~~~^~~
In file included from re_match.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
In file included from re_match.c:31:
re_match.c: In function 'regex_grep':
re_match.c:70: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"))
^
In file included from re_match.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
re_match.c:82:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, orig_expr); /* save orig_expr */
^~~~
In file included from re_match.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'unsigned char *'
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
re_match.c:82:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, orig_expr); /* save orig_expr */
^~~~~~~~~
In file included from re_match.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
re_match.c:90:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(field, "url")) {
^~~~~
In file included from re_match.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
re_match.c:97:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
re_compile_pattern(expr, strlen(expr), rp);
^~~~
In file included from re_match.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *'
size_t strlen(const char *) __pure;
^~~~~~
re_match.c:97:24: warning: pointer targets in passing argument 1 of 're_compile_pattern' differ in signedness [-Wpointer-sign]
re_compile_pattern(expr, strlen(expr), rp);
^~~~
In file included from re_match.c:30:
regex.h:247:14: note: expected 'char *' but argument is of type 'unsigned char *'
extern char *re_compile_pattern (char *, size_t, struct re_pattern_buffer *);
^~~~~~~~~~~~~~~~~~
re_match.c:99:27: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
for (i = n = 0; fgets(buf, BUFSIZE, fp); i++) {
^~~
In file included from re_match.c:27:
/usr/include/stdio.h:221:7: note: expected 'char * restrict' but argument is of type 'unsigned char *'
char *fgets(char * __restrict, int, FILE * __restrict);
^~~~~
re_match.c:105:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (strlen(buf) == 0) {
^~~
In file included from re_match.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *'
size_t strlen(const char *) __pure;
^~~~~~
re_match.c:112:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (-1 != re_search(rp, buf, strlen(buf), 0, strlen(buf), 0)) {
^~~
In file included from re_match.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *'
size_t strlen(const char *) __pure;
^~~~~~
re_match.c:112:61: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (-1 != re_search(rp, buf, strlen(buf), 0, strlen(buf), 0)) {
^~~
In file included from re_match.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *'
size_t strlen(const char *) __pure;
^~~~~~
re_match.c:112:33: warning: pointer targets in passing argument 2 of 're_search' differ in signedness [-Wpointer-sign]
if (-1 != re_search(rp, buf, strlen(buf), 0, strlen(buf), 0)) {
^~~
In file included from re_match.c:30:
regex.h:251:12: note: expected 'char *' but argument is of type 'unsigned char *'
extern int re_search (struct re_pattern_buffer *, char*, int, int, int,
^~~~~~~~~
re_match.c:152:27: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
fgets(buf2, BUFSIZE, Index); /* read and dispose */
^~~~
In file included from re_match.c:27:
/usr/include/stdio.h:221:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *fgets(char * __restrict, int, FILE * __restrict);
^~~~~
--- search.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 search.c
search.c: In function 'reverse_byte_order':
search.c:47:11: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
c = (char *)(p + i);
^
search.c: In function 'show_status':
search.c:72:11: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
fgets(buf, BUFSIZE, Index);
^~~
In file included from search.c:27:
/usr/include/stdio.h:221:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *fgets(char * __restrict, int, FILE * __restrict);
^~~~~
search.c:75:11: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
fgets(buf, BUFSIZE, Index);
^~~
In file included from search.c:27:
/usr/include/stdio.h:221:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *fgets(char * __restrict, int, FILE * __restrict);
^~~~~
search.c: In function 'binsearch':
search.c:104:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(key, orig_key);
^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:104:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(key, orig_key);
^~~~~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:117:8: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
fgets(buf, BUFSIZE, Index);
^~~
In file included from search.c:27:
/usr/include/stdio.h:221:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *fgets(char * __restrict, int, FILE * __restrict);
^~~~~
search.c: In function 'forward_match':
search.c:158:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(key, orig_key);
^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:158:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(key, orig_key);
^~~~~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:160:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
n = strlen(key);
^~~
In file included from search.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
search.c:164:8: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
fgets(buf, BUFSIZE, Index);
^~~
In file included from search.c:27:
/usr/include/stdio.h:221:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *fgets(char * __restrict, int, FILE * __restrict);
^~~~~
search.c:165:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (strncmp(key, buf, n))
^~~
In file included from search.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
search.c:165:19: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
if (strncmp(key, buf, n))
^~~
In file included from search.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
search.c:181:8: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
fgets(buf, BUFSIZE, Index);
^~~
In file included from search.c:27:
/usr/include/stdio.h:221:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *fgets(char * __restrict, int, FILE * __restrict);
^~~~~
search.c:183:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(key, buf, n)) {
^~~
In file included from search.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
search.c:183:20: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(key, buf, n)) {
^~~
In file included from search.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
search.c: In function 'detect_search_mode':
search.c:243:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (strlen(key) <= 1)
^~~
In file included from search.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
search.c:256:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
&& *(key + strlen(key) - 2) != '\\' )
^~~
In file included from search.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
search.c:262:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
&& *(key + strlen(key) - 2) != '\\')
^~~
In file included from search.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
search.c:275:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(key, key + 1);
^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:275:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(key, key + 1);
~~~~^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
In file included from search.c:37:
search.c:282: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"))
^
In file included from search.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
search.c:286:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
if (strchr(key, '\t')) {
^~~
In file included from search.c:29:
/usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strchr(const char *, int) __pure;
^~~~~~
search.c: In function 'print_hit_count':
search.c:305:26: warning: pointer targets in initialization of 'uchar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign]
uchar *msg = "";
^~
search.c:307:21: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
msg = ": 0 ";
^
search.c:317:7: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
msg = "unknown error";
^
search.c: In function 'open_phrase_index_files':
search.c:414:21: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
*phrase = fopen(PHRASE, "rb");
^~~~~~
In file included from search.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
search.c:419:27: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
*phrase_index = fopen(PHRASEINDEX, "rb");
^~~~~~~~~~~
In file included from search.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
search.c: In function 'do_phrase_search':
search.c:435:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
if (strchr(p, '\t') == NULL) { /* if only one word */
^
In file included from search.c:29:
/usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strchr(const char *, int) __pure;
^~~~~~
search.c:452:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
q = strchr(p, '\t');
^
In file included from search.c:29:
/usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strchr(const char *, int) __pure;
^~~~~~
search.c:452:11: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
q = strchr(p, '\t');
^
search.c:455:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (strlen(p) > 0) {
^
In file included from search.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
search.c:468:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(word_mix, word_b);
^~~~~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:468:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(word_mix, word_b);
^~~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:469:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(word_mix, p);
^~~~~~~~
In file included from search.c:29:
/usr/include/string.h:86:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
search.c:469:24: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(word_mix, p);
^
In file included from search.c:29:
/usr/include/string.h:86:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
search.c: In function 'do_regex_preprocessing':
search.c:500:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, expr + 1);
^~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:500:27: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, expr + 1);
~~~~~^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:501:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(expr, "$");
^~~~
In file included from search.c:29:
/usr/include/string.h:86:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
search.c:505:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(expr, "*");
^~~~
In file included from search.c:29:
/usr/include/string.h:86:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
search.c:508:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, expr + 1);
^~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:508:27: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, expr + 1);
~~~~~^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:513:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, expr + 1);
^~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:513:27: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, expr + 1);
~~~~~^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:522:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, expr + 1);
^~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:522:31: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, expr + 1);
~~~~~^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:538:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, buf);
^~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:538:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, buf);
^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c: In function 'do_regex_search':
search.c:547:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, orig_expr);
^~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:547:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, orig_expr);
^~~~~~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:550:16: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
fp = fopen(WORDLIST, "rb");
^~~~~~~~
In file included from search.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
search.c: In function 'get_field_name':
search.c:577:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (strcmp(field, "title") == 0) {
^~~~~
In file included from search.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
search.c:578:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(field, "subject");
^~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:579:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
} else if (strcmp(field, "author") == 0) {
^~~~~
In file included from search.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
search.c:580:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(field, "from");
^~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:581:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
} else if (strcmp(field, "path") == 0) {
^~~~~
In file included from search.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
search.c:582:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(field, "url");
^~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c: In function 'get_expr':
search.c:588:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
str = strchr(str, (int)':') + 1;
^~~
In file included from search.c:29:
/usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strchr(const char *, int) __pure;
^~~~~~
search.c:588:9: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
str = strchr(str, (int)':') + 1;
^
search.c:589:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, str);
^~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:589:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(expr, str);
^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c: In function 'do_field_search':
search.c:602:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(file_name, FIELDINFO); /* make pathname */
^~~~~~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:602:23: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(file_name, FIELDINFO); /* make pathname */
^~~~~~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:603:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(file_name, field_name);
^~~~~~~~~
In file included from search.c:29:
/usr/include/string.h:86:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
search.c:603:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(file_name, field_name);
^~~~~~~~~~
In file included from search.c:29:
/usr/include/string.h:86:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcat(char * __restrict, const char * __restrict);
^~~~~~
search.c:605:16: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
fp = fopen(file_name, "rb");
^~~~~~~~~
In file included from search.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
search.c: In function 'delete_beginning_backslash':
search.c:619:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(str, str + 1);
^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:619:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(str, str + 1);
~~~~^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c: In function 'do_search':
search.c:628:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(key, orig_key);
^~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:628:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(key, orig_key);
^~~~~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c: In function 'check_lockfile':
search.c:657:23: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
if ((lock = fopen(LOCKFILE, "rb"))) {
^~~~~~~~
In file included from search.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
search.c: In function 'check_byte_order':
search.c:676:25: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
if ((fp = fopen(BIGENDIAN, "rb"))) {
^~~~~~~~~
In file included from search.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
search.c:681:25: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
if ((fp = fopen(LITTLEENDIAN, "rb"))) {
^~~~~~~~~~~~
In file included from search.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
search.c: In function 'open_index_files':
search.c:696:19: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
Index = fopen(INDEX, "rb");
^~~~~
In file included from search.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
search.c:700:24: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
IndexIndex = fopen(INDEXINDEX, "rb");
^~~~~~~~~~
In file included from search.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
search.c:704:18: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
Hash = fopen(HASH, "rb");
^~~~
In file included from search.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
search.c: In function 'get_N':
search.c:781:10: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign]
stat(FLISTINDEX, &st);
^~~~~~~~~~
In file included from search.c:36:
/usr/include/sys/stat.h:307:5: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
int stat(const char * __restrict, struct stat * __restrict);
^~~~
search.c: In function 'do_logging':
search.c:807:18: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
slog = fopen(SLOG, "a");
^~~~
In file included from search.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
search.c: In function 'search_and_print_reference':
search.c:842:73: warning: pointer targets in passing argument 1 of 'get_dir_name' differ in signedness [-Wpointer-sign]
printf("%s: ", get_dir_name(DbNames[n]));
~~~~~~~^~~
search.c:824:7: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *get_dir_name(char *path)
^~~~~~~~~~~~
search.c:856:45: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
if (KeyItem[1] == NULL && strchr(KeyItem[0], '\t') == NULL)
~~~~~~~^~~
In file included from search.c:29:
/usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strchr(const char *, int) __pure;
^~~~~~
search.c: In function 'search_main':
search.c:911:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(query_orig, query); /* save */
^~~~~~~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
search.c:911:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(query_orig, query); /* save */
^~~~~
In file included from search.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
--- form.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 form.c
form.c: In function 'load_headfoot':
form.c:46:10: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign]
stat(fname, &fstatus);
^~~~~
In file included from form.c:35:
/usr/include/sys/stat.h:307:5: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
int stat(const char * __restrict, struct stat * __restrict);
^~~~
form.c:47:16: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
fp = fopen(fname, "rb");
^~~~~
In file included from form.c:27:
/usr/include/stdio.h:222:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
FILE *fopen(const char * __restrict, const char * __restrict);
^~~~~
form.c: In function 'replace_key_value':
form.c:95:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(query, orig_query);
^~~~~
In file included from form.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
form.c:95:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(query, orig_query);
^~~~~~~~~~
In file included from form.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
form.c:97:25: warning: pointer targets in passing argument 2 of 'cmp_element' differ in signedness [-Wpointer-sign]
if (!cmp_element(p, "INPUT TYPE=\"TEXT\" NAME=\"key\"")) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
form.c:68:5: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *'
int cmp_element(uchar *s1, uchar *s2)
^~~~~~~~~~~
form.c: In function 'replace_action':
form.c:111:25: warning: pointer targets in passing argument 2 of 'cmp_element' differ in signedness [-Wpointer-sign]
if (!cmp_element(p, "FORM METHOD=\"GET\"")) {
^~~~~~~~~~~~~~~~~~~~~
form.c:68:5: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *'
int cmp_element(uchar *s1, uchar *s2)
^~~~~~~~~~~
form.c: In function 'delete_str':
form.c:129:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
l = strlen(d);
^
In file included from form.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
form.c:131:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(tmp, d, l)) {
^~~
In file included from form.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
form.c:131:27: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(tmp, d, l)) {
^
In file included from form.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
form.c:132:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(tmp, tmp + l);
^~~
In file included from form.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
form.c:132:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(tmp, tmp + l);
~~~~^~~
In file included from form.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
form.c: In function 'get_value':
form.c:143:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(s, "VALUE=\"", 7)) {
^
In file included from form.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
form.c: In function 'get_select_name':
form.c:157:29: warning: pointer targets in passing argument 2 of 'cmp_element' differ in signedness [-Wpointer-sign]
if (!cmp_element(s, "SELECT NAME=\"")) {
^~~~~~~~~~~~~~~~
form.c:68:5: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *'
int cmp_element(uchar *s1, uchar *s2)
^~~~~~~~~~~
form.c:158:24: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
s = strchr(s, '"') + 1;
^
In file included from form.c:29:
/usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strchr(const char *, int) __pure;
^~~~~~
form.c:158:15: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
s = strchr(s, '"') + 1;
^
form.c: In function 'str_backward_cmp':
form.c:172:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
p = str1 + strlen(str1) -1;
^~~~
In file included from form.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
form.c:173:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
q = str2 + strlen(str2) -1;
^~~~
In file included from form.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
form.c: In function 'select_option':
form.c:195:25: warning: pointer targets in passing argument 2 of 'cmp_element' differ in signedness [-Wpointer-sign]
if (!cmp_element(s, "OPTION")) {
^~~~~~~~
form.c:68:5: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *'
int cmp_element(uchar *s1, uchar *s2)
^~~~~~~~~~~
form.c:196:22: warning: pointer targets in passing argument 2 of 'delete_str' differ in signedness [-Wpointer-sign]
delete_str(s,"SELECTED ");
^~~~~~~~~~~
form.c:124:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *'
void delete_str(uchar *s, uchar *d)
^~~~~~~~~~
form.c:197:15: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign]
fputs(s, stdout);
^
In file included from form.c:27:
/usr/include/stdio.h:226:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
int fputs(const char * __restrict, FILE * __restrict);
^~~~~
form.c:199:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(name, "format")) {
^~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:200:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(value, "short") && ShortFormat) {
^~~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:202:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
} else if (!strcmp(value, "long") && (!ShortFormat)) {
^~~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:205:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
} else if (!strcmp(name, "sort")) {
^~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:206:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(value, "later") && LaterOrder && !ScoreSort) {
^~~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:208:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
} else if (!strcmp(value, "earlier") && !LaterOrder && !ScoreSort)
^~~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:211:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
} else if (!strcmp(value, "score") && ScoreSort) {
^~~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:214:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
} else if (!strcmp(name, "lang")) {
^~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:215:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(value, Lang)) {
^~~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:215:32: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(value, Lang)) {
^~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:218:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
} else if (!strcmp(name, "dbname")) {
^~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:222:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
} else if (!strcmp(name, "subquery")) {
^~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:223:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(value, subquery)) {
^~~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:223:32: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(value, subquery)) {
^~~~~~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:226:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
} else if (!strcmp(name, "max")) {
^~~~
In file included from form.c:29:
/usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strcmp(const char *, const char *) __pure;
^~~~~~
form.c:227:22: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign]
if (atoi(value) == HListMax) {
^~~~~
In file included from form.c:28:
/usr/include/stdlib.h:95:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int atoi(const char *);
^~~~
form.c: In function 'check_checkbox':
form.c:242:25: warning: pointer targets in passing argument 2 of 'cmp_element' differ in signedness [-Wpointer-sign]
if (!cmp_element(s, "INPUT TYPE=\"CHECKBOX\" NAME=\"dbname\"")) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
form.c:68:5: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *'
int cmp_element(uchar *s1, uchar *s2)
^~~~~~~~~~~
form.c:246:22: warning: pointer targets in passing argument 2 of 'delete_str' differ in signedness [-Wpointer-sign]
delete_str(s,"CHECKED");
^~~~~~~~~
form.c:124:6: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *'
void delete_str(uchar *s, uchar *d)
^~~~~~~~~~
form.c:247:15: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign]
fputs(s, stdout);
^
In file included from form.c:27:
/usr/include/stdio.h:226:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
int fputs(const char * __restrict, FILE * __restrict);
^~~~~
form.c:251:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
if ((x = strchr(pp, (int)','))) {
^~
In file included from form.c:29:
/usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strchr(const char *, int) __pure;
^~~~~~
form.c:251:20: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
if ((x = strchr(pp, (int)','))) {
^
form.c:253:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(name, pp);
^~~~
In file included from form.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
form.c:253:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(name, pp);
^~
In file included from form.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
form.c:256:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(name, pp);
^~~~
In file included from form.c:29:
/usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
form.c:256:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(name, pp);
^~
In file included from form.c:29:
/usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strcpy(char * __restrict, const char * __restrict);
^~~~~~
form.c:257:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
pp += strlen(pp);
^~
In file included from form.c:29:
/usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
size_t strlen(const char *) __pure;
^~~~~~
form.c: In function 'treat_tag':
form.c:283:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy(tmp, p, l);
^~~
In file included from form.c:29:
/usr/include/string.h:118:7: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strncpy(char * __restrict, const char * __restrict, size_t);
^~~~~~~
form.c:283:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy(tmp, p, l);
^
In file included from form.c:29:
/usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strncpy(char * __restrict, const char * __restrict, size_t);
^~~~~~~
form.c:295:11: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign]
fputs(tmp, stdout);
^~~
In file included from form.c:27:
/usr/include/stdio.h:226:6: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
int fputs(const char * __restrict, FILE * __restrict);
^~~~~
form.c: In function 'cat_head_or_foot':
form.c:311:37: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (BASE_URL[0] && !strncmp(p, "\n", 8)) {
^
In file included from form.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
form.c:316:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp(p, "", 8)) {
^
In file included from form.c:29:
/usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
int strncmp(const char *, const char *, size_t) __pure;
^~~~~~~
form.c:323:28: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign]
p = strchr(p, '>');
^
In file included from form.c:29:
/usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
char *strchr(const char *, int) __pure;
^~~~~~
form.c:323:19: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
p = strchr(p, '>');
^
form.c:327:55: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!IsCGI && !ForcePrintForm && !strncmp(p, "