Diff of the two buildlogs: -- --- b1/build.log 2021-12-03 01:18:59.089763124 +0000 +++ b2/build.log 2021-12-03 01:24:14.483002284 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jan 4 19:40:15 -12 2023 -I: pbuilder-time-stamp: 1672904415 +I: Current time: Fri Dec 3 15:19:02 +14 2021 +I: pbuilder-time-stamp: 1638494342 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Sun Nov 18 05:12:45 2018 -12 +gpgv: Signature made Mon Nov 19 07:12:45 2018 +14 gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./gjiten_2.6-3.1.dsc @@ -34,136 +34,170 @@ dpkg-source: info: applying port-to-GSettings.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/320107/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/687150/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/687150/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/687150/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='bafcd641fc02401d8f40d8656041aa85' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='320107' - PS1='# ' - PS2='> ' + INVOCATION_ID=d724dac7d5454da5b4eda64275369a60 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=687150 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.MtivdCqnfq/pbuilderrc_awSp --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.MtivdCqnfq/b1 --logfile b1/build.log gjiten_2.6-3.1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.MtivdCqnfq/pbuilderrc_CB0N --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.MtivdCqnfq/b2 --logfile b2/build.log gjiten_2.6-3.1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Dec 10 16:20 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/320107/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Dec 3 15:19 sh -> bash + lrwxrwxrwx 1 root root 4 Nov 8 11:58 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/687150/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -514,7 +548,7 @@ Get: 301 http://deb.debian.org/debian buster/main amd64 libxslt1.1 amd64 1.1.32-2.2~deb10u1 [237 kB] Get: 302 http://deb.debian.org/debian buster/main amd64 xsltproc amd64 1.1.32-2.2~deb10u1 [122 kB] Get: 303 http://deb.debian.org/debian buster/main amd64 xmlto amd64 0.0.28-2.1 [33.6 kB] -Fetched 239 MB in 3s (81.0 MB/s) +Fetched 239 MB in 1min 5s (3690 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19195 files and directories currently installed.) @@ -1795,7 +1829,8 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/gjiten-2.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../gjiten_2.6-3.1_source.changes +hostname: Name or service not known +I: Running cd /build/gjiten-2.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../gjiten_2.6-3.1_source.changes dpkg-buildpackage: info: source package gjiten dpkg-buildpackage: info: source version 2.6-3.1 dpkg-buildpackage: info: source distribution unstable @@ -2056,7 +2091,7 @@ config.status: executing po/stamp-it commands configure: WARNING: unrecognized options: --disable-maintainer-mode dh_auto_build - make -j16 + make -j15 make[1]: Entering directory '/build/gjiten-2.6' make all-recursive make[2]: Entering directory '/build/gjiten-2.6' @@ -2070,28 +2105,70 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Wunused -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -ffile-prefix-map=/build/gjiten-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gjiten-dicfile.o `test -f 'dicfile.c' || echo './'`dicfile.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Wunused -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -ffile-prefix-map=/build/gjiten-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gjiten-worddic.o `test -f 'worddic.c' || echo './'`worddic.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Wunused -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -ffile-prefix-map=/build/gjiten-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gjiten-dicutil.o `test -f 'dicutil.c' || echo './'`dicutil.c +In file included from dicfile.c:41: +error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_flush_errors(); + ^~~~ In file included from pref.c:33: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_flush_errors(); ^~~~ -In file included from dicfile.c:41: +In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, + from kanjidic.h:25, + from conf.h:30, + from dicutil.c:33: +/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + typedef void (*GtkItemFactoryCallback) (); + ^~~~~~~ +In file included from conf.h:30, + from dicutil.c:33: +kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + KanjiDic *kanjidic_create(); + ^~~~~~~~ +kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void kanjidic_apply_fonts(); + ^~~~ +In file included from dicutil.c:33: +conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + GjitenConfig *conf_load(); + ^~~~~~~~~~~~ +conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + gboolean conf_init_handler(); + ^~~~~~~~ +conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void conf_close_handler(); + ^~~~ +In file included from dicutil.c:34: +dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void dicutil_unload_dic(); + ^~~~ +In file included from dicutil.c:35: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_flush_errors(); ^~~~ +dicutil.c:88:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void dicutil_unload_dic() { + ^~~~~~~~~~~~~~~~~~ +dicutil.c: In function 'dicutil_unload_dic': +dicutil.c:88:6: warning: old-style function definition [-Wold-style-definition] +dicutil.c: In function 'search4string': +dicutil.c:154:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + *res_index = (guint32)linestart; + ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from kanjidic.h:25, - from pref.c:34: + from kanjidic.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ -In file included from pref.c:34: +In file included from kanjidic.c:37: kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] KanjiDic *kanjidic_create(); ^~~~~~~~ kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void kanjidic_apply_fonts(); ^~~~ -In file included from pref.c:35: +In file included from kanjidic.c:38: conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] GjitenConfig *conf_load(); ^~~~~~~~~~~~ @@ -2101,7 +2178,11 @@ conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void conf_close_handler(); ^~~~ -In file included from pref.c:36: +In file included from kanjidic.c:40: +dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void dicutil_unload_dic(); + ^~~~ +In file included from kanjidic.c:41: worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] WordDic *worddic_create(); ^~~~~~~ @@ -2114,11 +2195,7 @@ worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void worddic_apply_fonts(); ^~~~ -In file included from pref.c:37: -pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void create_dialog_preferences(); - ^~~~ -In file included from pref.c:38: +In file included from kanjidic.c:42: gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_start_kanjipad(); ^~~~ @@ -2131,227 +2208,340 @@ gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_exit(); ^~~~ -In file included from pref.c:39: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void dicutil_unload_dic(); +In file included from kanjidic.c:43: +pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void create_dialog_preferences(); ^~~~ -In file included from pref.c:30: -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:57:2: note: in expansion of macro 'N_' - N_("Kanji"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:58:2: note: in expansion of macro 'N_' - N_("Radicals"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:59:2: note: in expansion of macro 'N_' - N_("Stroke count"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:60:2: note: in expansion of macro 'N_' - N_("Readings"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:61:2: note: in expansion of macro 'N_' - N_("Romanized Korean reading"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:62:2: note: in expansion of macro 'N_' - N_("Romanized Pinyin reading"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:63:2: note: in expansion of macro 'N_' - N_("English meaning"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:64:2: note: in expansion of macro 'N_' - N_("Bushu radical number"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:65:2: note: in expansion of macro 'N_' - N_("Classical radical number"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:66:2: note: in expansion of macro 'N_' - N_("Frequency number"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:67:2: note: in expansion of macro 'N_' - N_("Jouyou grade level"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:68:2: note: in expansion of macro 'N_' - N_("De Roo code"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:69:2: note: in expansion of macro 'N_' - N_("Skip pattern code"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:70:2: note: in expansion of macro 'N_' - N_("Four Corner code"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:71:2: note: in expansion of macro 'N_' - N_("\"New Jp-En Char Dictionary\" index"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:72:2: note: in expansion of macro 'N_' - N_("Index in Nelson's \"Modern Reader's Char Dict\""), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:73:2: note: in expansion of macro 'N_' - N_("\"The New Nelson Char Dict\" index"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:74:2: note: in expansion of macro 'N_' - N_("Spahn&Hadamitzky index"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:75:2: note: in expansion of macro 'N_' - N_("Morohashi \"Daikanwajiten\" index"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:76:2: note: in expansion of macro 'N_' - N_("Morohashi \"Daikanwajiten\" volume.page number"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:77:2: note: in expansion of macro 'N_' - N_("\"A Guide To Remembering Jap. Chars\" index"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:78:2: note: in expansion of macro 'N_' - N_("Gakken Kanji Dictionary index"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:79:2: note: in expansion of macro 'N_' - N_("Index in \"Remembering The Kanji\""), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:80:2: note: in expansion of macro 'N_' - N_("Index in \"Japanese Names\""), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:81:2: note: in expansion of macro 'N_' - N_("Cross-reference code"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:82:2: note: in expansion of macro 'N_' - N_("Misclassification code"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:83:2: note: in expansion of macro 'N_' - N_("Unicode hex number of the kanji"), - ^~ -/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define N_(String) (String) - ^ -pref.c:84:2: note: in expansion of macro 'N_' - N_("ASCII JIS Code of Kanji") - ^~ -pref.c:99:6: warning: no previous prototype for 'font_set' [-Wmissing-prototypes] - void font_set(GtkFontButton *fontpicker, GtkWidget *entry) { - ^~~~~~~~ -pref.c:163:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void add_dict() { - ^~~~~~~~ -pref.c: In function 'add_dict': -pref.c:163:13: warning: old-style function definition [-Wold-style-definition] -pref.c:166:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - gchar *objs[] = {"dialog_add_dic", NULL}; - ^~~~~~~~~~~~~~~~ -pref.c: At top level: -pref.c:222:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void change_dict() { - ^~~~~~~~~~~ -pref.c: In function 'change_dict': -pref.c:222:13: warning: old-style function definition [-Wold-style-definition] -pref.c:228:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - gchar *objs[] = {"dialog_change_dic", NULL}; - ^~~~~~~~~~~~~~~~~~~ -pref.c: At top level: -pref.c:319:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void preferences_exit() { +In file included from kanjidic.c:45: +error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_flush_errors(); + ^~~~ +In file included from kanjidic.c:46: +radical-convtable.h:11:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:11:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:13:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x88\x88", "\xE5\x88\x82" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:13:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x88\x88", "\xE5\x88\x82" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:14:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:14:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:16:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\xBF\x99", "\xE5\xBF\x84" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:16:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\xBF\x99", "\xE5\xBF\x84" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:17:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\x89\x8E", "\xE6\x89\x8C" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:17:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\x89\x8E", "\xE6\x89\x8C" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:18:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:18:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:19:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:19:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:20:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE8\x89\xBE", "\xE8\x89\xB9" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:20:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE8\x89\xBE", "\xE8\x89\xB9" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:22:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE9\x98\xA1", "\xE9\x98\x9D" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:22:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE9\x98\xA1", "\xE9\x98\x9D" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:24:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:24:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:25:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:25:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:27:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:27:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:30:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\x30", "\x30" }, + ^~~~~~ +radical-convtable.h:30:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\x30", "\x30" }, + ^~~~~~ +kanjidic.c:51:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void kanjidic_close(); + ^~~~~~ +kanjidic.c:67:6: warning: no previous prototype for 'do_kdicline' [-Wmissing-prototypes] + void do_kdicline(gchar *kstr) { + ^~~~~~~~~~~ +kanjidic.c: In function 'do_kdicline': +kanjidic.c:93:10: warning: switch missing default case [-Wswitch-default] + else switch (tmpstr[0]) { + ^~~~~~ +kanjidic.c: In function 'print_kanjinfo': +kanjidic.c:235:8: warning: variable 'srch_resp' set but not used [-Wunused-but-set-variable] + gint srch_resp, roff, rlen; + ^~~~~~~~~ +kanjidic.c: At top level: +kanjidic.c:274:6: warning: no previous prototype for 'klists_merge' [-Wmissing-prototypes] + void klists_merge(void) { + ^~~~~~~~~~~~ +kanjidic.c: In function 'klists_merge': +kanjidic.c:284:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + if ((gunichar) ptr1->data == (gunichar) ptr2->data) { + ^ +kanjidic.c:284:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + if ((gunichar) ptr1->data == (gunichar) ptr2->data) { + ^ +kanjidic.c: At top level: +kanjidic.c:299:6: warning: no previous prototype for 'findk_by_key' [-Wmissing-prototypes] + void findk_by_key(gchar *srchkey, GList **list) { + ^~~~~~~~~~~~ +kanjidic.c: In function 'findk_by_key': +kanjidic.c:310:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + *list = g_list_prepend(*list, (gpointer) g_utf8_get_char(repstr)); + ^ +kanjidic.c:320:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + *list = g_list_prepend(*list, (gpointer) g_utf8_get_char(repstr)); + ^ +kanjidic.c: At top level: +kanjidic.c:324:6: warning: no previous prototype for 'findk_by_stroke' [-Wmissing-prototypes] + void findk_by_stroke(int stroke, int plusmin, GList **list) { + ^~~~~~~~~~~~~~~ +kanjidic.c:339:6: warning: no previous prototype for 'findk_by_radical' [-Wmissing-prototypes] + void findk_by_radical(gchar *radstrg) { ^~~~~~~~~~~~~~~~ -pref.c: In function 'preferences_exit': -pref.c:319:6: warning: old-style function definition [-Wold-style-definition] -pref.c: At top level: -pref.c:325:6: warning: no previous prototype for 'preferences_response_cb' [-Wmissing-prototypes] - void preferences_response_cb(GtkDialog *dialog, gint response, gpointer user_data) { +kanjidic.c: In function 'findk_by_radical': +kanjidic.c:349:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + rad_info = g_hash_table_lookup(kanjiDic->rad_info_hash, (gpointer) g_utf8_get_char(radstr_ptr)); + ^ +kanjidic.c:358:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + klinklist = g_list_prepend(klinklist, (gpointer) ((KanjiInfo *) kanji_info_list->data)->kanji); + ^ +kanjidic.c:365:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + rad_info = g_hash_table_lookup(kanjiDic->rad_info_hash, (gpointer) g_utf8_get_char(radstr_ptr)); + ^ +kanjidic.c:375:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + tmpklinklist = g_list_prepend(tmpklinklist, (gpointer) ((KanjiInfo *) kanji_info_list->data)->kanji); + ^ +kanjidic.c: At top level: +kanjidic.c:383:6: warning: no previous prototype for 'set_radical_button_sensitive' [-Wmissing-prototypes] + void set_radical_button_sensitive(gpointer radical, RadInfo *rad_info, gpointer user_data) { + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kanjidic.c:390:6: warning: no previous prototype for 'set_radical_button_unsensitive' [-Wmissing-prototypes] + void set_radical_button_unsensitive(gunichar radical, GtkWidget *rad_button, gboolean sensitive) { + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kanjidic.c:397:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void on_kanji_search() { + ^~~~~~~~~~~~~~~ +kanjidic.c: In function 'on_kanji_search': +kanjidic.c:397:6: warning: old-style function definition [-Wold-style-definition] +kanjidic.c:463:51: warning: cast between incompatible function types from 'void (*)(gunichar, GtkWidget *, gboolean)' {aka 'void (*)(unsigned int, struct _GtkWidget *, int)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] + g_hash_table_foreach(kanjiDic->rad_button_hash, (GHFunc) set_radical_button_unsensitive, (gpointer) TRUE); + ^ +kanjidic.c:519:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + if (result_num == 1) print_kanjinfo((gunichar) klinklist->data); + ^ +kanjidic.c:528:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + g_unichar_to_utf8((gunichar) node_ptr->data, kanji_result_str); + ^ +kanjidic.c:567:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + g_hash_table_insert(rad_info_hash, (gpointer) ((RadInfo *) rad_info_list->data)->radical, rad_info_list->data); + ^ +kanjidic.c:570:52: warning: cast between incompatible function types from 'void (*)(gunichar, GtkWidget *, gboolean)' {aka 'void (*)(unsigned int, struct _GtkWidget *, int)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] + g_hash_table_foreach(kanjiDic->rad_button_hash, (GHFunc) set_radical_button_unsensitive, (gpointer) FALSE); + ^ +kanjidic.c:577:52: warning: cast between incompatible function types from 'void (*)(gunichar, GtkWidget *, gboolean)' {aka 'void (*)(unsigned int, struct _GtkWidget *, int)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] + g_hash_table_foreach(kanjiDic->rad_button_hash, (GHFunc) set_radical_button_unsensitive, (gpointer) TRUE); + ^ +kanjidic.c:400:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] + int i; + ^ +kanjidic.c: At top level: +kanjidic.c:583:5: warning: no previous prototype for 'radical_selected' [-Wmissing-prototypes] + int radical_selected(gunichar radical) { + ^~~~~~~~~~~~~~~~ +kanjidic.c:621:6: warning: no previous prototype for 'history_add' [-Wmissing-prototypes] + void history_add(gunichar unicharkanji) { + ^~~~~~~~~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:28, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:23, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from kanjidic.h:25, + from kanjidic.c:37: +kanjidic.c: In function 'history_add': +kanjidic.c:659:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + (gpointer) (*unichar_list_elem)); + ^ +/usr/include/glib-2.0/gobject/gsignal.h:528:73: note: in definition of macro 'g_signal_connect_swapped' + g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_SWAPPED) + ^~~~ +kanjidic.c: At top level: +kanjidic.c:675:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void radical_window_close() { + ^~~~~~~~~~~~~~~~~~~~ +kanjidic.c: In function 'radical_window_close': +kanjidic.c:675:13: warning: old-style function definition [-Wold-style-definition] +kanjidic.c: In function 'get_rad_of_kanji': +kanjidic.c:691:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + kanji_info = g_hash_table_lookup(kanjiDic->kanji_info_hash, (gconstpointer) kanji); + ^ +kanjidic.c: In function 'jis_radical_to_unicode': +kanjidic.c:714:17: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare] + for (i = 0; i < sizeof(radicaltable) / sizeof(radpair); i++) { + ^ +kanjidic.c: At top level: +kanjidic.c:725:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void load_radkfile() { + ^~~~~~~~~~~~~ +kanjidic.c: In function 'load_radkfile': +kanjidic.c:725:6: warning: old-style function definition [-Wold-style-definition] +In file included from kanjidic.c:26: +../config.h:14:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define GJITEN_DATADIR "/usr/share/gjiten" + ^~~~~~~~~~~~~~~~~~~ +constants.h:10:23: note: in expansion of macro 'GJITEN_DATADIR' + #define RADKFILE_NAME GJITEN_DATADIR"/radkfile.utf8" + ^~~~~~~~~~~~~~ +kanjidic.c:729:26: note: in expansion of macro 'RADKFILE_NAME' + gchar *radkfile_name = RADKFILE_NAME; + ^~~~~~~~~~~~~ +kanjidic.c:792:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + g_hash_table_insert(kanjiDic->rad_info_hash, (gpointer) rad_info->radical, rad_info); + ^ +kanjidic.c:802:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + kanji_info = g_hash_table_lookup(kanjiDic->kanji_info_hash, (gconstpointer) kanji); + ^ +kanjidic.c:806:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + g_hash_table_insert(kanjiDic->kanji_info_hash, (gpointer) kanji, (gpointer) kanji_info); + ^ +kanjidic.c: At top level: +kanjidic.c:816:19: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static GtkWidget *create_window_radicals () { + ^~~~~~~~~~~~~~~~~~~~~~ +kanjidic.c: In function 'create_window_radicals': +kanjidic.c:816:19: warning: old-style function definition [-Wold-style-definition] +In file included from /usr/include/glib-2.0/gobject/gobject.h:28, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:23, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from kanjidic.h:25, + from kanjidic.c:37: +kanjidic.c:882:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + (gpointer)(rad_info->radical)); + ^ +/usr/include/glib-2.0/gobject/gsignal.h:528:73: note: in definition of macro 'g_signal_connect_swapped' + g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_SWAPPED) + ^~~~ +kanjidic.c:889:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + g_hash_table_insert(kanjiDic->rad_button_hash, (gpointer) rad_info->radical, tmpwidget); + ^ +kanjidic.c: At top level: +kanjidic.c:897:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void kanjidic_close() { + ^~~~~~~~~~~~~~ +kanjidic.c: In function 'kanjidic_close': +kanjidic.c:897:13: warning: old-style function definition [-Wold-style-definition] +kanjidic.c: At top level: +kanjidic.c:913:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void shade_kanjidic_widgets() { + ^~~~~~~~~~~~~~~~~~~~~~ +kanjidic.c: In function 'shade_kanjidic_widgets': +kanjidic.c:913:6: warning: old-style function definition [-Wold-style-definition] +kanjidic.c: At top level: +kanjidic.c:927:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void history_init() { + ^~~~~~~~~~~~ +kanjidic.c: In function 'history_init': +kanjidic.c:927:6: warning: old-style function definition [-Wold-style-definition] +kanjidic.c: At top level: +kanjidic.c:969:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void kanjidic_apply_fonts() { + ^~~~~~~~~~~~~~~~~~~~ +kanjidic.c: In function 'kanjidic_apply_fonts': +kanjidic.c:969:6: warning: old-style function definition [-Wold-style-definition] +kanjidic.c: At top level: +kanjidic.c:1000:6: warning: no previous prototype for 'clear_radical_entry_box' [-Wmissing-prototypes] + void clear_radical_entry_box(gpointer entrybox) { ^~~~~~~~~~~~~~~~~~~~~~~ -pref.c:414:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void create_dialog_preferences() { - ^~~~~~~~~~~~~~~~~~~~~~~~~ -pref.c: In function 'create_dialog_preferences': -pref.c:414:6: warning: old-style function definition [-Wold-style-definition] -pref.c:422:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - gchar *objs[] = {"gjiten_settings", NULL}; - ^~~~~~~~~~~~~~~~~ +kanjidic.c: In function 'clear_radical_entry_box': +kanjidic.c:1003:51: warning: cast between incompatible function types from 'void (*)(gunichar, GtkWidget *, gboolean)' {aka 'void (*)(unsigned int, struct _GtkWidget *, int)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] + g_hash_table_foreach(kanjiDic->rad_button_hash, (GHFunc) set_radical_button_unsensitive, (gpointer) TRUE); + ^ +kanjidic.c: At top level: +kanjidic.c:1008:11: warning: function declaration isn't a prototype [-Wstrict-prototypes] + KanjiDic *kanjidic_create() { + ^~~~~~~~~~~~~~~ +kanjidic.c: In function 'kanjidic_create': +kanjidic.c:1008:11: warning: old-style function definition [-Wold-style-definition] +kanjidic.c:1026:14: warning: unused variable 'tmpimage' [-Wunused-variable] + GtkWidget *tmpimage; + ^~~~~~~~ +kanjidic.c:1016:14: warning: unused variable 'button_searchk' [-Wunused-variable] + GtkWidget *button_searchk; + ^~~~~~~~~~~~~~ +kanjidic.c:1015:14: warning: unused variable 'button_worddic' [-Wunused-variable] + GtkWidget *button_worddic; + ^~~~~~~~~~~~~~ +kanjidic.c:1014:14: warning: unused variable 'button_kanjipad' [-Wunused-variable] + GtkWidget *button_kanjipad; + ^~~~~~~~~~~~~~~ +kanjidic.c:1013:14: warning: unused variable 'button_closek' [-Wunused-variable] + GtkWidget *button_closek; + ^~~~~~~~~~~~~ +kanjidic.c:1012:14: warning: unused variable 'toolbar_kanji' [-Wunused-variable] + GtkWidget *toolbar_kanji; + ^~~~~~~~~~~~~ +kanjidic.c: In function 'do_kdicline': +kanjidic.c:114:9: warning: this statement may fall through [-Wimplicit-fallthrough=] + if (tmpstr[1] == '2') { + ^ +kanjidic.c:126:5: note: here + case '{': // english meaning + ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from error.c:26: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, - from gjiten.c:30: -/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - typedef void (*GtkItemFactoryCallback) (); - ^~~~~~~ In file included from error.c:29: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_flush_errors(); @@ -2378,34 +2568,25 @@ error.c:124:2: warning: function 'gjiten_abort_with_msg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] pstr = g_strdup_vprintf(fmt, args); ^~~~ +error.c:119:6: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] + void gjiten_abort_with_msg(const char *fmt, ... ) { + ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from kanjidic.h:25, from conf.h:30, - from dicutil.c:33: + from conf.c:29: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ -In file included from gjiten.c:38: -error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_flush_errors(); - ^~~~ In file included from conf.h:30, - from gjiten.c:40: -kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - KanjiDic *kanjidic_create(); - ^~~~~~~~ -kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void kanjidic_apply_fonts(); - ^~~~ -In file included from conf.h:30, - from dicutil.c:33: + from conf.c:29: kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] KanjiDic *kanjidic_create(); ^~~~~~~~ kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void kanjidic_apply_fonts(); ^~~~ -In file included from dicutil.c:33: +In file included from conf.c:29: conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] GjitenConfig *conf_load(); ^~~~~~~~~~~~ @@ -2415,6 +2596,94 @@ conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void conf_close_handler(); ^~~~ +In file included from conf.c:32: +error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_flush_errors(); + ^~~~ +In file included from conf.c:33: +dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void dicutil_unload_dic(); + ^~~~ +conf.c:90:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] + GjitenConfig *conf_load() { + ^~~~~~~~~ +conf.c: In function 'conf_load': +conf.c:90:15: warning: old-style function definition [-Wold-style-definition] +conf.c:97:16: warning: declaration of 'conf' shadows a global declaration [-Wshadow] + GjitenConfig *conf; + ^~~~ +conf.c:37:14: note: shadowed declaration is here + GjitenConfig conf; + ^~~~ +conf.c:153:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + conf->kanjidic->path = GJITEN_DICDIR"/kanjidic"; + ^ +conf.c:159:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + if (conf->kanjipad == NULL) conf->kanjipad = "/usr/bin/kanjipad"; + ^ +conf.c: In function 'conf_save': +conf.c:194:30: warning: declaration of 'conf' shadows a global declaration [-Wshadow] + void conf_save(GjitenConfig *conf) { + ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + GjitenConfig conf; + ^~~~ +conf.c:214:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + if (conf->kanjipad == NULL) conf->kanjipad = ""; + ^ +conf.c: In function 'conf_save_history': +conf.c:245:54: warning: declaration of 'conf' shadows a global declaration [-Wshadow] + void conf_save_history(GList *history, GjitenConfig *conf) { + ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + GjitenConfig conf; + ^~~~ +conf.c:252:30: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] + for (i = 0; i <= 50 && i <= size; i++) { + ^~ +conf.c: In function 'conf_save_options': +conf.c:262:38: warning: declaration of 'conf' shadows a global declaration [-Wshadow] + void conf_save_options(GjitenConfig *conf) { + ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + GjitenConfig conf; + ^~~~ +conf.c: At top level: +conf.c:270:10: warning: function declaration isn't a prototype [-Wstrict-prototypes] + gboolean conf_init_handler() { + ^~~~~~~~~~~~~~~~~ +conf.c: In function 'conf_init_handler': +conf.c:270:10: warning: old-style function definition [-Wold-style-definition] +conf.c: At top level: +conf.c:280:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void conf_close_handler() { + ^~~~~~~~~~~~~~~~~~ +conf.c: In function 'conf_close_handler': +conf.c:280:6: warning: old-style function definition [-Wold-style-definition] +conf.c: In function 'conf_display_migration_info': +conf.c:290:48: warning: declaration of 'conf' shadows a global declaration [-Wshadow] + void conf_display_migration_info(GjitenConfig *conf, GtkWindow *parent) { + ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + GjitenConfig conf; + ^~~~ +In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, + from gjiten.c:30: +/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + typedef void (*GtkItemFactoryCallback) (); + ^~~~~~~ +In file included from gjiten.c:38: +error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_flush_errors(); + ^~~~ +In file included from conf.h:30, + from gjiten.c:40: +kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + KanjiDic *kanjidic_create(); + ^~~~~~~~ +kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void kanjidic_apply_fonts(); + ^~~~ In file included from gjiten.c:40: conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] GjitenConfig *conf_load(); @@ -2425,14 +2694,6 @@ conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void conf_close_handler(); ^~~~ -In file included from dicutil.c:34: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void dicutil_unload_dic(); - ^~~~ -In file included from dicutil.c:35: -error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_flush_errors(); - ^~~~ In file included from gjiten.c:42: worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] WordDic *worddic_create(); @@ -2463,11 +2724,6 @@ dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void dicutil_unload_dic(); ^~~~ -dicutil.c:88:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void dicutil_unload_dic() { - ^~~~~~~~~~~~~~~~~~ -dicutil.c: In function 'dicutil_unload_dic': -dicutil.c:88:6: warning: old-style function definition [-Wold-style-definition] gjiten.c:54:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", ^~~~~~~ @@ -2495,6 +2751,26 @@ gjiten.c:55:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "pinyin", "english", "bushu", "classic", "freq", "jouyou", ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, + from kanjidic.h:25, + from pref.c:34: +/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + typedef void (*GtkItemFactoryCallback) (); + ^~~~~~~ +kanjidic.c: In function 'findk_by_stroke': +kanjidic.c:334:30: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] + snprintf(srchkey, 10, " S%d ", i); + ^~ +kanjidic.c:334:27: note: directive argument in the range [1, 2147483647] + snprintf(srchkey, 10, " S%d ", i); + ^~~~~~~ +In file included from /usr/include/stdio.h:873, + from kanjidic.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 14 bytes into a destination of size 10 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gjiten.c:55:55: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "pinyin", "english", "bushu", "classic", "freq", "jouyou", ^~~~~~ @@ -2540,13 +2816,9 @@ gjiten.c:58:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; ^~~~~~~~ -dicutil.c: In function 'search4string': gjiten.c:58:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; ^~~~~~ -dicutil.c:154:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - *res_index = (guint32)linestart; - ^ gjiten.c:58:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; ^~~~~~~ @@ -2576,12 +2848,6 @@ ^~~~~~~~~~~~~~~~~~~ gjiten.c: In function 'gjiten_create_about': gjiten.c:167:6: warning: old-style function definition [-Wold-style-definition] -In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, - from kanjidic.h:25, - from worddic.c:41: -/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - typedef void (*GtkItemFactoryCallback) (); - ^~~~~~~ In file included from gjiten.c:25: gjiten.c: In function 'main': ../config.h:148:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] @@ -2593,12 +2859,6 @@ gjiten.c:217:52: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (gjitenApp->conf->gdk_use_xft == TRUE) putenv("GDK_USE_XFT=1"); ^~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, - from kanjidic.h:25, - from kanjidic.c:37: -/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - typedef void (*GtkItemFactoryCallback) (); - ^~~~~~~ In file included from /usr/include/glib-2.0/glib/gutils.h:306, from /usr/include/glib-2.0/glib/gthread.h:34, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, @@ -2644,24 +2904,14 @@ /usr/include/stdlib.h:644:26: note: expected 'char *' but argument is of type 'const char *' extern int putenv (char *__string) __THROW __nonnull ((1)); ~~~~~~^~~~~~~~ -error.c:119:6: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - void gjiten_abort_with_msg(const char *fmt, ... ) { - ^~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, - from kanjidic.h:25, - from conf.h:30, - from conf.c:29: -/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - typedef void (*GtkItemFactoryCallback) (); - ^~~~~~~ -In file included from worddic.c:41: +In file included from pref.c:34: kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] KanjiDic *kanjidic_create(); ^~~~~~~~ kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void kanjidic_apply_fonts(); ^~~~ -In file included from worddic.c:42: +In file included from pref.c:35: conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] GjitenConfig *conf_load(); ^~~~~~~~~~~~ @@ -2671,7 +2921,7 @@ conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void conf_close_handler(); ^~~~ -In file included from worddic.c:44: +In file included from pref.c:36: worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] WordDic *worddic_create(); ^~~~~~~ @@ -2684,14 +2934,11 @@ worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void worddic_apply_fonts(); ^~~~ -In file included from kanjidic.c:37: -kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - KanjiDic *kanjidic_create(); - ^~~~~~~~ -kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void kanjidic_apply_fonts(); +In file included from pref.c:37: +pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void create_dialog_preferences(); ^~~~ -In file included from worddic.c:45: +In file included from pref.c:38: gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_start_kanjipad(); ^~~~ @@ -2704,58 +2951,248 @@ gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_exit(); ^~~~ -In file included from worddic.c:47: +In file included from pref.c:39: dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void dicutil_unload_dic(); ^~~~ -In file included from worddic.c:48: -pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void create_dialog_preferences(); +In file included from pref.c:30: +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:57:2: note: in expansion of macro 'N_' + N_("Kanji"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:58:2: note: in expansion of macro 'N_' + N_("Radicals"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:59:2: note: in expansion of macro 'N_' + N_("Stroke count"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:60:2: note: in expansion of macro 'N_' + N_("Readings"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:61:2: note: in expansion of macro 'N_' + N_("Romanized Korean reading"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:62:2: note: in expansion of macro 'N_' + N_("Romanized Pinyin reading"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:63:2: note: in expansion of macro 'N_' + N_("English meaning"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:64:2: note: in expansion of macro 'N_' + N_("Bushu radical number"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:65:2: note: in expansion of macro 'N_' + N_("Classical radical number"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:66:2: note: in expansion of macro 'N_' + N_("Frequency number"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:67:2: note: in expansion of macro 'N_' + N_("Jouyou grade level"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:68:2: note: in expansion of macro 'N_' + N_("De Roo code"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:69:2: note: in expansion of macro 'N_' + N_("Skip pattern code"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:70:2: note: in expansion of macro 'N_' + N_("Four Corner code"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:71:2: note: in expansion of macro 'N_' + N_("\"New Jp-En Char Dictionary\" index"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:72:2: note: in expansion of macro 'N_' + N_("Index in Nelson's \"Modern Reader's Char Dict\""), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:73:2: note: in expansion of macro 'N_' + N_("\"The New Nelson Char Dict\" index"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:74:2: note: in expansion of macro 'N_' + N_("Spahn&Hadamitzky index"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:75:2: note: in expansion of macro 'N_' + N_("Morohashi \"Daikanwajiten\" index"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:76:2: note: in expansion of macro 'N_' + N_("Morohashi \"Daikanwajiten\" volume.page number"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:77:2: note: in expansion of macro 'N_' + N_("\"A Guide To Remembering Jap. Chars\" index"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:78:2: note: in expansion of macro 'N_' + N_("Gakken Kanji Dictionary index"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:79:2: note: in expansion of macro 'N_' + N_("Index in \"Remembering The Kanji\""), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:80:2: note: in expansion of macro 'N_' + N_("Index in \"Japanese Names\""), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:81:2: note: in expansion of macro 'N_' + N_("Cross-reference code"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:82:2: note: in expansion of macro 'N_' + N_("Misclassification code"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:83:2: note: in expansion of macro 'N_' + N_("Unicode hex number of the kanji"), + ^~ +/usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define N_(String) (String) + ^ +pref.c:84:2: note: in expansion of macro 'N_' + N_("ASCII JIS Code of Kanji") + ^~ +pref.c:99:6: warning: no previous prototype for 'font_set' [-Wmissing-prototypes] + void font_set(GtkFontButton *fontpicker, GtkWidget *entry) { + ^~~~~~~~ +pref.c:163:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void add_dict() { + ^~~~~~~~ +pref.c: In function 'add_dict': +pref.c:163:13: warning: old-style function definition [-Wold-style-definition] +gjiten.c: In function 'gjiten_start_kanjipad': +gjiten.c:133:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(kpad_cmd); /* FIXME */ + ^~~~~~~~~~~~~~~~ +pref.c:166:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + gchar *objs[] = {"dialog_add_dic", NULL}; + ^~~~~~~~~~~~~~~~ +pref.c: At top level: +pref.c:222:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void change_dict() { + ^~~~~~~~~~~ +pref.c: In function 'change_dict': +pref.c:222:13: warning: old-style function definition [-Wold-style-definition] +pref.c:228:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + gchar *objs[] = {"dialog_change_dic", NULL}; + ^~~~~~~~~~~~~~~~~~~ +pref.c: At top level: +pref.c:319:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void preferences_exit() { + ^~~~~~~~~~~~~~~~ +pref.c: In function 'preferences_exit': +pref.c:319:6: warning: old-style function definition [-Wold-style-definition] +pref.c: At top level: +pref.c:325:6: warning: no previous prototype for 'preferences_response_cb' [-Wmissing-prototypes] + void preferences_response_cb(GtkDialog *dialog, gint response, gpointer user_data) { + ^~~~~~~~~~~~~~~~~~~~~~~ +pref.c:414:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void create_dialog_preferences() { + ^~~~~~~~~~~~~~~~~~~~~~~~~ +pref.c: In function 'create_dialog_preferences': +pref.c:414:6: warning: old-style function definition [-Wold-style-definition] +pref.c:422:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + gchar *objs[] = {"gjiten_settings", NULL}; + ^~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, + from kanjidic.h:25, + from worddic.c:41: +/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + typedef void (*GtkItemFactoryCallback) (); + ^~~~~~~ +In file included from worddic.c:41: +kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + KanjiDic *kanjidic_create(); + ^~~~~~~~ +kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void kanjidic_apply_fonts(); ^~~~ -In file included from kanjidic.c:38: +In file included from worddic.c:42: conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] GjitenConfig *conf_load(); ^~~~~~~~~~~~ conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] gboolean conf_init_handler(); ^~~~~~~~ -In file included from conf.h:30, - from conf.c:29: -kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - KanjiDic *kanjidic_create(); - ^~~~~~~~ conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void conf_close_handler(); ^~~~ -In file included from worddic.c:50: -error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_flush_errors(); - ^~~~ -kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void kanjidic_apply_fonts(); - ^~~~ -worddic.c:52:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void worddic_copy(); - ^~~~ -In file included from kanjidic.c:40: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void dicutil_unload_dic(); - ^~~~ -worddic.c:54:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void worddic_close(); - ^~~~~~ -worddic.c:55:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void worddic_destroy_window(); - ^~~~ -worddic.c:74:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void worddic_copy() { - ^~~~~~~~~~~~ -In file included from kanjidic.c:41: +In file included from worddic.c:44: worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] WordDic *worddic_create(); ^~~~~~~ -worddic.c: In function 'worddic_copy': -worddic.c:74:6: warning: old-style function definition [-Wold-style-definition] worddic.h:74:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void on_text_entered(); ^~~~ @@ -2765,7 +3202,7 @@ worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void worddic_apply_fonts(); ^~~~ -In file included from kanjidic.c:42: +In file included from worddic.c:45: gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_start_kanjipad(); ^~~~ @@ -2778,313 +3215,74 @@ gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_exit(); ^~~~ -In file included from kanjidic.c:43: +In file included from worddic.c:47: +dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void dicutil_unload_dic(); + ^~~~ +In file included from worddic.c:48: pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void create_dialog_preferences(); ^~~~ -In file included from kanjidic.c:45: +In file included from worddic.c:50: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_flush_errors(); ^~~~ -In file included from kanjidic.c:46: -radical-convtable.h:11:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:11:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:13:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x88\x88", "\xE5\x88\x82" }, - ^~~~~~~~~~~~~~ +worddic.c:52:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void worddic_copy(); + ^~~~ +worddic.c:54:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void worddic_close(); + ^~~~~~ +worddic.c:55:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void worddic_destroy_window(); + ^~~~ +worddic.c:74:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void worddic_copy() { + ^~~~~~~~~~~~ +worddic.c: In function 'worddic_copy': +worddic.c:74:6: warning: old-style function definition [-Wold-style-definition] worddic.c: At top level: -radical-convtable.h:13:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x88\x88", "\xE5\x88\x82" }, - ^~~~~~~~~~~~~~ worddic.c:96:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void Verbinit() { ^~~~~~~~ worddic.c: In function 'Verbinit': worddic.c:96:13: warning: old-style function definition [-Wold-style-definition] -radical-convtable.h:14:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:14:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:16:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\xBF\x99", "\xE5\xBF\x84" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:16:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\xBF\x99", "\xE5\xBF\x84" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:17:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\x89\x8E", "\xE6\x89\x8C" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:17:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\x89\x8E", "\xE6\x89\x8C" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:18:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:18:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:19:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:19:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:20:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE8\x89\xBE", "\xE8\x89\xB9" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:20:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE8\x89\xBE", "\xE8\x89\xB9" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:22:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE9\x98\xA1", "\xE9\x98\x9D" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:22:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE9\x98\xA1", "\xE9\x98\x9D" }, - ^~~~~~~~~~~~~~ -In file included from conf.c:29: -conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - GjitenConfig *conf_load(); - ^~~~~~~~~~~~ -radical-convtable.h:24:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, - ^~~~~~~~~~~~~~ -conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - gboolean conf_init_handler(); - ^~~~~~~~ -radical-convtable.h:24:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, - ^~~~~~~~~~~~~~ -conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void conf_close_handler(); - ^~~~ -radical-convtable.h:25:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:25:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:27:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:27:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:30:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\x30", "\x30" }, - ^~~~~~ -radical-convtable.h:30:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\x30", "\x30" }, - ^~~~~~ -In file included from conf.c:32: -error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_flush_errors(); - ^~~~ -In file included from conf.c:33: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void dicutil_unload_dic(); - ^~~~ -kanjidic.c:51:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void kanjidic_close(); - ^~~~~~ -kanjidic.c:67:6: warning: no previous prototype for 'do_kdicline' [-Wmissing-prototypes] - void do_kdicline(gchar *kstr) { - ^~~~~~~~~~~ -conf.c:90:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] - GjitenConfig *conf_load() { - ^~~~~~~~~ -conf.c: In function 'conf_load': -conf.c:90:15: warning: old-style function definition [-Wold-style-definition] -conf.c:97:16: warning: declaration of 'conf' shadows a global declaration [-Wshadow] - GjitenConfig *conf; - ^~~~ -conf.c:37:14: note: shadowed declaration is here - GjitenConfig conf; - ^~~~ -conf.c:153:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - conf->kanjidic->path = GJITEN_DICDIR"/kanjidic"; - ^ -conf.c:159:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - if (conf->kanjipad == NULL) conf->kanjipad = "/usr/bin/kanjipad"; - ^ -conf.c: In function 'conf_save': -conf.c:194:30: warning: declaration of 'conf' shadows a global declaration [-Wshadow] - void conf_save(GjitenConfig *conf) { - ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - GjitenConfig conf; - ^~~~ worddic.c:150:5: warning: switch missing default case [-Wswitch-default] switch (vinfl_part) { ^~~~~~ -gjiten.c: In function 'gjiten_start_kanjipad': -gjiten.c:133:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(kpad_cmd); /* FIXME */ - ^~~~~~~~~~~~~~~~ -conf.c:214:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - if (conf->kanjipad == NULL) conf->kanjipad = ""; - ^ -kanjidic.c: In function 'do_kdicline': -kanjidic.c:93:10: warning: switch missing default case [-Wswitch-default] - else switch (tmpstr[0]) { - ^~~~~~ worddic.c: In function 'print_verb_inflections': worddic.c:225:24: warning: variable 'prevresult' set but not used [-Wunused-but-set-variable] gchar *deinflected, *prevresult; ^~~~~~~~~~ -conf.c: In function 'conf_save_history': -conf.c:245:54: warning: declaration of 'conf' shadows a global declaration [-Wshadow] - void conf_save_history(GList *history, GjitenConfig *conf) { - ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - GjitenConfig conf; - ^~~~ -conf.c:252:30: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] - for (i = 0; i <= 50 && i <= size; i++) { - ^~ -conf.c: In function 'conf_save_options': -conf.c:262:38: warning: declaration of 'conf' shadows a global declaration [-Wshadow] - void conf_save_options(GjitenConfig *conf) { - ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - GjitenConfig conf; - ^~~~ -kanjidic.c: In function 'print_kanjinfo': -kanjidic.c:235:8: warning: variable 'srch_resp' set but not used [-Wunused-but-set-variable] - gint srch_resp, roff, rlen; - ^~~~~~~~~ -conf.c: At top level: -conf.c:270:10: warning: function declaration isn't a prototype [-Wstrict-prototypes] - gboolean conf_init_handler() { - ^~~~~~~~~~~~~~~~~ -conf.c: In function 'conf_init_handler': -conf.c:270:10: warning: old-style function definition [-Wold-style-definition] -kanjidic.c: At top level: -kanjidic.c:274:6: warning: no previous prototype for 'klists_merge' [-Wmissing-prototypes] - void klists_merge(void) { - ^~~~~~~~~~~~ -conf.c: At top level: -conf.c:280:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void conf_close_handler() { - ^~~~~~~~~~~~~~~~~~ -conf.c: In function 'conf_close_handler': -conf.c:280:6: warning: old-style function definition [-Wold-style-definition] -kanjidic.c: In function 'klists_merge': -kanjidic.c:284:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - if ((gunichar) ptr1->data == (gunichar) ptr2->data) { - ^ -conf.c: In function 'conf_display_migration_info': -conf.c:290:48: warning: declaration of 'conf' shadows a global declaration [-Wshadow] - void conf_display_migration_info(GjitenConfig *conf, GtkWindow *parent) { - ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - GjitenConfig conf; - ^~~~ -kanjidic.c:284:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - if ((gunichar) ptr1->data == (gunichar) ptr2->data) { - ^ -kanjidic.c: At top level: worddic.c: In function 'print_result': -kanjidic.c:299:6: warning: no previous prototype for 'findk_by_key' [-Wmissing-prototypes] - void findk_by_key(gchar *srchkey, GList **list) { - ^~~~~~~~~~~~ worddic.c:298:9: warning: variable 'strlen_to_roff' set but not used [-Wunused-but-set-variable] glong strlen_to_roff; ^~~~~~~~~~~~~~ -kanjidic.c: In function 'findk_by_key': -kanjidic.c:310:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - *list = g_list_prepend(*list, (gpointer) g_utf8_get_char(repstr)); - ^ -kanjidic.c:320:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - *list = g_list_prepend(*list, (gpointer) g_utf8_get_char(repstr)); - ^ -kanjidic.c: At top level: -kanjidic.c:324:6: warning: no previous prototype for 'findk_by_stroke' [-Wmissing-prototypes] - void findk_by_stroke(int stroke, int plusmin, GList **list) { - ^~~~~~~~~~~~~~~ -kanjidic.c:339:6: warning: no previous prototype for 'findk_by_radical' [-Wmissing-prototypes] - void findk_by_radical(gchar *radstrg) { - ^~~~~~~~~~~~~~~~ -kanjidic.c: In function 'findk_by_radical': -kanjidic.c:349:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - rad_info = g_hash_table_lookup(kanjiDic->rad_info_hash, (gpointer) g_utf8_get_char(radstr_ptr)); - ^ -kanjidic.c:358:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - klinklist = g_list_prepend(klinklist, (gpointer) ((KanjiInfo *) kanji_info_list->data)->kanji); - ^ -kanjidic.c:365:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - rad_info = g_hash_table_lookup(kanjiDic->rad_info_hash, (gpointer) g_utf8_get_char(radstr_ptr)); - ^ worddic.c: In function 'search_in_dicfile': -kanjidic.c:375:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - tmpklinklist = g_list_prepend(tmpklinklist, (gpointer) ((KanjiInfo *) kanji_info_list->data)->kanji); - ^ worddic.c:433:7: warning: switch missing default case [-Wswitch-default] switch (match_criteria) { ^~~~~~ -kanjidic.c: At top level: -kanjidic.c:383:6: warning: no previous prototype for 'set_radical_button_sensitive' [-Wmissing-prototypes] - void set_radical_button_sensitive(gpointer radical, RadInfo *rad_info, gpointer user_data) { - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kanjidic.c:390:6: warning: no previous prototype for 'set_radical_button_unsensitive' [-Wmissing-prototypes] - void set_radical_button_unsensitive(gunichar radical, GtkWidget *rad_button, gboolean sensitive) { - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ worddic.c:449:7: warning: switch missing default case [-Wswitch-default] switch (match_criteria) { ^~~~~~ -kanjidic.c:397:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void on_kanji_search() { - ^~~~~~~~~~~~~~~ -kanjidic.c: In function 'on_kanji_search': -kanjidic.c:397:6: warning: old-style function definition [-Wold-style-definition] worddic.c: At top level: worddic.c:498:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] int lower_search_option() { ^~~~~~~~~~~~~~~~~~~ worddic.c: In function 'lower_search_option': worddic.c:498:5: warning: old-style function definition [-Wold-style-definition] -kanjidic.c:463:51: warning: cast between incompatible function types from 'void (*)(gunichar, GtkWidget *, gboolean)' {aka 'void (*)(unsigned int, struct _GtkWidget *, int)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] - g_hash_table_foreach(kanjiDic->rad_button_hash, (GHFunc) set_radical_button_unsensitive, (gpointer) TRUE); - ^ -kanjidic.c:519:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - if (result_num == 1) print_kanjinfo((gunichar) klinklist->data); - ^ -kanjidic.c:528:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - g_unichar_to_utf8((gunichar) node_ptr->data, kanji_result_str); - ^ worddic.c: At top level: worddic.c:604:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void on_text_entered() { ^~~~~~~~~~~~~~~ worddic.c: In function 'on_text_entered': worddic.c:604:6: warning: old-style function definition [-Wold-style-definition] -kanjidic.c:567:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - g_hash_table_insert(rad_info_hash, (gpointer) ((RadInfo *) rad_info_list->data)->radical, rad_info_list->data); - ^ -kanjidic.c:570:52: warning: cast between incompatible function types from 'void (*)(gunichar, GtkWidget *, gboolean)' {aka 'void (*)(unsigned int, struct _GtkWidget *, int)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] - g_hash_table_foreach(kanjiDic->rad_button_hash, (GHFunc) set_radical_button_unsensitive, (gpointer) FALSE); - ^ -kanjidic.c:577:52: warning: cast between incompatible function types from 'void (*)(gunichar, GtkWidget *, gboolean)' {aka 'void (*)(unsigned int, struct _GtkWidget *, int)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] - g_hash_table_foreach(kanjiDic->rad_button_hash, (GHFunc) set_radical_button_unsensitive, (gpointer) TRUE); - ^ -kanjidic.c:400:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] - int i; - ^ worddic.c: At top level: worddic.c:652:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void on_forward_clicked() { ^~~~~~~~~~~~~~~~~~ worddic.c: In function 'on_forward_clicked': worddic.c:652:13: warning: old-style function definition [-Wold-style-definition] -kanjidic.c: At top level: -kanjidic.c:583:5: warning: no previous prototype for 'radical_selected' [-Wmissing-prototypes] - int radical_selected(gunichar radical) { - ^~~~~~~~~~~~~~~~ worddic.c: At top level: worddic.c:660:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void on_back_clicked() { @@ -3103,61 +3301,30 @@ ^~~~~~~~~~~~~~~~~~~~~ worddic.c: In function 'shade_worddic_widgets': worddic.c:679:13: warning: old-style function definition [-Wold-style-definition] -kanjidic.c:621:6: warning: no previous prototype for 'history_add' [-Wmissing-prototypes] - void history_add(gunichar unicharkanji) { - ^~~~~~~~~~~ worddic.c: At top level: worddic.c:688:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void get_searchlimit() { ^~~~~~~~~~~~~~~ worddic.c: In function 'get_searchlimit': worddic.c:688:13: warning: old-style function definition [-Wold-style-definition] -In file included from /usr/include/glib-2.0/gobject/gobject.h:28, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:23, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from kanjidic.h:25, - from kanjidic.c:37: -kanjidic.c: In function 'history_add': worddic.c: At top level: worddic.c:705:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void worddic_init_history() { ^~~~~~~~~~~~~~~~~~~~ worddic.c: In function 'worddic_init_history': worddic.c:705:13: warning: old-style function definition [-Wold-style-definition] -kanjidic.c:659:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - (gpointer) (*unichar_list_elem)); - ^ -/usr/include/glib-2.0/gobject/gsignal.h:528:73: note: in definition of macro 'g_signal_connect_swapped' - g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_SWAPPED) - ^~~~ worddic.c: At top level: worddic.c:716:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void worddic_destroy_window() { ^~~~~~~~~~~~~~~~~~~~~~ worddic.c: In function 'worddic_destroy_window': worddic.c:716:6: warning: old-style function definition [-Wold-style-definition] -kanjidic.c: At top level: -kanjidic.c:675:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void radical_window_close() { - ^~~~~~~~~~~~~~~~~~~~ worddic.c: At top level: -kanjidic.c: In function 'radical_window_close': -kanjidic.c:675:13: warning: old-style function definition [-Wold-style-definition] worddic.c:722:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void worddic_close() { ^~~~~~~~~~~~~ worddic.c: In function 'worddic_close': worddic.c:722:13: warning: old-style function definition [-Wold-style-definition] -kanjidic.c: In function 'get_rad_of_kanji': -kanjidic.c:691:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - kanji_info = g_hash_table_lookup(kanjiDic->kanji_info_hash, (gconstpointer) kanji); - ^ worddic.c: At top level: worddic.c:738:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void worddic_show_hide_options() { @@ -3170,166 +3337,34 @@ ^~~~~~~~~~~~~~~~~~~~~~~ worddic.c: In function 'worddic_update_dic_menu': worddic.c:746:6: warning: old-style function definition [-Wold-style-definition] -kanjidic.c: In function 'jis_radical_to_unicode': -kanjidic.c:714:17: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare] - for (i = 0; i < sizeof(radicaltable) / sizeof(radpair); i++) { - ^ -kanjidic.c: At top level: -kanjidic.c:725:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void load_radkfile() { - ^~~~~~~~~~~~~ -kanjidic.c: In function 'load_radkfile': -kanjidic.c:725:6: warning: old-style function definition [-Wold-style-definition] worddic.c: At top level: -In file included from kanjidic.c:26: -../config.h:14:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define GJITEN_DATADIR "/usr/share/gjiten" - ^~~~~~~~~~~~~~~~~~~ -constants.h:10:23: note: in expansion of macro 'GJITEN_DATADIR' - #define RADKFILE_NAME GJITEN_DATADIR"/radkfile.utf8" - ^~~~~~~~~~~~~~ -kanjidic.c:729:26: note: in expansion of macro 'RADKFILE_NAME' - gchar *radkfile_name = RADKFILE_NAME; - ^~~~~~~~~~~~~ worddic.c:780:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void worddic_apply_fonts() { ^~~~~~~~~~~~~~~~~~~ worddic.c: In function 'worddic_apply_fonts': worddic.c:780:6: warning: old-style function definition [-Wold-style-definition] -kanjidic.c:792:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - g_hash_table_insert(kanjiDic->rad_info_hash, (gpointer) rad_info->radical, rad_info); - ^ -kanjidic.c:802:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - kanji_info = g_hash_table_lookup(kanjiDic->kanji_info_hash, (gconstpointer) kanji); - ^ -kanjidic.c:806:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - g_hash_table_insert(kanjiDic->kanji_info_hash, (gpointer) kanji, (gpointer) kanji_info); - ^ worddic.c: At top level: worddic.c:870:10: warning: function declaration isn't a prototype [-Wstrict-prototypes] WordDic *worddic_create() { ^~~~~~~~~~~~~~ worddic.c: In function 'worddic_create': worddic.c:870:10: warning: old-style function definition [-Wold-style-definition] -kanjidic.c: At top level: -kanjidic.c:816:19: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static GtkWidget *create_window_radicals () { - ^~~~~~~~~~~~~~~~~~~~~~ -kanjidic.c: In function 'create_window_radicals': -kanjidic.c:816:19: warning: old-style function definition [-Wold-style-definition] -In file included from /usr/include/glib-2.0/gobject/gobject.h:28, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:23, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from kanjidic.h:25, - from kanjidic.c:37: -kanjidic.c:882:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - (gpointer)(rad_info->radical)); - ^ -/usr/include/glib-2.0/gobject/gsignal.h:528:73: note: in definition of macro 'g_signal_connect_swapped' - g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_SWAPPED) - ^~~~ -kanjidic.c:889:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - g_hash_table_insert(kanjiDic->rad_button_hash, (gpointer) rad_info->radical, tmpwidget); - ^ -kanjidic.c: At top level: -kanjidic.c:897:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void kanjidic_close() { - ^~~~~~~~~~~~~~ -kanjidic.c: In function 'kanjidic_close': -kanjidic.c:897:13: warning: old-style function definition [-Wold-style-definition] -kanjidic.c: At top level: -kanjidic.c:913:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void shade_kanjidic_widgets() { - ^~~~~~~~~~~~~~~~~~~~~~ -kanjidic.c: In function 'shade_kanjidic_widgets': -kanjidic.c:913:6: warning: old-style function definition [-Wold-style-definition] -kanjidic.c: At top level: -kanjidic.c:927:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void history_init() { - ^~~~~~~~~~~~ -kanjidic.c: In function 'history_init': -kanjidic.c:927:6: warning: old-style function definition [-Wold-style-definition] -kanjidic.c: At top level: -kanjidic.c:969:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void kanjidic_apply_fonts() { - ^~~~~~~~~~~~~~~~~~~~ -kanjidic.c: In function 'kanjidic_apply_fonts': -kanjidic.c:969:6: warning: old-style function definition [-Wold-style-definition] -kanjidic.c: At top level: -kanjidic.c:1000:6: warning: no previous prototype for 'clear_radical_entry_box' [-Wmissing-prototypes] - void clear_radical_entry_box(gpointer entrybox) { - ^~~~~~~~~~~~~~~~~~~~~~~ -kanjidic.c: In function 'clear_radical_entry_box': -kanjidic.c:1003:51: warning: cast between incompatible function types from 'void (*)(gunichar, GtkWidget *, gboolean)' {aka 'void (*)(unsigned int, struct _GtkWidget *, int)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] - g_hash_table_foreach(kanjiDic->rad_button_hash, (GHFunc) set_radical_button_unsensitive, (gpointer) TRUE); - ^ -kanjidic.c: At top level: -kanjidic.c:1008:11: warning: function declaration isn't a prototype [-Wstrict-prototypes] - KanjiDic *kanjidic_create() { - ^~~~~~~~~~~~~~~ -kanjidic.c: In function 'kanjidic_create': -kanjidic.c:1008:11: warning: old-style function definition [-Wold-style-definition] -kanjidic.c:1026:14: warning: unused variable 'tmpimage' [-Wunused-variable] - GtkWidget *tmpimage; - ^~~~~~~~ worddic.c:878:14: warning: variable 'button_srch' set but not used [-Wunused-but-set-variable] GtkWidget *button_srch; ^~~~~~~~~~~ -kanjidic.c:1016:14: warning: unused variable 'button_searchk' [-Wunused-variable] - GtkWidget *button_searchk; - ^~~~~~~~~~~~~~ worddic.c:876:14: warning: variable 'button_kanjidic' set but not used [-Wunused-but-set-variable] GtkWidget *button_kanjidic; ^~~~~~~~~~~~~~~ -kanjidic.c:1015:14: warning: unused variable 'button_worddic' [-Wunused-variable] - GtkWidget *button_worddic; - ^~~~~~~~~~~~~~ worddic.c:875:14: warning: variable 'button_kanjipad' set but not used [-Wunused-but-set-variable] GtkWidget *button_kanjipad; ^~~~~~~~~~~~~~~ -kanjidic.c:1014:14: warning: unused variable 'button_kanjipad' [-Wunused-variable] - GtkWidget *button_kanjipad; - ^~~~~~~~~~~~~~~ -kanjidic.c:1013:14: warning: unused variable 'button_closek' [-Wunused-variable] - GtkWidget *button_closek; - ^~~~~~~~~~~~~ -kanjidic.c:1012:14: warning: unused variable 'toolbar_kanji' [-Wunused-variable] - GtkWidget *toolbar_kanji; - ^~~~~~~~~~~~~ -kanjidic.c: In function 'do_kdicline': -kanjidic.c:114:9: warning: this statement may fall through [-Wimplicit-fallthrough=] - if (tmpstr[1] == '2') { - ^ -kanjidic.c:126:5: note: here - case '{': // english meaning - ^~~~ -kanjidic.c: In function 'findk_by_stroke': -kanjidic.c:334:30: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] - snprintf(srchkey, 10, " S%d ", i); - ^~ -kanjidic.c:334:27: note: directive argument in the range [1, 2147483647] - snprintf(srchkey, 10, " S%d ", i); - ^~~~~~~ -In file included from /usr/include/stdio.h:873, - from kanjidic.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 14 bytes into a destination of size 10 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ worddic.c: In function 'on_forward_clicked': worddic.c:654:109: warning: potential null pointer dereference [-Wnull-dereference] current_glist_word = (gchar*) g_list_previous(g_list_find(wordDic->combo_entry_glist, current_glist_word))->data; worddic.c: In function 'on_back_clicked': worddic.c:662:105: warning: potential null pointer dereference [-Wnull-dereference] current_glist_word = (gchar*) g_list_next(g_list_find(wordDic->combo_entry_glist, current_glist_word))->data; -/bin/bash ../libtool --tag=CC --mode=link gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Wunused -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -ffile-prefix-map=/build/gjiten-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o gjiten gjiten-gjiten.o gjiten-kanjidic.o gjiten-pref.o gjiten-conf.o gjiten-error.o gjiten-dicfile.o gjiten-worddic.o gjiten-dicutil.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 +/bin/sh ../libtool --tag=CC --mode=link gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Wunused -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -ffile-prefix-map=/build/gjiten-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o gjiten gjiten-gjiten.o gjiten-kanjidic.o gjiten-pref.o gjiten-conf.o gjiten-error.o gjiten-dicfile.o gjiten-worddic.o gjiten-dicutil.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 libtool: link: gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Wunused -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -ffile-prefix-map=/build/gjiten-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o gjiten gjiten-gjiten.o gjiten-kanjidic.o gjiten-pref.o gjiten-conf.o gjiten-error.o gjiten-dicfile.o gjiten-worddic.o gjiten-dicutil.o -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgmodule-2.0 -lglib-2.0 -pthread make[3]: Leaving directory '/build/gjiten-2.6/src' Making all in data @@ -3344,7 +3379,7 @@ scrollkeeper-preinstall /usr/share/gnome/help/gjiten/C/gjiten.xml ./$file $file.out; \ done xmlto txt gjiten.xml -/bin/bash: line 1: scrollkeeper-preinstall: command not found +/bin/sh: line 1: scrollkeeper-preinstall: command not found make[4]: [Makefile:567: omf_timestamp] Error 127 (ignored) touch omf_timestamp mv gjiten.txt ../../README @@ -3385,7 +3420,7 @@ make[2]: Leaving directory '/build/gjiten-2.6' make[1]: Leaving directory '/build/gjiten-2.6' dh_auto_test - make -j16 check VERBOSE=1 + make -j15 check VERBOSE=1 make[1]: Entering directory '/build/gjiten-2.6' Making check in src make[2]: Entering directory '/build/gjiten-2.6/src' @@ -3441,7 +3476,7 @@ make[2]: Entering directory '/build/gjiten-2.6/src' make[3]: Entering directory '/build/gjiten-2.6/src' /bin/mkdir -p '/build/gjiten-2.6/debian/gjiten/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c gjiten '/build/gjiten-2.6/debian/gjiten/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c gjiten '/build/gjiten-2.6/debian/gjiten/usr/bin' libtool: install: /usr/bin/install -c gjiten /build/gjiten-2.6/debian/gjiten/usr/bin/gjiten make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/gjiten-2.6/src' @@ -3469,13 +3504,13 @@ make[3]: Entering directory '/build/gjiten-2.6/help/C' make[4]: Entering directory '/build/gjiten-2.6/help/C' make[4]: Nothing to be done for 'install-exec-am'. -/bin/bash ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C +/bin/sh ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C mkdir -p -- /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C for file in legal.xml gjiten.xml; do \ cp ./$file /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C; \ done if test ""; then \ - /bin/bash ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C/; \ + /bin/sh ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C/; \ for file in .//*.png; do \ basefile=`echo $file | sed -e 's,^.*/,,'`; \ /usr/bin/install -c -m 644 $file /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C//$basefile; \ @@ -3483,13 +3518,13 @@ fi make install-data-hook make[5]: Entering directory '/build/gjiten-2.6/help/C' -/bin/bash ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/omf/gjiten +/bin/sh ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/omf/gjiten mkdir -p -- /build/gjiten-2.6/debian/gjiten/usr/share/omf/gjiten for file in gjiten-C.omf; do \ /usr/bin/install -c -m 644 $file.out /build/gjiten-2.6/debian/gjiten/usr/share/omf/gjiten/$file; \ done scrollkeeper-update -p /var/scrollkeeper -o /build/gjiten-2.6/debian/gjiten/usr/share/omf/gjiten -/bin/bash: scrollkeeper-update: command not found +make[5]: scrollkeeper-update: Command not found make[5]: [Makefile:575: install-data-hook-omf] Error 127 (ignored) make[5]: Leaving directory '/build/gjiten-2.6/help/C' make[4]: Leaving directory '/build/gjiten-2.6/help/C' @@ -3553,9 +3588,9 @@ make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/gjiten-2.6/debian/gjiten/usr/share/application-registry' /usr/bin/install -c -m 644 gjiten.desktop '/build/gjiten-2.6/debian/gjiten/usr/share/application-registry' -/bin/bash ../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/applications +/bin/sh ../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/applications mkdir -p -- /build/gjiten-2.6/debian/gjiten/usr/share/applications -/bin/bash ../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/application-registry +/bin/sh ../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/application-registry /bin/mkdir -p '/build/gjiten-2.6/debian/gjiten/usr/share/applications' /usr/bin/install -c -m 644 gjiten.desktop '/build/gjiten-2.6/debian/gjiten/usr/share/applications' make[3]: Leaving directory '/build/gjiten-2.6/gnome' @@ -3593,21 +3628,21 @@ dh_link dh_strip_nondeterminism Normalized debian/gjiten/usr/share/locale/de_CH/LC_MESSAGES/gjiten.mo - Normalized debian/gjiten/usr/share/locale/de/LC_MESSAGES/gjiten.mo Normalized debian/gjiten/usr/share/locale/ja/LC_MESSAGES/gjiten.mo + Normalized debian/gjiten/usr/share/locale/de/LC_MESSAGES/gjiten.mo dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libfreetype.so.6 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libcairo.so.2 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libpangoft2-1.0.so.0 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libgmodule-2.0.so.0 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libfreetype.so.6 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libpangocairo-1.0.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libatk-1.0.so.0 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libcairo.so.2 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libfontconfig.so.1 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libgmodule-2.0.so.0 (it uses none of the library's symbols) dh_installdeb dh_gencontrol dh_md5sums @@ -3621,12 +3656,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/687150/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/687150/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/320107 and its subdirectories -I: Current time: Wed Jan 4 19:42:00 -12 2023 -I: pbuilder-time-stamp: 1672904520 +I: removing directory /srv/workspace/pbuilder/687150 and its subdirectories +I: Current time: Fri Dec 3 15:24:14 +14 2021 +I: pbuilder-time-stamp: 1638494654