DC-Build-Header: xjdic 24-8 / Sat Jun 23 16:46:51 +0000 2012 DC-Task: logfile:/tmp/xjdic_24-8_unstable_clang.log version:24-8 chroot:unstable modes:binary-only:clang source:xjdic architecture:any esttime:29 DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang xjdic_24-8' sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on ip-10-28-86-235.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ xjdic 24-8 (amd64) 23 Jun 2012 16:46 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: xjdic Version: 24-8 Source Version: 24-8 Distribution: unstable Architecture: amd64 I: NOTICE: Log filtering will replace 'build/xjdic-M8B18I/xjdic-24' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/xjdic-M8B18I' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-a07c428e-294b-4d96-bdfc-a2b7d0ba5d36' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost unstable InRelease Get:1 http://localhost unstable Release.gpg [836 B] Get:2 http://localhost unstable Release [233 kB] Get:3 http://localhost unstable/main Sources/DiffIndex [7876 B] Get:4 http://localhost unstable/main amd64 Packages/DiffIndex [7876 B] Get:5 http://localhost unstable/main Translation-en/DiffIndex [7876 B] Get:6 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:7 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:8 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:9 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Get:10 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:11 http://localhost unstable/main 2012-06-23-1414.42.pdiff [10.6 kB] Get:12 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Get:13 http://localhost unstable/main amd64 2012-06-23-1414.42.pdiff [11.3 kB] Get:14 http://localhost unstable/main 2012-06-23-1414.42.pdiff [10.6 kB] Get:15 http://localhost unstable/main 2012-06-23-1414.42.pdiff [696 B] Get:16 http://localhost unstable/main amd64 2012-06-23-1414.42.pdiff [11.3 kB] Get:17 http://localhost unstable/main 2012-06-23-1414.42.pdiff [696 B] Fetched 296 kB in 7s (40.5 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: base-passwd bsdutils libblkid1 libmount1 libuuid1 mount util-linux 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1300 kB of archives. After this operation, 308 kB disk space will be freed. Get:1 http://localhost/debian/ unstable/main mount amd64 2.20.1-5.1 [213 kB] Get:2 http://localhost/debian/ unstable/main util-linux amd64 2.20.1-5.1 [659 kB] Get:3 http://localhost/debian/ unstable/main base-passwd amd64 3.5.26 [46.3 kB] Get:4 http://localhost/debian/ unstable/main bsdutils amd64 1:2.20.1-5.1 [85.3 kB] Get:5 http://localhost/debian/ unstable/main libuuid1 amd64 2.20.1-5.1 [56.9 kB] Get:6 http://localhost/debian/ unstable/main libblkid1 amd64 2.20.1-5.1 [120 kB] Get:7 http://localhost/debian/ unstable/main libmount1 amd64 2.20.1-5.1 [120 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1300 kB in 0s (13.4 MB/s) (Reading database ... 11730 files and directories currently installed.) Preparing to replace mount 2.20.1-5 (using .../mount_2.20.1-5.1_amd64.deb) ... Unpacking replacement mount ... Setting up mount (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace util-linux 2.20.1-5 (using .../util-linux_2.20.1-5.1_amd64.deb) ... Unpacking replacement util-linux ... Setting up util-linux (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace base-passwd 3.5.25 (using .../base-passwd_3.5.26_amd64.deb) ... Unpacking replacement base-passwd ... Setting up base-passwd (3.5.26) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace bsdutils 1:2.20.1-5 (using .../bsdutils_1%3a2.20.1-5.1_amd64.deb) ... Unpacking replacement bsdutils ... Setting up bsdutils (1:2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libuuid1:amd64 2.20.1-5 (using .../libuuid1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libuuid1:amd64 ... Setting up libuuid1:amd64 (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libblkid1:amd64 2.20.1-5 (using .../libblkid1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libblkid1:amd64 ... Setting up libblkid1:amd64 (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libmount1 2.20.1-5 (using .../libmount1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libmount1 ... Setting up libmount1 (2.20.1-5.1) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ 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 148 kB of source archives. Get:1 http://localhost/debian/ unstable/main xjdic 24-8 (dsc) [951 B] Get:2 http://localhost/debian/ unstable/main xjdic 24-8 (tar) [140 kB] Get:3 http://localhost/debian/ unstable/main xjdic 24-8 (diff) [7351 B] Fetched 148 kB in 0s (562 kB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/switch-to-clang ──────────────────── + echo 'Entering customization script...' Entering customization script... + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + echo 'Install of clang' Install of clang + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends clang -t unstable Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-dev libffi5 libllvm3.1 Recommended packages: llvm-3.1-dev python The following NEW packages will be installed: clang libclang-common-dev libffi5 libllvm3.1 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 13.1 MB of archives. After this operation, 35.6 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libffi5 amd64 3.0.10-3 [24.8 kB] Get:2 http://localhost/debian/ unstable/main libllvm3.1 amd64 3.1-1 [7276 kB] Get:3 http://localhost/debian/ unstable/main libclang-common-dev amd64 3.1-6 [84.0 kB] Get:4 http://localhost/debian/ unstable/main clang amd64 3.1-6 [5755 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 13.1 MB in 0s (30.0 MB/s) Selecting previously unselected package libffi5:amd64. (Reading database ... 11730 files and directories currently installed.) Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ... Selecting previously unselected package libllvm3.1:amd64. Unpacking libllvm3.1:amd64 (from .../libllvm3.1_3.1-1_amd64.deb) ... Selecting previously unselected package libclang-common-dev. Unpacking libclang-common-dev (from .../libclang-common-dev_3.1-6_amd64.deb) ... Selecting previously unselected package clang. Unpacking clang (from .../archives/clang_3.1-6_amd64.deb) ... Setting up libffi5:amd64 (3.0.10-3) ... Setting up libllvm3.1:amd64 (3.1-1) ... Setting up libclang-common-dev (3.1-6) ... Setting up clang (3.1-6) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSION=4.7 + cd /usr/bin + rm g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + dpkg --set-selections + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'cpp-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'cpp-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version I: Finished running '/tmp/switch-to-clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-wXflqX/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 debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/708 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 11810 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) ... 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 `/«BUILDDIR»/resolver-oV_uly/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 libasprintf0c2 libcroco3 libgettextpo0 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff less 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 libasprintf0c2 libcroco3 libgettextpo0 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-xjdic-dummy 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. Need to get 9933 kB/9934 kB of archives. After this operation, 25.4 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libpipeline1 amd64 1.2.1-1 [39.2 kB] Get:2 http://localhost/debian/ unstable/main libasprintf0c2 amd64 0.18.1.1-9 [26.8 kB] Get:3 http://localhost/debian/ unstable/main libmagic1 amd64 5.11-1 [250 kB] Get:4 http://localhost/debian/ unstable/main libpcre3 amd64 1:8.30-5 [242 kB] Get:5 http://localhost/debian/ unstable/main libxml2 amd64 2.8.0+dfsg1-4 [903 kB] Get:6 http://localhost/debian/ unstable/main libglib2.0-0 amd64 2.32.3-1 [2081 kB] Get:7 http://localhost/debian/ unstable/main libcroco3 amd64 0.6.5-1 [151 kB] Get:8 http://localhost/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:9 http://localhost/debian/ unstable/main libgettextpo0 amd64 0.18.1.1-9 [145 kB] Get:10 http://localhost/debian/ unstable/main bsdmainutils amd64 9.0.3 [209 kB] Get:11 http://localhost/debian/ unstable/main groff-base amd64 1.21-8 [1152 kB] Get:12 http://localhost/debian/ unstable/main man-db amd64 2.6.2-1 [1061 kB] Get:13 http://localhost/debian/ unstable/main file amd64 5.11-1 [53.2 kB] Get:14 http://localhost/debian/ unstable/main gettext-base amd64 0.18.1.1-9 [154 kB] Get:15 http://localhost/debian/ unstable/main html2text amd64 1.3.2a-15 [103 kB] Get:16 http://localhost/debian/ unstable/main gettext amd64 0.18.1.1-9 [1975 kB] Get:17 http://localhost/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:18 http://localhost/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:19 http://localhost/debian/ unstable/main debhelper all 9.20120608 [700 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 9933 kB in 0s (23.9 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 11810 files and directories currently installed.) Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.1-1_amd64.deb) ... Selecting previously unselected package libasprintf0c2:amd64. Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package libmagic1:amd64. Unpacking libmagic1:amd64 (from .../libmagic1_5.11-1_amd64.deb) ... Selecting previously unselected package libpcre3:amd64. Unpacking libpcre3:amd64 (from .../libpcre3_1%3a8.30-5_amd64.deb) ... Selecting previously unselected package libxml2:amd64. Unpacking libxml2:amd64 (from .../libxml2_2.8.0+dfsg1-4_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.32.3-1_amd64.deb) ... Selecting previously unselected package libcroco3:amd64. Unpacking libcroco3:amd64 (from .../libcroco3_0.6.5-1_amd64.deb) ... Selecting previously unselected package libunistring0:amd64. Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package libgettextpo0:amd64. Unpacking libgettextpo0:amd64 (from .../libgettextpo0_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.3_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-8_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.2-1_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.11-1_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-9_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-9_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_9.20120608_all.deb) ... Selecting previously unselected package sbuild-build-depends-xjdic-dummy. Unpacking sbuild-build-depends-xjdic-dummy (from .../sbuild-build-depends-xjdic-dummy.deb) ... Setting up libpipeline1:amd64 (1.2.1-1) ... Setting up libasprintf0c2:amd64 (0.18.1.1-9) ... Setting up libmagic1:amd64 (5.11-1) ... Setting up libpcre3:amd64 (1:8.30-5) ... Setting up libxml2:amd64 (2.8.0+dfsg1-4) ... Setting up libglib2.0-0:amd64 (2.32.3-1) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.5-1) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up libgettextpo0:amd64 (0.18.1.1-9) ... Setting up bsdmainutils (9.0.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-8) ... Setting up man-db (2.6.2-1) ... Building database of manual pages ... Setting up file (5.11-1) ... Setting up gettext-base (0.18.1.1-9) ... Setting up html2text (1.3.2a-15) ... Setting up gettext (0.18.1.1-9) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20120608) ... Setting up sbuild-build-depends-xjdic-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-6.1 dpkg-dev_1.16.4.3 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc-4.6_4.6.3-7 gcc-4.7_4.7.1-1 libc6-dev_2.13-33 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 linux-libc-dev_3.2.20-1 Package versions: apt_0.9.7 base-files_6.11 base-passwd_3.5.26 bash_4.2-2 binutils_2.22-6.1 bsdmainutils_9.0.3 bsdutils_1:2.20.1-5.1 build-essential_11.5 bzip2_1.0.6-3 clang_3.1-6 coreutils_8.13-3.2 cpp_4:4.7.0-6 cpp-4.6_4.6.3-7 cpp-4.7_4.7.1-1 dash_0.5.7-3 debconf_1.5.44 debconf-i18n_1.5.44 debfoster_2.7-1.1 debhelper_9.20120608 debian-archive-keyring_2012.4 debianutils_4.3.1 diffutils_1:3.2-6 dpkg_1.16.4.3 dpkg-dev_1.16.4.3 e2fslibs_1.42.4-3 e2fsprogs_1.42.4-3 fakeroot_1.18.4-2 file_5.11-1 findutils_4.4.2-4 g++_4:4.7.0-6 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc_4:4.7.0-6 gcc-4.4-base_4.4.7-1 gcc-4.5-base_4.5.3-12 gcc-4.6_4.6.3-7 gcc-4.6-base_4.6.3-7 gcc-4.7_4.7.1-1 gcc-4.7-base_4.7.1-1 gettext_0.18.1.1-9 gettext-base_0.18.1.1-9 gnupg_1.4.12-4 gpgv_1.4.12-4 grep_2.12-2 groff-base_1.21-8 gzip_1.5-1.1 hostname_3.11 html2text_1.3.2a-15 initscripts_2.88dsf-27 insserv_1.14.0-3 intltool-debian_0.35.0+20060710.1 libacl1_2.2.51-8 libapt-pkg4.12_0.9.7 libasprintf0c2_0.18.1.1-9 libattr1_1:2.4.46-8 libblkid1_2.20.1-5.1 libbz2-1.0_1.0.6-3 libc-bin_2.13-33 libc-dev-bin_2.13-33 libc6_2.13-33 libc6-dev_2.13-33 libclang-common-dev_3.1-6 libclass-isa-perl_0.36-3 libcomerr2_1.42.4-3 libcroco3_0.6.5-1 libdb5.1_5.1.29-4 libdpkg-perl_1.16.4.3 libffi5_3.0.10-3 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.1-8 libgcc1_1:4.7.1-1 libgdbm3_1.8.3-11 libgettextpo0_0.18.1.1-9 libglib2.0-0_2.32.3-1 libgmp10_2:5.0.5+dfsg-2 libgomp1_4.7.1-1 libitm1_4.7.1-1 libllvm3.1_3.1-1 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-1 libmagic1_5.11-1 libmount1_2.20.1-5.1 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9-9 libpam-modules_1.1.3-7.1 libpam-modules-bin_1.1.3-7.1 libpam-runtime_1.1.3-7.1 libpam0g_1.1.3-7.1 libpcre3_1:8.30-5 libpipeline1_1.2.1-1 libquadmath0_4.7.1-1 libreadline6_6.2-8 libselinux1_2.1.9-5 libsemanage-common_2.1.6-6 libsemanage1_2.1.6-6 libsepol1_2.1.4-3 libslang2_2.2.4-13 libss2_1.42.4-3 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9-9 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.1 libxml2_2.8.0+dfsg1-4 linux-libc-dev_3.2.20-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian7 make_3.81-8.2 man-db_2.6.2-1 mawk_1.3.3-17 mount_2.20.1-5.1 multiarch-support_2.13-33 ncurses-base_5.9-9 ncurses-bin_5.9-9 passwd_1:4.1.5.1-1 patch_2.6.1-3 perl_5.14.2-12 perl-base_5.14.2-12 perl-modules_5.14.2-12 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-10 sensible-utils_0.0.7 sysv-rc_2.88dsf-27 sysvinit_2.88dsf-27 sysvinit-utils_2.88dsf-27 tar_1.26-4 tzdata_2012c-1 ucf_3.0025+nmu3 util-linux_2.20.1-5.1 xz-utils_5.1.1alpha+20120614-1 zlib1g_1:1.2.7.dfsg-13 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Wed May 9 18:03:01 2012 UTC using DSA key ID FD46A698 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./xjdic_24-8.dsc dpkg-source: info: extracting xjdic in xjdic-24 dpkg-source: info: unpacking xjdic_24.orig.tar.gz dpkg-source: info: applying xjdic_24-8.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/xjdsa.c xjdic-24/xjdserver.c xjdic-24/xjdxgen.c Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── HOME=/sbuild-nonexistent LOGNAME=root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=0 SCHROOT_GROUP=root SCHROOT_SESSION_ID=unstable-amd64-sbuild-a07c428e-294b-4d96-bdfc-a2b7d0ba5d36 SCHROOT_UID=0 SCHROOT_USER=root SHELL=/bin/sh USER=root dpkg-buildpackage ───────────────── dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: source package xjdic dpkg-buildpackage: source version 24-8 dpkg-buildpackage: source changed by Ludovic Drolez 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 `/«PKGBUILDDIR»' rm -f *.o rm -f xjdic_sa xjdic_cl xjdserver xjdxgen exjdxgen xjdrad make[1]: Leaving directory `/«PKGBUILDDIR»' rm -f xjdic24.txt dh_clean dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) 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 `/«PKGBUILDDIR»' 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 macro '__REDIRECT_NTH' 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 macro '__REDIRECT_NTH' 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:174:48: warning: unused variable 'indptrt' [-Wunused-variable] extern unsigned long diclent[10], indkent[10],indptrt[10]; ^ xjdcomm.c:173:24: warning: unused variable 'dicbufft' [-Wunused-variable] extern unsigned char *dicbufft[10]; ^ xjdcomm.c:174:36: warning: unused variable 'indkent' [-Wunused-variable] extern unsigned long diclent[10], indkent[10],indptrt[10]; ^ xjdcomm.c:174:23: warning: unused variable 'diclent' [-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:255:18: warning: incompatible pointer types passing 'struct termio *' to parameter of type 'struct termios *' [-Wincompatible-pointer-types] tcgetattr(0, &orig); tcgetattr(0, &new); ^~~~~ /usr/include/termios.h:67:49: note: passing argument to parameter '__termios_p' here extern int tcgetattr (int __fd, struct termios *__termios_p) __THROW; ^ xjdfrontend.c:255:39: warning: incompatible pointer types passing 'struct termio *' to parameter of type 'struct termios *' [-Wincompatible-pointer-types] tcgetattr(0, &orig); tcgetattr(0, &new); ^~~~ /usr/include/termios.h:67:49: note: passing argument to parameter '__termios_p' here extern int tcgetattr (int __fd, struct termios *__termios_p) __THROW; ^ xjdfrontend.c:259:27: warning: incompatible pointer types passing 'struct termio *' to parameter of type 'const struct termios *' [-Wincompatible-pointer-types] tcsetattr(0, TCSANOW, &new); ^~~~ /usr/include/termios.h:72:33: note: passing argument to parameter '__termios_p' here __const struct termios *__termios_p) __THROW; ^ xjdfrontend.c:271:26: warning: incompatible pointer types passing 'struct termio *' to parameter of type 'const struct termios *' [-Wincompatible-pointer-types] tcsetattr(0, TCSANOW, &orig); ^~~~~ /usr/include/termios.h:72:33: note: passing argument to parameter '__termios_p' here __const struct termios *__termios_p) __THROW; ^ xjdfrontend.c:311:8: warning: unused variable 'term_name' [-Wunused-variable] char *term_name; ^ xjdfrontend.c:347: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:183:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:351: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:344:8: warning: unused variable 'j' [-Wunused-variable] int i,j,k,lno; ^ xjdfrontend.c:344:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k,lno; ^ xjdfrontend.c:372: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:183:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:391: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:407: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:454: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:460: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:462: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:463: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:474: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:533: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:533: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:555: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:555: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:557: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:557: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:559: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:573: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:574: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:183:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:578: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:594: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:595: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:595: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:597: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:597: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:626: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:649: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:650: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:654: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:654: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:663: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:204:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:666: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:666: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:668: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:675: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:204:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:682: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:204:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:685: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:204:26: note: passing argument to parameter 'sout' here void KOut(unsigned char *sout); ^ xjdfrontend.c:698: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:698: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:710: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:785: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:848: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:893: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:226:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt); ^ xjdfrontend.c:901: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:183:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:902: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:183:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:908:55: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat] printf("\nEDICT Extension file & Index Mismatch! %ld %ld\n",ejdxtest[0],extlen+jiver); ~~^ ~~~~~~~~~~~ %d xjdfrontend.c:908:59: warning: format 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:956:10: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (hi < 0) break; ~~ ^ ~ xjdfrontend.c:963: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:968: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:971: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:975: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:975: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:976: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:978: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:1019: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:1021: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:183:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1024: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:1035: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:1036: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 macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1039: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:1039: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:1042: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:1043: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:1043: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:1045: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:1045: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:1047: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 macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1072: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:1072: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:1090: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:1099: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:1144: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:1144: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:1168: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:1170: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:1090:29: warning: variable 'it' is uninitialized when used here [-Wuninitialized] xjdserver (XJ_FIND, DicNum,it, strlen(vstr), vstr, ^~ xjdfrontend.c:1084:9: note: initialize the variable 'it' to silence this warning long it; ^ = 0 xjdfrontend.c:1221: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:1221: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:1222: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:1224: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:1224: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:1225: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:1225: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:1226: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1229: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:1229: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:1231: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:1231: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:1232: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:1242: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:1242: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:1243: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:1243: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:1244: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1290: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:1299: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:1299: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:1301: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1301: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1301: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1301: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1301: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:1301: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1301: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1301: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 macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ xjdfrontend.c:1301: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1301: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1301: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 macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1301: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 macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1302: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1302: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:1302: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1302: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1302: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:1302: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1302: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1302: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 macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ xjdfrontend.c:1302: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1302: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:1302: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 macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1302: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 macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:1305: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:1305: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:1307: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:1307: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:1309: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1332: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:1332: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:1335: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:1341: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:1355: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:192:48: note: passing argument to parameter 'res_index' here unsigned char *sch_str, int *sch_resp, long *res_index, ^ xjdfrontend.c:1375: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:1399: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:192:48: note: passing argument to parameter 'res_index' here unsigned char *sch_str, int *sch_resp, long *res_index, ^ xjdfrontend.c:1428: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:1428: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:1441: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:1441: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:1455: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:1455: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:1460: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:1460: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:1460: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:1470: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:1470: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:1478: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:1478: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:1478: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:1506: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ 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); ^~~ /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: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:1524: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:1524: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:1528: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:1543: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:1543: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:1548: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:1557: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:1560: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:1560: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:1568: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:1568: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:1575: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 macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1577: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:1577: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:1584: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 macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1595: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:1595: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:1596: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:1596: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:1600: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:1600: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:1607: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:1607: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:1625: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:1625: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:1634: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:1634: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:1638: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:1638: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:1673: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:1673: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:1698: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1699: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1725: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1259:37: warning: unused variable 'skip' [-Wunused-variable] int schix,schiy,schiz,j,dind,hit,skip,brace,engrv; ^ xjdfrontend.c:1259:33: warning: unused variable 'hit' [-Wunused-variable] int schix,schiy,schiz,j,dind,hit,skip,brace,engrv; ^ xjdfrontend.c:1259:42: warning: unused variable 'brace' [-Wunused-variable] int schix,schiy,schiz,j,dind,hit,skip,brace,engrv; ^ xjdfrontend.c:1354:33: warning: variable 'zz' is uninitialized when used here [-Wuninitialized] xjdserver (XJ_FIND, DicNum, zz, srchlen, fbuff, ^~ xjdfrontend.c:1263:20: note: initialize the variable 'zz' to silence this warning unsigned long zz,bshit[20]; ^ = 0 xjdfrontend.c:1749: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:183:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1753: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:1755: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:1755: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:1761: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 macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1765: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 macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:1777: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:183:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1782: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:1785: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1788: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:1789: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1801: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:183:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:1810: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:1813: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1817: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:1817: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:1818: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:1818: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:1820: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ 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," "); ^~~~~ /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: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1826: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:1827: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:1827: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:1828: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1830: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:1831: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:1835: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:1840: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:1841: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:1841: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:1843: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ 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:1888: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:1888: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:1894: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:1894: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:1933: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:1933: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:1967: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:1967: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:1984: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:1984: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:1985: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:1985: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:2001: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:2001: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:2019: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:1941:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2020: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:2020: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:2021: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:2037:8: warning: unused variable 'j' [-Wunused-variable] int i,j,k,Found; ^ xjdfrontend.c:2037:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k,Found; ^ xjdfrontend.c:2090: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:2098: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:2129: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:2129:14: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf(" (%d) ",strlen(RKSet[NoSets-1])/2); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %ld xjdfrontend.c:2058:6: warning: unused variable 'stest' [-Wunused-variable] int stest,jtest,i,j,k,l,m,n,lind,hitcount; ^ xjdfrontend.c:2058:26: warning: unused variable 'm' [-Wunused-variable] int stest,jtest,i,j,k,l,m,n,lind,hitcount; ^ xjdfrontend.c:2141: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:183:21: note: passing argument to parameter 'file_name' here FILE *xfopen(char *file_name, char *file_mode, int *xfilelen); ^ xjdfrontend.c:2150: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:2153: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:2153: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:2154: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 macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:2158: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:2168: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2176: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:1941:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2178: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:2181: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:2196: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2206: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:2224: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:1941:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2228: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:2233: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:2233: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:2236: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:2237: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:2271: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:2277: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:2280: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 macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:2289: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:2291: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:2297: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:2302: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:2302: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:2303: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:2304: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:2316: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:1941:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2450: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:1941:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:2451: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:2544: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:2545: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:2587:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ xjdfrontend.c:2587:1: error: second parameter of 'main' (argument array) must be of type 'char **' xjdfrontend.c:2613: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:2615: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:2624: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:2624: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:2627: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:2628: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:2629: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:2630: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:2640: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:2640: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:2645: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:2645: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:2650: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:2650: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:2651: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:2651: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:2653: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:2653: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:2660: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:2660: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:2665: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:2665: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:2666: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:2666: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:2722: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:2722: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:2727: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:2727: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:2728: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:2728: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:2730: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:2730: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:2746: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:2746: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:2751: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:2751: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:2752: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:2752: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:2754: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:2754: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:2755: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:2755: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:2756: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:2765: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:2765: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:2770: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:2770: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:2771: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:2771: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:2773: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:2773: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:2774: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:2774: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:2775: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:2840: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:2841: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:2844: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:2845: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:2894: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:2894: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:2894: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:2894: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:2894: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:2894: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 macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:2896: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:2896: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:2897: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:643:27: note: passing argument to parameter 'msg' here int KFlush(unsigned char *msg) ^ xjdfrontend.c:2913: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:2913: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:2946: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:2946: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:2947: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:2947: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:3104: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:1941:30: note: passing argument to parameter 'prompt' here void GetKBStr(unsigned char *prompt) ^ xjdfrontend.c:3107: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:3116: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:3117: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:3117: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:3118: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:3125: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:3131: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:3132: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 macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:3133: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:3138: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 macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ xjdfrontend.c:3152: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:3152: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:3186: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:3190: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:3191: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:3195: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:3197: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:3197: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:3198: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:3198: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3198: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:3198: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3198: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3198: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 macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:3204: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:3204: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ xjdfrontend.c:3204: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3204: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3204: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 macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ xjdfrontend.c:3204: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3204: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3204: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 macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ xjdfrontend.c:3204: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3204: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 macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ xjdfrontend.c:3204: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 macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:3204: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 macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ xjdfrontend.c:3210: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:3210: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:3211: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:3211: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:3216: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:3219: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:3224: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) ^ 409 warnings and 1 error generated. make[1]: *** [xjdfrontend_sa.o] Error 1 make[1]: Leaving directory `/«PKGBUILDDIR»' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120623-1647 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 532 Build-Time: 2 Distribution: unstable Fail-Stage: build Install-Time: 7 Job: xjdic_24-8 Package: xjdic Package-Time: 36 Source-Version: 24-8 Space: 532 Status: attempted Version: 24-8 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120623-1647 Build needed 00:00:36, 532k disc space DC-Status: Failed 36.17605s