DC-Build-Header: scrollz 2.1-1.1 / Thu Jan 31 19:02:32 +0000 2013 DC-Task: logfile:/tmp/scrollz_2.1-1.1_unstable_clang.log version:2.1-1.1 modes:binary-only:clang chroot:unstable source:scrollz esttime:60 architecture:any DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang scrollz_2.1-1.1' Could not create '/sbuild-nonexistent/logs': No such file or directory Could not create '/sbuild-nonexistent/logs': No such file or directory sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on ip-10-159-48-232.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ scrollz 2.1-1.1 (amd64) 31 Jan 2013 19:02 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: scrollz Version: 2.1-1.1 Source Version: 2.1-1.1 Distribution: unstable Architecture: amd64 I: NOTICE: Log filtering will replace 'build/scrollz-yT17UE/scrollz-2.1' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/scrollz-yT17UE' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-114f7fde-374d-4eb1-9e03-38ccc1899530' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost unstable InRelease Get:1 http://localhost unstable Release.gpg [836 B] Get:2 http://localhost unstable Release [227 kB] Ign http://localhost unstable/main Sources/DiffIndex Ign http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Get:3 http://localhost unstable/main Sources [8236 kB] Get:4 http://localhost unstable/main amd64 Packages [8279 kB] Fetched 16.7 MB in 3s (5028 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... Need to get 958 kB of source archives. Get:1 http://localhost/debian/ unstable/main scrollz 2.1-1.1 (dsc) [1659 B] Get:2 http://localhost/debian/ unstable/main scrollz 2.1-1.1 (tar) [951 kB] Get:3 http://localhost/debian/ unstable/main scrollz 2.1-1.1 (diff) [5750 B] Fetched 958 kB in 0s (2839 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 'Add an unstable version of clang as repository' Add an unstable version of clang as repository + echo deb http://clang.ecranbleu.org/apt/debian unstable main + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Ign http://clang.ecranbleu.org unstable InRelease Ign http://localhost unstable/main Sources/DiffIndex Ign http://clang.ecranbleu.org unstable Release.gpg Ign http://localhost unstable/main amd64 Packages/DiffIndex Get:1 http://clang.ecranbleu.org unstable Release [1616 B] Hit http://localhost unstable/main Translation-en/DiffIndex Hit http://localhost unstable/main Sources Get:2 http://clang.ecranbleu.org unstable/main amd64 Packages [2354 B] Hit http://localhost unstable/main amd64 Packages Ign http://clang.ecranbleu.org unstable/main Translation-en Fetched 3970 B in 1s (2679 B/s) Reading package lists... + echo 'Install of clang' Install of clang + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Ign http://clang.ecranbleu.org unstable InRelease Ign http://localhost unstable/main Sources/DiffIndex Ign http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Ign http://clang.ecranbleu.org unstable Release.gpg Hit http://clang.ecranbleu.org unstable Release Ign http://clang.ecranbleu.org unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Sources Hit http://localhost unstable/main amd64 Packages Hit http://clang.ecranbleu.org unstable/main amd64 Packages Ign http://clang.ecranbleu.org unstable/main Translation-en Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: clang-3.2 compiler-rt libclang-common-dev libexpat1 libffi5 libllvm3.2 libncursesw5 libsqlite3-0 libssl1.0.0 mime-support python python-minimal python2.7 python2.7-minimal Suggested packages: python-doc python-tk python2.7-doc binfmt-support Recommended packages: llvm-3.2-dev file The following NEW packages will be installed: clang clang-3.2 compiler-rt libclang-common-dev libexpat1 libffi5 libllvm3.2 libncursesw5 libsqlite3-0 libssl1.0.0 mime-support python python-minimal python2.7 python2.7-minimal 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. Need to get 25.3 MB of archives. After this operation, 70.1 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libclang-common-dev compiler-rt clang-3.2 clang Get:1 http://localhost/debian/ unstable/main libncursesw5 amd64 5.9-10 [141 kB] Get:2 http://localhost/debian/ unstable/main libssl1.0.0 amd64 1.0.1c-4 [1213 kB] Get:3 http://localhost/debian/ unstable/main libsqlite3-0 amd64 3.7.15.2-1 [463 kB] Get:4 http://localhost/debian/ unstable/main libexpat1 amd64 2.1.0-1 [141 kB] Get:5 http://localhost/debian/ unstable/main libffi5 amd64 3.0.10-3 [24.8 kB] Get:6 http://localhost/debian/ unstable/main libllvm3.2 amd64 3.2-2 [7865 kB] Get:7 http://clang.ecranbleu.org/apt/debian/ unstable/main libclang-common-dev amd64 3.2-2 [303 kB] Get:8 http://localhost/debian/ unstable/main mime-support all 3.52-2 [35.2 kB] Get:9 http://localhost/debian/ unstable/main python2.7-minimal amd64 2.7.3-6 [1783 kB] Get:10 http://localhost/debian/ unstable/main python2.7 amd64 2.7.3-6 [2729 kB] Get:11 http://localhost/debian/ unstable/main python-minimal all 2.7.3-3 [42.5 kB] Get:12 http://localhost/debian/ unstable/main python all 2.7.3-3 [179 kB] Get:13 http://clang.ecranbleu.org/apt/debian/ unstable/main compiler-rt amd64 3.2-2 [312 kB] Get:14 http://clang.ecranbleu.org/apt/debian/ unstable/main clang-3.2 amd64 3.2-2 [10.0 MB] Get:15 http://clang.ecranbleu.org/apt/debian/ unstable/main clang all 3.2-2 [9558 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 25.3 MB in 3s (7138 kB/s) Selecting previously unselected package libncursesw5:amd64. (Reading database ... 13484 files and directories currently installed.) Unpacking libncursesw5:amd64 (from .../libncursesw5_5.9-10_amd64.deb) ... Selecting previously unselected package libssl1.0.0:amd64. Unpacking libssl1.0.0:amd64 (from .../libssl1.0.0_1.0.1c-4_amd64.deb) ... Selecting previously unselected package libsqlite3-0:amd64. Unpacking libsqlite3-0:amd64 (from .../libsqlite3-0_3.7.15.2-1_amd64.deb) ... Selecting previously unselected package libexpat1:amd64. Unpacking libexpat1:amd64 (from .../libexpat1_2.1.0-1_amd64.deb) ... Selecting previously unselected package libffi5:amd64. Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ... Selecting previously unselected package libllvm3.2:amd64. Unpacking libllvm3.2:amd64 (from .../libllvm3.2_3.2-2_amd64.deb) ... Selecting previously unselected package mime-support. Unpacking mime-support (from .../mime-support_3.52-2_all.deb) ... Selecting previously unselected package python2.7-minimal. Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.3-6_amd64.deb) ... Selecting previously unselected package python2.7. Unpacking python2.7 (from .../python2.7_2.7.3-6_amd64.deb) ... Selecting previously unselected package python-minimal. Unpacking python-minimal (from .../python-minimal_2.7.3-3_all.deb) ... Selecting previously unselected package python. Unpacking python (from .../python_2.7.3-3_all.deb) ... Selecting previously unselected package libclang-common-dev. Unpacking libclang-common-dev (from .../libclang-common-dev_3.2-2_amd64.deb) ... Selecting previously unselected package compiler-rt. Unpacking compiler-rt (from .../compiler-rt_3.2-2_amd64.deb) ... Selecting previously unselected package clang-3.2. Unpacking clang-3.2 (from .../clang-3.2_3.2-2_amd64.deb) ... Selecting previously unselected package clang. Unpacking clang (from .../archives/clang_3.2-2_all.deb) ... Setting up libncursesw5:amd64 (5.9-10) ... Setting up libssl1.0.0:amd64 (1.0.1c-4) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Setting up libsqlite3-0:amd64 (3.7.15.2-1) ... Setting up libexpat1:amd64 (2.1.0-1) ... Setting up libffi5:amd64 (3.0.10-3) ... Setting up libllvm3.2:amd64 (3.2-2) ... Setting up mime-support (3.52-2) ... Setting up python2.7-minimal (2.7.3-6) ... Linking and byte-compiling packages for runtime python2.7... Setting up python2.7 (2.7.3-6) ... Setting up python-minimal (2.7.3-3) ... Setting up python (2.7.3-3) ... Setting up libclang-common-dev (3.2-2) ... Setting up compiler-rt (3.2-2) ... Setting up clang-3.2 (3.2-2) ... Setting up clang (3.2-2) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7' + cd /usr/bin + for VERSION in '$VERSIONS' + rm 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 g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + 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 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang 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-E3DXvr/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/710 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 ... 14662 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, 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 (>= 7), libncurses5-dev, libgnutls-dev, pkg-config 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 (>= 7), libncurses5-dev, libgnutls-dev, pkg-config dpkg-deb: building package `sbuild-build-depends-scrollz-dummy' in `/«BUILDDIR»/resolver-YIHBTN/apt_archive/sbuild-build-depends-scrollz-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install scrollz build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libasprintf-dev libasprintf0c2 libcroco3 libgcrypt11 libgcrypt11-dev libgettextpo-dev libgettextpo0 libglib2.0-0 libgnutls-dev libgnutls-openssl27 libgnutls26 libgnutlsxx27 libgpg-error-dev libgpg-error0 libmagic1 libncurses5-dev libp11-kit-dev libp11-kit0 libpcre3 libpipeline1 libpopt0 libtasn1-3 libtasn1-3-dev libtinfo-dev libunistring0 libxml2 man-db pkg-config po-debconf zlib1g-dev Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff rng-tools libgcrypt11-doc gnutls26-doc ncurses-doc less www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libasprintf-dev libasprintf0c2 libcroco3 libgcrypt11 libgcrypt11-dev libgettextpo-dev libgettextpo0 libglib2.0-0 libgnutls-dev libgnutls-openssl27 libgnutls26 libgnutlsxx27 libgpg-error-dev libgpg-error0 libmagic1 libncurses5-dev libp11-kit-dev libp11-kit0 libpcre3 libpipeline1 libpopt0 libtasn1-3 libtasn1-3-dev libtinfo-dev libunistring0 libxml2 man-db pkg-config po-debconf sbuild-build-depends-scrollz-dummy zlib1g-dev 0 upgraded, 39 newly installed, 0 to remove and 0 not upgraded. Need to get 13.0 MB/13.0 MB of archives. After this operation, 35.7 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libpipeline1 amd64 1.2.2-1 [39.9 kB] Get:2 http://localhost/debian/ unstable/main libpopt0 amd64 1.16-7 [56.4 kB] Get:3 http://localhost/debian/ unstable/main groff-base amd64 1.22.1-2 [741 kB] Get:4 http://localhost/debian/ unstable/main bsdmainutils amd64 9.0.4 [210 kB] Get:5 http://localhost/debian/ unstable/main man-db amd64 2.6.3-3 [898 kB] Get:6 http://localhost/debian/ unstable/main libasprintf0c2 amd64 0.18.1.1-10 [27.2 kB] Get:7 http://localhost/debian/ unstable/main libgpg-error0 amd64 1.10-3.1 [77.9 kB] Get:8 http://localhost/debian/ unstable/main libgcrypt11 amd64 1.5.0-3 [298 kB] Get:9 http://localhost/debian/ unstable/main libp11-kit0 amd64 0.12-3 [52.8 kB] Get:10 http://localhost/debian/ unstable/main libtasn1-3 amd64 2.13-2 [67.7 kB] Get:11 http://localhost/debian/ unstable/main libgnutls26 amd64 2.12.20-3 [618 kB] Get:12 http://localhost/debian/ unstable/main libgnutls-openssl27 amd64 2.12.20-3 [221 kB] Get:13 http://localhost/debian/ unstable/main libmagic1 amd64 5.11-2 [202 kB] Get:14 http://localhost/debian/ unstable/main libpcre3 amd64 1:8.31-2 [247 kB] Get:15 http://localhost/debian/ unstable/main libxml2 amd64 2.8.0+dfsg1-7 [903 kB] Get:16 http://localhost/debian/ unstable/main libglib2.0-0 amd64 2.33.12+really2.32.4-5 [1838 kB] Get:17 http://localhost/debian/ unstable/main libcroco3 amd64 0.6.6-2 [134 kB] Get:18 http://localhost/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:19 http://localhost/debian/ unstable/main libgettextpo0 amd64 0.18.1.1-10 [145 kB] Get:20 http://localhost/debian/ unstable/main libgnutlsxx27 amd64 2.12.20-3 [222 kB] Get:21 http://localhost/debian/ unstable/main file amd64 5.11-2 [51.8 kB] Get:22 http://localhost/debian/ unstable/main gettext-base amd64 0.18.1.1-10 [154 kB] Get:23 http://localhost/debian/ unstable/main html2text amd64 1.3.2a-15 [103 kB] Get:24 http://localhost/debian/ unstable/main libasprintf-dev amd64 0.18.1.1-10 [26.8 kB] Get:25 http://localhost/debian/ unstable/main libgettextpo-dev amd64 0.18.1.1-10 [184 kB] Get:26 http://localhost/debian/ unstable/main gettext amd64 0.18.1.1-10 [1815 kB] Get:27 http://localhost/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:28 http://localhost/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:29 http://localhost/debian/ unstable/main debhelper all 9.20120909 [705 kB] Get:30 http://localhost/debian/ unstable/main libgpg-error-dev amd64 1.10-3.1 [43.0 kB] Get:31 http://localhost/debian/ unstable/main libgcrypt11-dev amd64 1.5.0-3 [402 kB] Get:32 http://localhost/debian/ unstable/main zlib1g-dev amd64 1:1.2.7.dfsg-13 [215 kB] Get:33 http://localhost/debian/ unstable/main libtasn1-3-dev amd64 2.13-2 [389 kB] Get:34 http://localhost/debian/ unstable/main libp11-kit-dev amd64 0.12-3 [67.8 kB] Get:35 http://localhost/debian/ unstable/main libgnutls-dev amd64 2.12.20-3 [747 kB] Get:36 http://localhost/debian/ unstable/main libtinfo-dev amd64 5.9-10 [105 kB] Get:37 http://localhost/debian/ unstable/main libncurses5-dev amd64 5.9-10 [223 kB] Get:38 http://localhost/debian/ unstable/main pkg-config amd64 0.26-1 [59.5 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 13.0 MB in 0s (22.7 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 14662 files and directories currently installed.) Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.2-1_amd64.deb) ... Selecting previously unselected package libpopt0:amd64. Unpacking libpopt0:amd64 (from .../libpopt0_1.16-7_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.22.1-2_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.4_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.3-3_amd64.deb) ... Selecting previously unselected package libasprintf0c2:amd64. Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package libgpg-error0:amd64. Unpacking libgpg-error0:amd64 (from .../libgpg-error0_1.10-3.1_amd64.deb) ... Selecting previously unselected package libgcrypt11:amd64. Unpacking libgcrypt11:amd64 (from .../libgcrypt11_1.5.0-3_amd64.deb) ... Selecting previously unselected package libp11-kit0:amd64. Unpacking libp11-kit0:amd64 (from .../libp11-kit0_0.12-3_amd64.deb) ... Selecting previously unselected package libtasn1-3:amd64. Unpacking libtasn1-3:amd64 (from .../libtasn1-3_2.13-2_amd64.deb) ... Selecting previously unselected package libgnutls26:amd64. Unpacking libgnutls26:amd64 (from .../libgnutls26_2.12.20-3_amd64.deb) ... Selecting previously unselected package libgnutls-openssl27:amd64. Unpacking libgnutls-openssl27:amd64 (from .../libgnutls-openssl27_2.12.20-3_amd64.deb) ... Selecting previously unselected package libmagic1:amd64. Unpacking libmagic1:amd64 (from .../libmagic1_5.11-2_amd64.deb) ... Selecting previously unselected package libpcre3:amd64. Unpacking libpcre3:amd64 (from .../libpcre3_1%3a8.31-2_amd64.deb) ... Selecting previously unselected package libxml2:amd64. Unpacking libxml2:amd64 (from .../libxml2_2.8.0+dfsg1-7_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.33.12+really2.32.4-5_amd64.deb) ... Selecting previously unselected package libcroco3:amd64. Unpacking libcroco3:amd64 (from .../libcroco3_0.6.6-2_amd64.deb) ... Selecting previously unselected package libunistring0:amd64. Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package libgettextpo0:amd64. Unpacking libgettextpo0:amd64 (from .../libgettextpo0_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package libgnutlsxx27:amd64. Unpacking libgnutlsxx27:amd64 (from .../libgnutlsxx27_2.12.20-3_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.11-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously unselected package libasprintf-dev:amd64. Unpacking libasprintf-dev:amd64 (from .../libasprintf-dev_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package libgettextpo-dev:amd64. Unpacking libgettextpo-dev:amd64 (from .../libgettextpo-dev_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-10_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20120909_all.deb) ... Selecting previously unselected package libgpg-error-dev. Unpacking libgpg-error-dev (from .../libgpg-error-dev_1.10-3.1_amd64.deb) ... Selecting previously unselected package libgcrypt11-dev. Unpacking libgcrypt11-dev (from .../libgcrypt11-dev_1.5.0-3_amd64.deb) ... Selecting previously unselected package zlib1g-dev:amd64. Unpacking zlib1g-dev:amd64 (from .../zlib1g-dev_1%3a1.2.7.dfsg-13_amd64.deb) ... Selecting previously unselected package libtasn1-3-dev. Unpacking libtasn1-3-dev (from .../libtasn1-3-dev_2.13-2_amd64.deb) ... Selecting previously unselected package libp11-kit-dev. Unpacking libp11-kit-dev (from .../libp11-kit-dev_0.12-3_amd64.deb) ... Selecting previously unselected package libgnutls-dev. Unpacking libgnutls-dev (from .../libgnutls-dev_2.12.20-3_amd64.deb) ... Selecting previously unselected package libtinfo-dev:amd64. Unpacking libtinfo-dev:amd64 (from .../libtinfo-dev_5.9-10_amd64.deb) ... Selecting previously unselected package libncurses5-dev. Unpacking libncurses5-dev (from .../libncurses5-dev_5.9-10_amd64.deb) ... Selecting previously unselected package pkg-config. Unpacking pkg-config (from .../pkg-config_0.26-1_amd64.deb) ... Selecting previously unselected package sbuild-build-depends-scrollz-dummy. Unpacking sbuild-build-depends-scrollz-dummy (from .../sbuild-build-depends-scrollz-dummy.deb) ... Processing triggers for mime-support ... Setting up libpipeline1:amd64 (1.2.2-1) ... Setting up libpopt0:amd64 (1.16-7) ... Setting up groff-base (1.22.1-2) ... Setting up bsdmainutils (9.0.4) ... 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.3-3) ... Building database of manual pages ... Setting up libasprintf0c2:amd64 (0.18.1.1-10) ... Setting up libgpg-error0:amd64 (1.10-3.1) ... Setting up libgcrypt11:amd64 (1.5.0-3) ... Setting up libp11-kit0:amd64 (0.12-3) ... Setting up libtasn1-3:amd64 (2.13-2) ... Setting up libgnutls26:amd64 (2.12.20-3) ... Setting up libgnutls-openssl27:amd64 (2.12.20-3) ... Setting up libmagic1:amd64 (5.11-2) ... Setting up libpcre3:amd64 (1:8.31-2) ... Setting up libxml2:amd64 (2.8.0+dfsg1-7) ... Setting up libglib2.0-0:amd64 (2.33.12+really2.32.4-5) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.6-2) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up libgettextpo0:amd64 (0.18.1.1-10) ... Setting up libgnutlsxx27:amd64 (2.12.20-3) ... Setting up file (5.11-2) ... Setting up gettext-base (0.18.1.1-10) ... Setting up html2text (1.3.2a-15) ... Setting up libasprintf-dev:amd64 (0.18.1.1-10) ... Setting up libgettextpo-dev:amd64 (0.18.1.1-10) ... Setting up gettext (0.18.1.1-10) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20120909) ... Setting up libgpg-error-dev (1.10-3.1) ... Setting up libgcrypt11-dev (1.5.0-3) ... Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ... Setting up libtasn1-3-dev (2.13-2) ... Setting up libp11-kit-dev (0.12-3) ... Setting up libgnutls-dev (2.12.20-3) ... Setting up libtinfo-dev:amd64 (5.9-10) ... Setting up libncurses5-dev (5.9-10) ... Setting up pkg-config (0.26-1) ... Setting up sbuild-build-depends-scrollz-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-7.1 dpkg-dev_1.16.9 g++-4.6_4.6.3-15 g++-4.7_4.7.2-5 gcc-4.6_4.6.3-15 gcc-4.7_4.7.2-5 libc6-dev_2.13-38 libstdc++6_4.7.2-5 libstdc++6-4.6-dev_4.6.3-15 libstdc++6-4.7-dev_4.7.2-5 linux-libc-dev_3.2.35-2 Package versions: apt_0.9.7.7 base-files_7.1 base-passwd_3.5.26 bash_4.2+dfsg-0.1 binutils_2.22-7.1 bsdmainutils_9.0.4 bsdutils_1:2.20.1-5.3 build-essential_11.6 bzip2_1.0.6-4 clang_3.2-2 clang-3.2_3.2-2 compiler-rt_3.2-2 coreutils_8.20-3 cpp_4:4.7.2-1 cpp-4.6_4.6.3-15 cpp-4.7_4.7.2-5 dash_0.5.7-3 debconf_1.5.49 debconf-i18n_1.5.49 debfoster_2.7-1.2 debhelper_9.20120909 debian-archive-keyring_2012.4 debianutils_4.3.4 diffutils_1:3.2-7 dpkg_1.16.9 dpkg-dev_1.16.9 e2fslibs_1.42.5-1 e2fsprogs_1.42.5-1 fakeroot_1.18.4-2 file_5.11-2 findutils_4.4.2-5 g++_4:4.7.2-1 g++-4.6_4.6.3-15 g++-4.7_4.7.2-5 gcc_4:4.7.2-1 gcc-4.4-base_4.4.7-3 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.3-15 gcc-4.6-base_4.6.3-15 gcc-4.7_4.7.2-5 gcc-4.7-base_4.7.2-5 gettext_0.18.1.1-10 gettext-base_0.18.1.1-10 gnupg_1.4.12-7 gpgv_1.4.12-7 grep_2.14-1 groff-base_1.22.1-2 gzip_1.5-1.1 hostname_3.12 html2text_1.3.2a-15 initscripts_2.88dsf-39 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.51-8 libapt-pkg4.12_0.9.7.7 libasprintf-dev_0.18.1.1-10 libasprintf0c2_0.18.1.1-10 libattr1_1:2.4.46-8 libblkid1_2.20.1-5.3 libbz2-1.0_1.0.6-4 libc-bin_2.13-38 libc-dev-bin_2.13-38 libc6_2.13-38 libc6-dev_2.13-38 libclang-common-dev_3.2-2 libclass-isa-perl_0.36-5 libcomerr2_1.42.5-1 libcroco3_0.6.6-2 libdb5.1_5.1.29-5 libdpkg-perl_1.16.9 libexpat1_2.1.0-1 libffi5_3.0.10-3 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.1-9.1 libgcc1_1:4.7.2-5 libgcrypt11_1.5.0-3 libgcrypt11-dev_1.5.0-3 libgdbm3_1.8.3-11 libgettextpo-dev_0.18.1.1-10 libgettextpo0_0.18.1.1-10 libglib2.0-0_2.33.12+really2.32.4-5 libgmp10_2:5.0.5+dfsg-2 libgnutls-dev_2.12.20-3 libgnutls-openssl27_2.12.20-3 libgnutls26_2.12.20-3 libgnutlsxx27_2.12.20-3 libgomp1_4.7.2-5 libgpg-error-dev_1.10-3.1 libgpg-error0_1.10-3.1 libgpm2_1.20.4-6 libitm1_4.7.2-5 libllvm3.2_3.2-2 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-2 libmagic1_5.11-2 libmount1_2.20.1-5.3 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9-10 libncurses5-dev_5.9-10 libncursesw5_5.9-10 libp11-kit-dev_0.12-3 libp11-kit0_0.12-3 libpam-modules_1.1.3-7.1 libpam-modules-bin_1.1.3-7.1 libpam-runtime_1.1.3-7.1 libpam0g_1.1.3-7.1 libpcre3_1:8.31-2 libpipeline1_1.2.2-1 libpopt0_1.16-7 libquadmath0_4.7.2-5 libreadline6_6.2+dfsg-0.1 libselinux1_2.1.9-5 libsemanage-common_2.1.6-6 libsemanage1_2.1.6-6 libsepol1_2.1.4-3 libslang2_2.2.4-15 libsqlite3-0_3.7.15.2-1 libss2_1.42.5-1 libssl1.0.0_1.0.1c-4 libstdc++6_4.7.2-5 libstdc++6-4.6-dev_4.6.3-15 libstdc++6-4.7-dev_4.7.2-5 libswitch-perl_2.16-2 libtasn1-3_2.13-2 libtasn1-3-dev_2.13-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo-dev_5.9-10 libtinfo5_5.9-10 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23+nmu1 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.3 libxml2_2.8.0+dfsg1-7 linux-libc-dev_3.2.35-2 login_1:4.1.5.1-1 lsb-base_4.1+Debian9 make_3.81-8.2 man-db_2.6.3-3 mawk_1.3.3-17 mime-support_3.52-2 mount_2.20.1-5.3 multiarch-support_2.13-38 ncurses-base_5.9-10 ncurses-bin_5.9-10 passwd_1:4.1.5.1-1 patch_2.6.1-3 perl_5.14.2-17 perl-base_5.14.2-17 perl-modules_5.14.2-17 pkg-config_0.26-1 po-debconf_1.0.16+nmu2 python_2.7.3-3 python-minimal_2.7.3-3 python2.7_2.7.3-6 python2.7-minimal_2.7.3-6 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-scrollz-dummy_0.invalid.0 sed_4.2.1-10 sensible-utils_0.0.7 sudo_1.8.5p2-1 sysv-rc_2.88dsf-39 sysvinit_2.88dsf-39 sysvinit-utils_2.88dsf-39 tar_1.26+dfsg-0.1 tzdata_2012j-1 ucf_3.0025+nmu3 util-linux_2.20.1-5.3 vim_2:7.3.547-6 vim-common_2:7.3.547-6 vim-runtime_2:7.3.547-6 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.7.dfsg-13 zlib1g-dev_1:1.2.7.dfsg-13 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Sun Sep 25 12:39:12 2011 UTC using RSA key ID 8649AA06 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./scrollz_2.1-1.1.dsc dpkg-source: info: extracting scrollz in scrollz-2.1 dpkg-source: info: unpacking scrollz_2.1.orig.tar.gz dpkg-source: info: applying scrollz_2.1-1.1.diff.gz dpkg-source: info: upstream files that have been modified: scrollz-2.1/include/config.h scrollz-2.1/include/irc.h scrollz-2.1/source/Makefile.in scrollz-2.1/source/rijndael-alg-ref.c scrollz-2.1/source/vars.c Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── HOME=/sbuild-nonexistent LOGNAME=user PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-114f7fde-374d-4eb1-9e03-38ccc1899530 SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package scrollz dpkg-buildpackage: source version 2.1-1.1 dpkg-buildpackage: source changed by gregor herrmann dpkg-source --before-build scrollz-2.1 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp [ ! -f Makefile ] || /usr/bin/make distclean 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 ./configure --prefix=/usr --mandir=\${prefix}/share/man/man1 --infodir=\${prefix}/share/info --enable-ipv6 --with-ssl DESTDIR=/«PKGBUILDDIR»/debian/scrollz configure: warning: DESTDIR=/«PKGBUILDDIR»/debian/scrollz: invalid host type creating cache ./config.cache this is ScrollZ version 2.1 + ircII version 20091223 checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for POSIXized ISC... no checking for NeXT... no checking for AIX... no checking whether gcc needs -traditional... no checking for getpwnam in -lsun... no checking for qnx... no checking for solaris... no checking for SVR4... no checking for -I/usr/netinclude... no checking for hpux version... no checking for ultrix... no checking for sequent/ptx... no checking whether to enable UTF-8 (iconv) support... yes checking for FreeBSD... no checking for sys/un.h... yes checking for sys/select.h... yes checking for sys/fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/file.h... yes checking for sys/time.h... yes checking for sys/wait.h... yes checking for sys/twg_config.h... no checking for sys/ptem.h... no checking for sys/uio.h... yes checking for unistd.h... yes checking for fcntl.h... yes checking for string.h... yes checking for memory.h... yes checking for netdb.h... yes checking for limits.h... yes checking for stdarg.h... yes checking for process.h... no checking for termcap.h... yes checking for iconv.h... yes checking for termios.h... yes checking for fchmod... yes checking for getcwd... yes checking for getpgid... yes checking for getsid... yes checking for getloadavg... yes checking for memmove... yes checking for scandir... yes checking for setsid... yes checking for strerror... yes checking for strftime... yes checking for uname... yes checking for writev... yes checking for vasprintf... yes checking for fputc... yes checking for fwrite... yes checking for snprintf... yes checking for vsnprintf... yes checking for iconv_open... yes checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking return type of signal handlers... void checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for ssize_t... yes checking for struct linger... yes checking for waitpid... yes checking for select... yes checking for tgetent in -ltermcap... yes checking for tputs in curses.h... no checking signal implementation checking for sigaction... yes using posix signals checking for waitpid declaration... yes checking for errno declaration... yes checking for sys_errlist declaration... yes checking for const iconv 2nd argument... no checking for a 32 bit integer... unsigned int checking for socket in -lsocket... no checking for socket in -linet... no checking for gethostname... yes checking for inet_addr in -ldgc... no checking for gethostbyname in -lresolv... yes checking for inet_aton in -lresolv... yes checking for non-blocking... posix generating a list of signal names... checking for unix mail directory... /var/spool/mail checking for ElectricFence library... no checking paranoia status... none checking for /dev/urandom... yes checking for default server... none checking for crypt in -lc... no checking for crypt in -lcrypt... yes checking whether to support SOCKS... no checking whether to support SOCKS5... no checking whether to support SOCKS4... no checking whether to enable ipv6... yes checking ipv6 stack type... linux-glibc checking getaddrinfo bug... good checking for struct sockaddr's sa_len... no checking whether to enable SSL... yes checking for GNU TLS... yes checking whether to enable OpenSSL... no (you enabled GNU TLS support) checking whether to enable regexp support... no checking whether to enable FiSH support... no checking for pax... no checking for tar... tar checking for gzcat... no checking for zcat... zcat checking for sendmail... updating cache ./config.cache creating ./config.status creating Makefile creating source/Makefile creating ircbug creating include/defs.h well there we are, you now might want to look in config.h and see if there is anything you might want to tune, else you can just run a make here.. good luck! touch configure-stamp dh_testdir /usr/bin/make IRCLIB=\${prefix}/share/scrollz INSTALL_IRCIO=\${prefix}/lib/scrollz/bin/ircio INSTALL_IRCFLUSH=\${prefix}/lib/scrollz/bin/ircflush INSTALL_WSERV=\${prefix}/lib/scrollz/bin/wserv mandir=\${prefix}/share/man/man1 everything make[1]: Entering directory `/«PKGBUILDDIR»' make[2]: Entering directory `/«PKGBUILDDIR»/source' gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c alias.c alias.c:808:9: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (result); ^~~~~~~~ alias.c:2453:18: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((cmdu_chars = get_string_var(CMDCHARS_VAR)) == (u_char *) 0) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:2454:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] cmdu_chars = DEFAULT_CMDCHARS; ^ ~~~~~~~~~~~~~~~~ alias.c:2472:47: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (u_char *) ((from_server >= 0 && (tmp = get_channel_by_refnum(0)) && ^ ~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:2473:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] get_channel_oper(tmp, from_server)) ? ^~~ ../include/names.h:113:32: note: passing argument to parameter here int get_channel_oper _((char *, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:2482:47: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (u_char *) ((from_server >= 0 && (tmp = get_channel_by_refnum(0))) ? ^ ~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:2483:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] get_channel_mode(tmp, from_server) : empty_string); ^~~ ../include/names.h:88:34: note: passing argument to parameter here char *get_channel_mode _((char *, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:2489:10: warning: returning 'char []' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (irc_version); ^~~~~~~~~~~~~ alias.c:2744:44: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (input && * input) value = atoi(input); ^~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ alias.c:3060:10: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result = (char *)0; ^ ~~~~~~~~~ alias.c:3067:45: warning: implicit declaration of function 'crypt' is invalid in C99 [-Wimplicit-function-declaration] malloc_strcpy((char **) &result, (char *) crypt(key, salt)); ^ alias.c:3067:36: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] malloc_strcpy((char **) &result, (char *) crypt(key, salt)); ^ alias.c:3269:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (input && my_stricmp(input, "gone") == 0) ^~~~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:3270:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = get_notify_list(NOTIFY_LIST_GONE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:3271:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (input && my_stricmp(input, "all") == 0) ^~~~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:3272:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = get_notify_list(NOTIFY_LIST_ALL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:3274:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = get_notify_list(NOTIFY_LIST_HERE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:3290:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((nick = next_arg((char *) input, (char **) &input)) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:3292:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] type = get_ignore_type(input); ^~~~~ ../include/ignore.h:45:31: note: passing argument to parameter here int get_ignore_type _((char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:3296:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((userhost = index(nick, '!'))) ^~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:400:25: note: expanded from macro 'strchr' : __builtin_strchr (s, c))) ^ alias.c:3296:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((userhost = index(nick, '!'))) ^ ~~~~~~~~~~~~~~~~ alias.c:3298:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] switch (double_ignore(nick, userhost, type)) ^~~~ ../include/ignore.h:43:29: note: passing argument to parameter here int double_ignore _((char *, char *, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:3298:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] switch (double_ignore(nick, userhost, type)) ^~~~~~~~ ../include/ignore.h:43:37: note: passing argument to parameter here int double_ignore _((char *, char *, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:3609:35: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] malloc_strcpy((char **) &result, lbuf); ^~~~ ../include/ircaux.h:57:39: note: passing argument to parameter here void malloc_strcpy _((char **, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:3621:35: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] malloc_strcpy((char **) &result, lbuf); ^~~~ ../include/ircaux.h:57:39: note: passing argument to parameter here void malloc_strcpy _((char **, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:3795:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((tmpstr = new_next_arg(input, (char **) &input))) { ^~~~~ ../include/ircaux.h:43:30: note: passing argument to parameter here char *new_next_arg _((char *, char **)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:3845:10: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result = (char *) 0; ^ ~~~~~~~~~~ alias.c:3849:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (stat(input, &statbuf) == -1) ^~~~~ /usr/include/x86_64-linux-gnu/sys/stat.h:455:28: note: passing argument to parameter '__path' here __NTH (stat (__const char *__path, struct stat *__statbuf)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ alias.c:3870:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:3877:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] upper(words); ^~~~~ ../include/ircaux.h:45:23: note: passing argument to parameter here char *upper _((char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:3880:72: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(locbuf,sizeof(locbuf),"%d",OpenFileWrite(filename,words)); ^~~~~ alias.c:77:44: note: passing argument to parameter here extern int OpenFileWrite _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:3891:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:3907:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:3921:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:3926:87: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (words && *words) snprintf(locbuf,sizeof(locbuf),"%d",FileWrite(atoi(args),words)); ^~~~~ alias.c:80:37: note: passing argument to parameter here extern int FileWrite _((int, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:3938:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:3955:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:3975:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:3994:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4002:44: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((tmpfriend=CheckUsers(args,words))) { ^~~~~ alias.c:82:52: note: passing argument to parameter here extern struct friends *CheckUsers _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:4021:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4030:37: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((abk=CheckABKs(args,words))!=NULL) { ^~~~~ alias.c:84:56: note: passing argument to parameter here extern struct autobankicks *CheckABKs _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:4055:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4059:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] StripAnsi(words,locbuf,0); ^~~~~ alias.c:83:32: note: passing argument to parameter here extern void StripAnsi _((char *, char *, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:4073:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] StripAnsi(words, locbuf, 1); ^~~~~ alias.c:83:32: note: passing argument to parameter here extern void StripAnsi _((char *, char *, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:4191:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4203:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] colnum=atoi(words); ^~~~~ /usr/include/stdlib.h:284:28: note: passing argument to parameter '__nptr' here __NTH (atoi (__const char *__nptr)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:48:52: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__)) fct ^ alias.c:4255:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4257:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((tmp=index(input,'!'))) malloc_strcpy((char **) &result,tmp+1); ^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:400:25: note: expanded from macro 'strchr' : __builtin_strchr (s, c))) ^ alias.c:4266:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4268:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((tmp=index(input,'@'))) malloc_strcpy((char **) &result,tmp+1); ^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:400:25: note: expanded from macro 'strchr' : __builtin_strchr (s, c))) ^ alias.c:4276:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4295:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4299:52: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(locbuf,sizeof(locbuf),"%d",strlen(input)); ^~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ alias.c:4299:45: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] snprintf(locbuf,sizeof(locbuf),"%d",strlen(input)); ~~ ^~~~~~~~~~~~~ %zd alias.c:4310:11: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] char *tmp=input; ^ ~~~~~ alias.c:4311:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4337:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4342:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(filename=expand_twiddle(input))) malloc_strcpy(&filename,input); ^~~~~ ../include/ircaux.h:44:32: note: passing argument to parameter here char *expand_twiddle _((char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:4342:72: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(filename=expand_twiddle(input))) malloc_strcpy(&filename,input); ^~~~~ ../include/ircaux.h:57:39: note: passing argument to parameter here void malloc_strcpy _((char **, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:4376:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4387:11: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] search=word+1; ^~~~~~~ alias.c:4434:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_alias(VAR_ALIAS,data,result); ^~~~~~ alias.c:4460:16: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] search = input; ^ ~~~~~ alias.c:4470:32: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] for (y = result; *y; y++) ^ ~~~~~~ alias.c:4489:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4753:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcpy(locbuf,input,mybufsize/64); ^~~~~ ../include/ircaux.h:74:33: note: passing argument to parameter here void strmcpy _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:4771:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4785:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ alias.c:4807:41: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *tmpstr = new_next_arg(input, (char **) &input); ^~~~~ ../include/ircaux.h:43:30: note: passing argument to parameter here char *new_next_arg _((char *, char **)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:4831:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result = (char *) 0; ^ ~~~~~~~~~~ alias.c:4837:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcpy(locbuf, &input[1], 2 * mybufsize); ^~~~~~~~~ ../include/ircaux.h:74:33: note: passing argument to parameter here void strmcpy _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ alias.c:4853:13: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *result=(char *) 0; ^ ~~~~~~~~~~ 73 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c blowfish.c blowfish.c:272:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] s = encrbuf + strlen(encrbuf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ blowfish.c:274:7: warning: assigning to 'unsigned char *' from 'char [4097]' converts between pointers to integer types with different sign [-Wpointer-sign] s = encrbuf; ^ ~~~~~~~ blowfish.c:275:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] d = dest; ^ ~~~~ blowfish.c:298:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char c; ^ ../include/blowfish.h:15:26: note: previous declaration is here int Base64Decode _((char)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ blowfish.c:316:28: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *s, *d, *x = src; ^ ~~~ blowfish.c:319:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:923:21: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ blowfish.c:319:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ blowfish.c:319:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:319:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ blowfish.c:319:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:319:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:319:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ blowfish.c:319:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:34: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:146:35: note: passing argument to parameter '__s1' here extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) ^ blowfish.c:319:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:923:21: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ blowfish.c:319:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ blowfish.c:319:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:319:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ blowfish.c:319:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:319:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:319:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ blowfish.c:319:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(!strncmp(x, SZCRYPTSTR, 4) || !strncmp(x, SZCRYPTSTROLD, 4) || ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:34: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:146:35: note: passing argument to parameter '__s1' here extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) ^ blowfish.c:320:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:923:21: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ blowfish.c:320:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ blowfish.c:320:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:320:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ blowfish.c:320:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:320:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:320:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ blowfish.c:320:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:34: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:146:35: note: passing argument to parameter '__s1' here extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) ^ blowfish.c:320:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:923:21: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ blowfish.c:320:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ blowfish.c:320:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:320:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ blowfish.c:320:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:320:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:320:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ blowfish.c:320:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(x, SZBLOWSTR1, 4) || !strncmp(x, SZBLOWSTR2, 5))) { ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:34: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:146:35: note: passing argument to parameter '__s1' here extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) ^ blowfish.c:321:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcpy(dest, x, bufsize); ^ ../include/ircaux.h:74:33: note: passing argument to parameter here void strmcpy _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ blowfish.c:329:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(x, SZCRYPTSTROLD, 4)) oldk = 1; ^ /usr/include/x86_64-linux-gnu/bits/string2.h:923:21: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ blowfish.c:329:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(x, SZCRYPTSTROLD, 4)) oldk = 1; ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ blowfish.c:329:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(x, SZCRYPTSTROLD, 4)) oldk = 1; ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:329:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(x, SZCRYPTSTROLD, 4)) oldk = 1; ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ blowfish.c:329:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(x, SZCRYPTSTROLD, 4)) oldk = 1; ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:329:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(x, SZCRYPTSTROLD, 4)) oldk = 1; ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ blowfish.c:329:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(x, SZCRYPTSTROLD, 4)) oldk = 1; ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:15: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ blowfish.c:329:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(x, SZCRYPTSTROLD, 4)) oldk = 1; ^ /usr/include/x86_64-linux-gnu/bits/string2.h:926:34: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:146:35: note: passing argument to parameter '__s1' here extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) ^ blowfish.c:335:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcpy(encrbuf, x, bufsize); ^ ../include/ircaux.h:74:33: note: passing argument to parameter here void strmcpy _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ blowfish.c:336:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] s = encrbuf + strlen(encrbuf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ blowfish.c:339:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] d = dest; ^ ~~~~ 49 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c cdcc.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c celerity.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c crypt.c crypt.c:107:63: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((new = (Crypt *) remove_from_list((List **) &crypt_list, nick)) != NULL) ^~~~ ../include/list.h:42:43: note: passing argument to parameter here List *remove_from_list _((List **, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:120:17: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] new->key->type = type; ^ ~~~~ crypt.c:121:40: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] malloc_strcpy((char **) &(new->nick), nick); ^~~~ ../include/ircaux.h:57:39: note: passing argument to parameter here void malloc_strcpy _((char **, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:122:44: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] malloc_strcpy((char **) &(new->key->key), keystr); ^~~~~~ ../include/ircaux.h:57:39: note: passing argument to parameter here void malloc_strcpy _((char **, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:139:58: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((tmp = (Crypt *) list_lookup((List **) &crypt_list, nick, !USE_WILDCARDS, REMOVE_FROM_LIST)) != NULL) ^~~~ ../include/list.h:44:38: note: passing argument to parameter here List *list_lookup _((List **, char *, int, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:164:58: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((tmp = (Crypt *) list_lookup((List **) &crypt_list, nick, !USE_WILDCARDS, !REMOVE_FROM_LIST)) != NULL) ^~~~ ../include/list.h:44:38: note: passing argument to parameter here List *list_lookup _((List **, char *, int, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:187:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((nick = next_arg((char *) args, (char **) &args)) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypt.c:262:10: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *ptr = (char *) 0, ^ ~~~~~~~~~~ crypt.c:268:18: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] encrypt_program = get_string_var(ENCRYPT_PROGRAM_VAR); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypt.c:269:18: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] decrypt_program = get_string_var(DECRYPT_PROGRAM_VAR); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypt.c:283:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] crypt_str = CP("encryption"); ^ ~~~~~~~~~~~~~~~~ crypt.c:288:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] crypt_str = CP("decryption"); ^ ~~~~~~~~~~~~~~~~ crypt.c:298:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = ctcp_unquote_it(str, &c); ^~~ ../include/ctcp.h:55:34: note: passing argument to parameter here char *ctcp_unquote_it _((char *, size_t *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:298:8: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = ctcp_unquote_it(str, &c); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ crypt.c:300:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] malloc_strcpy((char **) &ptr, str); ^~~ ../include/ircaux.h:57:39: note: passing argument to parameter here void malloc_strcpy _((char **, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:353:24: warning: passing 'u_char [975]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = ctcp_quote_it(lbuf, strlen((char *) lbuf)); ^~~~ ../include/ctcp.h:54:32: note: passing argument to parameter here char *ctcp_quote_it _((char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:353:8: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = ctcp_quote_it(lbuf, strlen((char *) lbuf)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypt.c:355:34: warning: passing 'u_char [975]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] malloc_strcpy((char **) &ptr, lbuf); ^~~~ ../include/ircaux.h:57:39: note: passing argument to parameter here void malloc_strcpy _((char **, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:367:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = ctcp_quote_it(str, c); ^~~ ../include/ctcp.h:54:32: note: passing argument to parameter here char *ctcp_quote_it _((char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:367:8: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = ctcp_quote_it(str, c); ^ ~~~~~~~~~~~~~~~~~~~~~ crypt.c:371:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = ctcp_unquote_it(str, &c); ^~~ ../include/ctcp.h:55:34: note: passing argument to parameter here char *ctcp_unquote_it _((char *, size_t *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:371:8: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = ctcp_unquote_it(str, &c); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ crypt.c:380:9: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *type = key->type; ^ ~~~~~~~~~ crypt.c:405:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((rest = index((char *) str, '\005')) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypt.c:411:13: warning: passing 'u_char [975]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, ptr, CRYPT_BUFFER_SIZE); ^~~~ ../include/ircaux.h:75:25: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:411:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, ptr, CRYPT_BUFFER_SIZE); ^~~ ../include/ircaux.h:75:33: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:412:13: warning: passing 'u_char [975]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, CTCP_DELIM_STR, CRYPT_BUFFER_SIZE); ^~~~ ../include/ircaux.h:75:25: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:416:13: warning: passing 'u_char [975]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, str, CRYPT_BUFFER_SIZE); ^~~~ ../include/ircaux.h:75:25: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:416:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, str, CRYPT_BUFFER_SIZE); ^~~ ../include/ircaux.h:75:33: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:423:12: warning: passing 'u_char [975]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, ptr, CRYPT_BUFFER_SIZE); ^~~~ ../include/ircaux.h:75:25: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:423:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, ptr, CRYPT_BUFFER_SIZE); ^~~ ../include/ircaux.h:75:33: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:424:12: warning: passing 'u_char [975]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, CTCP_DELIM_STR, CRYPT_BUFFER_SIZE); ^~~~ ../include/ircaux.h:75:25: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:428:12: warning: passing 'u_char [975]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, str, CRYPT_BUFFER_SIZE); ^~~~ ../include/ircaux.h:75:25: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:428:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, str, CRYPT_BUFFER_SIZE); ^~~ ../include/ircaux.h:75:33: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:434:12: warning: passing 'u_char [975]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcpy(lbuf, ptr, CRYPT_BUFFER_SIZE); ^~~~ ../include/ircaux.h:74:25: note: passing argument to parameter here void strmcpy _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:434:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcpy(lbuf, ptr, CRYPT_BUFFER_SIZE); ^~~ ../include/ircaux.h:74:33: note: passing argument to parameter here void strmcpy _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:438:12: warning: passing 'u_char [975]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, str, CRYPT_BUFFER_SIZE); ^~~~ ../include/ircaux.h:75:25: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ crypt.c:438:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, str, CRYPT_BUFFER_SIZE); ^~~ ../include/ircaux.h:75:33: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ 38 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c ctcp.c ctcp.c:160:4: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] { CAST_STRING, UP("contains CAST-128 strongly encrypted data, CBC mode"), ^~~~~~~~~~~ ../include/crypt.h:71:21: note: expanded from macro 'CAST_STRING' #define CAST_STRING UP("CAST128ED-CBC") ^~~~~~~~~~~~~~~~~~~ ../include/irc_std.h:50:17: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^~~~~~~~~~~~~~~ ctcp.c:160:17: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] { CAST_STRING, UP("contains CAST-128 strongly encrypted data, CBC mode"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/irc_std.h:50:17: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^~~~~~~~~~~~~~~ ctcp.c:166:4: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] { SED_STRING, UP("contains simple weekly encrypted data"), ^~~~~~~~~~ ../include/crypt.h:72:20: note: expanded from macro 'SED_STRING' #define SED_STRING UP("SED") ^~~~~~~~~ ../include/irc_std.h:50:17: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^~~~~~~~~~~~~~~ ctcp.c:166:16: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] { SED_STRING, UP("contains simple weekly encrypted data"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/irc_std.h:50:17: note: expanded from macro 'UP' #define UP(s) ((u_char *)(s)) ^~~~~~~~~~~~~~~ ctcp.c:1134:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((key = is_crypted(crypt_who)) && (msg = crypt_msg(args, key, 0))) ^~~~~~~~~ ../include/crypt.h:66:34: note: passing argument to parameter here crypt_key *is_crypted _((u_char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ ctcp.c:1134:56: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((key = is_crypted(crypt_who)) && (msg = crypt_msg(args, key, 0))) ^~~~ ../include/crypt.h:64:31: note: passing argument to parameter here u_char *crypt_msg _((u_char *, crypt_key *, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ ctcp.c:1134:44: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((key = is_crypted(crypt_who)) && (msg = crypt_msg(args, key, 0))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ ctcp.c:1207:12: warning: passing 'u_char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(buffer, ctcp_cmd[i].name, BIG_BUFFER_SIZE); ^~~~~~ ../include/ircaux.h:75:25: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ ctcp.c:1208:12: warning: passing 'u_char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(buffer, " ", BIG_BUFFER_SIZE); ^~~~~~ ../include/ircaux.h:75:25: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ 9 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c dcc.c dcc.c:595:67: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername((*Client)->read, (struct sockaddr *) &remaddr, &rl) != -1) ^~~ /usr/include/x86_64-linux-gnu/sys/socket.h:134:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ dcc.c:854:61: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockname(Client->read, (struct sockaddr *) &localaddr, &sla); ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ dcc.c:993:58: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockname(Client->read, (struct sockaddr *) &locaddr, &size); ^~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:120:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ dcc.c:2154:14: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &remaddr, &sra); ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ dcc.c:2272:9: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &sra); ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ dcc.c:2464:35: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *) &remaddr, &sra); ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:215:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ dcc.c:2771:25: warning: passing 'char [128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((key = is_crypted(nickbuf)) == 0 || (line = crypt_msg(tmp, key, 1)) == 0) ^~~~~~~ ../include/crypt.h:66:34: note: passing argument to parameter here crypt_key *is_crypted _((u_char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ dcc.c:2771:61: warning: passing 'char [4097]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((key = is_crypted(nickbuf)) == 0 || (line = crypt_msg(tmp, key, 1)) == 0) ^~~ ../include/crypt.h:64:31: note: passing argument to parameter here u_char *crypt_msg _((u_char *, crypt_key *, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ dcc.c:2771:49: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((key = is_crypted(nickbuf)) == 0 || (line = crypt_msg(tmp, key, 1)) == 0) ^ ~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c debug.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c edit.c edit.c:603:22: warning: incompatible pointer types initializing 'void (*)(char *, char *, char *)' with an expression of type 'void (u_char *, u_char *, u_char *)' [-Wincompatible-pointer-types] { "ENCRYPT", NULL, encrypt_cmd, 0 }, ^~~~~~~~~~~ edit.c:1297:30: warning: passing 'u_char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] malloc_strcpy(&new->stuff, buffer); ^~~~~~ ../include/ircaux.h:57:39: note: passing argument to parameter here void malloc_strcpy _((char **, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ edit.c:2794:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(arg = next_arg(args, &args)) || (strcmp(arg, "*") == 0)) ^ ~~~~~~~~~~~~~~~~~~~~~ edit.c:2794:48: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(arg = next_arg(args, &args)) || (strcmp(arg, "*") == 0)) ^~~ /usr/include/x86_64-linux-gnu/bits/string2.h:804:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ edit.c:2794:48: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(arg = next_arg(args, &args)) || (strcmp(arg, "*") == 0)) ^~~ /usr/include/x86_64-linux-gnu/bits/string2.h:807:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ edit.c:2794:48: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(arg = next_arg(args, &args)) || (strcmp(arg, "*") == 0)) ^~~ /usr/include/x86_64-linux-gnu/bits/string2.h:809:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^ edit.c:2794:48: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(arg = next_arg(args, &args)) || (strcmp(arg, "*") == 0)) ^~~ /usr/include/x86_64-linux-gnu/bits/string2.h:811:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ edit.c:2794:48: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(arg = next_arg(args, &args)) || (strcmp(arg, "*") == 0)) ^~~ /usr/include/x86_64-linux-gnu/bits/string2.h:816:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ edit.c:2794:48: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(arg = next_arg(args, &args)) || (strcmp(arg, "*") == 0)) ^~~ /usr/include/x86_64-linux-gnu/bits/string2.h:818:26: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ edit.c:2795:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] arg = get_channel_by_refnum(0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:2802:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (is_channel(arg)) ^~~ ../include/parse.h:41:26: note: passing argument to parameter here int is_channel _((char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ edit.c:2804:13: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((arg2 = next_arg(args, &args)) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~ edit.c:3147:26: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((key = is_crypted(nick)) != 0) ^~~~ ../include/crypt.h:66:34: note: passing argument to parameter here crypt_key *is_crypted _((u_char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ edit.c:3151:33: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((crypt_line = crypt_msg(line, key, 1))) ^~~~ ../include/crypt.h:64:31: note: passing argument to parameter here u_char *crypt_msg _((u_char *, crypt_key *, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ edit.c:3151:21: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((crypt_line = crypt_msg(line, key, 1))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ edit.c:3269:26: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((key = is_crypted(nick)) != NULL) ^~~~ ../include/crypt.h:66:34: note: passing argument to parameter here crypt_key *is_crypted _((u_char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ edit.c:3273:33: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((crypt_line = crypt_msg(line, key, 1))) ^~~~ ../include/crypt.h:64:31: note: passing argument to parameter here u_char *crypt_msg _((u_char *, crypt_key *, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ edit.c:3273:21: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((crypt_line = crypt_msg(line, key, 1))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ edit.c:3776:9: warning: implicit declaration of function 'PopLine' is invalid in C99 [-Wimplicit-function-declaration] PopLine(); ^ edit.c:5063:12: warning: passing 'u_char [4096]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(lbuf, sizeof(lbuf), "%ld.%06d", ^~~~ /usr/include/stdio.h:383:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ 20 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c edit2.c edit2.c:1756:29: warning: implicit declaration of function 'DecryptMessage' is invalid in C99 [-Wimplicit-function-declaration] iscrypted = DecryptMessage(tmpbuf, chan->channel); ^ edit2.c:1773:21: warning: implicit declaration of function 'EncryptMessage' is invalid in C99 [-Wimplicit-function-declaration] EncryptMessage(tmpbuf, channel); ^ 2 warnings generated. gcc -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -I../include -DIRCPATH=\"~/.ScrollZ:/usr/share/scrollz/script:.\" -c edit3.c edit3.c:1828:13: warning: implicit declaration of function 'DecryptString' is invalid in C99 [-Wimplicit-function-declaration] DecryptString(userbuf2, userbuf, EncryptPassword, sizeof(userbuf2), 2); ^ 1 warning generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c edit4.c edit4.c:2882:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char flag; ^ edit4.c:99:42: note: previous declaration is here void AddDelayOp _((char *, char *, char)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ 1 warning generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c edit5.c edit5.c:915:20: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *newstr = destline; ^ ~~~~~~~~ edit5.c:917:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (tmpstr = line; *tmpstr; tmpstr++) { ^ ~~~~ edit5.c:2725:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(thing,sizeof(thing),buffer); ^~~~~~ 3 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c edit6.c edit6.c:580:47: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else snprintf(tmpbuf2,sizeof(tmpbuf2),empty_string); ^~~~~~~~~~~~ edit6.c:1661:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (tmp=nick;*tmp;tmp++) ^~~~~ 2 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c exec.c exec.c:385:67: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] switch (dgets(exec_buffer, INPUT_BUFFER_SIZE, proc->p_stdout, (u_char *) 0)) ^~~~~~~~~~~~ ../include/newio.h:49:46: note: passing argument to parameter here int dgets _((char *, int, int, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ exec.c:442:67: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] switch (dgets(exec_buffer, INPUT_BUFFER_SIZE, proc->p_stderr, (u_char *) 0)) ^~~~~~~~~~~~ ../include/newio.h:49:46: note: passing argument to parameter here int dgets _((char *, int, int, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ 2 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c files.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c flood.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c funny.c gcc -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -I../include -DDEFAULT_HELP_PATH=\"/usr/share/scrollz/help\" -c help.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c history.c history.c:409:10: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (u_char *) 0; ^~~~~~~~~~~~ history.c:526:15: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] static char *last_com = (u_char *) 0; ^ ~~~~~~~~~~~~ 2 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c hold.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c hook.c hook.c:509:2: warning: implicit declaration of function 'vasprintf' is invalid in C99 [-Wimplicit-function-declaration] PUTBUF_SPRINTF(format, vl); ^ ../include/buffer.h:51:5: note: expanded from macro 'PUTBUF_SPRINTF' if (vasprintf((char **) &putbuf, f, v) == -1) \ ^ hook.c:582:37: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] currmatch = wild_match(tmp->nick, putbuf); ^~~~~~ ../include/irc.h:361:34: note: passing argument to parameter here int wild_match _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ hook.c:617:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_line((char *) 0, foo, putbuf, 0, 0, 1); ^~~~~~ ../include/edit.h:48:43: note: passing argument to parameter here void parse_line _((char *, char *, char *, int, int, int)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ 3 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c if.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c ignore.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c input.c input.c:246:41: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned length = calc_unival_length(buf+pos); ^~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:262:42: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned length = calc_unival_length(buf + --pos); ^~~~~~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:278:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned newlen = strlen(newprompt); ^~~~~~~~~ /usr/include/string.h:399:37: note: passing argument to parameter '__s' here extern size_t strlen (__const char *__s) ^ input.c:348:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = expand_alias((u_char *) 0, prompt, empty_string, &args_used, NULL); ^~~~~~~~~~~~ ../include/alias.h:53:30: note: passing argument to parameter here char *expand_alias _((char *, char *, char *, int *, char **)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ input.c:353:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] input_do_replace_prompt(ptr); ^~~ input.c:273:33: note: passing argument to parameter 'newprompt' here input_do_replace_prompt(u_char *newprompt) ^ input.c:464:34: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned unival = calc_unival(buf+ptr); ^~~~~~~ ../include/translat.h:46:37: note: passing argument to parameter here unsigned calc_unival(const u_char *); ^ input.c:470:33: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ptr += calc_unival_length(buf+ptr); ^~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:479:34: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned unival = calc_unival(buf+ptr); ^~~~~~~ ../include/translat.h:46:37: note: passing argument to parameter here unsigned calc_unival(const u_char *); ^ input.c:485:33: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ptr += calc_unival_length(buf+ptr); ^~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:507:34: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned unival = calc_unival(buf+iptr); ^~~~~~~~ ../include/translat.h:46:37: note: passing argument to parameter here unsigned calc_unival(const u_char *); ^ input.c:508:38: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned len = calc_unival_length(buf+iptr); ^~~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:619:30: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] pos += calc_unival_length(buf+pos); ^~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:631:30: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] while(!calc_unival_length(buf + --pos)) ^~~~~~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:658:33: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned unival = calc_unival(buf+pos); ^~~~~~~ ../include/translat.h:46:37: note: passing argument to parameter here unsigned calc_unival(const u_char *); ^ input.c:662:29: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] pos += calc_unival_length(buf+pos); ^~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:666:33: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned unival = calc_unival(buf+pos); ^~~~~~~ ../include/translat.h:46:37: note: passing argument to parameter here unsigned calc_unival(const u_char *); ^ input.c:669:29: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] pos += calc_unival_length(buf+pos); ^~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:691:30: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] while (!calc_unival_length(buf + --prevpos)) ^~~~~~~~~~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:694:24: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unival = calc_unival(buf + prevpos); ^~~~~~~~~~~~~ ../include/translat.h:46:37: note: passing argument to parameter here unsigned calc_unival(const u_char *); ^ input.c:702:30: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] while (!calc_unival_length(buf + --prevpos)) ^~~~~~~~~~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:705:24: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unival = calc_unival(buf + prevpos); ^~~~~~~~~~~~~ ../include/translat.h:46:37: note: passing argument to parameter here unsigned calc_unival(const u_char *); ^ input.c:850:21: warning: passing 'u_char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcpy(output_buffer, input_buffer, cnt + 1); ^~~~~~~~~~~~~ ../include/ircaux.h:74:25: note: passing argument to parameter here void strmcpy _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ input.c:850:36: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcpy(output_buffer, input_buffer, cnt + 1); ^~~~~~~~~~~~ ../include/ircaux.h:74:33: note: passing argument to parameter here void strmcpy _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ input.c:910:22: warning: passing 'u_char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] input_do_insert_raw(output_buffer); ^~~~~~~~~~~~~ input.c:130:27: note: passing argument to parameter 'source' here input_do_insert_raw(char* source) ^ input.c:944:13: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(str, converted_input+dest, &mbdata1); ^~~ ../include/translat.h:58:25: note: passing argument to parameter 'ptr' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ input.c:950:16: warning: passing 'u_char [1536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] set_input_raw(converted_input); ^~~~~~~~~~~~~~~ ../include/input.h:42:30: note: passing argument to parameter here void set_input_raw _((char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ input.c:1003:19: warning: returning 'u_char [1536]' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return(converted_buffer); ^~~~~~~~~~~~~~~~~~ input.c:1071:9: warning: returning 'u_char [1536]' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return converted_buffer; ^~~~~~~~~~~~~~~~ input.c:1095:40: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned length = calc_unival_length(buf+pos); ^~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:1119:40: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned length = calc_unival_length(buf+limit); ^~~~~~~~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ input.c:1245:14: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(prompt, converted_prompt+dest, &mbdata1); ^~~~~~ ../include/translat.h:58:25: note: passing argument to parameter 'ptr' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ input.c:1245:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(prompt, converted_prompt+dest, &mbdata1); ^~~~~~~~~~~~~~~~~~~~~ ../include/translat.h:58:38: note: passing argument to parameter 'dest' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ input.c:1319:9: warning: returning 'char *' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] return new; ^~~ 33 warnings generated. gcc -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -I../include -DIRCLIB=\"/usr/share/scrollz/\" -DIRCPATH=\"~/.ScrollZ:/usr/share/scrollz/script:.\" -c irc.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c ircaux.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c ircsig.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c keys.c keys.c:483:33: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!my_stricmp(key, "F1")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:485:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ keys.c:487:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!my_stricmp(key, "F2")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:489:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ keys.c:491:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!my_stricmp(key, "F3")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:493:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ keys.c:495:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!my_stricmp(key, "F4")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:497:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ keys.c:499:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!my_stricmp(key, "F5")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:501:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ keys.c:503:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!my_stricmp(key, "F6")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:505:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ keys.c:507:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!my_stricmp(key, "F7")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:509:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ keys.c:511:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!my_stricmp(key, "F8")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:513:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ keys.c:515:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!my_stricmp(key, "F9")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:517:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ keys.c:519:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!my_stricmp(key, "F10")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:521:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ keys.c:523:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!my_stricmp(key, "F11")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:525:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ keys.c:527:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!my_stricmp(key, "F12")) { ^~~ ../include/ircaux.h:68:26: note: passing argument to parameter here int my_stricmp _((char *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ keys.c:529:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] key = tmpbuf; ^ ~~~~~~ 24 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c lastlog.c lastlog.c:90:11: warning: passing 'u_char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(lbuf, "ALL"); ^~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ lastlog.c:92:11: warning: passing 'u_char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(lbuf, "NONE"); ^~~~ /usr/include/string.h:128:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) ^ lastlog.c:100:14: warning: passing 'u_char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, levels[i], 127); ^~~~ ../include/ircaux.h:75:25: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ lastlog.c:101:14: warning: passing 'u_char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strmcat(lbuf, " ", 127); ^~~~ ../include/ircaux.h:75:25: note: passing argument to parameter here void strmcat _((char *, char *, size_t)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ lastlog.c:105:10: warning: returning 'u_char [128]' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (lbuf); ^~~~~~ 5 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c list.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c log.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c mail.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c menu.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c names.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c newio.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c notice.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c notify.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c numbers.c numbers.c:318:46: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] if (from) strncat(tmpbuf,tmpbuf2,sizeof(tmpbuf)); ^~~~~~~~~~~~~~ numbers.c:318:46: note: change the argument to be the free space in the destination buffer minus the terminating null byte if (from) strncat(tmpbuf,tmpbuf2,sizeof(tmpbuf)); ^~~~~~~~~~~~~~ sizeof(tmpbuf) - strlen(tmpbuf) - 1 numbers.c:327:46: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] if (from) strncat(tmpbuf,tmpbuf2,sizeof(tmpbuf)); ^~~~~~~~~~~~~~ numbers.c:327:46: note: change the argument to be the free space in the destination buffer minus the terminating null byte if (from) strncat(tmpbuf,tmpbuf2,sizeof(tmpbuf)); ^~~~~~~~~~~~~~ sizeof(tmpbuf) - strlen(tmpbuf) - 1 numbers.c:654:29: warning: implicit declaration of function 'DecryptMessage' is invalid in C99 [-Wimplicit-function-declaration] iscrypted = DecryptMessage(tmpbuf, channel); ^ 3 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c operv.c operv.c:398:39: warning: too few arguments in call to 'OVgetword' strcpy(word3,OVgetword(9,0)); ~~~~~~~~~ ^ operv.c:1079:39: warning: too few arguments in call to 'OVgetword' strcpy(word3,OVgetword(0,3)); ~~~~~~~~~ ^ 2 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c output.c output.c:180:3: warning: implicit declaration of function 'vasprintf' is invalid in C99 [-Wimplicit-function-declaration] PUTBUF_SPRINTF(format, vl) ^ ../include/buffer.h:51:5: note: expanded from macro 'PUTBUF_SPRINTF' if (vasprintf((char **) &putbuf, f, v) == -1) \ ^ output.c:185:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_to_log(irclog_fp, putbuf); ^~~~~~ ../include/log.h:46:35: note: passing argument to parameter here void add_to_log _((FILE *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ output.c:186:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] w = add_to_screen(putbuf); ^~~~~~ ../include/screen.h:81:33: note: passing argument to parameter here Window *add_to_screen _((char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ output.c:243:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_to_log(irclog_fp, putbuf); ^~~~~~ ../include/log.h:46:35: note: passing argument to parameter here void add_to_log _((FILE *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ output.c:244:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] w = add_to_screen(putbuf); ^~~~~~ ../include/screen.h:81:33: note: passing argument to parameter here Window *add_to_screen _((char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ output.c:281:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_to_log(irclog_fp, putbuf); ^~~~~~ ../include/log.h:46:35: note: passing argument to parameter here void add_to_log _((FILE *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ output.c:282:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_to_screen(putbuf); ^~~~~~ ../include/screen.h:81:33: note: passing argument to parameter here Window *add_to_screen _((char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ output.c:326:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_to_log(irclog_fp, putbuf); ^~~~~~ ../include/log.h:46:35: note: passing argument to parameter here void add_to_log _((FILE *, char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ output.c:327:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_to_screen(putbuf); ^~~~~~ ../include/screen.h:81:33: note: passing argument to parameter here Window *add_to_screen _((char *)); ^ ../include/irc_std.h:41:15: note: expanded from macro '_' # define _(a) a ^ 9 warnings generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c parse.c parse.c:327:22: warning: implicit declaration of function 'GrabURL' is invalid in C99 [-Wimplicit-function-declaration] numurl = GrabURL(ArgList[1], tmpbuf2, filepath, tmpbuf3); ^ 1 warning generated. gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c queue.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c reg.c gcc -I../include -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -c scandir.c gcc -g -O2 -I/usr/include/p11-kit-1 -DHAVE_CONFIG_H -I../include -DWSERV_PATH=\"/usr/lib/scrollz/bin/wserv\" -c screen.c screen.c:661:42: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned len = calc_unival_length(str); ^~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ screen.c:674:26: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unival = calc_unival(str); ^~~ ../include/translat.h:46:37: note: passing argument to parameter here unsigned calc_unival(const u_char *); ^ screen.c:874:37: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned n = calc_unival_length(str); ^~~ ../include/translat.h:50:44: note: passing argument to parameter here unsigned calc_unival_length(const u_char* ); ^ screen.c:885:36: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned unival = calc_unival(str); ^~~ ../include/translat.h:46:37: note: passing argument to parameter here unsigned calc_unival(const u_char *); ^ screen.c:1436:13: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(c, NULL, &mbdata); ^ ../include/translat.h:58:25: note: passing argument to parameter 'ptr' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ screen.c:1479:13: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(c, NULL, &mbdata); ^ ../include/translat.h:58:25: note: passing argument to parameter 'ptr' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ screen.c:1515:13: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(c, NULL, &mbdata); ^ ../include/translat.h:58:25: note: passing argument to parameter 'ptr' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ screen.c:1558:13: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(c, dest, &mbdata); ^ ../include/translat.h:58:25: note: passing argument to parameter 'ptr' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ screen.c:1558:16: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(c, dest, &mbdata); ^~~~ ../include/translat.h:58:38: note: passing argument to parameter 'dest' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ screen.c:1728:39: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(lbuf2, lbuf3, &mbdata); ^~~~~ ../include/translat.h:58:25: note: passing argument to parameter 'ptr' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ screen.c:1728:46: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(lbuf2, lbuf3, &mbdata); ^~~~~ ../include/translat.h:58:38: note: passing argument to parameter 'dest' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ screen.c:1754:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(ptr, lbuf+pos, &mbdata); ^~~ ../include/translat.h:58:25: note: passing argument to parameter 'ptr' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ screen.c:1754:20: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] decode_mb(ptr, lbuf+pos, &mbdata); ^~~~~~~~ ../include/translat.h:58:38: note: passing argument to parameter 'dest' here void decode_mb(u_char *ptr, u_char *dest, mb_data *data); ^ screen.c:2003:3: error: non-void function 'add_to_screen' should return a value [-Wreturn-type] return; ^ 13 warnings and 1 error generated. make[2]: *** [screen.o] Error 1 make[2]: Leaving directory `/«PKGBUILDDIR»/source' make[1]: *** [scrollz] Error 2 make[1]: Leaving directory `/«PKGBUILDDIR»' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20130131-1903 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 12376 Build-Time: 17 Distribution: unstable Fail-Stage: build Install-Time: 7 Job: scrollz_2.1-1.1 Package: scrollz Package-Time: 48 Source-Version: 2.1-1.1 Space: 12376 Status: attempted Version: 2.1-1.1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20130131-1903 Build needed 00:00:48, 12376k disc space DC-Status: Failed 48.88487s