DC-Build-Header: xjdic 24-7 / Fri Jan 13 03:45:54 +0100 2012 sbuild (Debian sbuild) 0.62.2 (05 Apr 2011) on stremi-34.reims.grid5000.fr ╔══════════════════════════════════════════════════════════════════════════════╗ ║ xjdic 24-7 (amd64) 13 Jan 2012 03:45 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: xjdic Version: 24-7 Source Version: 24-7 Distribution: lsid64b Architecture: amd64 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost sid InRelease Get:1 http://localhost sid Release.gpg [836 B] Get:2 http://localhost sid Release [188 kB] Ign http://localhost sid/main Sources/DiffIndex Ign http://localhost sid/main amd64 Packages/DiffIndex Ign http://localhost sid/main TranslationIndex Get:3 http://localhost sid/main Sources [7544 kB] Get:4 http://localhost sid/main amd64 Packages [10.4 MB] Ign http://localhost sid/main Translation-en Fetched 18.2 MB in 5s (3300 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages have been kept back: clang cpp-4.6 g++-4.6 gcc-4.6 gcc-4.6-base libgcc1 libgomp1 libquadmath0 libstdc++6 libstdc++6-4.6-dev 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... Need to get 147 kB of source archives. Get:1 http://localhost/debian/ sid/main xjdic 24-7 (dsc) [546 B] Get:2 http://localhost/debian/ sid/main xjdic 24-7 (tar) [140 kB] Get:3 http://localhost/debian/ sid/main xjdic 24-7 (diff) [6506 B] Fetched 147 kB in 0s (1533 kB/s) Download complete and in download only mode Check arch ────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/build/xjdic-vpZNx5/resolver-F2KIwp/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. Need to get 0 B/702 B of archives. After this operation, 0 B of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-core-dummy Authentication warning overridden. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10821 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Cannot open /var/lib/schroot/mount/lsid64b-e1c92500-95a0-4bf2-ab48-b9eac37e87f6/etc/lsb-release: No such file or directory Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>> 3.0.0) Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>> 3.0.0) dpkg-deb: building package `sbuild-build-depends-xjdic-dummy' in `/build/xjdic-vpZNx5/resolver-EjIFAn/apt_archive/sbuild-build-depends-xjdic-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install xjdic build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-xjdic-dummy 0 upgraded, 18 newly installed, 0 to remove and 10 not upgraded. Need to get 9511 kB/9512 kB of archives. After this operation, 26.0 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libpipeline1 libpcre3 libglib2.0-0 libxml2 libcroco3 libunistring0 bsdmainutils groff-base man-db libmagic1 file gettext-base html2text gettext intltool-debian po-debconf debhelper sbuild-build-depends-xjdic-dummy Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libpipeline1 amd64 1.2.0-5 [38.2 kB] Get:2 http://localhost/debian/ sid/main libpcre3 amd64 8.12-4 [225 kB] Get:3 http://localhost/debian/ sid/main libglib2.0-0 amd64 2.30.2-4 [1844 kB] Get:4 http://localhost/debian/ sid/main libxml2 amd64 2.7.8.dfsg-5.1 [891 kB] Get:5 http://localhost/debian/ sid/main libcroco3 amd64 0.6.2-2 [122 kB] Get:6 http://localhost/debian/ sid/main libunistring0 amd64 0.9.3-5 [434 kB] Get:7 http://localhost/debian/ sid/main bsdmainutils amd64 8.2.3 [208 kB] Get:8 http://localhost/debian/ sid/main groff-base amd64 1.21-6 [1150 kB] Get:9 http://localhost/debian/ sid/main man-db amd64 2.6.0.2-3 [1015 kB] Get:10 http://localhost/debian/ sid/main libmagic1 amd64 5.09-2 [246 kB] Get:11 http://localhost/debian/ sid/main file amd64 5.09-2 [52.0 kB] Get:12 http://localhost/debian/ sid/main gettext-base amd64 0.18.1.1-5 [154 kB] Get:13 http://localhost/debian/ sid/main html2text amd64 1.3.2a-15 [103 kB] Get:14 http://localhost/debian/ sid/main gettext amd64 0.18.1.1-5 [2080 kB] Get:15 http://localhost/debian/ sid/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:16 http://localhost/debian/ sid/main po-debconf all 1.0.16+nmu2 [224 kB] Get:17 http://localhost/debian/ sid/main debhelper all 8.9.14 [693 kB] Preconfiguring packages ... Fetched 9511 kB in 0s (41.4 MB/s) Selecting previously unselected package libpipeline1. (Reading database ... 10821 files and directories currently installed.) Unpacking libpipeline1 (from .../libpipeline1_1.2.0-5_amd64.deb) ... Selecting previously unselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ... Selecting previously unselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.30.2-4_amd64.deb) ... Selecting previously unselected package libxml2. Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5.1_amd64.deb) ... Selecting previously unselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.2-2_amd64.deb) ... Selecting previously unselected package libunistring0. Unpacking libunistring0 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_8.2.3_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-6_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.0.2-3_amd64.deb) ... Selecting previously unselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_5.09-2_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.09-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_8.9.14_all.deb) ... Selecting previously unselected package sbuild-build-depends-xjdic-dummy. Unpacking sbuild-build-depends-xjdic-dummy (from .../sbuild-build-depends-xjdic-dummy.deb) ... Processing triggers for install-info ... Setting up libpipeline1 (1.2.0-5) ... Setting up libpcre3 (8.12-4) ... Setting up libglib2.0-0 (2.30.2-4) ... No schema files found: doing nothing. Setting up libxml2 (2.7.8.dfsg-5.1) ... Setting up libcroco3 (0.6.2-2) ... Setting up libunistring0 (0.9.3-5) ... Setting up bsdmainutils (8.2.3) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode. update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode. Setting up groff-base (1.21-6) ... Setting up man-db (2.6.0.2-3) ... Building database of manual pages ... Setting up libmagic1 (5.09-2) ... Setting up file (5.09-2) ... Setting up gettext-base (0.18.1.1-5) ... Setting up html2text (1.3.2a-15) ... Setting up gettext (0.18.1.1-5) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (8.9.14) ... Setting up sbuild-build-depends-xjdic-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-4 dpkg-dev_1.16.1.2 g++-4.6_4.6.2-9 gcc-4.6_4.6.2-9 libc6-dev_2.13-24 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 linux-libc-dev_3.1.8-2 Package versions: apt_0.8.15.9 apt-utils_0.8.15.9 base-files_6.5 base-passwd_3.5.24 bash_4.2-1 binutils_2.22-4 bsdmainutils_8.2.3 bsdutils_1:2.20.1-1.1 build-essential_11.5 bzip2_1.0.6-1 clang_3.0-5 coreutils_8.13-3 cpp_4:4.6.2-4 cpp-4.6_4.6.2-9 dash_0.5.7-2 debconf_1.5.41 debfoster_2.7-1.1 debhelper_8.9.14 debian-archive-keyring_2010.08.28 debianutils_4.1 diffutils_1:3.2-1 dpkg_1.16.1.2 dpkg-dev_1.16.1.2 e2fslibs_1.42-1 e2fsprogs_1.42-1 fakeroot_1.18.2-1 file_5.09-2 findutils_4.4.2-4 g++_4:4.6.2-4 g++-4.6_4.6.2-9 gcc_4:4.6.2-4 gcc-4.6_4.6.2-9 gcc-4.6-base_4.6.2-9 gettext_0.18.1.1-5 gettext-base_0.18.1.1-5 gnupg_1.4.11-3 gpgv_1.4.11-3 grep_2.10-1 groff-base_1.21-6 gzip_1.4-2 hostname_3.09 html2text_1.3.2a-15 initscripts_2.88dsf-18 insserv_1.14.0-2.1 install-info_4.13a.dfsg.1-8 intltool-debian_0.35.0+20060710.1 less_444-1 libacl1_2.2.51-5 libattr1_1:2.4.46-5 libblkid1_2.20.1-1.1 libbz2-1.0_1.0.6-1 libc-bin_2.13-24 libc-dev-bin_2.13-24 libc6_2.13-24 libc6-dev_2.13-24 libclang-common-dev_3.0-5 libclass-isa-perl_0.36-3 libcomerr2_1.42-1 libcroco3_0.6.2-2 libdb5.1_5.1.29-1 libdpkg-perl_1.16.1.2 libffi5_3.0.10-3 libgc1c2_1:7.1-8 libgcc1_1:4.6.2-9 libgdbm3_1.8.3-10 libglib2.0-0_2.30.2-4 libgmp10_2:5.0.2+dfsg-2 libgomp1_4.6.2-9 libllvm3.0_3.0-5 liblzma2_5.1.1alpha+20110809-2 liblzma5_5.1.1alpha+20110809-3 libmagic1_5.09-2 libmount1_2.20.1-1.1 libmpc2_0.9-4 libmpfr4_3.1.0-3 libncurses5_5.9-4 libncursesw5_5.9-4 libpam-modules_1.1.3-6 libpam-modules-bin_1.1.3-6 libpam-runtime_1.1.3-6 libpam0g_1.1.3-6 libpcre3_8.12-4 libpipeline1_1.2.0-5 libquadmath0_4.6.2-9 libreadline6_6.2-8 libselinux1_2.1.0-4 libsepol1_2.1.0-1.2 libslang2_2.2.4-5 libss2_1.42-1 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 libswitch-perl_2.16-2 libtimedate-perl_1.2000-1 libtinfo5_5.9-4 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-20 libuuid1_2.20.1-1.1 libxml2_2.7.8.dfsg-5.1 linux-libc-dev_3.1.8-2 login_1:4.1.4.2+svn3283-3 lsb-base_3.2-28 make_3.81-8.1 man-db_2.6.0.2-3 mawk_1.3.3-16 mount_2.20.1-1.1 multiarch-support_2.13-24 ncurses-base_5.9-4 ncurses-bin_5.9-4 nvi_1.81.6-8.2 passwd_1:4.1.4.2+svn3283-3 patch_2.6.1-2 perl_5.14.2-6 perl-base_5.14.2-6 perl-modules_5.14.2-6 po-debconf_1.0.16+nmu2 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-xjdic-dummy_0.invalid.0 sed_4.2.1-9 sensible-utils_0.0.6 sysv-rc_2.88dsf-18 sysvinit_2.88dsf-18 sysvinit-utils_2.88dsf-18 tar_1.26-4 tzdata_2011n-2 util-linux_2.20.1-1.1 xz-utils_5.1.1alpha+20110809-3 zlib1g_1:1.2.3.4.dfsg-3 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/var/lib/sbuild/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Thu Jan 10 23:53:31 2008 CET using DSA key ID FD46A698 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./xjdic_24-7.dsc dpkg-source: info: extracting xjdic in xjdic-24 dpkg-source: info: unpacking xjdic_24.orig.tar.gz dpkg-source: info: applying xjdic_24-7.diff.gz dpkg-source: info: upstream files that have been modified: xjdic-24/Makefile xjdic-24/xjdclient.c xjdic-24/xjdfrontend.c xjdic-24/xjdic.1 xjdic-24/xjdic.h xjdic-24/xjdserver.c xjdic-24/xjdxgen.c Check disc space ──────────────── Sufficient free space for build dpkg-buildpackage ───────────────── dpkg-buildpackage: source package xjdic dpkg-buildpackage: source version 24-7 dpkg-source --before-build xjdic-24 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make realclean make[1]: Entering directory `/build/xjdic-vpZNx5/xjdic-24' rm -f *.o rm -f xjdic_sa xjdic_cl xjdserver xjdxgen exjdxgen xjdrad make[1]: Leaving directory `/build/xjdic-vpZNx5/xjdic-24' rm -f xjdic24.txt dh_clean dh_clean: Compatibility levels before 5 are deprecated. dpkg-source -b xjdic-24 dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: info: using source format `1.0' dpkg-source: info: building xjdic using existing xjdic_24.orig.tar.gz dpkg-source: info: building xjdic in xjdic_24-7.diff.gz dpkg-source: warning: the diff modifies the following upstream files: Makefile xjdclient.c xjdfrontend.c xjdic.1 xjdic.h xjdserver.c xjdxgen.c dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1) dpkg-source: info: building xjdic in xjdic_24-7.dsc debian/rules build dh_testdir # Add here commands to configure the package. touch configure-stamp dh_testdir # Add here commands to compile the package. /usr/bin/make CC="gcc -Wall -g -O3" make[1]: Entering directory `/build/xjdic-vpZNx5/xjdic-24' gcc -Wall -g -O3 -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdsa.c xjdsa.c:84:10: warning: implicit declaration of function 'Kstrcmp' is invalid in C99 [-Wimplicit-function-declaration] res = Kstrcmp(sch_str_len,sch_str); ^ xjdsa.c:179:10: warning: implicit declaration of function 'jindex' is invalid in C99 [-Wimplicit-function-declaration] schix = jindex(it); ^ xjdsa.c:183:10: warning: implicit declaration of function 'dbchar' is invalid in C99 [-Wimplicit-function-declaration] while ((dbchar(schix) != 0x0a) && (schix >= 0)) schix--; ^ xjdsa.c:198:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] *res_len = strlen(res_str); ^~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ 4 warnings generated. gcc -Wall -g -O3 -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdcomm.c -o xjdcomm_sa.o xjdcomm.c:159:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((dp2 = strrchr(dp,'/')) == NULL) return(dp); ^~ /usr/include/string.h:262:37: note: passing argument to parameter '__s' here extern char *strrchr (__const char *__s, int __c) ^ xjdcomm.c:159:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((dp2 = strrchr(dp,'/')) == NULL) return(dp); ^ ~~~~~~~~~~~~~~~ xjdcomm.c:190:16: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(DicDir,ENVname); /* added by nakahara@debian.org */ ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:193:14: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(cl_rcfile) > 0) ^~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdcomm.c:195:15: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(cl_rcfile,"r"); ^~~~~~~~~ xjdcomm.c:203:14: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(ENVname) > 2) ^~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdcomm.c:205:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,ENVname); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:205:20: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,ENVname); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:206:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,"/"); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:210:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,getenv("HOME")); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:211:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,"/"); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:213:10: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,".xjdicrc"); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:214:14: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(xjdicdir,"r"); ^~~~~~~~ xjdcomm.c:216:10: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,".xjdicrc"); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:217:14: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(xjdicdir,"r"); ^~~~~~~~ xjdcomm.c:221:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,getenv("HOME")); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:222:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,"/"); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:223:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,".xjdicrc"); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:224:15: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(xjdicdir,"r"); ^~~~~~~~ xjdcomm.c:232:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(fgets(rcstr,79,fm) != NULL) ^~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdcomm.c:234:35: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] rcwd = (unsigned char *)strtok(rcstr," \t"); ^~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdcomm.c:239:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(DicDir,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:273:5: warning: implicit declaration of function 'EMtoggle' is invalid in C99 [-Wimplicit-function-declaration] EMtoggle (); ^ xjdcomm.c:290:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[thisdic],rcwd); ^~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:290:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[thisdic],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:291:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[thisdic],rcwd); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:291:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[thisdic],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:292:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(XJDXnamet[thisdic],".xjdx"); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:300:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(GPL_File,rcwd); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:300:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(GPL_File,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:308:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Clip_File,rcwd); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:308:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Clip_File,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:316:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTname,rcwd); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:316:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:317:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTJDXname,rcwd); ^~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:317:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTJDXname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:318:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(EXTJDXname, ".xjdx"); ^~~~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:335:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KDNSlist,rcwd); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:335:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KDNSlist,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:343:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[0],rcwd); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:343:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[0],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:344:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[0],rcwd); ^~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:344:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[0],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:345:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(XJDXnamet[0],".xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:353:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKname,rcwd); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:353:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:359:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Rname,rcwd); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:359:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Rname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:365:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Vname,rcwd); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:365:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Vname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:371:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ROMname,rcwd); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:371:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ROMname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:384:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(rcwd,"%d",&fn); ^~~~ /usr/include/stdio.h:450:62: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (__const char *__restrict __s, ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:183:11: note: expanded from: name proto __asm__ (__ASMNAME (#alias)) __THROW ^ xjdcomm.c:387:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(rcwd,"%d",&ft); ^~~~ /usr/include/stdio.h:450:62: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (__const char *__restrict __s, ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:183:11: note: expanded from: name proto __asm__ (__ASMNAME (#alias)) __THROW ^ xjdcomm.c:398:12: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtnames[fn],rcwd); ^~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:398:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtnames[fn],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:403:13: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtcodes[fn][ft],rcwd); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:403:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtcodes[fn][ft],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:173:24: warning: unused variable 'dicbufft' [-Wunused-variable] extern unsigned char *dicbufft[10]; ^ xjdcomm.c:174:23: warning: unused variable 'diclent' [-Wunused-variable] extern unsigned long diclent[10], indkent[10],indptrt[10]; ^ xjdcomm.c:174:36: warning: unused variable 'indkent' [-Wunused-variable] extern unsigned long diclent[10], indkent[10],indptrt[10]; ^ xjdcomm.c:174:48: warning: unused variable 'indptrt' [-Wunused-variable] extern unsigned long diclent[10], indkent[10],indptrt[10]; ^ xjdcomm.c:429:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for(i = 0; i < strlen(s1);i++) ^~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ 63 warnings generated. gcc -Wall -g -O3 -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdservcomm.c -o xjdservcomm_sa.o xjdservcomm.c:246:15: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpd = xfopen(Dnamet[dn],"rb", &diclenx); ^~~~~~~~~~ xjdservcomm.c:55:21: note: passing argument to parameter 'name' here FILE *xfopen (char *name, char *mode, int *xfilelen); ^ xjdservcomm.c:249:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpd = xfopen(XJDXnamet[dn],"rb", &xfilelen); ^~~~~~~~~~~~~ xjdservcomm.c:55:21: note: passing argument to parameter 'name' here FILE *xfopen (char *name, char *mode, int *xfilelen); ^ xjdservcomm.c:359:19: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fdd[dn] =xopen(Dnamet[dn],&xfilelen); ^~~~~~~~~~ xjdservcomm.c:56:18: note: passing argument to parameter 'name' here int xopen (char *name, int *xfilelen); ^ xjdservcomm.c:367:20: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fdi[dn] = xopen(XJDXnamet[dn],&xfilelen); ^~~~~~~~~~~~~ xjdservcomm.c:56:18: note: passing argument to parameter 'name' here int xopen (char *name, int *xfilelen); ^ xjdservcomm.c:370:20: warning: assigning to 'unsigned long *' from 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((jdxbufft[dn] = (long *) mmap(0, xfilelen, PROT_READ, MAP_FILE | MAP_SHARED, fdi[dn],0)) == MAP_FAILED) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdservcomm.c:354:8: warning: unused variable 'i' [-Wunused-variable] int i,len; ^ xjdservcomm.c:354:10: warning: unused variable 'len' [-Wunused-variable] int i,len; ^ 7 warnings generated. gcc -Wall -g -O3 -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdfrontend.c -o xjdfrontend_sa.o xjdfrontend.c:306:8: warning: unused variable 'term_name' [-Wunused-variable] char *term_name; ^ xjdfrontend.c:342:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fk = xfopen(KSname,"r",&xfilelen); ^~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:346:9: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(testline,9,fk); ^~~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:339:8: warning: unused variable 'j' [-Wunused-variable] int i,j,k,lno; ^ xjdfrontend.c:339:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k,lno; ^ xjdfrontend.c:367:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fk = xfopen(RKname,"r", &xfilelen); ^~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:386:9: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(testline,199,fk); ^~~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:402:27: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (k = 0; k < strlen(testline); k++) ^~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:449:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:455:16: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(ktarg) != 0) /* kana mode - back over a kana */ ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:457:19: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ktarg[strlen(ktarg)-2] = '\0'; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:458:16: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:469:13: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:528:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,ktarg); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:528:16: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,ktarg); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:550:14: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(targ) != strlen(kanatab[ki])) continue; ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:550:30: warning: passing 'unsigned char [7]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(targ) != strlen(kanatab[ki])) continue; ^~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:552:10: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(ktarg,kanatab[ki+1]); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:552:16: warning: passing 'unsigned char [7]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(ktarg,kanatab[ki+1]); ^~~~~~~~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:554:13: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:568:40: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < NRKANA*2; i++) strcpy(kanatab[i]," "); ^~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:569:14: warning: passing 'unsigned char [60]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fp = xfopen(ROMname,"r", &xfilelen); ^~~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:573:9: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(LKin,79,fp); ^~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:589:33: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = (unsigned char *)strtok(LKin," \t"); ^~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdfrontend.c:590:29: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2+1],ptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:590:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2+1],ptr); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:592:29: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2],ptr); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:592:55: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2],ptr); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:621:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(msg) == 0) return (TRUE); ^~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:644:13: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(KLine) == 0) return (TRUE); ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:645:33: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = (unsigned char *)strtok(KLine," "); ^~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdfrontend.c:649:10: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,kptr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:649:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,kptr); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:658:37: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (j = 0;j < 10-it;j++) KOut(" "); ^~~ xjdfrontend.c:199:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:661:11: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,ktemp+1); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:661:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,ktemp+1); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:663:15: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] it = strlen(ktemp); ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:670:9: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KOut("\n"); ^~~~ xjdfrontend.c:199:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:677:29: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (DCol <= MAXCOLS) KOut(" "); ^~~ xjdfrontend.c:199:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:680:7: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KOut("\n"); ^~~~ xjdfrontend.c:199:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:693:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tmp); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:693:15: warning: passing 'unsigned char [2]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tmp); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:705:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(sout); i++) ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:780:25: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(instr); i++) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:843:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(jline); i++) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:888:11: warning: passing 'char [15]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Extension Key:"); ^~~~~~~~~~~~~~~~ xjdfrontend.c:221:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt); ^ xjdfrontend.c:896:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fe = xfopen(EXTname,"rb", &extlen); ^~~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:897:24: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fex = xfopen(EXTJDXname,"rb", &extjdxlen); ^~~~~~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:903:55: warning: conversion specifies type 'long' but the argument has type 'unsigned int' [-Wformat] printf("\nEDICT Extension file & Index Mismatch! %ld %ld\n",ejdxtest[0],extlen+jiver); ~~^ ~~~~~~~~~~~ %u xjdfrontend.c:903:59: warning: conversion specifies type 'long' but the argument has type 'int' [-Wformat] printf("\nEDICT Extension file & Index Mismatch! %ld %ld\n",ejdxtest[0],extlen+jiver); ~~^ ~~~~~~~~~~~~ %d xjdfrontend.c:951:10: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (hi < 0) break; ~~ ^ ~ xjdfrontend.c:958:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (KLine," <"); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:963:10: warning: passing 'unsigned char [200]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(LogLine,199,fe); ^~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:966:20: warning: passing 'unsigned char [200]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = strlen(LogLine); i >= 0; i--) ^~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:970:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,LogLine); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:970:17: warning: passing 'unsigned char [200]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,LogLine); ^~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:971:16: warning: passing 'char [49]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!KFlush("Continue displaying extension information? (y/n)")) break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:973:12: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (KLine," "); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1014:9: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vcomms[40],"Unknown type"); ^~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1016:14: warning: passing 'unsigned char [60]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fi = xfopen(Vname,"r", &xfilelen); ^~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1019:9: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(tempstr,511,fi); ^~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:1030:35: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] vptr = (unsigned char *)strtok(tempstr," \t\n\r"); ^~~~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdfrontend.c:1031:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = atoi(vptr); ^~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1034:11: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vcomms[i],vptr); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1034:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vcomms[i],vptr); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1037:35: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] vptr = (unsigned char *)strtok(tempstr," \t\n\r"); ^~~~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdfrontend.c:1038:11: warning: passing 'unsigned char [21]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vinfl[verblen],vptr); ^~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1038:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vinfl[verblen],vptr); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1040:11: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vdicf[verblen],vptr); ^~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1040:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vdicf[verblen],vptr); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1042:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = atoi(vptr); ^~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1067:9: warning: passing 'unsigned char [250]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1067:15: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1085:40: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] xjdserver (XJ_FIND, DicNum,it, strlen(vstr), vstr, ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1094:44: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] xjdserver (XJ_ENTRY, DicNum, it, strlen(vstr), vstr, ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1139:12: warning: passing 'unsigned char [250]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1139:18: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1163:20: warning: passing 'unsigned char [250]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(vline) > 0) break; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1165:17: warning: passing 'unsigned char [250]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(vline) <=1) return(FALSE); ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1085:29: warning: variable 'it' is uninitialized when used here [-Wuninitialized] xjdserver (XJ_FIND, DicNum,it, strlen(vstr), vstr, ^~ xjdfrontend.c:1079:9: note: initialize the variable 'it' to silence this warning long it; ^ = 0 xjdfrontend.c:1216:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1216:19: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1217:11: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(rethdr,"[X] "); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1219:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1219:17: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1220:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1220:17: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1221:11: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1224:43: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((gdiclen > gdiclenbest) || ((strlen(KLine) > strlen(retsave)) && (gdiclen == gdiclenbest))) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1224:59: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((gdiclen > gdiclenbest) || ((strlen(KLine) > strlen(retsave)) && (gdiclen == gdiclenbest))) ^~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1226:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1226:19: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1227:11: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(rethdr,"[X] "); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1237:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1237:15: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1238:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1238:15: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1239:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1285:26: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0;i < strlen(vinfl[vi]);i++) ^~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1294:11: warning: passing 'unsigned char [13]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vstr,vdicf[vi]); ^~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1294:16: warning: passing 'unsigned char [7]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vstr,vdicf[vi]); ^~~~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:74: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:31: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:30: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:814:39: note: expanded from: && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:33: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:30: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:74: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:31: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:30: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:814:39: note: expanded from: && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:33: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:30: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1300:12: warning: passing 'unsigned char [11]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vlast,vstr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1300:18: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vlast,vstr); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1302:12: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,vline); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1302:18: warning: passing 'unsigned char [250]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,vline); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1304:12: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1327:19: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (fbuff[strlen(fbuff)-1] < 32) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1327:48: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (fbuff[strlen(fbuff)-1] < 32) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1330:40: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (slencal(slenx-1,fbuff) >= strlen(fbuff)) break; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1336:26: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(fbuff); i+=2) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1350:13: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] &xjresp, &respos, &roff, &rlen, repstr, &DicLoc); ^~~~~~~ xjdfrontend.c:187:48: note: passing argument to parameter 'res_index' here unsigned char *sch_str, int *sch_resp, long *res_index, ^ xjdfrontend.c:1370:27: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (srchlenok != strlen(fbuff)) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1394:20: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] fbuff, &xjresp, &respos, &roff, &rlen, repstr, &DicLoc); ^~~~~~~ xjdfrontend.c:187:48: note: passing argument to parameter 'res_index' here unsigned char *sch_str, int *sch_resp, long *res_index, ^ xjdfrontend.c:1423:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1423:28: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~~~~~~~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1436:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1436:28: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~~~~~~~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1450:16: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(testline,strfilt) != NULL) FiltOK = TRUE; ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1450:25: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(testline,strfilt) != NULL) FiltOK = TRUE; ^~~~~~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1455:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,SingleFilter); ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1455:28: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,SingleFilter); ^~~~~~~~~~~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1455:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,SingleFilter); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1465:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(testline) - strlen(kptr)) % 2 == 0) ^~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1465:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(testline) - strlen(kptr)) % 2 == 0) ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1473:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(kptr2+1,SingleFilter); ^~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1473:30: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(kptr2+1,SingleFilter); ^~~~~~~~~~~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1473:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(kptr2+1,SingleFilter); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1501:25: warning: passing 'char [35]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying matches? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1513:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(ops,"%d: ",dind); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1514:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1514:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1518:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(ops,"%d: ",dind+1); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1519:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1519:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1523:12: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine," "); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1538:14: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (ops,instr); ^~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1538:18: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (ops,instr); ^~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1543:17: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (instr,"%s 1-%x%x [1-%d]",ops,kanj2&0x7f,kanj3&0x7f,((kanj2&0x7f)-0x20)*100+(kanj3&0x7f)-0x20); ^~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1552:17: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (instr,"%s %x%x [%d:%x%x]",ops,kanj1&0x7f,kanj2&0x7f,((kanj1&0x7f)-0x20)*100+(kanj2&0x7f)-0x20,k1,k2); ^~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1555:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,instr); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1555:20: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,instr); ^~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1563:21: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"S"); ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1563:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"S"); ^ ~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1570:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] karray[nok][0] = atoi(kptr+1); ^~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1572:21: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"B"); ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1572:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"B"); ^ ~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1579:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] karray[nok][1] = atoi(kptr+1); ^~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1590:47: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff)) strcat (KLine,RVon); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1590:53: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff)) strcat (KLine,RVon); ^~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1591:55: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff+srchlen)) strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1591:61: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff+srchlen)) strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1595:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1595:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1602:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1602:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1620:17: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVon); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1620:23: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVon); ^~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1629:16: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1629:22: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1633:19: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(KDNSlist,ops) != NULL) ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1633:28: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(KDNSlist,ops) != NULL) ^~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1668:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1668:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1693:40: warning: passing 'char [35]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (Dmode == 0) KFlushRes = KFlush("Continue displaying matches? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1694:58: warning: passing 'char [35]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((Dmode == 1)&&(KLRmode == 0)) KFlushRes = KFlush("Continue displaying matches? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1720:23: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying kanji (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1254:33: warning: unused variable 'hit' [-Wunused-variable] int schix,schiy,schiz,j,dind,hit,skip,brace,engrv; ^ xjdfrontend.c:1254:37: warning: unused variable 'skip' [-Wunused-variable] int schix,schiy,schiz,j,dind,hit,skip,brace,engrv; ^ xjdfrontend.c:1254:42: warning: unused variable 'brace' [-Wunused-variable] int schix,schiy,schiz,j,dind,hit,skip,brace,engrv; ^ xjdfrontend.c:1349:33: warning: variable 'zz' is uninitialized when used here [-Wuninitialized] xjdserver (XJ_FIND, DicNum, zz, srchlen, fbuff, ^~ xjdfrontend.c:1258:20: note: initialize the variable 'zz' to silence this warning unsigned long zz,bshit[20]; ^ = 0 xjdfrontend.c:1744:15: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpr = xfopen(Rname,"r", &xfilelen); ^~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1748:17: warning: passing 'unsigned char [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] errf = (fgets(rstr,19,fpr) == NULL); ^~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:1750:21: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1750:50: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1756:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] radnos[i] = atoi(rstr+4); ^~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1760:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] radnos[i] = atoi(rstr+3); ^~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1772:16: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] flic = xfopen(GPL_File,"r", &xfilelen); ^~~~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1777:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(KLine,81,flic); ^~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:1780:11: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1783:16: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] KLine[strlen(KLine)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1784:14: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!KFlush("Continue Licence Display? (y/n)")) return; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1796:15: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpr = xfopen(Rname,"r", &xfilelen); ^~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1805:17: warning: passing 'unsigned char [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] errf = (fgets(rstr,19,fpr) == NULL); ^~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:1808:11: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1812:21: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1812:50: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1813:20: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((rstr[strlen(rstr)-2] == ' ')&&(rstr[strlen(rstr)-1] == '0')) ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1813:52: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((rstr[strlen(rstr)-2] == ' ')&&(rstr[strlen(rstr)-1] == '0')) ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1815:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1817:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine," "); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1818:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1821:12: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"%s Stroke Radicals ",rstr); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1822:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,tempout); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1822:17: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,tempout); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1823:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1825:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine," "); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1826:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1830:10: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,"\t"); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1835:11: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"%s ",rstr+3); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1836:10: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tempout); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1836:16: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tempout); ^~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1838:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1878:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1878:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1883:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1883:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1889:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1889:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1928:9: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff,instr); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1928:15: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff,instr); ^~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1962:11: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1962:17: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1979:12: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1979:18: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1980:17: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1980:47: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1996:20: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( fbuff[strlen(fbuff)-1] < 0x20) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1996:51: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( fbuff[strlen(fbuff)-1] < 0x20) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2014:11: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("FILTER:"); ^~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2015:9: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(SingleFilter,fbuff); ^~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2015:22: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(SingleFilter,fbuff); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2016:13: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(fbuff) >= 2) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2032:8: warning: unused variable 'j' [-Wunused-variable] int i,j,k,Found; ^ xjdfrontend.c:2032:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k,Found; ^ xjdfrontend.c:2085:13: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKTarg) <= 2) ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2093:22: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (l=2; l< strlen(RKTarg); l+=2) ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2124:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf(" (%d) ",strlen(RKSet[NoSets-1])/2); ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2124:14: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf(" (%d) ",strlen(RKSet[NoSets-1])/2); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %lu xjdfrontend.c:2053:6: warning: unused variable 'stest' [-Wunused-variable] int stest,jtest,i,j,k,l,m,n,lind,hitcount; ^ xjdfrontend.c:2053:26: warning: unused variable 'm' [-Wunused-variable] int stest,jtest,i,j,k,l,m,n,lind,hitcount; ^ xjdfrontend.c:2136:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fk = xfopen(RKname,"r", &xfilelen); ^~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:2145:9: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(testline,199,fk); ^~~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:2148:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = strtok(testline+4," "); ^~~~~~~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdfrontend.c:2148:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = strtok(testline+4," "); ^ ~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:2149:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] l = atoi(ptr); ^~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:2153:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (n = 0; n < strlen(ptr); n++) ^~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2163:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2171:11: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Which Kanji:"); ^~~~~~~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2173:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,"Kanji: "); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2176:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine," Elements: "); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2191:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2201:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(RKSet[NoSets-1]); i+=2) ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2219:12: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Lookup Code:"); ^~~~~~~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2223:15: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKTarg) == 20) ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2228:11: warning: passing 'unsigned char [21]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(RKTarg,ops); ^~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2228:18: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(RKTarg,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2231:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) == 0) continue; ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2232:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) <=RADLOOKLIM) RadKDisp(); ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2266:12: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(testline," >= "); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2272:12: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(testline," <= "); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2275:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kstrokelim = atoi(fbuff+i); ^~~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:2284:15: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKTarg) > 0) RadBuild(); ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2286:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) <=RADLOOKLIM) RadKDisp(); ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2292:20: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (i >= strlen(RKTarg)/2) ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2297:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKTarg+i*2,RKTarg+i*2+2); ^~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2297:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKTarg+i*2,RKTarg+i*2+2); ^~~~~~~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2298:14: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(RKTarg) > 0) RadBuild(); ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2299:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) <=RADLOOKLIM) RadKDisp(); ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2311:11: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("KANJI/KANA:"); ^~~~~~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2445:11: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Dictionary Numbers:"); ^~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2446:16: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(gdtemp,fbuff); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2539:10: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fff,"OFF"); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2540:23: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(filton[j])strcpy(fff,"ON "); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2582:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ xjdfrontend.c:2582:1: error: second parameter of 'main' (argument array) must be of type 'char **' xjdfrontend.c:2608:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(dicenv) <= 2) ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2610:36: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); ^~~~~~~ /usr/include/unistd.h:508:28: note: passing argument to parameter '__buf' here extern char *getcwd (char *__buf, size_t __size) __THROW __wur; ^ xjdfrontend.c:2619:11: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (ENVname,dicenv); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2619:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (ENVname,dicenv); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2622:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[1],"edict"); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2623:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[0], "kanjidic"); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2624:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[1], "edict.xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2625:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[0], "kanjidic.xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2635:11: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2635:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2640:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2640:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2645:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2645:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2646:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2646:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2648:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (cl_rcfile,strtmp); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2648:23: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (cl_rcfile,strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2655:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2655:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2660:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2660:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2661:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2661:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2717:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2717:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2722:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2722:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2723:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2723:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2725:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Clip_File,strtmp); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2725:23: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Clip_File,strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2741:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2741:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2746:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2746:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2747:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2747:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2749:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[thisdic],strtmp); ^~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2749:29: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[thisdic],strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2750:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[thisdic],strtmp); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2750:32: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[thisdic],strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2751:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (XJDXnamet[thisdic],".xjdx"); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2760:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2760:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2765:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2765:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2766:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2766:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2768:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[0],strtmp); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2768:23: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[0],strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2769:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[0],strtmp); ^~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2769:26: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[0],strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2770:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (XJDXnamet[0],".xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2835:11: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt,"%sXJDIC [%d:%s] SEARCH KEY:%s ",RVon,CurrDic,DicName(CurrDic),RVoff); ^~~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:2836:11: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt2,"XJDIC [%d:%s] SEARCH KEY: ",CurrDic,DicName(CurrDic)); ^~~~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:2839:12: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt,"%sXJDIC [GLOBAL] SEARCH KEY:%s ",RVon,RVoff); ^~~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:2840:12: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt2,"XJDIC [GLOBAL] SEARCH KEY: "); ^~~~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:2891:13: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,Help[ip]); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2891:19: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,Help[ip]); ^~~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2892:17: warning: passing 'char [29]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!KFlush("Continue Help Display? (y/n)")) break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2908:12: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2908:18: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2941:13: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2941:19: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2942:18: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2942:48: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:3099:15: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("INDEX CODE:"); ^~~~~~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:3102:13: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff," "); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3111:17: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(strtmp,"%d",radnos[i]); ^~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:3112:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff+1,strtmp); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3112:24: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff+1,strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3113:16: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff," "); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3120:16: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,"B1 "); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3126:13: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(instr,3,stdin); ^~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:3127:16: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = atoi(instr); ^~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:3128:15: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(strfilt,"S%d",i); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:3133:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (atoi(strfilt+1) == 0) strf = FALSE; ^~~~~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:3147:13: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3147:19: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3181:20: warning: passing 'unsigned char [100]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fclip = fopen(Clip_File,"r"); ^~~~~~~~~ xjdfrontend.c:3185:14: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring1,"XXXX"); ^~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3186:14: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring2,"XXXX"); ^~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3190:12: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(clipstring1,50,fclip); ^~~~~~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:3192:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (clipstring1[strlen(clipstring1)-1] < 32) clipstring1[strlen(clipstring1)-1] = 0; ^~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:3192:70: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (clipstring1[strlen(clipstring1)-1] < 32) clipstring1[strlen(clipstring1)-1] = 0; ^~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:74: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:31: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:30: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:814:39: note: expanded from: && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:33: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:30: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:3205:14: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring2,clipstring1); ^~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3205:26: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring2,clipstring1); ^~~~~~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3206:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,clipstring1); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3206:20: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,clipstring1); ^~~~~~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3211:13: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(instr) < 2) continue; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:3214:11: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\nSearching for: %s%s%s\n",RVon,fbuff,RVoff); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:3219:15: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] j = strlen(fbuff); ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ 405 warnings and 1 error generated. make[1]: *** [xjdfrontend_sa.o] Error 1 make[1]: Leaving directory `/build/xjdic-vpZNx5/xjdic-24' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120113-0346 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /var/lib/schroot/mount/lsid64b-e1c92500-95a0-4bf2-ab48-b9eac37e87f6/build/xjdic-vpZNx5 Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 528 Build-Time: 1 Distribution: lsid64b Fail-Stage: build Install-Time: 6 Job: xjdic_24-7 Package: xjdic Package-Time: 23 Source-Version: 24-7 Space: 528 Status: attempted Version: 24-7 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120113-0346 Build needed 00:00:23, 528k disc space DC-Message: Failed, but took only 24.468186. Retrying, you never know. Requested exclusive mode, but other builds running. Requested exclusive mode, but other builds running. sbuild (Debian sbuild) 0.62.2 (05 Apr 2011) on stremi-34.reims.grid5000.fr ╔══════════════════════════════════════════════════════════════════════════════╗ ║ xjdic 24-7 (amd64) 13 Jan 2012 03:47 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: xjdic Version: 24-7 Source Version: 24-7 Distribution: lsid64b Architecture: amd64 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost sid InRelease Get:1 http://localhost sid Release.gpg [836 B] Get:2 http://localhost sid Release [188 kB] Ign http://localhost sid/main Sources/DiffIndex Ign http://localhost sid/main amd64 Packages/DiffIndex Ign http://localhost sid/main TranslationIndex Get:3 http://localhost sid/main Sources [7544 kB] Get:4 http://localhost sid/main amd64 Packages [10.4 MB] Ign http://localhost sid/main Translation-en Fetched 18.2 MB in 7s (2486 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages have been kept back: clang cpp-4.6 g++-4.6 gcc-4.6 gcc-4.6-base libgcc1 libgomp1 libquadmath0 libstdc++6 libstdc++6-4.6-dev 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... Need to get 147 kB of source archives. Get:1 http://localhost/debian/ sid/main xjdic 24-7 (dsc) [546 B] Get:2 http://localhost/debian/ sid/main xjdic 24-7 (tar) [140 kB] Get:3 http://localhost/debian/ sid/main xjdic 24-7 (diff) [6506 B] Fetched 147 kB in 0s (10.8 MB/s) Download complete and in download only mode Check arch ────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/build/xjdic-uhpBSm/resolver-ooI2BH/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. Need to get 0 B/704 B of archives. After this operation, 0 B of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-core-dummy Authentication warning overridden. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10821 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Cannot open /var/lib/schroot/mount/lsid64b-5991db4f-fd6e-4321-8ce4-5be7bcbdbca2/etc/lsb-release: No such file or directory Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>> 3.0.0) Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>> 3.0.0) dpkg-deb: building package `sbuild-build-depends-xjdic-dummy' in `/build/xjdic-uhpBSm/resolver-wv0lF7/apt_archive/sbuild-build-depends-xjdic-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install xjdic build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-xjdic-dummy 0 upgraded, 18 newly installed, 0 to remove and 10 not upgraded. Need to get 9511 kB/9512 kB of archives. After this operation, 26.0 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libpipeline1 libpcre3 libglib2.0-0 libxml2 libcroco3 libunistring0 bsdmainutils groff-base man-db libmagic1 file gettext-base html2text gettext intltool-debian po-debconf debhelper sbuild-build-depends-xjdic-dummy Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libpipeline1 amd64 1.2.0-5 [38.2 kB] Get:2 http://localhost/debian/ sid/main libpcre3 amd64 8.12-4 [225 kB] Get:3 http://localhost/debian/ sid/main libglib2.0-0 amd64 2.30.2-4 [1844 kB] Get:4 http://localhost/debian/ sid/main libxml2 amd64 2.7.8.dfsg-5.1 [891 kB] Get:5 http://localhost/debian/ sid/main libcroco3 amd64 0.6.2-2 [122 kB] Get:6 http://localhost/debian/ sid/main libunistring0 amd64 0.9.3-5 [434 kB] Get:7 http://localhost/debian/ sid/main bsdmainutils amd64 8.2.3 [208 kB] Get:8 http://localhost/debian/ sid/main groff-base amd64 1.21-6 [1150 kB] Get:9 http://localhost/debian/ sid/main man-db amd64 2.6.0.2-3 [1015 kB] Get:10 http://localhost/debian/ sid/main libmagic1 amd64 5.09-2 [246 kB] Get:11 http://localhost/debian/ sid/main file amd64 5.09-2 [52.0 kB] Get:12 http://localhost/debian/ sid/main gettext-base amd64 0.18.1.1-5 [154 kB] Get:13 http://localhost/debian/ sid/main html2text amd64 1.3.2a-15 [103 kB] Get:14 http://localhost/debian/ sid/main gettext amd64 0.18.1.1-5 [2080 kB] Get:15 http://localhost/debian/ sid/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:16 http://localhost/debian/ sid/main po-debconf all 1.0.16+nmu2 [224 kB] Get:17 http://localhost/debian/ sid/main debhelper all 8.9.14 [693 kB] Preconfiguring packages ... Fetched 9511 kB in 0s (41.8 MB/s) Selecting previously unselected package libpipeline1. (Reading database ... 10821 files and directories currently installed.) Unpacking libpipeline1 (from .../libpipeline1_1.2.0-5_amd64.deb) ... Selecting previously unselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ... Selecting previously unselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.30.2-4_amd64.deb) ... Selecting previously unselected package libxml2. Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5.1_amd64.deb) ... Selecting previously unselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.2-2_amd64.deb) ... Selecting previously unselected package libunistring0. Unpacking libunistring0 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_8.2.3_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-6_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.0.2-3_amd64.deb) ... Selecting previously unselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_5.09-2_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.09-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_8.9.14_all.deb) ... Selecting previously unselected package sbuild-build-depends-xjdic-dummy. Unpacking sbuild-build-depends-xjdic-dummy (from .../sbuild-build-depends-xjdic-dummy.deb) ... Processing triggers for install-info ... Setting up libpipeline1 (1.2.0-5) ... Setting up libpcre3 (8.12-4) ... Setting up libglib2.0-0 (2.30.2-4) ... No schema files found: doing nothing. Setting up libxml2 (2.7.8.dfsg-5.1) ... Setting up libcroco3 (0.6.2-2) ... Setting up libunistring0 (0.9.3-5) ... Setting up bsdmainutils (8.2.3) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode. update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode. Setting up groff-base (1.21-6) ... Setting up man-db (2.6.0.2-3) ... Building database of manual pages ... Setting up libmagic1 (5.09-2) ... Setting up file (5.09-2) ... Setting up gettext-base (0.18.1.1-5) ... Setting up html2text (1.3.2a-15) ... Setting up gettext (0.18.1.1-5) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (8.9.14) ... Setting up sbuild-build-depends-xjdic-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-4 dpkg-dev_1.16.1.2 g++-4.6_4.6.2-9 gcc-4.6_4.6.2-9 libc6-dev_2.13-24 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 linux-libc-dev_3.1.8-2 Package versions: apt_0.8.15.9 apt-utils_0.8.15.9 base-files_6.5 base-passwd_3.5.24 bash_4.2-1 binutils_2.22-4 bsdmainutils_8.2.3 bsdutils_1:2.20.1-1.1 build-essential_11.5 bzip2_1.0.6-1 clang_3.0-5 coreutils_8.13-3 cpp_4:4.6.2-4 cpp-4.6_4.6.2-9 dash_0.5.7-2 debconf_1.5.41 debfoster_2.7-1.1 debhelper_8.9.14 debian-archive-keyring_2010.08.28 debianutils_4.1 diffutils_1:3.2-1 dpkg_1.16.1.2 dpkg-dev_1.16.1.2 e2fslibs_1.42-1 e2fsprogs_1.42-1 fakeroot_1.18.2-1 file_5.09-2 findutils_4.4.2-4 g++_4:4.6.2-4 g++-4.6_4.6.2-9 gcc_4:4.6.2-4 gcc-4.6_4.6.2-9 gcc-4.6-base_4.6.2-9 gettext_0.18.1.1-5 gettext-base_0.18.1.1-5 gnupg_1.4.11-3 gpgv_1.4.11-3 grep_2.10-1 groff-base_1.21-6 gzip_1.4-2 hostname_3.09 html2text_1.3.2a-15 initscripts_2.88dsf-18 insserv_1.14.0-2.1 install-info_4.13a.dfsg.1-8 intltool-debian_0.35.0+20060710.1 less_444-1 libacl1_2.2.51-5 libattr1_1:2.4.46-5 libblkid1_2.20.1-1.1 libbz2-1.0_1.0.6-1 libc-bin_2.13-24 libc-dev-bin_2.13-24 libc6_2.13-24 libc6-dev_2.13-24 libclang-common-dev_3.0-5 libclass-isa-perl_0.36-3 libcomerr2_1.42-1 libcroco3_0.6.2-2 libdb5.1_5.1.29-1 libdpkg-perl_1.16.1.2 libffi5_3.0.10-3 libgc1c2_1:7.1-8 libgcc1_1:4.6.2-9 libgdbm3_1.8.3-10 libglib2.0-0_2.30.2-4 libgmp10_2:5.0.2+dfsg-2 libgomp1_4.6.2-9 libllvm3.0_3.0-5 liblzma2_5.1.1alpha+20110809-2 liblzma5_5.1.1alpha+20110809-3 libmagic1_5.09-2 libmount1_2.20.1-1.1 libmpc2_0.9-4 libmpfr4_3.1.0-3 libncurses5_5.9-4 libncursesw5_5.9-4 libpam-modules_1.1.3-6 libpam-modules-bin_1.1.3-6 libpam-runtime_1.1.3-6 libpam0g_1.1.3-6 libpcre3_8.12-4 libpipeline1_1.2.0-5 libquadmath0_4.6.2-9 libreadline6_6.2-8 libselinux1_2.1.0-4 libsepol1_2.1.0-1.2 libslang2_2.2.4-5 libss2_1.42-1 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 libswitch-perl_2.16-2 libtimedate-perl_1.2000-1 libtinfo5_5.9-4 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-20 libuuid1_2.20.1-1.1 libxml2_2.7.8.dfsg-5.1 linux-libc-dev_3.1.8-2 login_1:4.1.4.2+svn3283-3 lsb-base_3.2-28 make_3.81-8.1 man-db_2.6.0.2-3 mawk_1.3.3-16 mount_2.20.1-1.1 multiarch-support_2.13-24 ncurses-base_5.9-4 ncurses-bin_5.9-4 nvi_1.81.6-8.2 passwd_1:4.1.4.2+svn3283-3 patch_2.6.1-2 perl_5.14.2-6 perl-base_5.14.2-6 perl-modules_5.14.2-6 po-debconf_1.0.16+nmu2 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-xjdic-dummy_0.invalid.0 sed_4.2.1-9 sensible-utils_0.0.6 sysv-rc_2.88dsf-18 sysvinit_2.88dsf-18 sysvinit-utils_2.88dsf-18 tar_1.26-4 tzdata_2011n-2 util-linux_2.20.1-1.1 xz-utils_5.1.1alpha+20110809-3 zlib1g_1:1.2.3.4.dfsg-3 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/var/lib/sbuild/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Thu Jan 10 23:53:31 2008 CET using DSA key ID FD46A698 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./xjdic_24-7.dsc dpkg-source: info: extracting xjdic in xjdic-24 dpkg-source: info: unpacking xjdic_24.orig.tar.gz dpkg-source: info: applying xjdic_24-7.diff.gz dpkg-source: info: upstream files that have been modified: xjdic-24/Makefile xjdic-24/xjdclient.c xjdic-24/xjdfrontend.c xjdic-24/xjdic.1 xjdic-24/xjdic.h xjdic-24/xjdserver.c xjdic-24/xjdxgen.c Check disc space ──────────────── Sufficient free space for build dpkg-buildpackage ───────────────── dpkg-buildpackage: source package xjdic dpkg-buildpackage: source version 24-7 dpkg-source --before-build xjdic-24 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make realclean make[1]: Entering directory `/build/xjdic-uhpBSm/xjdic-24' rm -f *.o rm -f xjdic_sa xjdic_cl xjdserver xjdxgen exjdxgen xjdrad make[1]: Leaving directory `/build/xjdic-uhpBSm/xjdic-24' rm -f xjdic24.txt dh_clean dh_clean: Compatibility levels before 5 are deprecated. dpkg-source -b xjdic-24 dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: info: using source format `1.0' dpkg-source: info: building xjdic using existing xjdic_24.orig.tar.gz dpkg-source: info: building xjdic in xjdic_24-7.diff.gz dpkg-source: warning: the diff modifies the following upstream files: Makefile xjdclient.c xjdfrontend.c xjdic.1 xjdic.h xjdserver.c xjdxgen.c dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1) dpkg-source: info: building xjdic in xjdic_24-7.dsc debian/rules build dh_testdir # Add here commands to configure the package. touch configure-stamp dh_testdir # Add here commands to compile the package. /usr/bin/make CC="gcc -Wall -g -O3" make[1]: Entering directory `/build/xjdic-uhpBSm/xjdic-24' gcc -Wall -g -O3 -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdsa.c xjdsa.c:84:10: warning: implicit declaration of function 'Kstrcmp' is invalid in C99 [-Wimplicit-function-declaration] res = Kstrcmp(sch_str_len,sch_str); ^ xjdsa.c:179:10: warning: implicit declaration of function 'jindex' is invalid in C99 [-Wimplicit-function-declaration] schix = jindex(it); ^ xjdsa.c:183:10: warning: implicit declaration of function 'dbchar' is invalid in C99 [-Wimplicit-function-declaration] while ((dbchar(schix) != 0x0a) && (schix >= 0)) schix--; ^ xjdsa.c:198:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] *res_len = strlen(res_str); ^~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ 4 warnings generated. gcc -Wall -g -O3 -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdcomm.c -o xjdcomm_sa.o xjdcomm.c:159:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((dp2 = strrchr(dp,'/')) == NULL) return(dp); ^~ /usr/include/string.h:262:37: note: passing argument to parameter '__s' here extern char *strrchr (__const char *__s, int __c) ^ xjdcomm.c:159:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((dp2 = strrchr(dp,'/')) == NULL) return(dp); ^ ~~~~~~~~~~~~~~~ xjdcomm.c:190:16: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(DicDir,ENVname); /* added by nakahara@debian.org */ ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:193:14: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(cl_rcfile) > 0) ^~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdcomm.c:195:15: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(cl_rcfile,"r"); ^~~~~~~~~ xjdcomm.c:203:14: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(ENVname) > 2) ^~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdcomm.c:205:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,ENVname); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:205:20: warning: passing 'unsigned char []' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,ENVname); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:206:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,"/"); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:210:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,getenv("HOME")); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:211:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,"/"); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:213:10: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,".xjdicrc"); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:214:14: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(xjdicdir,"r"); ^~~~~~~~ xjdcomm.c:216:10: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,".xjdicrc"); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:217:14: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(xjdicdir,"r"); ^~~~~~~~ xjdcomm.c:221:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xjdicdir,getenv("HOME")); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:222:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,"/"); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:223:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(xjdicdir,".xjdicrc"); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:224:15: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fm = fopen(xjdicdir,"r"); ^~~~~~~~ xjdcomm.c:232:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(fgets(rcstr,79,fm) != NULL) ^~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdcomm.c:234:35: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] rcwd = (unsigned char *)strtok(rcstr," \t"); ^~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdcomm.c:239:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(DicDir,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:273:5: warning: implicit declaration of function 'EMtoggle' is invalid in C99 [-Wimplicit-function-declaration] EMtoggle (); ^ xjdcomm.c:290:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[thisdic],rcwd); ^~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:290:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[thisdic],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:291:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[thisdic],rcwd); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:291:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[thisdic],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:292:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(XJDXnamet[thisdic],".xjdx"); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:300:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(GPL_File,rcwd); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:300:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(GPL_File,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:308:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Clip_File,rcwd); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:308:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Clip_File,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:316:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTname,rcwd); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:316:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:317:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTJDXname,rcwd); ^~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:317:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(EXTJDXname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:318:40: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(EXTJDXname, ".xjdx"); ^~~~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:335:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KDNSlist,rcwd); ^~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:335:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KDNSlist,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:343:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[0],rcwd); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:343:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Dnamet[0],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:344:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[0],rcwd); ^~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:344:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(XJDXnamet[0],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:345:12: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(XJDXnamet[0],".xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:353:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKname,rcwd); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:353:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:359:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Rname,rcwd); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:359:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Rname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:365:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Vname,rcwd); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:365:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Vname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:371:12: warning: passing 'unsigned char []' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ROMname,rcwd); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:371:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ROMname,rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:384:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(rcwd,"%d",&fn); ^~~~ /usr/include/stdio.h:450:62: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (__const char *__restrict __s, ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:183:11: note: expanded from: name proto __asm__ (__ASMNAME (#alias)) __THROW ^ xjdcomm.c:387:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(rcwd,"%d",&ft); ^~~~ /usr/include/stdio.h:450:62: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (__const char *__restrict __s, ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:183:11: note: expanded from: name proto __asm__ (__ASMNAME (#alias)) __THROW ^ xjdcomm.c:398:12: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtnames[fn],rcwd); ^~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:398:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtnames[fn],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:403:13: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtcodes[fn][ft],rcwd); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:403:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(filtcodes[fn][ft],rcwd); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdcomm.c:173:24: warning: unused variable 'dicbufft' [-Wunused-variable] extern unsigned char *dicbufft[10]; ^ xjdcomm.c:174:23: warning: unused variable 'diclent' [-Wunused-variable] extern unsigned long diclent[10], indkent[10],indptrt[10]; ^ xjdcomm.c:174:36: warning: unused variable 'indkent' [-Wunused-variable] extern unsigned long diclent[10], indkent[10],indptrt[10]; ^ xjdcomm.c:174:48: warning: unused variable 'indptrt' [-Wunused-variable] extern unsigned long diclent[10], indkent[10],indptrt[10]; ^ xjdcomm.c:429:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for(i = 0; i < strlen(s1);i++) ^~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ 63 warnings generated. gcc -Wall -g -O3 -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdservcomm.c -o xjdservcomm_sa.o xjdservcomm.c:246:15: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpd = xfopen(Dnamet[dn],"rb", &diclenx); ^~~~~~~~~~ xjdservcomm.c:55:21: note: passing argument to parameter 'name' here FILE *xfopen (char *name, char *mode, int *xfilelen); ^ xjdservcomm.c:249:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpd = xfopen(XJDXnamet[dn],"rb", &xfilelen); ^~~~~~~~~~~~~ xjdservcomm.c:55:21: note: passing argument to parameter 'name' here FILE *xfopen (char *name, char *mode, int *xfilelen); ^ xjdservcomm.c:359:19: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fdd[dn] =xopen(Dnamet[dn],&xfilelen); ^~~~~~~~~~ xjdservcomm.c:56:18: note: passing argument to parameter 'name' here int xopen (char *name, int *xfilelen); ^ xjdservcomm.c:367:20: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fdi[dn] = xopen(XJDXnamet[dn],&xfilelen); ^~~~~~~~~~~~~ xjdservcomm.c:56:18: note: passing argument to parameter 'name' here int xopen (char *name, int *xfilelen); ^ xjdservcomm.c:370:20: warning: assigning to 'unsigned long *' from 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((jdxbufft[dn] = (long *) mmap(0, xfilelen, PROT_READ, MAP_FILE | MAP_SHARED, fdi[dn],0)) == MAP_FAILED) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdservcomm.c:354:8: warning: unused variable 'i' [-Wunused-variable] int i,len; ^ xjdservcomm.c:354:10: warning: unused variable 'len' [-Wunused-variable] int i,len; ^ 7 warnings generated. gcc -Wall -g -O3 -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdfrontend.c -o xjdfrontend_sa.o xjdfrontend.c:306:8: warning: unused variable 'term_name' [-Wunused-variable] char *term_name; ^ xjdfrontend.c:342:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fk = xfopen(KSname,"r",&xfilelen); ^~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:346:9: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(testline,9,fk); ^~~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:339:8: warning: unused variable 'j' [-Wunused-variable] int i,j,k,lno; ^ xjdfrontend.c:339:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k,lno; ^ xjdfrontend.c:367:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fk = xfopen(RKname,"r", &xfilelen); ^~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:386:9: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(testline,199,fk); ^~~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:402:27: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (k = 0; k < strlen(testline); k++) ^~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:449:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:455:16: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(ktarg) != 0) /* kana mode - back over a kana */ ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:457:19: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ktarg[strlen(ktarg)-2] = '\0'; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:458:16: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:469:13: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:528:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,ktarg); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:528:16: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,ktarg); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:550:14: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(targ) != strlen(kanatab[ki])) continue; ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:550:30: warning: passing 'unsigned char [7]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(targ) != strlen(kanatab[ki])) continue; ^~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:552:10: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(ktarg,kanatab[ki+1]); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:552:16: warning: passing 'unsigned char [7]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(ktarg,kanatab[ki+1]); ^~~~~~~~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:554:13: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\r \r%sROMAJI ENTRY:%s %s%s",RVon,RVoff,ktarg,ksch+ksp); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:568:40: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < NRKANA*2; i++) strcpy(kanatab[i]," "); ^~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:569:14: warning: passing 'unsigned char [60]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fp = xfopen(ROMname,"r", &xfilelen); ^~~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:573:9: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(LKin,79,fp); ^~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:589:33: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = (unsigned char *)strtok(LKin," \t"); ^~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdfrontend.c:590:29: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2+1],ptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:590:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2+1],ptr); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:592:29: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2],ptr); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:592:55: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ptr != NULL ) strcpy(kanatab[mode*NRKANA+ih*2],ptr); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:621:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(msg) == 0) return (TRUE); ^~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:644:13: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(KLine) == 0) return (TRUE); ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:645:33: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = (unsigned char *)strtok(KLine," "); ^~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdfrontend.c:649:10: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,kptr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:649:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,kptr); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:658:37: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (j = 0;j < 10-it;j++) KOut(" "); ^~~ xjdfrontend.c:199:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:661:11: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,ktemp+1); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:661:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(ktemp,ktemp+1); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:663:15: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] it = strlen(ktemp); ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:670:9: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KOut("\n"); ^~~~ xjdfrontend.c:199:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:677:29: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (DCol <= MAXCOLS) KOut(" "); ^~~ xjdfrontend.c:199:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:680:7: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KOut("\n"); ^~~~ xjdfrontend.c:199:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:693:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tmp); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:693:15: warning: passing 'unsigned char [2]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tmp); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:705:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(sout); i++) ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:780:25: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(instr); i++) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:843:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(jline); i++) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:888:11: warning: passing 'char [15]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Extension Key:"); ^~~~~~~~~~~~~~~~ xjdfrontend.c:221:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt); ^ xjdfrontend.c:896:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fe = xfopen(EXTname,"rb", &extlen); ^~~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:897:24: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fex = xfopen(EXTJDXname,"rb", &extjdxlen); ^~~~~~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:903:55: warning: conversion specifies type 'long' but the argument has type 'unsigned int' [-Wformat] printf("\nEDICT Extension file & Index Mismatch! %ld %ld\n",ejdxtest[0],extlen+jiver); ~~^ ~~~~~~~~~~~ %u xjdfrontend.c:903:59: warning: conversion specifies type 'long' but the argument has type 'int' [-Wformat] printf("\nEDICT Extension file & Index Mismatch! %ld %ld\n",ejdxtest[0],extlen+jiver); ~~^ ~~~~~~~~~~~~ %d xjdfrontend.c:951:10: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (hi < 0) break; ~~ ^ ~ xjdfrontend.c:958:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (KLine," <"); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:963:10: warning: passing 'unsigned char [200]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(LogLine,199,fe); ^~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:966:20: warning: passing 'unsigned char [200]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = strlen(LogLine); i >= 0; i--) ^~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:970:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,LogLine); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:970:17: warning: passing 'unsigned char [200]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,LogLine); ^~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:971:16: warning: passing 'char [49]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!KFlush("Continue displaying extension information? (y/n)")) break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:973:12: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (KLine," "); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1014:9: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vcomms[40],"Unknown type"); ^~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1016:14: warning: passing 'unsigned char [60]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fi = xfopen(Vname,"r", &xfilelen); ^~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1019:9: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(tempstr,511,fi); ^~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:1030:35: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] vptr = (unsigned char *)strtok(tempstr," \t\n\r"); ^~~~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdfrontend.c:1031:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = atoi(vptr); ^~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1034:11: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vcomms[i],vptr); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1034:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vcomms[i],vptr); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1037:35: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] vptr = (unsigned char *)strtok(tempstr," \t\n\r"); ^~~~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdfrontend.c:1038:11: warning: passing 'unsigned char [21]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vinfl[verblen],vptr); ^~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1038:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vinfl[verblen],vptr); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1040:11: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vdicf[verblen],vptr); ^~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1040:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vdicf[verblen],vptr); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1042:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = atoi(vptr); ^~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1067:9: warning: passing 'unsigned char [250]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1067:15: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1085:40: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] xjdserver (XJ_FIND, DicNum,it, strlen(vstr), vstr, ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1094:44: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] xjdserver (XJ_ENTRY, DicNum, it, strlen(vstr), vstr, ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1139:12: warning: passing 'unsigned char [250]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1139:18: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vline,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1163:20: warning: passing 'unsigned char [250]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(vline) > 0) break; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1165:17: warning: passing 'unsigned char [250]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(vline) <=1) return(FALSE); ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1085:29: warning: variable 'it' is uninitialized when used here [-Wuninitialized] xjdserver (XJ_FIND, DicNum,it, strlen(vstr), vstr, ^~ xjdfrontend.c:1079:9: note: initialize the variable 'it' to silence this warning long it; ^ = 0 xjdfrontend.c:1216:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1216:19: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1217:11: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(rethdr,"[X] "); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1219:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1219:17: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1220:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1220:17: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1221:11: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1224:43: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((gdiclen > gdiclenbest) || ((strlen(KLine) > strlen(retsave)) && (gdiclen == gdiclenbest))) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1224:59: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((gdiclen > gdiclenbest) || ((strlen(KLine) > strlen(retsave)) && (gdiclen == gdiclenbest))) ^~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1226:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1226:19: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(retsave,KLine); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1227:11: warning: passing 'unsigned char [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(rethdr,"[X] "); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1237:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1237:15: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,rethdr); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1238:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1238:15: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,retsave); ^~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1239:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1285:26: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0;i < strlen(vinfl[vi]);i++) ^~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1294:11: warning: passing 'unsigned char [13]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vstr,vdicf[vi]); ^~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1294:16: warning: passing 'unsigned char [7]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(vstr,vdicf[vi]); ^~~~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:74: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:31: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:30: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:814:39: note: expanded from: && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:33: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1296:14: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1296:19: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(vstr,temp) == 0) continue; ~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:30: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:74: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:31: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:30: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:814:39: note: expanded from: && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:33: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1297:15: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1297:20: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(vstr,vlast) == 0)continue; ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:30: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1300:12: warning: passing 'unsigned char [11]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vlast,vstr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1300:18: warning: passing 'unsigned char [13]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vlast,vstr); ^~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1302:12: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,vline); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1302:18: warning: passing 'unsigned char [250]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,vline); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1304:12: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1327:19: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (fbuff[strlen(fbuff)-1] < 32) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1327:48: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (fbuff[strlen(fbuff)-1] < 32) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1330:40: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (slencal(slenx-1,fbuff) >= strlen(fbuff)) break; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1336:26: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(fbuff); i+=2) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1350:13: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] &xjresp, &respos, &roff, &rlen, repstr, &DicLoc); ^~~~~~~ xjdfrontend.c:187:48: note: passing argument to parameter 'res_index' here unsigned char *sch_str, int *sch_resp, long *res_index, ^ xjdfrontend.c:1370:27: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (srchlenok != strlen(fbuff)) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1394:20: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] fbuff, &xjresp, &respos, &roff, &rlen, repstr, &DicLoc); ^~~~~~~ xjdfrontend.c:187:48: note: passing argument to parameter 'res_index' here unsigned char *sch_str, int *sch_resp, long *res_index, ^ xjdfrontend.c:1423:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1423:28: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~~~~~~~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1436:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1436:28: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(testline,filtcodes[i][j]) != NULL) ^~~~~~~~~~~~~~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1450:16: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(testline,strfilt) != NULL) FiltOK = TRUE; ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1450:25: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(testline,strfilt) != NULL) FiltOK = TRUE; ^~~~~~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1455:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,SingleFilter); ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1455:28: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,SingleFilter); ^~~~~~~~~~~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1455:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,SingleFilter); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1465:19: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(testline) - strlen(kptr)) % 2 == 0) ^~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1465:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(testline) - strlen(kptr)) % 2 == 0) ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1473:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(kptr2+1,SingleFilter); ^~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1473:30: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(kptr2+1,SingleFilter); ^~~~~~~~~~~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1473:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(kptr2+1,SingleFilter); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1501:25: warning: passing 'char [35]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying matches? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1513:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(ops,"%d: ",dind); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1514:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1514:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1518:15: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(ops,"%d: ",dind+1); ^~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1519:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1519:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,ops); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1523:12: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine," "); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1538:14: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (ops,instr); ^~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1538:18: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (ops,instr); ^~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1543:17: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (instr,"%s 1-%x%x [1-%d]",ops,kanj2&0x7f,kanj3&0x7f,((kanj2&0x7f)-0x20)*100+(kanj3&0x7f)-0x20); ^~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1552:17: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (instr,"%s %x%x [%d:%x%x]",ops,kanj1&0x7f,kanj2&0x7f,((kanj1&0x7f)-0x20)*100+(kanj2&0x7f)-0x20,k1,k2); ^~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1555:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,instr); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1555:20: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,instr); ^~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1563:21: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"S"); ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1563:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"S"); ^ ~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1570:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] karray[nok][0] = atoi(kptr+1); ^~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1572:21: warning: passing 'unsigned char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"B"); ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1572:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] kptr = strstr(testline,"B"); ^ ~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1579:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] karray[nok][1] = atoi(kptr+1); ^~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1590:47: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff)) strcat (KLine,RVon); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1590:53: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff)) strcat (KLine,RVon); ^~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1591:55: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff+srchlen)) strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1591:61: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (RVACTIVE && (schix == roff+srchlen)) strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1595:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1595:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1602:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1602:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1620:17: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVon); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1620:23: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVon); ^~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1629:16: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1629:22: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (KLine,RVoff); ^~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1633:19: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(KDNSlist,ops) != NULL) ^~~~~~~~ /usr/include/string.h:342:36: note: passing argument to parameter '__haystack' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1633:28: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(KDNSlist,ops) != NULL) ^~~ /usr/include/string.h:342:62: note: passing argument to parameter '__needle' here extern char *strstr (__const char *__haystack, __const char *__needle) ^ xjdfrontend.c:1668:14: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1668:20: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1693:40: warning: passing 'char [35]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (Dmode == 0) KFlushRes = KFlush("Continue displaying matches? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1694:58: warning: passing 'char [35]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((Dmode == 1)&&(KLRmode == 0)) KFlushRes = KFlush("Continue displaying matches? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1720:23: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying kanji (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1254:33: warning: unused variable 'hit' [-Wunused-variable] int schix,schiy,schiz,j,dind,hit,skip,brace,engrv; ^ xjdfrontend.c:1254:37: warning: unused variable 'skip' [-Wunused-variable] int schix,schiy,schiz,j,dind,hit,skip,brace,engrv; ^ xjdfrontend.c:1254:42: warning: unused variable 'brace' [-Wunused-variable] int schix,schiy,schiz,j,dind,hit,skip,brace,engrv; ^ xjdfrontend.c:1349:33: warning: variable 'zz' is uninitialized when used here [-Wuninitialized] xjdserver (XJ_FIND, DicNum, zz, srchlen, fbuff, ^~ xjdfrontend.c:1258:20: note: initialize the variable 'zz' to silence this warning unsigned long zz,bshit[20]; ^ = 0 xjdfrontend.c:1744:15: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpr = xfopen(Rname,"r", &xfilelen); ^~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1748:17: warning: passing 'unsigned char [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] errf = (fgets(rstr,19,fpr) == NULL); ^~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:1750:21: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1750:50: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1756:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] radnos[i] = atoi(rstr+4); ^~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1760:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] radnos[i] = atoi(rstr+3); ^~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1772:16: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] flic = xfopen(GPL_File,"r", &xfilelen); ^~~~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1777:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(KLine,81,flic); ^~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:1780:11: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1783:16: warning: passing 'unsigned char [2000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] KLine[strlen(KLine)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1784:14: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!KFlush("Continue Licence Display? (y/n)")) return; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1796:15: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fpr = xfopen(Rname,"r", &xfilelen); ^~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1805:17: warning: passing 'unsigned char [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] errf = (fgets(rstr,19,fpr) == NULL); ^~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:1808:11: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1812:21: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1812:50: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while(rstr[strlen(rstr)-1] < 0x20) rstr[strlen(rstr)-1] = 0; ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1813:20: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((rstr[strlen(rstr)-2] == ' ')&&(rstr[strlen(rstr)-1] == '0')) ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1813:52: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((rstr[strlen(rstr)-2] == ' ')&&(rstr[strlen(rstr)-1] == '0')) ^~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1815:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1817:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine," "); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1818:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1821:12: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"%s Stroke Radicals ",rstr); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1822:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,tempout); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1822:17: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,tempout); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1823:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1825:11: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine," "); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1826:23: warning: passing 'char [36]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlushRes = KFlush("Continue displaying radicals? (y/n)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1830:10: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,"\t"); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1835:11: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"%s ",rstr+3); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:1836:10: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tempout); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1836:16: warning: passing 'unsigned char [80]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine,tempout); ^~~~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1838:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1878:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1878:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1883:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1883:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1889:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1889:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,instr+1); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1928:9: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff,instr); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1928:15: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff,instr); ^~~~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1962:11: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1962:17: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1979:12: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1979:18: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:1980:17: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1980:47: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1996:20: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( fbuff[strlen(fbuff)-1] < 0x20) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:1996:51: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( fbuff[strlen(fbuff)-1] < 0x20) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2014:11: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("FILTER:"); ^~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2015:9: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(SingleFilter,fbuff); ^~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2015:22: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(SingleFilter,fbuff); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2016:13: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(fbuff) >= 2) ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2032:8: warning: unused variable 'j' [-Wunused-variable] int i,j,k,Found; ^ xjdfrontend.c:2032:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k,Found; ^ xjdfrontend.c:2085:13: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKTarg) <= 2) ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2093:22: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (l=2; l< strlen(RKTarg); l+=2) ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2124:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf(" (%d) ",strlen(RKSet[NoSets-1])/2); ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2124:14: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf(" (%d) ",strlen(RKSet[NoSets-1])/2); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %lu xjdfrontend.c:2053:6: warning: unused variable 'stest' [-Wunused-variable] int stest,jtest,i,j,k,l,m,n,lind,hitcount; ^ xjdfrontend.c:2053:26: warning: unused variable 'm' [-Wunused-variable] int stest,jtest,i,j,k,l,m,n,lind,hitcount; ^ xjdfrontend.c:2136:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fk = xfopen(RKname,"r", &xfilelen); ^~~~~~ xjdfrontend.c:178:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:2145:9: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(testline,199,fk); ^~~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:2148:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = strtok(testline+4," "); ^~~~~~~~~~ /usr/include/string.h:348:39: note: passing argument to parameter '__s' here extern char *strtok (char *__restrict __s, __const char *__restrict __delim) ^ xjdfrontend.c:2148:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = strtok(testline+4," "); ^ ~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:2149:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] l = atoi(ptr); ^~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:2153:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (n = 0; n < strlen(ptr); n++) ^~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2163:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2171:11: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Which Kanji:"); ^~~~~~~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2173:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,"Kanji: "); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2176:9: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(KLine," Elements: "); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2191:9: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] KFlush(""); ^~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2201:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen(RKSet[NoSets-1]); i+=2) ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2219:12: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Lookup Code:"); ^~~~~~~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2223:15: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKTarg) == 20) ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2228:11: warning: passing 'unsigned char [21]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(RKTarg,ops); ^~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2228:18: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(RKTarg,ops); ^~~ /usr/include/string.h:136:72: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2231:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) == 0) continue; ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2232:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) <=RADLOOKLIM) RadKDisp(); ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2266:12: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(testline," >= "); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2272:12: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(testline," <= "); ^~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2275:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] kstrokelim = atoi(fbuff+i); ^~~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:2284:15: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKTarg) > 0) RadBuild(); ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2286:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) <=RADLOOKLIM) RadKDisp(); ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2292:20: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (i >= strlen(RKTarg)/2) ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2297:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKTarg+i*2,RKTarg+i*2+2); ^~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2297:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(RKTarg+i*2,RKTarg+i*2+2); ^~~~~~~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2298:14: warning: passing 'unsigned char [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(RKTarg) > 0) RadBuild(); ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2299:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(RKSet[NoSets-1]) <=RADLOOKLIM) RadKDisp(); ^~~~~~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2311:11: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("KANJI/KANA:"); ^~~~~~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2445:11: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("Dictionary Numbers:"); ^~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2446:16: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(gdtemp,fbuff); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2539:10: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fff,"OFF"); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2540:23: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(filton[j])strcpy(fff,"ON "); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2582:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ xjdfrontend.c:2582:1: error: second parameter of 'main' (argument array) must be of type 'char **' xjdfrontend.c:2608:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(dicenv) <= 2) ^~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2610:36: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); ^~~~~~~ /usr/include/unistd.h:508:28: note: passing argument to parameter '__buf' here extern char *getcwd (char *__buf, size_t __size) __THROW __wur; ^ xjdfrontend.c:2619:11: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (ENVname,dicenv); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2619:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (ENVname,dicenv); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2622:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[1],"edict"); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2623:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[0], "kanjidic"); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2624:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[1], "edict.xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2625:17: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[0], "kanjidic.xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2635:11: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2635:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2640:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2640:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2645:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2645:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2646:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2646:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2648:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (cl_rcfile,strtmp); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2648:23: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (cl_rcfile,strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2655:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2655:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2660:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2660:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2661:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2661:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2717:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2717:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2722:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2722:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2723:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2723:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2725:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Clip_File,strtmp); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2725:23: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Clip_File,strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2741:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2741:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2746:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2746:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2747:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2747:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2749:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[thisdic],strtmp); ^~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2749:29: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[thisdic],strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2750:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[thisdic],strtmp); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2750:32: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[thisdic],strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2751:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (XJDXnamet[thisdic],".xjdx"); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2760:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2760:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(strtmp,xap+2); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2765:13: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2765:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(xap,argv[i]); ^~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2766:14: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2766:21: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (strtmp,xap); ^~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2768:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[0],strtmp); ^~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2768:23: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (Dnamet[0],strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2769:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[0],strtmp); ^~~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2769:26: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy (XJDXnamet[0],strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2770:13: warning: passing 'unsigned char [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat (XJDXnamet[0],".xjdx"); ^~~~~~~~~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2835:11: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt,"%sXJDIC [%d:%s] SEARCH KEY:%s ",RVon,CurrDic,DicName(CurrDic),RVoff); ^~~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:2836:11: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt2,"XJDIC [%d:%s] SEARCH KEY: ",CurrDic,DicName(CurrDic)); ^~~~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:2839:12: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt,"%sXJDIC [GLOBAL] SEARCH KEY:%s ",RVon,RVoff); ^~~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:2840:12: warning: passing 'unsigned char [99]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(kbprompt2,"XJDIC [GLOBAL] SEARCH KEY: "); ^~~~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:2889:25: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (ip = 0; strcmp(Help[ip],"$$$")!=0;ip++) ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:2891:13: warning: passing 'unsigned char [2000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,Help[ip]); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2891:19: warning: passing 'unsigned char [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(KLine,Help[ip]); ^~~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2892:17: warning: passing 'char [29]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!KFlush("Continue Help Display? (y/n)")) break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:638:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2908:12: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2908:18: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2941:13: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2941:19: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:2942:18: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:2942:48: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(fbuff) % 2) > 0) fbuff[strlen(fbuff)-1] = 0; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:3099:15: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] GetKBStr("INDEX CODE:"); ^~~~~~~~~~~~~ xjdfrontend.c:1936:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:3102:13: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff," "); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3111:17: warning: passing 'unsigned char [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(strtmp,"%d",radnos[i]); ^~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:3112:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff+1,strtmp); ^~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3112:24: warning: passing 'unsigned char [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff+1,strtmp); ^~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3113:16: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(fbuff," "); ^~~~~ /usr/include/string.h:136:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3120:16: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,"B1 "); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3126:13: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(instr,3,stdin); ^~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:3127:16: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = atoi(instr); ^~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:3128:15: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(strfilt,"S%d",i); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:3133:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (atoi(strfilt+1) == 0) strf = FALSE; ^~~~~~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from: # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:3147:13: warning: passing 'unsigned char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3147:19: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(fbuff,instr); ^~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3181:20: warning: passing 'unsigned char [100]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fclip = fopen(Clip_File,"r"); ^~~~~~~~~ xjdfrontend.c:3185:14: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring1,"XXXX"); ^~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3186:14: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring2,"XXXX"); ^~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3190:12: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fgets(clipstring1,50,fclip); ^~~~~~~~~~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ xjdfrontend.c:3192:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (clipstring1[strlen(clipstring1)-1] < 32) clipstring1[strlen(clipstring1)-1] = 0; ^~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:3192:70: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (clipstring1[strlen(clipstring1)-1] < 32) clipstring1[strlen(clipstring1)-1] = 0; ^~~~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3193:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,"quit") == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:74: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:31: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from: && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:30: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:814:39: note: expanded from: && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:33: note: expanded from: ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3199:17: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:3199:29: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(clipstring1,clipstring2) == 0) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:30: note: expanded from: : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:3205:14: warning: passing 'unsigned char [51]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring2,clipstring1); ^~~~~~~~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3205:26: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(clipstring2,clipstring1); ^~~~~~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3206:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,clipstring1); ^~~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3206:20: warning: passing 'unsigned char [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(instr,clipstring1); ^~~~~~~~~~~ /usr/include/string.h:128:72: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ xjdfrontend.c:3211:13: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strlen(instr) < 2) continue; ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ xjdfrontend.c:3214:11: warning: passing 'unsigned char [80]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(tempout,"\nSearching for: %s%s%s\n",RVon,fbuff,RVoff); ^~~~~~~ /usr/include/stdio.h:361:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ xjdfrontend.c:3219:15: warning: passing 'unsigned char [512]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] j = strlen(fbuff); ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ 405 warnings and 1 error generated. make[1]: *** [xjdfrontend_sa.o] Error 1 make[1]: Leaving directory `/build/xjdic-uhpBSm/xjdic-24' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120113-0347 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /var/lib/schroot/mount/lsid64b-5991db4f-fd6e-4321-8ce4-5be7bcbdbca2/build/xjdic-uhpBSm Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 528 Build-Time: 2 Distribution: lsid64b Fail-Stage: build Install-Time: 6 Job: xjdic_24-7 Package: xjdic Package-Time: 24 Source-Version: 24-7 Space: 528 Status: attempted Version: 24-7 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120113-0347 Build needed 00:00:24, 528k disc space DC-Build-Status: Failed 110.184593s ### Content of /var/log/daemon.log ### Jan 12 21:03:09 stremi-34 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:02 stremi-34 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:19 stremi-34 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:30 stremi-34 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:41 stremi-34 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:52 stremi-34 approx: Concurrent download of debian/dists/sid/Release is taking too long Jan 12 21:05:00 stremi-34 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:05:26 stremi-34 approx: Concurrent download of debian/dists/sid/main/binary-amd64/Packages.xz is taking too long Jan 12 21:05:27 stremi-34 approx: Concurrent download of debian/dists/sid/Release is taking too long Jan 12 21:05:54 stremi-34 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.bz2 is taking too long Jan 12 21:06:28 stremi-34 approx: Concurrent download of debian/dists/sid/main/source/Sources.xz is taking too long Jan 13 03:28:59 stremi-34 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.gz is taking too long Jan 13 03:43:51 stremi-34 approx: Concurrent download of debian/dists/sid/Release is taking too long Jan 13 03:43:59 stremi-34 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long ### End of content of /var/log/daemon.log ### DC-Time-Estimation: 110.184593 versus expected 21 (r/m: 4.24688538095238 ; m: 21.0) DC-Build-Network: USED. See /tmp/rulesafter.c8piTr ! ************************************************************ # Generated by iptables-save v1.4.8 on Fri Jan 13 03:47:44 2012 *filter :INPUT ACCEPT [6750260:53409234695] :FORWARD ACCEPT [0:0] :OUTPUT DROP [0:0] :LD - [0:0] [3868294:48908813118] -A OUTPUT -o lo -j ACCEPT [0:0] -A OUTPUT -d 129.88.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 10.0.0.0/8 -j ACCEPT [0:0] -A OUTPUT -d 192.168.133.0/24 -j ACCEPT [0:0] -A OUTPUT -d 192.168.159.0/24 -j ACCEPT [0:0] -A OUTPUT -d 192.168.160.0/24 -j ACCEPT [0:0] -A OUTPUT -d 10.69.0.0/17 -j ACCEPT [0:0] -A OUTPUT -d 172.28.52.0/22 -j ACCEPT [0:0] -A OUTPUT -d 172.24.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 131.254.202.0/23 -j ACCEPT [0:0] -A OUTPUT -d 138.96.20.0/22 -j ACCEPT [0:0] -A OUTPUT -d 192.168.22.0/24 -j ACCEPT [561174:171720611] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 192.168.67.0/24 -j ACCEPT [48227:6397100] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT [61:3660] -A OUTPUT -j LD [61:3660] -A LD -j LOG [61:3660] -A LD -j REJECT --reject-with icmp-port-unreachable COMMIT # Completed on Fri Jan 13 03:47:44 2012 ************************************************************ --- /tmp/rulesbefore.ojodK7 2012-01-13 03:45:54.389727519 +0100 +++ /tmp/rulesafter.c8piTr 2012-01-13 03:47:44.585312268 +0100 @@ -1,10 +1,10 @@ -# Generated by iptables-save v1.4.8 on Fri Jan 13 03:45:54 2012 +# Generated by iptables-save v1.4.8 on Fri Jan 13 03:47:44 2012 *filter -:INPUT ACCEPT [6716721:53108728411] +:INPUT ACCEPT [6750260:53409234695] :FORWARD ACCEPT [0:0] :OUTPUT DROP [0:0] :LD - [0:0] -[3845952:48611319775] -A OUTPUT -o lo -j ACCEPT +[3868294:48908813118] -A OUTPUT -o lo -j ACCEPT [0:0] -A OUTPUT -d 129.88.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 10.0.0.0/8 -j ACCEPT [0:0] -A OUTPUT -d 192.168.133.0/24 -j ACCEPT @@ -16,11 +16,11 @@ [0:0] -A OUTPUT -d 131.254.202.0/23 -j ACCEPT [0:0] -A OUTPUT -d 138.96.20.0/22 -j ACCEPT [0:0] -A OUTPUT -d 192.168.22.0/24 -j ACCEPT -[558794:170948764] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT +[561174:171720611] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 192.168.67.0/24 -j ACCEPT -[48058:6373976] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT +[48227:6397100] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT [61:3660] -A OUTPUT -j LD [61:3660] -A LD -j LOG [61:3660] -A LD -j REJECT --reject-with icmp-port-unreachable COMMIT -# Completed on Fri Jan 13 03:45:54 2012 +# Completed on Fri Jan 13 03:47:44 2012 ************************************************************ [15451.344280] IN= OUT=eth0 SRC=172.16.160.34 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=12157 DF PROTO=TCP SPT=54660 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [15451.406946] IN= OUT=eth0 SRC=172.16.160.34 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=40358 DF PROTO=TCP SPT=54661 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [15454.424105] IN= OUT=eth0 SRC=172.16.160.34 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=40359 DF PROTO=TCP SPT=54661 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [15454.487695] IN= OUT=eth0 SRC=172.16.160.34 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=16272 DF PROTO=TCP SPT=54672 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [15457.508282] IN= OUT=eth0 SRC=172.16.160.34 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=16273 DF PROTO=TCP SPT=54672 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17385.809094] IN= OUT=eth0 SRC=172.16.160.34 DST=77.238.191.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=32138 DF PROTO=TCP SPT=41680 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17388.824780] IN= OUT=eth0 SRC=172.16.160.34 DST=77.238.191.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=32139 DF PROTO=TCP SPT=41680 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17388.887935] IN= OUT=eth0 SRC=172.16.160.34 DST=77.238.191.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=64393 DF PROTO=TCP SPT=41688 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17391.908618] IN= OUT=eth0 SRC=172.16.160.34 DST=77.238.191.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=64394 DF PROTO=TCP SPT=41688 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17392.037889] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.74 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=39318 DF PROTO=TCP SPT=39173 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17395.053534] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.74 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=39319 DF PROTO=TCP SPT=39173 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17395.070555] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.75 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=18851 DF PROTO=TCP SPT=53626 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17398.085612] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.75 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=18852 DF PROTO=TCP SPT=53626 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17398.102556] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.76 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=3722 DF PROTO=TCP SPT=56118 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17401.117780] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.76 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=3723 DF PROTO=TCP SPT=56118 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17401.134645] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.77 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=22982 DF PROTO=TCP SPT=38398 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17404.148032] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.77 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=22983 DF PROTO=TCP SPT=38398 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17404.164973] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.78 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=27661 DF PROTO=TCP SPT=51839 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17407.180037] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.78 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=27662 DF PROTO=TCP SPT=51839 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17407.196996] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.79 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=2600 DF PROTO=TCP SPT=42971 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17410.213614] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.79 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=2601 DF PROTO=TCP SPT=42971 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17410.230501] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.64 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=15586 DF PROTO=TCP SPT=44968 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17413.245535] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.64 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=15587 DF PROTO=TCP SPT=44968 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17413.262479] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.65 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=25650 DF PROTO=TCP SPT=44087 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17416.277617] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.65 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=25651 DF PROTO=TCP SPT=44087 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17416.294556] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.66 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=9469 DF PROTO=TCP SPT=51405 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17419.309781] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.66 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=9470 DF PROTO=TCP SPT=51405 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17419.333643] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.67 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=18420 DF PROTO=TCP SPT=41777 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17422.349609] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.67 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=18421 DF PROTO=TCP SPT=41777 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17422.366545] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.68 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=13755 DF PROTO=TCP SPT=44268 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17425.381699] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.68 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=13756 DF PROTO=TCP SPT=44268 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17425.398669] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.69 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=18378 DF PROTO=TCP SPT=54782 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17428.413534] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.69 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=18379 DF PROTO=TCP SPT=54782 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17428.430493] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.70 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=15762 DF PROTO=TCP SPT=50198 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17431.445620] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.70 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=15763 DF PROTO=TCP SPT=50198 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17431.462589] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.71 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=36384 DF PROTO=TCP SPT=42103 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17434.477530] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.71 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=36385 DF PROTO=TCP SPT=42103 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17434.494462] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.72 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=39658 DF PROTO=TCP SPT=43844 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17437.509703] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.72 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=39659 DF PROTO=TCP SPT=43844 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17437.526683] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.73 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=64986 DF PROTO=TCP SPT=55429 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17440.541525] IN= OUT=eth0 SRC=172.16.160.34 DST=74.125.230.73 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=64987 DF PROTO=TCP SPT=55429 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [17444.670622] bug-overflow[14639]: segfault at 800960 ip 0000000000400558 sp 00007fff5ad4ded0 error 6 in bug-overflow[400000+1000] [17444.719438] bug-div0[14677] trap divide error ip:4005af sp:7fff4d37c260 error:0 in bug-div0[400000+1000] [18450.044343] blender[30521]: segfault at ffff ip 00002b2be5ffa038 sp 00007fff0ecad130 error 4 in libc-2.13.so[2b2be5fb6000+17a000] [18581.622488] IN= OUT=eth0 SRC=172.16.160.34 DST=192.9.162.55 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=5627 DF PROTO=TCP SPT=56301 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [18584.640110] IN= OUT=eth0 SRC=172.16.160.34 DST=192.9.162.55 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=5628 DF PROTO=TCP SPT=56301 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [22217.399903] IN= OUT=eth0 SRC=172.16.160.34 DST=217.196.43.134 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=59180 DF PROTO=TCP SPT=53404 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [22220.420030] IN= OUT=eth0 SRC=172.16.160.34 DST=217.196.43.134 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=59181 DF PROTO=TCP SPT=53404 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [24212.700658] IN= OUT=eth0 SRC=172.16.160.34 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=30000 DF PROTO=TCP SPT=38445 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [24215.716273] IN= OUT=eth0 SRC=172.16.160.34 DST=66.151.234.53 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=30001 DF PROTO=TCP SPT=38445 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 ************************************************************