DC-Build-Header: xjdic 24-8 / 2014-01-06 09:16:41 +0000 DC-Task: source:xjdic version:24-8 architecture:any chroot:unstable esttime:38 logfile:/tmp/xjdic_24-8_unstable_clang.log modes:binary-only:parallel:clang DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang --append-to-version "clang1" --maintainer "Lucas Nussbaum " --uploader "Lucas Nussbaum " xjdic_24-8' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-172-31-11-170.us-west-2.compute.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ xjdic 24-8clang1 (amd64) 06 Jan 2014 09:16 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: xjdic Version: 24-8clang1 Source Version: 24-8 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/xjdic-iiFnzH/xjdic-24' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/xjdic-iiFnzH' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-e01958ba-3d2e-4829-8fe1-ac9c749c7a36' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [206 kB] Get:2 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:4 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Get:5 http://localhost:9999 unstable/main 2014-01-04-1439.27.pdiff [11.3 kB] Get:6 http://localhost:9999 unstable/main 2014-01-04-1439.27.pdiff [11.3 kB] Get:7 http://localhost:9999 unstable/main amd64 2014-01-04-1439.27.pdiff [11.8 kB] Get:8 http://localhost:9999 unstable/main 2014-01-04-1439.27.pdiff [1898 B] Get:9 http://localhost:9999 unstable/main amd64 2014-01-04-1439.27.pdiff [11.8 kB] Get:10 http://localhost:9999 unstable/main 2014-01-04-2039.41.pdiff [12.3 kB] Get:11 http://localhost:9999 unstable/main 2014-01-04-1439.27.pdiff [1898 B] Get:12 http://localhost:9999 unstable/main amd64 2014-01-04-2039.41.pdiff [24.3 kB] Get:13 http://localhost:9999 unstable/main 2014-01-04-2039.41.pdiff [12.3 kB] Get:14 http://localhost:9999 unstable/main 2014-01-04-2039.41.pdiff [2358 B] Get:15 http://localhost:9999 unstable/main amd64 2014-01-04-2039.41.pdiff [24.3 kB] Get:16 http://localhost:9999 unstable/main 2014-01-05-0239.35.pdiff [9640 B] Get:17 http://localhost:9999 unstable/main 2014-01-04-2039.41.pdiff [2358 B] Get:18 http://localhost:9999 unstable/main amd64 2014-01-05-0239.35.pdiff [18.3 kB] Get:19 http://localhost:9999 unstable/main 2014-01-05-0239.35.pdiff [9640 B] Get:20 http://localhost:9999 unstable/main 2014-01-05-0239.35.pdiff [504 B] Get:21 http://localhost:9999 unstable/main amd64 2014-01-05-0239.35.pdiff [18.3 kB] Get:22 http://localhost:9999 unstable/main 2014-01-05-0840.32.pdiff [4885 B] Get:23 http://localhost:9999 unstable/main 2014-01-05-0239.35.pdiff [504 B] Get:24 http://localhost:9999 unstable/main amd64 2014-01-05-0840.32.pdiff [3950 B] Get:25 http://localhost:9999 unstable/main 2014-01-05-0840.32.pdiff [4885 B] Get:26 http://localhost:9999 unstable/main 2014-01-05-0840.32.pdiff [214 B] Get:27 http://localhost:9999 unstable/main amd64 2014-01-05-0840.32.pdiff [3950 B] Get:28 http://localhost:9999 unstable/main 2014-01-05-1438.24.pdiff [7183 B] Get:29 http://localhost:9999 unstable/main 2014-01-05-0840.32.pdiff [214 B] Get:30 http://localhost:9999 unstable/main amd64 2014-01-05-1438.24.pdiff [3882 B] Get:31 http://localhost:9999 unstable/main 2014-01-05-1438.24.pdiff [7183 B] Get:32 http://localhost:9999 unstable/main 2014-01-05-1438.24.pdiff [1111 B] Get:33 http://localhost:9999 unstable/main amd64 2014-01-05-1438.24.pdiff [3882 B] Get:34 http://localhost:9999 unstable/main 2014-01-05-2041.02.pdiff [20.2 kB] Get:35 http://localhost:9999 unstable/main 2014-01-05-1438.24.pdiff [1111 B] Get:36 http://localhost:9999 unstable/main amd64 2014-01-05-2041.02.pdiff [17.0 kB] Get:37 http://localhost:9999 unstable/main 2014-01-05-2041.02.pdiff [20.2 kB] Get:38 http://localhost:9999 unstable/main 2014-01-05-2041.02.pdiff [2166 B] Get:39 http://localhost:9999 unstable/main amd64 2014-01-05-2041.02.pdiff [17.0 kB] Get:40 http://localhost:9999 unstable/main 2014-01-06-0239.34.pdiff [7972 B] Get:41 http://localhost:9999 unstable/main 2014-01-05-2041.02.pdiff [2166 B] Get:42 http://localhost:9999 unstable/main amd64 2014-01-06-0239.34.pdiff [21.1 kB] Get:43 http://localhost:9999 unstable/main 2014-01-06-0239.34.pdiff [7972 B] Get:44 http://localhost:9999 unstable/main 2014-01-06-0239.34.pdiff [238 B] Get:45 http://localhost:9999 unstable/main amd64 2014-01-06-0239.34.pdiff [21.1 kB] Get:46 http://localhost:9999 unstable/main 2014-01-06-0239.34.pdiff [238 B] Fetched 412 kB in 28s (14.6 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: libterm-ui-perl 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 19.1 kB of archives. After this operation, 1024 B of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libterm-ui-perl all 0.42-1 [19.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.1 kB in 0s (1172 kB/s) (Reading database ... 13944 files and directories currently installed.) Preparing to unpack .../libterm-ui-perl_0.42-1_all.deb ... Unpacking libterm-ui-perl (0.42-1) over (0.38-1) ... Setting up libterm-ui-perl (0.42-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:9999/debian/ unstable/main xjdic 24-8 (dsc) [951 B] Get:2 http://localhost:9999/debian/ unstable/main xjdic 24-8 (tar) [140 kB] Get:3 http://localhost:9999/debian/ unstable/main xjdic 24-8 (diff) [7351 B] Fetched 148 kB in 1s (113 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... + echo 'Install of clang-3.4' Install of clang-3.4 + apt-get update Hit http://localhost:9999 unstable InRelease Hit http://localhost:9999 unstable/main Sources/DiffIndex Hit http://localhost:9999 unstable/main amd64 Packages/DiffIndex Hit http://localhost:9999 unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.4 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-3.4-dev libclang1-3.4 libffi6 libllvm3.4 libobjc-4.8-dev libobjc4 Recommended packages: llvm-3.4-dev python The following NEW packages will be installed: clang-3.4 libclang-common-3.4-dev libclang1-3.4 libffi6 libllvm3.4 libobjc-4.8-dev libobjc4 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 19.9 MB of archives. After this operation, 82.1 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.0.13-10 [19.3 kB] Get:2 http://localhost:9999/debian/ unstable/main libllvm3.4 amd64 1:3.4-1 [6528 kB] Get:3 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.8.2-11 [110 kB] Get:4 http://localhost:9999/debian/ unstable/main libobjc-4.8-dev amd64 4.8.2-11 [370 kB] Get:5 http://localhost:9999/debian/ unstable/main libclang1-3.4 amd64 1:3.4-1 [3526 kB] Get:6 http://localhost:9999/debian/ unstable/main libclang-common-3.4-dev amd64 1:3.4-1 [516 kB] Get:7 http://localhost:9999/debian/ unstable/main clang-3.4 amd64 1:3.4-1 [8878 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.9 MB in 0s (25.7 MB/s) Selecting previously unselected package libffi6:amd64. (Reading database ... 13944 files and directories currently installed.) Preparing to unpack .../libffi6_3.0.13-10_amd64.deb ... Unpacking libffi6:amd64 (3.0.13-10) ... Selecting previously unselected package libllvm3.4:amd64. Preparing to unpack .../libllvm3.4_1%3a3.4-1_amd64.deb ... Unpacking libllvm3.4:amd64 (1:3.4-1) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../libobjc4_4.8.2-11_amd64.deb ... Unpacking libobjc4:amd64 (4.8.2-11) ... Selecting previously unselected package libobjc-4.8-dev:amd64. Preparing to unpack .../libobjc-4.8-dev_4.8.2-11_amd64.deb ... Unpacking libobjc-4.8-dev:amd64 (4.8.2-11) ... Selecting previously unselected package libclang1-3.4:amd64. Preparing to unpack .../libclang1-3.4_1%3a3.4-1_amd64.deb ... Unpacking libclang1-3.4:amd64 (1:3.4-1) ... Selecting previously unselected package libclang-common-3.4-dev. Preparing to unpack .../libclang-common-3.4-dev_1%3a3.4-1_amd64.deb ... Unpacking libclang-common-3.4-dev (1:3.4-1) ... Selecting previously unselected package clang-3.4. Preparing to unpack .../clang-3.4_1%3a3.4-1_amd64.deb ... Unpacking clang-3.4 (1:3.4-1) ... Setting up libffi6:amd64 (3.0.13-10) ... Setting up libllvm3.4:amd64 (1:3.4-1) ... Setting up libobjc4:amd64 (4.8.2-11) ... Setting up libobjc-4.8-dev:amd64 (4.8.2-11) ... Setting up libclang1-3.4:amd64 (1:3.4-1) ... Setting up libclang-common-3.4-dev (1:3.4-1) ... Setting up clang-3.4 (1:3.4-1) ... Processing triggers for libc-bin (2.17-97) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f g++-4.6 gcc-4.6 cpp-4.6 + ln -s clang++ g++-4.6 + ln -s clang gcc-4.6 + ln -s clang cpp-4.6 + for VERSION in '$VERSIONS' + rm -f 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 + for VERSION in '$VERSIONS' + rm -f g++-4.8 gcc-4.8 cpp-4.8 + ln -s clang++ g++-4.8 + ln -s clang gcc-4.8 + ln -s clang cpp-4.8 + 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' + dpkg --set-selections + echo 'gcc-4.8 hold' + dpkg --set-selections + echo 'cpp-4.8 hold' + dpkg --set-selections + echo 'g++-4.8 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version + grep clang + cpp --version + grep clang + g++ --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-jidGf6/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/760 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 ... 14105 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, 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, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, 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-GaPfft/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 intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libmagic1 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 libasprintf-dev libgettextpo-dev 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 intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libmagic1 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-xjdic-dummy 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. Need to get 7930 kB/7931 kB of archives. After this operation, 24.8 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.2.6-1 [24.8 kB] Get:2 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.2-3 [747 kB] Get:3 http://localhost:9999/debian/ unstable/main bsdmainutils amd64 9.0.5 [211 kB] Get:4 http://localhost:9999/debian/ unstable/main man-db amd64 2.6.5-3 [975 kB] Get:5 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.18.3.1-2 [29.1 kB] Get:6 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.14-2 [216 kB] Get:7 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.1+dfsg1-3 [791 kB] Get:8 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.36.4-1 [2055 kB] Get:9 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-2 [133 kB] Get:10 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:11 http://localhost:9999/debian/ unstable/main file amd64 1:5.14-2 [54.0 kB] Get:12 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.18.3.1-2 [116 kB] Get:13 http://localhost:9999/debian/ unstable/main gettext amd64 0.18.3.1-2 [1202 kB] Get:14 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:15 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:16 http://localhost:9999/debian/ unstable/main debhelper all 9.20131227 [687 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 7930 kB in 0s (21.6 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 14105 files and directories currently installed.) Preparing to unpack .../libpipeline1_1.2.6-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.2.6-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.2-3_amd64.deb ... Unpacking groff-base (1.22.2-3) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.5_amd64.deb ... Unpacking bsdmainutils (9.0.5) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.6.5-3_amd64.deb ... Unpacking man-db (2.6.5-3) ... Selecting previously unselected package libasprintf0c2:amd64. Preparing to unpack .../libasprintf0c2_0.18.3.1-2_amd64.deb ... Unpacking libasprintf0c2:amd64 (0.18.3.1-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.14-2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.14-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.1+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.1+dfsg1-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.36.4-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.36.4-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.8-2_amd64.deb ... Unpacking libcroco3:amd64 (0.6.8-2) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.3-5_amd64.deb ... Unpacking libunistring0:amd64 (0.9.3-5) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.14-2_amd64.deb ... Unpacking file (1:5.14-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.18.3.1-2_amd64.deb ... Unpacking gettext-base (0.18.3.1-2) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.18.3.1-2_amd64.deb ... Unpacking gettext (0.18.3.1-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ... Unpacking intltool-debian (0.35.0+20060710.1) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.16+nmu2_all.deb ... Unpacking po-debconf (1.0.16+nmu2) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20131227_all.deb ... Unpacking debhelper (9.20131227) ... Selecting previously unselected package sbuild-build-depends-xjdic-dummy. Preparing to unpack .../sbuild-build-depends-xjdic-dummy.deb ... Unpacking sbuild-build-depends-xjdic-dummy (0.invalid.0) ... Setting up libpipeline1:amd64 (1.2.6-1) ... Setting up groff-base (1.22.2-3) ... Setting up bsdmainutils (9.0.5) ... 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 man-db (2.6.5-3) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.18.3.1-2) ... Setting up libmagic1:amd64 (1:5.14-2) ... Setting up libxml2:amd64 (2.9.1+dfsg1-3) ... Setting up libglib2.0-0:amd64 (2.36.4-1) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-2) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up file (1:5.14-2) ... Setting up gettext-base (0.18.3.1-2) ... Setting up gettext (0.18.3.1-2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20131227) ... Setting up sbuild-build-depends-xjdic-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.17-97) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.24-2 dpkg-dev_1.17.5 g++-4.6_4.6.4-5 g++-4.8_4.8.2-11 gcc-4.6_4.6.4-5 gcc-4.7_4.7.3-9 gcc-4.8_4.8.2-11 libc6-dev_2.17-97 libstdc++-4.8-dev_4.8.2-11 libstdc++6_4.8.2-11 libstdc++6-4.6-dev_4.6.4-5 linux-libc-dev_3.12.6-2 Package versions: apt_0.9.14.2 base-files_7.2 base-passwd_3.5.29 bash_4.2+dfsg-1 binutils_2.24-2 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.5 build-essential_11.6 bzip2_1.0.6-5 clang-3.4_1:3.4-1 coreutils_8.21-1 cpp_4:4.8.2-1 cpp-4.6_4.6.4-5 cpp-4.7_4.7.3-9 cpp-4.8_4.8.2-11 dash_0.5.7-3+nmu1 debconf_1.5.52 debconf-i18n_1.5.52 debfoster_2.7-1.2 debhelper_9.20131227 debian-archive-keyring_2012.4 debianutils_4.4 diffutils_1:3.3-1 dpkg_1.17.5 dpkg-dev_1.17.5 e2fslibs_1.42.9-2 e2fsprogs_1.42.9-2 fakeroot_1.20-3 file_1:5.14-2 findutils_4.4.2-7 g++_4:4.8.2-1 g++-4.6_4.6.4-5 g++-4.8_4.8.2-11 gcc_4:4.8.2-1 gcc-4.4-base_4.4.7-6 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.4-5 gcc-4.6-base_4.6.4-5 gcc-4.7_4.7.3-9 gcc-4.7-base_4.7.3-9 gcc-4.8_4.8.2-11 gcc-4.8-base_4.8.2-11 gettext_0.18.3.1-2 gettext-base_0.18.3.1-2 gnupg_1.4.15-3 gpgv_1.4.15-3 grep_2.15-2 groff-base_1.22.2-3 gzip_1.6-3 hostname_3.15 initscripts_2.88dsf-45 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.52-1 libapt-pkg4.12_0.9.14.2 libarchive-extract-perl_0.70-1 libasan0_4.8.2-11 libasprintf0c2_0.18.3.1-2 libatomic1_4.8.2-11 libattr1_1:2.4.47-1 libaudit-common_1:2.3.2-3 libaudit1_1:2.3.2-3 libblkid1_2.20.1-5.5 libbz2-1.0_1.0.6-5 libc-bin_2.17-97 libc-dev-bin_2.17-97 libc6_2.17-97 libc6-dev_2.17-97 libcap2_1:2.22-1.2 libclang-common-3.4-dev_1:3.4-1 libclang1-3.4_1:3.4-1 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.1-3 libcloog-ppl1_0.16.1-4 libcomerr2_1.42.9-2 libcroco3_0.6.8-2 libdb5.1_5.1.29-7 libdpkg-perl_1.17.5 libfakeroot_1.20-3 libffi6_3.0.13-10 libfile-fcntllock-perl_0.14-2+b1 libgc1c2_1:7.2d-6 libgcc-4.7-dev_4.7.3-9 libgcc-4.8-dev_4.8.2-11 libgcc1_1:4.8.2-11 libgdbm3_1.8.3-12 libglib2.0-0_2.36.4-1 libgmp10_2:5.1.3+dfsg-1 libgmpxx4ldbl_2:5.1.3+dfsg-1 libgomp1_4.8.2-11 libgpm2_1.20.4-6.1 libisl10_0.12.1-2 libitm1_4.8.2-11 libllvm3.4_1:3.4-1 liblocale-gettext-perl_1.05-7+b2 liblog-message-simple-perl_0.10-1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.14-2 libmodule-pluggable-perl_4.8-1 libmount1_2.20.1-5.5 libmpc2_0.9-4 libmpc3_1.0.1-1 libmpfr4_3.1.2-1 libncurses5_5.9+20130608-1 libobjc-4.8-dev_4.8.2-11 libobjc4_4.8.2-11 libpam-modules_1.1.3-10 libpam-modules-bin_1.1.3-10 libpam-runtime_1.1.3-10 libpam0g_1.1.3-10 libpcre3_1:8.31-2 libpipeline1_1.2.6-1 libpod-latex-perl_0.61-1 libppl-c4_1:1.0-7 libppl12_1:1.0-7 libquadmath0_4.8.2-11 libreadline6_6.2+dfsg-0.1 libselinux1_2.2.1-1 libsemanage-common_2.2-1 libsemanage1_2.2-1 libsepol1_2.2-1 libslang2_2.2.4-16 libss2_1.42.9-2 libstdc++-4.8-dev_4.8.2-11 libstdc++6_4.8.2-11 libstdc++6-4.6-dev_4.6.4-5 libswitch-perl_2.16-2 libterm-ui-perl_0.42-1 libtext-charwidth-perl_0.04-7+b2 libtext-iconv-perl_1.7-5+b1 libtext-soundex-perl_3.4-1+b1 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_2.3000-1 libtinfo5_5.9+20130608-1 libtsan0_4.8.2-11 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23.3 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.5 libxml2_2.9.1+dfsg1-3 linux-libc-dev_3.12.6-2 login_1:4.1.5.1-1 lsb-base_4.1+Debian12 make_3.81-8.3 man-db_2.6.5-3 mawk_1.3.3-17 mount_2.20.1-5.5 multiarch-support_2.17-97 ncurses-base_5.9+20130608-1 ncurses-bin_5.9+20130608-1 passwd_1:4.1.5.1-1 patch_2.7.1-4 perl_5.18.1-5 perl-base_5.18.1-5 perl-modules_5.18.1-5 po-debconf_1.0.16+nmu2 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-xjdic-dummy_0.invalid.0 sed_4.2.2-3 sensible-utils_0.0.9 sudo_1.8.8-2 sysv-rc_2.88dsf-45 sysvinit_2.88dsf-45 sysvinit-core_2.88dsf-45 sysvinit-utils_2.88dsf-45 tar_1.27-4 tzdata_2013i-1 ucf_3.0027+nmu1 util-linux_2.20.1-5.5 vim_2:7.4.052-1 vim-common_2:7.4.052-1 vim-runtime_2:7.4.052-1 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ 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 Hack binNMU version ─────────────────── Created changelog entry for binNMU version 24-8clang1 User Environment ──────────────── DEB_BUILD_OPTIONS=parallel=10 HOME=/sbuild-nonexistent LOGNAME=user PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-e01958ba-3d2e-4829-8fe1-ac9c749c7a36 SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package xjdic dpkg-buildpackage: source version 24-8clang1 dpkg-buildpackage: source distribution unstable 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:395:35: 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:259:35: 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:125:70: 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:395:35: 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:395:35: 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:125: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:125:70: 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:133: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:125: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:133: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:133: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:125: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:125: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:133: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:133: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:622: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:344: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:133: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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:133: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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:133: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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:448:60: 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:195: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:448:60: 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:195: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:125: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:125:70: 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:125: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:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ 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:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 59 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:31: 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:31: 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:622: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:622: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:395:35: 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:364: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:395:35: 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:395:35: 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:364: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:364: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:125: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:125:70: 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:395:35: 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:395:35: 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:133: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:133:70: 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:364: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:125: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:622: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:344: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:125: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:125:70: 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:125: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:125:70: 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:395:35: 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:395:35: 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:344: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:125: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:125:70: 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:125: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:125:70: 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:395:35: 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:133: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:133:70: 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:395:35: 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:395:35: 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:395:35: 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:64: 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); ~~~ ^~~~~~~~~~~ %u xjdfrontend.c:908:76: 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:125: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:622: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:395:35: 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:133: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:133:70: 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:125: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:125: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:622: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:344: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:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) 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:125: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:125:70: 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:344: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:125: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:125:70: 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:125: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:125:70: 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:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) 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:133: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:133:70: 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:395:35: 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:395:35: 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:133: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:133:70: 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:395:35: 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:395:35: 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:125: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:125:70: 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:125: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:125: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:125:70: 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:133: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:133:70: 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:395:35: 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:395:35: 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:125: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:125:70: 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:125: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:125: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:125:70: 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:133: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:133:70: 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:395:35: 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:133: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:133:70: 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:803: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:803: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:806: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:806: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:808: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:810: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:810: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:813: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:815: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:815: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:817: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:817: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:803: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:803: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:806: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:806: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:808: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:810: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:810: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:813: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:815: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:815: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:817: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:817: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:125: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:125:70: 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:125: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:125:70: 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:395:35: 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:395:35: 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:395:35: 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:395:35: 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:395:35: 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:338:34: 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:338:58: 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:338:34: 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:338:58: 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:338:34: 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:338:58: 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:338:34: 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:338:58: 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:395:35: 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:395:35: 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:338:34: 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:338:58: 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:364: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:125: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:125:70: 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:364: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:125: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:125:70: 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:133: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:133: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:133:70: 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:364: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:364: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:133: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:133:70: 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:338:34: 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:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) 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:338:34: 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:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) 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:133: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:133:70: 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:133: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:133:70: 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:133: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:133:70: 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:133: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:133:70: 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:133: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:133:70: 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:133: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:133:70: 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:338:34: 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:338:58: 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:133: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:133:70: 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:42: warning: unused variable 'brace' [-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: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:622: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:395:35: 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:395:35: 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:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) 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:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) 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:622: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:395:35: 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:622: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:395:35: 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:395:35: 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:395:35: 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:395:35: 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:125: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:364: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:125: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:125:70: 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:125: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:133: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:364: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:133: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:133:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:133: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:133:70: 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:125: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:125:70: 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:125: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:125:70: 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:395:35: 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:395:35: 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:395:35: 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:395:35: 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:125: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:125:70: 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:395:35: 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:395:35: 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:395:35: 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:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ xjdfrontend.c:2129:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf(" (%d) ",strlen(RKSet[NoSets-1])/2); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %lu 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:622: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:344: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:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) 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:395:35: 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:125: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:133: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:395:35: 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:395:35: 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:133: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:133:70: 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:395:35: 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:395:35: 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:133: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:133: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:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) 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:395:35: 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:395:35: 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:395:35: 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:125: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:125:70: 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:395:35: 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:395:35: 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:125:70: 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:125: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:125: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:395:35: 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:511: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:125: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:125:70: 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:125: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:125: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:125: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:125: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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:133: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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:133: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:364: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:364: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:364: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:364: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:803: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:806: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:808: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:810: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:815: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:817: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:125: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:125:70: 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:125: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:125:70: 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:125: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:125:70: 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:395:35: 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:395:35: 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:133: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:364: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:125: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:125:70: 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:133: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:125: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:622: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:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) 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:364: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:278:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) 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:125: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:125:70: 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:125: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:125: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:622: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:395:35: 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:395:35: 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:803: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:806: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:808: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:810: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:815: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:817: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:803: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:803: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:806: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:806: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:808: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:810: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:810: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:813: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:815: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:815: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:817: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:817: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:125: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:125:70: 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:125: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:125:70: 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:395:35: 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:364: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:395:35: 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 20140106-0917 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 556 Build-Time: 2 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 9 Job: xjdic_24-8 Machine Architecture: amd64 Package: xjdic Package-Time: 63 Source-Version: 24-8 Space: 556 Status: attempted Version: 24-8clang1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20140106-0917 Build needed 00:01:03, 556k disc space DC-Status: Failed 63.967221189s