Diff of the two buildlogs: -- --- b1/build.log 2022-01-24 14:53:00.322479608 +0000 +++ b2/build.log 2022-01-24 14:55:09.750472268 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Feb 26 09:09:50 -12 2023 -I: pbuilder-time-stamp: 1677445790 +I: Current time: Tue Jan 25 04:53:01 +14 2022 +I: pbuilder-time-stamp: 1643035981 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./gjiten_2.6-3.1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.1PAQ7NZP/trustedkeys.kbx': General error -gpgv: Signature made Sun Nov 18 05:12:45 2018 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.GtMl6QDi/trustedkeys.kbx': General error +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,135 +34,169 @@ dpkg-source: info: applying port-to-GSettings.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1268980/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2177402/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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/2177402/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2177402/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,-fixfilepath 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]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(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,-fixfilepath 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='a4f088d34cb2475db49d34b8468e16a9' - 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='1268980' - PS1='# ' - PS2='> ' + INVOCATION_ID=79fc9c59c36346978faeea87c32da5e8 + 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=2177402 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.1Ilqv0skqX/pbuilderrc_CuP2 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.1Ilqv0skqX/b1 --logfile b1/build.log gjiten_2.6-3.1.dsc' - SUDO_GID='110' - SUDO_UID='105' - 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.1Ilqv0skqX/pbuilderrc_NMW2 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.1Ilqv0skqX/b2 --logfile b2/build.log gjiten_2.6-3.1.dsc' + SUDO_GID=110 + SUDO_UID=105 + 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 ionos5-amd64 5.15.0-0.bpo.2-amd64 #1 SMP Debian 5.15.5-2~bpo11+1 (2022-01-02) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Feb 23 03:47 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/1268980/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 09:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 09:09 more + -rwsr-xr-x 1 root root 55528 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 18664 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jan 25 04:53 sh -> bash + lrwxrwxrwx 1 root root 4 Jan 21 23:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 09:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/2177402/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -494,7 +528,7 @@ Get: 282 http://deb.debian.org/debian bullseye/main amd64 libxslt1.1 amd64 1.1.34-4 [239 kB] Get: 283 http://deb.debian.org/debian bullseye/main amd64 xsltproc amd64 1.1.34-4 [124 kB] Get: 284 http://deb.debian.org/debian bullseye/main amd64 xmlto amd64 0.0.28-2.1 [33.6 kB] -Fetched 231 MB in 4s (51.5 MB/s) +Fetched 231 MB in 3s (69.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19655 files and directories currently installed.) @@ -1686,7 +1720,8 @@ fakeroot is already the newest version (1.25.3-1.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 @@ -1945,7 +1980,7 @@ config.status: executing default-1 commands config.status: executing po/stamp-it commands 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' @@ -1959,11 +1994,11 @@ 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/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -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 -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -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 -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -fdebug-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/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -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 -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -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 -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -fdebug-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/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -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 -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -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 -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -fdebug-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 pref.c:33: +In file included from dicfile.c:41: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | void gjiten_flush_errors(); | ^~~~ -In file included from dicfile.c:41: +In file included from pref.c:33: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | void gjiten_flush_errors(); | ^~~~ @@ -2000,8 +2035,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from kanjidic.h:25, - from kanjidic.c:37: + from gjiten.c:30: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -2014,8 +2048,7 @@ 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: + from gjiten.c:30: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -2028,21 +2061,18 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from kanjidic.h:25, - from pref.c:34: + from conf.h:30, + from conf.c:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, - 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 pref.c:34: + from /usr/include/pango-1.0/pango/pango-coverage.h:25, + from /usr/include/pango-1.0/pango/pango-font.h:25, + from conf.h:28, + from conf.c:29: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -2068,44 +2098,18 @@ /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from gjiten.c:30: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - 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 gjiten.c:30: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from kanjidic.h:25, - from kanjidic.c:37: + from gjiten.c:30: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/glib/gi18n.h:21, - from kanjidic.c:31: + from gjiten.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -2114,22 +2118,109 @@ from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from kanjidic.h:25, - from pref.c:34: + from conf.h:30, + from conf.c:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/glib/gi18n.h:21, - from pref.c:30: + from conf.c:27: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from kanjidic.h:25, + from pref.c:34: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + 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 pref.c:34: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from kanjidic.h:25, + from kanjidic.c:37: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + 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: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ 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] 47 | 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] + 47 | typedef void (*GtkItemFactoryCallback) (); + | ^~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from kanjidic.h:25, + from worddic.c:41: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + 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 worddic.c:41: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ In file included from error.c:29: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | void gjiten_flush_errors(); @@ -2142,20 +2233,6 @@ error.c:62:2: warning: function 'gjiten_print_error_and_wait' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 62 | pstr = g_strdup_vprintf(fmt, args); | ^~~~ -error.c: At top level: -error.c:88:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 88 | void gjiten_flush_errors() { - | ^~~~~~~~~~~~~~~~~~~ -error.c: In function 'gjiten_flush_errors': -error.c:88:6: warning: old-style function definition [-Wold-style-definition] -error.c: In function 'gjiten_print_question': -error.c:104:2: warning: function 'gjiten_print_question' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] - 104 | pstr = g_strdup_vprintf(fmt, args); - | ^~~~ -error.c: In function 'gjiten_abort_with_msg': -error.c:124:2: warning: function 'gjiten_abort_with_msg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] - 124 | pstr = g_strdup_vprintf(fmt, args); - | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2166,43 +2243,47 @@ from /usr/include/gtk-2.0/gtk/gtk.h:33, from kanjidic.h:25, from conf.h:30, - from conf.c:29: + from dicutil.c:33: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ +error.c: At top level: +error.c:88:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 88 | void gjiten_flush_errors() { + | ^~~~~~~~~~~~~~~~~~~ +error.c: In function 'gjiten_flush_errors': +error.c:88:6: warning: old-style function definition [-Wold-style-definition] +error.c: In function 'gjiten_print_question': +error.c:104:2: warning: function 'gjiten_print_question' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] + 104 | pstr = g_strdup_vprintf(fmt, args); + | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/pango-1.0/pango/pango-coverage.h:25, from /usr/include/pango-1.0/pango/pango-font.h:25, from conf.h:28, - from conf.c:29: + from dicutil.c:33: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ -error.c:119:6: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - 119 | 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 kanjidic.c:37: -/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 47 | typedef void (*GtkItemFactoryCallback) (); - | ^~~~~~~ -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] - 47 | typedef void (*GtkItemFactoryCallback) (); - | ^~~~~~~ -In file included from kanjidic.c:37: +error.c: In function 'gjiten_abort_with_msg': +error.c:124:2: warning: function 'gjiten_abort_with_msg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] + 124 | pstr = g_strdup_vprintf(fmt, args); + | ^~~~ +In file included from gjiten.c:38: +error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 37 | 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] 111 | KanjiDic *kanjidic_create(); | ^~~~~~~~ kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 113 | void kanjidic_apply_fonts(); | ^~~~ -In file included from kanjidic.c:38: +In file included from gjiten.c:40: conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 79 | GjitenConfig *conf_load(); | ^~~~~~~~~~~~ @@ -2212,11 +2293,7 @@ conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 84 | void conf_close_handler(); | ^~~~ -In file included from kanjidic.c:40: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 43 | void dicutil_unload_dic(); - | ^~~~ -In file included from kanjidic.c:41: +In file included from gjiten.c:42: worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 72 | WordDic *worddic_create(); | ^~~~~~~ @@ -2229,7 +2306,7 @@ worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 76 | void worddic_apply_fonts(); | ^~~~ -In file included from kanjidic.c:42: +In file included from gjiten.c:44: gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | void gjiten_start_kanjipad(); | ^~~~ @@ -2242,103 +2319,311 @@ gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 40 | void gjiten_exit(); | ^~~~ -In file included from kanjidic.c:43: -pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 27 | void create_dialog_preferences(); +In file included from gjiten.c:45: +dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 43 | void dicutil_unload_dic(); | ^~~~ -In file included from kanjidic.c:45: +gjiten.c:54:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 54 | gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", + | ^~~~~~~ +gjiten.c:54:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 54 | gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", + | ^~~~~~~~~ +gjiten.c:54:47: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 54 | gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", + | ^~~~~~~~~ +gjiten.c:54:58: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 54 | gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", + | ^~~~~~~~~ +gjiten.c:54:69: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 54 | gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", + | ^~~~~~~~ +gjiten.c:55:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", + | ^~~~~~~~ +gjiten.c:55:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", + | ^~~~~~~~~ +gjiten.c:55:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", + | ^~~~~~~ +gjiten.c:55:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", + | ^~~~~~~~~ +gjiten.c:55:55: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", + | ^~~~~~ +gjiten.c:55:63: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", + | ^~~~~~~~ +gjiten.c:56:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + | ^~~~~~~ +gjiten.c:56:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + | ^~~~~~ +gjiten.c:56:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + | ^~~~~~~ +gjiten.c:56:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + | ^~~~~~~~ +gjiten.c:56:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + | ^~~~~~~~ +gjiten.c:56:60: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + | ^~~~~~~~ +gjiten.c:57:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 57 | "iindex", "mnindex", "mpindex", "eindex", "kindex", + | ^~~~~~~~ +gjiten.c:57:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 57 | "iindex", "mnindex", "mpindex", "eindex", "kindex", + | ^~~~~~~~~ +gjiten.c:57:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 57 | "iindex", "mnindex", "mpindex", "eindex", "kindex", + | ^~~~~~~~~ +gjiten.c:57:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 57 | "iindex", "mnindex", "mpindex", "eindex", "kindex", + | ^~~~~~~~ +gjiten.c:57:56: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 57 | "iindex", "mnindex", "mpindex", "eindex", "kindex", + | ^~~~~~~~ +gjiten.c:58:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + | ^~~~~~~~ +gjiten.c:58:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + | ^~~~~~~~ +gjiten.c:58:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + | ^~~~~~ +gjiten.c:58:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + | ^~~~~~~ +gjiten.c:58:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + | ^~~~~~~~~ +gjiten.c:58:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + | ^~~~~~~~~~ +gjiten.c:104:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 104 | void gjiten_exit() { + | ^~~~~~~~~~~ +gjiten.c: In function 'gjiten_exit': +gjiten.c:104:6: warning: old-style function definition [-Wold-style-definition] +gjiten.c: At top level: +gjiten.c:115:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 115 | void gjiten_start_kanjipad() { + | ^~~~~~~~~~~~~~~~~~~~~ +gjiten.c: In function 'gjiten_start_kanjipad': +gjiten.c:115:6: warning: old-style function definition [-Wold-style-definition] +gjiten.c: At top level: +gjiten.c:138:6: warning: no previous prototype for 'gjiten_display_manual' [-Wmissing-prototypes] + 138 | void gjiten_display_manual(GtkWidget *widget, void *data) { + | ^~~~~~~~~~~~~~~~~~~~~ +gjiten.c:167:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 167 | void gjiten_create_about() { + | ^~~~~~~~~~~~~~~~~~~ +gjiten.c: In function 'gjiten_create_about': +gjiten.c:167:6: warning: old-style function definition [-Wold-style-definition] +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] + 148 | #define PIXMAPDIR "/usr/share/pixmaps" + | ^~~~~~~~~~~~~~~~~~~~ +gjiten.c:210:21: note: in expansion of macro 'PIXMAPDIR' + 210 | char *icon_path = PIXMAPDIR"/jiten.png"; + | ^~~~~~~~~ +gjiten.c:217:52: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 217 | if (gjitenApp->conf->gdk_use_xft == TRUE) putenv("GDK_USE_XFT=1"); + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gutils.h:433, + from /usr/include/glib-2.0/glib/gthread.h:34, + from /usr/include/glib-2.0/glib/gasyncqueue.h:32, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from gjiten.c:29: +/usr/include/stdlib.h:647:26: note: expected 'char *' but argument is of type 'const char *' + 647 | extern int putenv (char *__string) __THROW __nonnull ((1)); + | ~~~~~~^~~~~~~~ +gjiten.c:218:15: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 218 | else putenv("GDK_USE_XFT=0"); + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gutils.h:433, + from /usr/include/glib-2.0/glib/gthread.h:34, + from /usr/include/glib-2.0/glib/gasyncqueue.h:32, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from gjiten.c:29: +/usr/include/stdlib.h:647:26: note: expected 'char *' but argument is of type 'const char *' + 647 | extern int putenv (char *__string) __THROW __nonnull ((1)); + | ~~~~~~^~~~~~~~ +gjiten.c:220:52: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 220 | if (gjitenApp->conf->force_ja_JP == TRUE) putenv("LC_ALL=ja_JP"); + | ^~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gutils.h:433, + from /usr/include/glib-2.0/glib/gthread.h:34, + from /usr/include/glib-2.0/glib/gasyncqueue.h:32, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from gjiten.c:29: +/usr/include/stdlib.h:647:26: note: expected 'char *' but argument is of type 'const char *' + 647 | extern int putenv (char *__string) __THROW __nonnull ((1)); + | ~~~~~~^~~~~~~~ +gjiten.c:221:57: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 221 | if (gjitenApp->conf->force_language_c == TRUE) putenv("LANGUAGE=C"); + | ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gutils.h:433, + from /usr/include/glib-2.0/glib/gthread.h:34, + from /usr/include/glib-2.0/glib/gasyncqueue.h:32, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from gjiten.c:29: +/usr/include/stdlib.h:647:26: note: expected 'char *' but argument is of type 'const char *' + 647 | extern int putenv (char *__string) __THROW __nonnull ((1)); + | ~~~~~~^~~~~~~~ +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] + 47 | typedef void (*GtkItemFactoryCallback) (); + | ^~~~~~~ +In file included from conf.h:30, + from conf.c:29: +kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 111 | KanjiDic *kanjidic_create(); + | ^~~~~~~~ +kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 113 | void kanjidic_apply_fonts(); + | ^~~~ +error.c:119:6: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] + 119 | void gjiten_abort_with_msg(const char *fmt, ... ) { + | ^~~~~~~~~~~~~~~~~~~~~ +In file included from conf.c:29: +conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 79 | GjitenConfig *conf_load(); + | ^~~~~~~~~~~~ +conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 83 | gboolean conf_init_handler(); + | ^~~~~~~~ +conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 84 | void conf_close_handler(); + | ^~~~ +In file included from conf.c:32: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | 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] - 11 | { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:11:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11 | { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:13:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13 | { "\xE5\x88\x88", "\xE5\x88\x82" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:13:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13 | { "\xE5\x88\x88", "\xE5\x88\x82" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:14:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14 | { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:14:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14 | { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:16:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 16 | { "\xE5\xBF\x99", "\xE5\xBF\x84" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:16:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 16 | { "\xE5\xBF\x99", "\xE5\xBF\x84" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:17:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17 | { "\xE6\x89\x8E", "\xE6\x89\x8C" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:17:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17 | { "\xE6\x89\x8E", "\xE6\x89\x8C" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:18:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18 | { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:18:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18 | { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:19:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19 | { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:19:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19 | { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:20:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20 | { "\xE8\x89\xBE", "\xE8\x89\xB9" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:20:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20 | { "\xE8\x89\xBE", "\xE8\x89\xB9" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:22:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22 | { "\xE9\x98\xA1", "\xE9\x98\x9D" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:22:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22 | { "\xE9\x98\xA1", "\xE9\x98\x9D" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:24:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24 | { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:24:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24 | { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:25:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 25 | { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:25:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 25 | { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:27:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 27 | { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:27:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 27 | { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, - | ^~~~~~~~~~~~~~ -radical-convtable.h:30:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 30 | { "\x30", "\x30" }, - | ^~~~~~ -radical-convtable.h:30:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 30 | { "\x30", "\x30" }, - | ^~~~~~ -kanjidic.c:51:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 51 | static void kanjidic_close(); - | ^~~~~~ -kanjidic.c:67:6: warning: no previous prototype for 'do_kdicline' [-Wmissing-prototypes] - 67 | void do_kdicline(gchar *kstr) { - | ^~~~~~~~~~~ -kanjidic.c: In function 'do_kdicline': -kanjidic.c:93:10: warning: switch missing default case [-Wswitch-default] - 93 | else switch (tmpstr[0]) { - | ^~~~~~ +In file included from conf.c:33: +dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 43 | void dicutil_unload_dic(); + | ^~~~ +conf.c:90:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 90 | GjitenConfig *conf_load() { + | ^~~~~~~~~ +conf.c: In function 'conf_load': +conf.c:90:15: 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] + 133 | system(kpad_cmd); /* FIXME */ + | ^~~~~~~~~~~~~~~~ +conf.c:97:16: warning: declaration of 'conf' shadows a global declaration [-Wshadow] + 97 | GjitenConfig *conf; + | ^~~~ +conf.c:37:14: note: shadowed declaration is here + 37 | GjitenConfig conf; + | ^~~~ +conf.c:153:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 153 | conf->kanjidic->path = GJITEN_DICDIR"/kanjidic"; + | ^ +conf.c:159:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 159 | 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] + 194 | void conf_save(GjitenConfig *conf) { + | ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + 37 | GjitenConfig conf; + | ^~~~ +conf.c:214:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 214 | 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] + 245 | void conf_save_history(GList *history, GjitenConfig *conf) { + | ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + 37 | GjitenConfig conf; + | ^~~~ +conf.c:252:30: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] + 252 | 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] + 262 | void conf_save_options(GjitenConfig *conf) { + | ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + 37 | GjitenConfig conf; + | ^~~~ +conf.c: At top level: +conf.c:270:10: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 270 | 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] + 280 | 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] + 290 | void conf_display_migration_info(GjitenConfig *conf, GtkWindow *parent) { + | ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + 37 | GjitenConfig conf; + | ^~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from kanjidic.h:25, + from pref.c:34: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from pref.c:30: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from kanjidic.h:25, + from kanjidic.c:37: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from kanjidic.c:31: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ +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] + 47 | typedef void (*GtkItemFactoryCallback) (); + | ^~~~~~~ In file included from pref.c:34: kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 111 | KanjiDic *kanjidic_create(); @@ -2360,59 +2645,6 @@ worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 72 | WordDic *worddic_create(); | ^~~~~~~ -kanjidic.c: In function 'print_kanjinfo': -kanjidic.c:235:8: warning: variable 'srch_resp' set but not used [-Wunused-but-set-variable] - 235 | gint srch_resp, roff, rlen; - | ^~~~~~~~~ -kanjidic.c: At top level: -kanjidic.c:274:6: warning: no previous prototype for 'klists_merge' [-Wmissing-prototypes] - 274 | 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] - 284 | if ((gunichar) ptr1->data == (gunichar) ptr2->data) { - | ^ -kanjidic.c:284:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 284 | 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] - 299 | 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] - 310 | *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] - 320 | *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] - 324 | void findk_by_stroke(int stroke, int plusmin, GList **list) { - | ^~~~~~~~~~~~~~~ -kanjidic.c:339:6: warning: no previous prototype for 'findk_by_radical' [-Wmissing-prototypes] - 339 | 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] - 349 | 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] - 358 | 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] - 365 | 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] - 375 | 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] - 383 | 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] - 390 | void set_radical_button_unsensitive(gunichar radical, GtkWidget *rad_button, gboolean sensitive) { - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ worddic.h:74:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 74 | void on_text_entered(); | ^~~~ @@ -2439,10 +2671,26 @@ gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 40 | void gjiten_exit(); | ^~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from kanjidic.h:25, + from worddic.c:41: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ In file included from pref.c:39: dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 43 | void dicutil_unload_dic(); | ^~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from worddic.c:31: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ 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] 28 | #define N_(String) (String) @@ -2615,20 +2863,16 @@ pref.c:99:6: warning: no previous prototype for 'font_set' [-Wmissing-prototypes] 99 | void font_set(GtkFontButton *fontpicker, GtkWidget *entry) { | ^~~~~~~~ -kanjidic.c:397:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 397 | 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] - 463 | 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] - 519 | 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] - 528 | g_unichar_to_utf8((gunichar) node_ptr->data, kanji_result_str); - | ^ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from kanjidic.h:25, + from conf.h:30, + from dicutil.c:33: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ pref.c:163:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 163 | static void add_dict() { | ^~~~~~~~ @@ -2637,6 +2881,12 @@ pref.c:166:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 166 | gchar *objs[] = {"dialog_add_dic", NULL}; | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from dicutil.c:25: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ pref.c: At top level: pref.c:222:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 222 | static void change_dict() { @@ -2646,52 +2896,6 @@ pref.c:228:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 228 | gchar *objs[] = {"dialog_change_dic", NULL}; | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from kanjidic.h:25, - from worddic.c:41: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - 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 worddic.c:41: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -kanjidic.c:567:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 567 | 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] - 570 | 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] - 577 | 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] - 400 | int i; - | ^ -kanjidic.c: At top level: -kanjidic.c:583:5: warning: no previous prototype for 'radical_selected' [-Wmissing-prototypes] - 583 | int radical_selected(gunichar radical) { - | ^~~~~~~~~~~~~~~~ -kanjidic.c:621:6: warning: no previous prototype for 'history_add' [-Wmissing-prototypes] - 621 | void history_add(gunichar unicharkanji) { - | ^~~~~~~~~~~ pref.c: At top level: pref.c:319:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 319 | void preferences_exit() { @@ -2710,265 +2914,20 @@ pref.c:422:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 422 | gchar *objs[] = {"gjiten_settings", NULL}; | ^~~~~~~~~~~~~~~~~ -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:22, - 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] - 659 | (gpointer) (*unichar_list_elem)); - | ^ -/usr/include/glib-2.0/gobject/gsignal.h:546:73: note: in definition of macro 'g_signal_connect_swapped' - 546 | 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] - 675 | 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] - 691 | 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] - 714 | 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] - 725 | 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] - 14 | #define GJITEN_DATADIR "/usr/share/gjiten" - | ^~~~~~~~~~~~~~~~~~~ -constants.h:10:23: note: in expansion of macro 'GJITEN_DATADIR' - 10 | #define RADKFILE_NAME GJITEN_DATADIR"/radkfile.utf8" - | ^~~~~~~~~~~~~~ -kanjidic.c:729:26: note: in expansion of macro 'RADKFILE_NAME' - 729 | gchar *radkfile_name = RADKFILE_NAME; - | ^~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from kanjidic.h:25, - from conf.h:30, - from dicutil.c:33: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/pango-1.0/pango/pango-coverage.h:25, - from /usr/include/pango-1.0/pango/pango-font.h:25, - from conf.h:28, - from dicutil.c:33: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -kanjidic.c:792:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 792 | 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] - 802 | 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] - 806 | 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] - 816 | 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:22, - 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, +In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, 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] - 882 | (gpointer)(rad_info->radical)); - | ^ -/usr/include/glib-2.0/gobject/gsignal.h:546:73: note: in definition of macro 'g_signal_connect_swapped' - 546 | 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] - 889 | 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] - 897 | 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] - 913 | 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] - 927 | 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] - 969 | 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] - 1000 | 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] - 1003 | 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] - 1008 | 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] - 1026 | GtkWidget *tmpimage; - | ^~~~~~~~ -kanjidic.c:1016:14: warning: unused variable 'button_searchk' [-Wunused-variable] - 1016 | GtkWidget *button_searchk; - | ^~~~~~~~~~~~~~ -kanjidic.c:1015:14: warning: unused variable 'button_worddic' [-Wunused-variable] - 1015 | GtkWidget *button_worddic; - | ^~~~~~~~~~~~~~ -kanjidic.c:1014:14: warning: unused variable 'button_kanjipad' [-Wunused-variable] - 1014 | GtkWidget *button_kanjipad; - | ^~~~~~~~~~~~~~~ -kanjidic.c:1013:14: warning: unused variable 'button_closek' [-Wunused-variable] - 1013 | GtkWidget *button_closek; - | ^~~~~~~~~~~~~ -kanjidic.c:1012:14: warning: unused variable 'toolbar_kanji' [-Wunused-variable] - 1012 | GtkWidget *toolbar_kanji; - | ^~~~~~~~~~~~~ -kanjidic.c: In function 'do_kdicline': -kanjidic.c:114:9: warning: this statement may fall through [-Wimplicit-fallthrough=] - 114 | if (tmpstr[1] == '2') { - | ^ -kanjidic.c:126:5: note: here - 126 | case '{': // english meaning - | ^~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from gjiten.c:30: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from gjiten.c:29: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from kanjidic.h:25, - from conf.h:30, - from dicutil.c:33: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from dicutil.c:25: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from kanjidic.h:25, - from conf.h:30, - from conf.c:29: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from conf.c:27: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -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] 47 | typedef void (*GtkItemFactoryCallback) (); | ^~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from kanjidic.h:25, - from worddic.c:41: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from worddic.c:31: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -In file included from gjiten.c:38: -error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 37 | void gjiten_flush_errors(); - | ^~~~ -In file included from conf.h:30, - from gjiten.c:40: +In file included from kanjidic.c:37: kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 111 | KanjiDic *kanjidic_create(); | ^~~~~~~~ kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 113 | void kanjidic_apply_fonts(); | ^~~~ -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] - 47 | typedef void (*GtkItemFactoryCallback) (); - | ^~~~~~~ -In file included from gjiten.c:40: +In file included from kanjidic.c:38: conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 79 | GjitenConfig *conf_load(); | ^~~~~~~~~~~~ @@ -2978,7 +2937,11 @@ conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 84 | void conf_close_handler(); | ^~~~ -In file included from gjiten.c:42: +In file included from kanjidic.c:40: +dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 43 | void dicutil_unload_dic(); + | ^~~~ +In file included from kanjidic.c:41: worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 72 | WordDic *worddic_create(); | ^~~~~~~ @@ -2991,7 +2954,7 @@ worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 76 | void worddic_apply_fonts(); | ^~~~ -In file included from gjiten.c:44: +In file included from kanjidic.c:42: gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | void gjiten_start_kanjipad(); | ^~~~ @@ -3004,311 +2967,136 @@ gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 40 | void gjiten_exit(); | ^~~~ -In file included from gjiten.c:45: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 43 | void dicutil_unload_dic(); - | ^~~~ -gjiten.c:54:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 54 | gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", - | ^~~~~~~ -gjiten.c:54:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 54 | gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", - | ^~~~~~~~~ -gjiten.c:54:47: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 54 | gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", - | ^~~~~~~~~ -gjiten.c:54:58: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 54 | gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", - | ^~~~~~~~~ -gjiten.c:54:69: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 54 | gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", - | ^~~~~~~~ -gjiten.c:55:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", - | ^~~~~~~~ -gjiten.c:55:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", - | ^~~~~~~~~ -gjiten.c:55:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", - | ^~~~~~~ -gjiten.c:55:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", - | ^~~~~~~~~ -gjiten.c:55:55: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", - | ^~~~~~ -gjiten.c:55:63: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 55 | "pinyin", "english", "bushu", "classic", "freq", "jouyou", - | ^~~~~~~~ -gjiten.c:56:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - | ^~~~~~~ -gjiten.c:56:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - | ^~~~~~ -gjiten.c:56:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - | ^~~~~~~ -gjiten.c:56:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - | ^~~~~~~~ -gjiten.c:56:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - | ^~~~~~~~ -gjiten.c:56:60: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 56 | "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - | ^~~~~~~~ -gjiten.c:57:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 57 | "iindex", "mnindex", "mpindex", "eindex", "kindex", - | ^~~~~~~~ -gjiten.c:57:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 57 | "iindex", "mnindex", "mpindex", "eindex", "kindex", - | ^~~~~~~~~ -gjiten.c:57:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 57 | "iindex", "mnindex", "mpindex", "eindex", "kindex", - | ^~~~~~~~~ -gjiten.c:57:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 57 | "iindex", "mnindex", "mpindex", "eindex", "kindex", - | ^~~~~~~~ -gjiten.c:57:56: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 57 | "iindex", "mnindex", "mpindex", "eindex", "kindex", - | ^~~~~~~~ -gjiten.c:58:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - | ^~~~~~~~ -gjiten.c:58:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - | ^~~~~~~~ -gjiten.c:58:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - | ^~~~~~ -gjiten.c:58:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - | ^~~~~~~ -gjiten.c:58:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - | ^~~~~~~~~ -In file included from conf.h:30, - from dicutil.c:33: -kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 111 | KanjiDic *kanjidic_create(); - | ^~~~~~~~ -gjiten.c:58:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 58 | "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - | ^~~~~~~~~~ -kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 113 | void kanjidic_apply_fonts(); - | ^~~~ -In file included from dicutil.c:33: -conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 79 | GjitenConfig *conf_load(); - | ^~~~~~~~~~~~ -conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 83 | gboolean conf_init_handler(); - | ^~~~~~~~ -conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 84 | void conf_close_handler(); - | ^~~~ -In file included from dicutil.c:34: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 43 | void dicutil_unload_dic(); +In file included from kanjidic.c:43: +pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 27 | void create_dialog_preferences(); | ^~~~ -gjiten.c:104:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 104 | void gjiten_exit() { - | ^~~~~~~~~~~ -gjiten.c: In function 'gjiten_exit': -gjiten.c:104:6: warning: old-style function definition [-Wold-style-definition] -In file included from dicutil.c:35: +In file included from kanjidic.c:45: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | void gjiten_flush_errors(); | ^~~~ -gjiten.c: At top level: -gjiten.c:115:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 115 | void gjiten_start_kanjipad() { - | ^~~~~~~~~~~~~~~~~~~~~ -gjiten.c: In function 'gjiten_start_kanjipad': -gjiten.c:115:6: warning: old-style function definition [-Wold-style-definition] -dicutil.c:88:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 88 | 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] - 154 | *res_index = (guint32)linestart; - | ^ -gjiten.c: At top level: -gjiten.c:138:6: warning: no previous prototype for 'gjiten_display_manual' [-Wmissing-prototypes] - 138 | void gjiten_display_manual(GtkWidget *widget, void *data) { - | ^~~~~~~~~~~~~~~~~~~~~ -gjiten.c:167:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 167 | void gjiten_create_about() { - | ^~~~~~~~~~~~~~~~~~~ -gjiten.c: In function 'gjiten_create_about': -gjiten.c:167:6: warning: old-style function definition [-Wold-style-definition] -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] - 148 | #define PIXMAPDIR "/usr/share/pixmaps" - | ^~~~~~~~~~~~~~~~~~~~ -gjiten.c:210:21: note: in expansion of macro 'PIXMAPDIR' - 210 | char *icon_path = PIXMAPDIR"/jiten.png"; - | ^~~~~~~~~ -gjiten.c:217:52: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 217 | if (gjitenApp->conf->gdk_use_xft == TRUE) putenv("GDK_USE_XFT=1"); - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/gutils.h:433, - from /usr/include/glib-2.0/glib/gthread.h:34, - from /usr/include/glib-2.0/glib/gasyncqueue.h:32, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from gjiten.c:29: -/usr/include/stdlib.h:647:26: note: expected 'char *' but argument is of type 'const char *' - 647 | extern int putenv (char *__string) __THROW __nonnull ((1)); - | ~~~~~~^~~~~~~~ -gjiten.c:218:15: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 218 | else putenv("GDK_USE_XFT=0"); - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/gutils.h:433, - from /usr/include/glib-2.0/glib/gthread.h:34, - from /usr/include/glib-2.0/glib/gasyncqueue.h:32, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from gjiten.c:29: -/usr/include/stdlib.h:647:26: note: expected 'char *' but argument is of type 'const char *' - 647 | extern int putenv (char *__string) __THROW __nonnull ((1)); - | ~~~~~~^~~~~~~~ -gjiten.c:220:52: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 220 | if (gjitenApp->conf->force_ja_JP == TRUE) putenv("LC_ALL=ja_JP"); - | ^~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/gutils.h:433, - from /usr/include/glib-2.0/glib/gthread.h:34, - from /usr/include/glib-2.0/glib/gasyncqueue.h:32, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from gjiten.c:29: -/usr/include/stdlib.h:647:26: note: expected 'char *' but argument is of type 'const char *' - 647 | extern int putenv (char *__string) __THROW __nonnull ((1)); - | ~~~~~~^~~~~~~~ -gjiten.c:221:57: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 221 | if (gjitenApp->conf->force_language_c == TRUE) putenv("LANGUAGE=C"); - | ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/gutils.h:433, - from /usr/include/glib-2.0/glib/gthread.h:34, - from /usr/include/glib-2.0/glib/gasyncqueue.h:32, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from gjiten.c:29: -/usr/include/stdlib.h:647:26: note: expected 'char *' but argument is of type 'const char *' - 647 | extern int putenv (char *__string) __THROW __nonnull ((1)); - | ~~~~~~^~~~~~~~ -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] - 133 | system(kpad_cmd); /* FIXME */ - | ^~~~~~~~~~~~~~~~ +In file included from kanjidic.c:46: +radical-convtable.h:11:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 11 | { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:11:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 11 | { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:13:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 13 | { "\xE5\x88\x88", "\xE5\x88\x82" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:13:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 13 | { "\xE5\x88\x88", "\xE5\x88\x82" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:14:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 14 | { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:14:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 14 | { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:16:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 16 | { "\xE5\xBF\x99", "\xE5\xBF\x84" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:16:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 16 | { "\xE5\xBF\x99", "\xE5\xBF\x84" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:17:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 17 | { "\xE6\x89\x8E", "\xE6\x89\x8C" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:17:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 17 | { "\xE6\x89\x8E", "\xE6\x89\x8C" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:18:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 18 | { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:18:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 18 | { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:19:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 19 | { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:19:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 19 | { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:20:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 20 | { "\xE8\x89\xBE", "\xE8\x89\xB9" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:20:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 20 | { "\xE8\x89\xBE", "\xE8\x89\xB9" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:22:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 22 | { "\xE9\x98\xA1", "\xE9\x98\x9D" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:22:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 22 | { "\xE9\x98\xA1", "\xE9\x98\x9D" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:24:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 24 | { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:24:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 24 | { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:25:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 25 | { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:25:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 25 | { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:27:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 27 | { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:27:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 27 | { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, + | ^~~~~~~~~~~~~~ +radical-convtable.h:30:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 30 | { "\x30", "\x30" }, + | ^~~~~~ +radical-convtable.h:30:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 30 | { "\x30", "\x30" }, + | ^~~~~~ +kanjidic.c:51:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 51 | static void kanjidic_close(); + | ^~~~~~ +kanjidic.c:67:6: warning: no previous prototype for 'do_kdicline' [-Wmissing-prototypes] + 67 | void do_kdicline(gchar *kstr) { + | ^~~~~~~~~~~ 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: + from worddic.c:41: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 47 | typedef void (*GtkItemFactoryCallback) (); | ^~~~~~~ -In file included from conf.h:30, - from conf.c:29: -kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 111 | KanjiDic *kanjidic_create(); - | ^~~~~~~~ -kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 113 | void kanjidic_apply_fonts(); - | ^~~~ -In file included from conf.c:29: -conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 79 | GjitenConfig *conf_load(); - | ^~~~~~~~~~~~ -conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 83 | gboolean conf_init_handler(); - | ^~~~~~~~ -conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 84 | void conf_close_handler(); - | ^~~~ -In file included from conf.c:32: -error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 37 | void gjiten_flush_errors(); - | ^~~~ -In file included from conf.c:33: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 43 | void dicutil_unload_dic(); - | ^~~~ -conf.c:90:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 90 | 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] - 97 | GjitenConfig *conf; - | ^~~~ -conf.c:37:14: note: shadowed declaration is here - 37 | GjitenConfig conf; - | ^~~~ -conf.c:153:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 153 | conf->kanjidic->path = GJITEN_DICDIR"/kanjidic"; - | ^ -conf.c:159:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 159 | 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] - 194 | void conf_save(GjitenConfig *conf) { - | ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - 37 | GjitenConfig conf; - | ^~~~ -conf.c:214:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 214 | 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] - 245 | void conf_save_history(GList *history, GjitenConfig *conf) { - | ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - 37 | GjitenConfig conf; - | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from kanjidic.h:25, - from worddic.c:41: + 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] 47 | typedef void (*GtkItemFactoryCallback) (); | ^~~~~~~ -conf.c:252:30: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] - 252 | 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] - 262 | void conf_save_options(GjitenConfig *conf) { - | ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - 37 | GjitenConfig conf; - | ^~~~ -conf.c: At top level: -conf.c:270:10: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 270 | 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] - 280 | 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] - 290 | void conf_display_migration_info(GjitenConfig *conf, GtkWindow *parent) { - | ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - 37 | GjitenConfig conf; - | ^~~~ +kanjidic.c: In function 'do_kdicline': +kanjidic.c:93:10: warning: switch missing default case [-Wswitch-default] + 93 | 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] + 235 | gint srch_resp, roff, rlen; + | ^~~~~~~~~ +kanjidic.c: At top level: +kanjidic.c:274:6: warning: no previous prototype for 'klists_merge' [-Wmissing-prototypes] + 274 | 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] + 284 | if ((gunichar) ptr1->data == (gunichar) ptr2->data) { + | ^ +kanjidic.c:284:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 284 | 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] + 299 | void findk_by_key(gchar *srchkey, GList **list) { + | ^~~~~~~~~~~~ +kanjidic.c: In function 'findk_by_key': In file included from worddic.c:41: kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 111 | KanjiDic *kanjidic_create(); @@ -3316,6 +3104,16 @@ kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 113 | void kanjidic_apply_fonts(); | ^~~~ +kanjidic.c:310:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 310 | *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] + 320 | *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] + 324 | void findk_by_stroke(int stroke, int plusmin, GList **list) { + | ^~~~~~~~~~~~~~~ In file included from worddic.c:42: conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 79 | GjitenConfig *conf_load(); @@ -3326,10 +3124,17 @@ conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 84 | void conf_close_handler(); | ^~~~ +kanjidic.c:339:6: warning: no previous prototype for 'findk_by_radical' [-Wmissing-prototypes] + 339 | void findk_by_radical(gchar *radstrg) { + | ^~~~~~~~~~~~~~~~ +kanjidic.c: In function 'findk_by_radical': In file included from worddic.c:44: worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 72 | WordDic *worddic_create(); | ^~~~~~~ +kanjidic.c:349:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 349 | rad_info = g_hash_table_lookup(kanjiDic->rad_info_hash, (gpointer) g_utf8_get_char(radstr_ptr)); + | ^ worddic.h:74:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 74 | void on_text_entered(); | ^~~~ @@ -3343,6 +3148,9 @@ gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | void gjiten_start_kanjipad(); | ^~~~ +kanjidic.c:358:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 358 | klinklist = g_list_prepend(klinklist, (gpointer) ((KanjiInfo *) kanji_info_list->data)->kanji); + | ^ gjiten.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 38 | void gjiten_create_about(); | ^~~~ @@ -3352,6 +3160,9 @@ gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 40 | void gjiten_exit(); | ^~~~ +kanjidic.c:365:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 365 | rad_info = g_hash_table_lookup(kanjiDic->rad_info_hash, (gpointer) g_utf8_get_char(radstr_ptr)); + | ^ In file included from worddic.c:47: dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 43 | void dicutil_unload_dic(); @@ -3360,60 +3171,201 @@ pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 27 | void create_dialog_preferences(); | ^~~~ +kanjidic.c:375:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 375 | tmpklinklist = g_list_prepend(tmpklinklist, (gpointer) ((KanjiInfo *) kanji_info_list->data)->kanji); + | ^ +In file included from conf.h:30, + from dicutil.c:33: +kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 111 | KanjiDic *kanjidic_create(); + | ^~~~~~~~ In file included from worddic.c:50: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 37 | void gjiten_flush_errors(); | ^~~~ +kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 113 | void kanjidic_apply_fonts(); + | ^~~~ +kanjidic.c: At top level: worddic.c:52:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 52 | void worddic_copy(); | ^~~~ +kanjidic.c:383:6: warning: no previous prototype for 'set_radical_button_sensitive' [-Wmissing-prototypes] + 383 | void set_radical_button_sensitive(gpointer radical, RadInfo *rad_info, gpointer user_data) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ worddic.c:54:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 54 | static void worddic_close(); | ^~~~~~ worddic.c:55:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 55 | void worddic_destroy_window(); | ^~~~ +In file included from dicutil.c:33: +conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 79 | GjitenConfig *conf_load(); + | ^~~~~~~~~~~~ +conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 83 | gboolean conf_init_handler(); + | ^~~~~~~~ worddic.c:74:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 74 | void worddic_copy() { | ^~~~~~~~~~~~ +conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 84 | void conf_close_handler(); + | ^~~~ worddic.c: In function 'worddic_copy': worddic.c:74:6: warning: old-style function definition [-Wold-style-definition] +kanjidic.c:390:6: warning: no previous prototype for 'set_radical_button_unsensitive' [-Wmissing-prototypes] + 390 | void set_radical_button_unsensitive(gunichar radical, GtkWidget *rad_button, gboolean sensitive) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from dicutil.c:34: +dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 43 | void dicutil_unload_dic(); + | ^~~~ +In file included from dicutil.c:35: +error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 37 | void gjiten_flush_errors(); + | ^~~~ +kanjidic.c:397:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 397 | 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:96:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 96 | static void Verbinit() { | ^~~~~~~~ worddic.c: In function 'Verbinit': worddic.c:96:13: warning: old-style function definition [-Wold-style-definition] +dicutil.c:88:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 88 | 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] + 154 | *res_index = (guint32)linestart; + | ^ worddic.c:150:5: warning: switch missing default case [-Wswitch-default] 150 | switch (vinfl_part) { | ^~~~~~ +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] + 463 | 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] + 519 | 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] + 528 | g_unichar_to_utf8((gunichar) node_ptr->data, kanji_result_str); + | ^ worddic.c: In function 'print_verb_inflections': worddic.c:225:24: warning: variable 'prevresult' set but not used [-Wunused-but-set-variable] 225 | gchar *deinflected, *prevresult; | ^~~~~~~~~~ +kanjidic.c:567:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 567 | 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] + 570 | 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] + 577 | 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] + 400 | int i; + | ^ worddic.c: In function 'print_result': +kanjidic.c: At top level: worddic.c:298:9: warning: variable 'strlen_to_roff' set but not used [-Wunused-but-set-variable] 298 | glong strlen_to_roff; | ^~~~~~~~~~~~~~ +kanjidic.c:583:5: warning: no previous prototype for 'radical_selected' [-Wmissing-prototypes] + 583 | int radical_selected(gunichar radical) { + | ^~~~~~~~~~~~~~~~ +kanjidic.c:621:6: warning: no previous prototype for 'history_add' [-Wmissing-prototypes] + 621 | void history_add(gunichar unicharkanji) { + | ^~~~~~~~~~~ worddic.c: In function 'search_in_dicfile': worddic.c:433:7: warning: switch missing default case [-Wswitch-default] 433 | switch (match_criteria) { | ^~~~~~ +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:22, + 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] + 659 | (gpointer) (*unichar_list_elem)); + | ^ +/usr/include/glib-2.0/gobject/gsignal.h:546:73: note: in definition of macro 'g_signal_connect_swapped' + 546 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_SWAPPED) + | ^~~~ worddic.c:449:7: warning: switch missing default case [-Wswitch-default] 449 | switch (match_criteria) { | ^~~~~~ +kanjidic.c: At top level: worddic.c: At top level: +kanjidic.c:675:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 675 | static void radical_window_close() { + | ^~~~~~~~~~~~~~~~~~~~ +kanjidic.c: In function 'radical_window_close': +kanjidic.c:675:13: warning: old-style function definition [-Wold-style-definition] worddic.c:498:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] 498 | 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: In function 'get_rad_of_kanji': +kanjidic.c:691:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 691 | 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] + 714 | 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] + 725 | 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] + 14 | #define GJITEN_DATADIR "/usr/share/gjiten" + | ^~~~~~~~~~~~~~~~~~~ +constants.h:10:23: note: in expansion of macro 'GJITEN_DATADIR' + 10 | #define RADKFILE_NAME GJITEN_DATADIR"/radkfile.utf8" + | ^~~~~~~~~~~~~~ +kanjidic.c:729:26: note: in expansion of macro 'RADKFILE_NAME' + 729 | gchar *radkfile_name = RADKFILE_NAME; + | ^~~~~~~~~~~~~ worddic.c: At top level: +kanjidic.c:792:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 792 | g_hash_table_insert(kanjiDic->rad_info_hash, (gpointer) rad_info->radical, rad_info); + | ^ worddic.c:604:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 604 | 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:802:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 802 | 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] + 806 | 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] + 816 | static GtkWidget *create_window_radicals () { + | ^~~~~~~~~~~~~~~~~~~~~~ +kanjidic.c: In function 'create_window_radicals': +kanjidic.c:816:19: warning: old-style function definition [-Wold-style-definition] worddic.c: At top level: worddic.c:652:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 652 | static void on_forward_clicked() { @@ -3433,29 +3385,67 @@ worddic.c: In function 'checkb_searchlimit_toggled': worddic.c:672:13: warning: old-style function definition [-Wold-style-definition] worddic.c: At top level: +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:22, + 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] + 882 | (gpointer)(rad_info->radical)); + | ^ +/usr/include/glib-2.0/gobject/gsignal.h:546:73: note: in definition of macro 'g_signal_connect_swapped' + 546 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_SWAPPED) + | ^~~~ worddic.c:679:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 679 | static void shade_worddic_widgets() { | ^~~~~~~~~~~~~~~~~~~~~ worddic.c: In function 'shade_worddic_widgets': worddic.c:679:13: warning: old-style function definition [-Wold-style-definition] +kanjidic.c:889:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 889 | g_hash_table_insert(kanjiDic->rad_button_hash, (gpointer) rad_info->radical, tmpwidget); + | ^ worddic.c: At top level: +kanjidic.c: At top level: worddic.c:688:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 688 | static void get_searchlimit() { | ^~~~~~~~~~~~~~~ worddic.c: In function 'get_searchlimit': worddic.c:688:13: warning: old-style function definition [-Wold-style-definition] +kanjidic.c:897:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 897 | 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] + 913 | void shade_kanjidic_widgets() { + | ^~~~~~~~~~~~~~~~~~~~~~ +kanjidic.c: In function 'shade_kanjidic_widgets': +kanjidic.c:913:6: warning: old-style function definition [-Wold-style-definition] worddic.c: At top level: worddic.c:705:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 705 | 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: At top level: worddic.c: At top level: worddic.c:716:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 716 | void worddic_destroy_window() { | ^~~~~~~~~~~~~~~~~~~~~~ +kanjidic.c:927:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 927 | void history_init() { + | ^~~~~~~~~~~~ worddic.c: In function 'worddic_destroy_window': worddic.c:716:6: warning: old-style function definition [-Wold-style-definition] +kanjidic.c: In function 'history_init': +kanjidic.c:927:6: warning: old-style function definition [-Wold-style-definition] worddic.c: At top level: worddic.c:722:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] 722 | static void worddic_close() { @@ -3468,24 +3458,62 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~ worddic.c: In function 'worddic_show_hide_options': worddic.c:738:13: warning: old-style function definition [-Wold-style-definition] +kanjidic.c: At top level: worddic.c: At top level: +kanjidic.c:969:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 969 | void kanjidic_apply_fonts() { + | ^~~~~~~~~~~~~~~~~~~~ +kanjidic.c: In function 'kanjidic_apply_fonts': +kanjidic.c:969:6: warning: old-style function definition [-Wold-style-definition] worddic.c:746:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 746 | void worddic_update_dic_menu() { | ^~~~~~~~~~~~~~~~~~~~~~~ worddic.c: In function 'worddic_update_dic_menu': worddic.c:746:6: warning: old-style function definition [-Wold-style-definition] worddic.c: At top level: +kanjidic.c: At top level: worddic.c:780:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] 780 | 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:1000:6: warning: no previous prototype for 'clear_radical_entry_box' [-Wmissing-prototypes] + 1000 | 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] + 1003 | 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] + 1008 | KanjiDic *kanjidic_create() { + | ^~~~~~~~~~~~~~~ +kanjidic.c: In function 'kanjidic_create': +kanjidic.c:1008:11: warning: old-style function definition [-Wold-style-definition] worddic.c: At top level: worddic.c:870:10: warning: function declaration isn't a prototype [-Wstrict-prototypes] 870 | WordDic *worddic_create() { | ^~~~~~~~~~~~~~ worddic.c: In function 'worddic_create': worddic.c:870:10: warning: old-style function definition [-Wold-style-definition] +kanjidic.c:1026:14: warning: unused variable 'tmpimage' [-Wunused-variable] + 1026 | GtkWidget *tmpimage; + | ^~~~~~~~ +kanjidic.c:1016:14: warning: unused variable 'button_searchk' [-Wunused-variable] + 1016 | GtkWidget *button_searchk; + | ^~~~~~~~~~~~~~ +kanjidic.c:1015:14: warning: unused variable 'button_worddic' [-Wunused-variable] + 1015 | GtkWidget *button_worddic; + | ^~~~~~~~~~~~~~ +kanjidic.c:1014:14: warning: unused variable 'button_kanjipad' [-Wunused-variable] + 1014 | GtkWidget *button_kanjipad; + | ^~~~~~~~~~~~~~~ +kanjidic.c:1013:14: warning: unused variable 'button_closek' [-Wunused-variable] + 1013 | GtkWidget *button_closek; + | ^~~~~~~~~~~~~ +kanjidic.c:1012:14: warning: unused variable 'toolbar_kanji' [-Wunused-variable] + 1012 | GtkWidget *toolbar_kanji; + | ^~~~~~~~~~~~~ worddic.c:878:14: warning: variable 'button_srch' set but not used [-Wunused-but-set-variable] 878 | GtkWidget *button_srch; | ^~~~~~~~~~~ @@ -3495,6 +3523,28 @@ worddic.c:875:14: warning: variable 'button_kanjipad' set but not used [-Wunused-but-set-variable] 875 | GtkWidget *button_kanjipad; | ^~~~~~~~~~~~~~~ +kanjidic.c: In function 'do_kdicline': +kanjidic.c:114:9: warning: this statement may fall through [-Wimplicit-fallthrough=] + 114 | if (tmpstr[1] == '2') { + | ^ +kanjidic.c:126:5: note: here + 126 | case '{': // english meaning + | ^~~~ +In file included from /usr/include/string.h:495, + from /usr/include/glib-2.0/glib/gslice.h:26, + from /usr/include/glib-2.0/glib.h:79, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from worddic.c:31: +In function 'strncpy', + inlined from 'print_verb_inflections' at worddic.c:241:7, + inlined from 'search_in_dicfile' at worddic.c:396:51: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +worddic.c: In function 'search_in_dicfile': +worddic.c:241:38: note: length computed here + 241 | strncpy(deinflected, srchstrg, strlen(srchstrg) - strlen(tmp_vinfl_struct->conj)); + | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from kanjidic.c:30: In function 'strncat', @@ -3517,21 +3567,12 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output may be truncated copying between 0 and 499 bytes from a string of length 499 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from /usr/include/glib-2.0/glib/gslice.h:26, - from /usr/include/glib-2.0/glib.h:79, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from worddic.c:31: -In function 'strncpy', - inlined from 'print_verb_inflections' at worddic.c:241:7, - inlined from 'search_in_dicfile' at worddic.c:396:51: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -worddic.c: In function 'search_in_dicfile': -worddic.c:241:38: note: length computed here - 241 | strncpy(deinflected, srchstrg, strlen(srchstrg) - strlen(tmp_vinfl_struct->conj)); - | ^~~~~~~~~~~~~~~~ +worddic.c: In function 'on_forward_clicked': +worddic.c:654:109: warning: potential null pointer dereference [-Wnull-dereference] + 654 | 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] + 662 | current_glist_word = (gchar*) g_list_next(g_list_find(wordDic->combo_entry_glist, current_glist_word))->data; In function 'strncat', inlined from 'radical_selected' at kanjidic.c:605:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output may be truncated copying 5 bytes from a string of length 5 [-Wstringop-truncation] @@ -3542,13 +3583,7 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output may be truncated copying 5 bytes from a string of length 5 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -worddic.c: In function 'on_forward_clicked': -worddic.c:654:109: warning: potential null pointer dereference [-Wnull-dereference] - 654 | 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] - 662 | 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/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -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 -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -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 -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -fdebug-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 -lharfbuzz -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/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -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 -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -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 -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -fdebug-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 -lharfbuzz -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/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -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 -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -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 -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -fdebug-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 -lharfbuzz -lfontconfig -lfreetype -lgmodule-2.0 -lglib-2.0 -pthread make[3]: Leaving directory '/build/gjiten-2.6/src' Making all in data @@ -3563,7 +3598,7 @@ scrollkeeper-preinstall /usr/share/gnome/help/gjiten/C/gjiten.xml ./$file $file.out; \ done xmlto txt gjiten.xml -/bin/bash: line 2: scrollkeeper-preinstall: command not found +/bin/sh: line 2: scrollkeeper-preinstall: command not found make[4]: [Makefile:567: omf_timestamp] Error 127 (ignored) touch omf_timestamp mv gjiten.txt ../../README @@ -3604,7 +3639,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' @@ -3660,7 +3695,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' @@ -3688,13 +3723,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; \ @@ -3702,13 +3737,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: line 1: scrollkeeper-update: command not found +make[5]: scrollkeeper-update: No such file or directory 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' @@ -3772,9 +3807,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' @@ -3812,8 +3847,8 @@ dh_link dh_strip_nondeterminism Normalized debian/gjiten/usr/share/locale/de_CH/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 + Normalized debian/gjiten/usr/share/locale/ja/LC_MESSAGES/gjiten.mo dh_compress dh_fixperms dh_missing @@ -3824,8 +3859,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'gjiten-dbgsym' in '../gjiten-dbgsym_2.6-3.1_amd64.deb'. dpkg-deb: building package 'gjiten' in '../gjiten_2.6-3.1_amd64.deb'. +dpkg-deb: building package 'gjiten-dbgsym' in '../gjiten-dbgsym_2.6-3.1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../gjiten_2.6-3.1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3833,12 +3868,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/2177402/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2177402/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/1268980 and its subdirectories -I: Current time: Sun Feb 26 09:16:00 -12 2023 -I: pbuilder-time-stamp: 1677446160 +I: removing directory /srv/workspace/pbuilder/2177402 and its subdirectories +I: Current time: Tue Jan 25 04:55:09 +14 2022 +I: pbuilder-time-stamp: 1643036109