Diff of the two buildlogs: -- --- b1/build.log 2021-07-24 13:09:13.514845371 +0000 +++ b2/build.log 2021-07-24 13:09:38.929879806 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jul 24 01:06:01 -12 2021 -I: pbuilder-time-stamp: 1627131961 +I: Current time: Sat Aug 27 09:32:14 +14 2022 +I: pbuilder-time-stamp: 1661542334 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./vilistextum_2.6.9-1.3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.QHze6boC/trustedkeys.kbx': General error -gpgv: Signature made Sat Jan 9 07:14:04 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.zRz9Ny1U/trustedkeys.kbx': General error +gpgv: Signature made Sun Jan 10 09:14:04 2021 +14 gpgv: using RSA key 7E7729476D87D6F11D91ACCBC293E7B461825ACE gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./vilistextum_2.6.9-1.3.dsc @@ -30,137 +30,171 @@ dpkg-source: info: applying gcc-10.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4977/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/29067/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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/29067/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/29067/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-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=i386 + 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=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='2e622e6d8a0448399e77329792d724fe' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='4977' - PS1='# ' - PS2='> ' + INVOCATION_ID=2188d8da0ed64e67ae06928288ff7b32 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=29067 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.IGMBYieKmU/pbuilderrc_hsYD --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.IGMBYieKmU/b1 --logfile b1/build.log vilistextum_2.6.9-1.3.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.IGMBYieKmU/pbuilderrc_eLt6 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.IGMBYieKmU/b2 --logfile b2/build.log --extrapackages usrmerge vilistextum_2.6.9-1.3.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 4.19.0-17-686-pae #1 SMP Debian 4.19.194-3 (2021-07-18) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux I: ls -l /bin total 5776 - -rwxr-xr-x 1 root root 1367848 Jun 21 14:25 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 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 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 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 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 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 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:25 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 23 21:25 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/4977/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1367848 Jun 22 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 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 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 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 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 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 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 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 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 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 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 27 09:32 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 26 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 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/29067/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -227,7 +261,7 @@ Get: 29 http://deb.debian.org/debian bullseye/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main i386 debhelper all 13.3.4 [1049 kB] -Fetched 18.6 MB in 4s (4859 kB/s) +Fetched 18.6 MB in 0s (78.7 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 ... 19675 files and directories currently installed.) @@ -370,9 +404,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (2290 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 21551 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/vilistextum-2.6.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/vilistextum-2.6.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package vilistextum dpkg-buildpackage: info: source version 2.6.9-1.3 dpkg-buildpackage: info: source distribution unstable @@ -397,7 +463,7 @@ ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -416,8 +482,8 @@ checking dependency style of gcc... none checking for kaptain... no checking how to run the C preprocessor... gcc -E -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes @@ -447,7 +513,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j8 + make -j15 make[1]: Entering directory '/build/vilistextum-2.6.9' make all-recursive make[2]: Entering directory '/build/vilistextum-2.6.9' @@ -461,9 +527,893 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -fdebug-prefix-map=/build/vilistextum-2.6.9=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -c -o microsoft.o microsoft.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -fdebug-prefix-map=/build/vilistextum-2.6.9=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -c -o text.o text.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -fdebug-prefix-map=/build/vilistextum-2.6.9=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -c -o fileio.o fileio.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -fdebug-prefix-map=/build/vilistextum-2.6.9=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -c -o main.o main.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -fdebug-prefix-map=/build/vilistextum-2.6.9=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -c -o util.o util.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -fdebug-prefix-map=/build/vilistextum-2.6.9=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -c -o unicode_entities.o unicode_entities.c +In file included from html.h:5, + from lists.c:16: +lists.c: In function 'check_style': +lists.c:33:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 33 | if CMP("TYPE", attr_name) + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from lists.c:14: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from html.h:5, + from lists.c:16: +lists.c:35:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 35 | if CMP("disc", attr_ctnt) { return '*'; } + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from lists.c:14: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from html.h:5, + from lists.c:16: +lists.c:36:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 36 | if CMP("square", attr_ctnt) { return '+'; } + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from lists.c:14: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from html.h:5, + from lists.c:16: +lists.c:37:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 37 | if CMP("circle", attr_ctnt) { return 'o'; } + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from lists.c:14: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c: In function 'microsoft_entities': +microsoft.c:28:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 28 | else if (number==128) { CPYSL(s, "EUR"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:29:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 29 | else if CMP("€", s) { CPYSL(s, "EUR"); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:29:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 29 | else if CMP("€", s) { CPYSL(s, "EUR"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:30:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 30 | else if (number==8364) { CPYSL(s, "EUR"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:34:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 34 | else if CMP("‚", s) { set_char(s, ','); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:38:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 38 | else if CMP("ƒ", s) { set_char(s, 'f'); } /* Latin Small Letter F With Hook */ + | ^ + | | + | unsigned char * +microsoft.c:38:11: note: in expansion of macro 'CMP' + 38 | else if CMP("ƒ", s) { set_char(s, 'f'); } /* Latin Small Letter F With Hook */ + | ^~~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:42:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 42 | else if (number==132) { CPYSL(s, "\""); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:43:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 43 | else if CMP("„", s) { CPYSL(s, "\""); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:43:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 43 | else if CMP("„", s) { CPYSL(s, "\""); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:44:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 44 | else if (number==8222) { CPYSL(s, "\""); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:46:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 46 | else if (number==133) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:47:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 47 | else if CMP("…", s) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:47:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 47 | else if CMP("…", s) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:48:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 48 | else if (number==8230) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:51:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 51 | else if (number==134) { CPYSL(s, "/-"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:52:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 52 | else if CMP("†", s) { CPYSL(s, "/-"); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:52:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 52 | else if CMP("†", s) { CPYSL(s, "/-"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:53:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 53 | else if (number==8224) { CPYSL(s, "/-"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:56:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 56 | else if (number==135) { CPYSL(s, "/="); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:57:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 57 | else if CMP("‡", s) { CPYSL(s, "/="); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:57:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 57 | else if CMP("‡", s) { CPYSL(s, "/="); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:58:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 58 | else if (number==8225) { CPYSL(s, "/="); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:62:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 62 | else if CMP("ˆ", s) { set_char(s, '^'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:66:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 66 | else if (number==137) { CPYSL(s, "0/00"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:67:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 67 | else if CMP("‰", s) { CPYSL(s, "0/00"); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:67:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 67 | else if CMP("‰", s) { CPYSL(s, "0/00"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:68:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 68 | else if (number==8240) { CPYSL(s, "0/00"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:72:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 72 | else if CMP("Š", s) { set_char(s, 'S'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:77:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 77 | else if CMP("‹", s) { set_char(s, '<'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:81:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 81 | else if (number==140) { CPYSL(s, "OE"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:82:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 82 | else if CMP("Œ", s) { CPYSL(s, "OE"); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:82:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 82 | else if CMP("Œ", s) { CPYSL(s, "OE"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:83:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 83 | else if (number==338) { CPYSL(s, "OE"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:91:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 91 | else if CMP("‘", s) { set_char(s, '`'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:96:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 96 | else if CMP("’", s) { set_char(s, '\''); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:101:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 101 | else if CMP("“", s) { set_char(s, '"'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:106:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 106 | else if CMP("”", s) { set_char(s, '"'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:111:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 111 | else if CMP("•", s) { set_char(s, '*'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:116:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 116 | else if CMP("–", s) { set_char(s, '-'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:120:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 120 | else if (number==151) { CPYSL(s, "--"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:121:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 121 | else if CMP("—", s) { CPYSL(s, "--"); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:121:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 121 | else if CMP("—", s) { CPYSL(s, "--"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:122:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 122 | else if (number==8212) { CPYSL(s, "--"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:126:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 126 | else if CMP("˜", s) { set_char(s, '~'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:130:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 130 | else if (number==153) { CPYSL(s, "[tm]"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:131:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 131 | else if CMP("™", s) { CPYSL(s, "[tm]"); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:131:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 131 | else if CMP("™", s) { CPYSL(s, "[tm]"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:132:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 132 | else if (number==8482) { CPYSL(s, "[tm]"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from util.c:23: +util.c: In function 'x2dec': +util.c:141:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 141 | int len=STRLEN(str); + | ^~~ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ +In file included from microsoft.c:18: +microsoft.c:136:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 136 | else if CMP("š", s) { set_char(s, 's'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from util.c:19: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from microsoft.c:18: +microsoft.c:141:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 141 | else if CMP("›", s) { set_char(s, '>'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:145:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 145 | else if (number==156) { CPYSL(s, "oe"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from microsoft.c:18: +microsoft.c:146:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 146 | else if CMP("œ", s) { CPYSL(s, "oe"); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:146:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 146 | else if CMP("œ", s) { CPYSL(s, "oe"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from util.c:23: +util.c: In function 'extract_entity_number': +util.c:192:18: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 192 | number = ATOI(tmp); + | ^~~ + | | + | unsigned char * +multibyte.h:40:23: note: in definition of macro 'ATOI' + 40 | #define ATOI(n) atoi(n) + | ^ In file included from util.h:4, from html.c:33: html.c: In function 'get_attr': +In file included from microsoft.c:18: +microsoft.c:147:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 147 | else if (number==339) { CPYSL(s, "oe"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from util.c:16: +/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 361 | __NTH (atoi (const char *__nptr)) + | ^~~~~ html.c:138:17: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 138 | if CMP("ALT", attr_name) { parse_entities(temp); } | ^~~~~~~~~ @@ -476,6 +1426,19 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:155:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 155 | else if CMP("Ÿ", s) { set_char(s, 'Y'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from microsoft.c:10: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html.c:33: html.c:139:8: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] @@ -508,9 +1471,78 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +In file included from microsoft.c:18: +microsoft.c: In function 'microsoft_character': +microsoft.c:178:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 178 | WORT_PLUS_STRING("EUR"); break; + | ^~~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +In file included from microsoft.c:18: +microsoft.c:185:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 185 | WORT_PLUS_STRING("\""); break; + | ^~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +In file included from microsoft.c:18: +microsoft.c:187:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 187 | WORT_PLUS_STRING("..."); break; + | ^~~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +In file included from microsoft.c:18: +microsoft.c:189:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 189 | WORT_PLUS_STRING("/-"); break; + | ^~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +In file included from fileio.h:4, + from main.c:109: +main.c:134:28: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] + 134 | CHAR *default_image=STRING("Image"); /* Default string for IMG without ALT-tag */ + | ^~~~~~~ +multibyte.h:49:25: note: in definition of macro 'STRING' + 49 | #define STRING(string) string + | ^~~~~~ In file included from util.h:4, from html.c:33: html.c: In function 'check_for_center': +In file included from microsoft.c:18: +microsoft.c:191:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 191 | WORT_PLUS_STRING("/="); break; + | ^~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); html.c:275:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 275 | if CMP("ALIGN", attr_name) | ^~~~~~~~~ @@ -519,10 +1551,34 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from microsoft.c:18: +microsoft.c:195:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 195 | WORT_PLUS_STRING("0/00"); break; + | ^~~~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); In file included from html.c:23: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:201:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 201 | WORT_PLUS_STRING("OE"); break; + | ^~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); In file included from util.h:4, from html.c:33: html.c:279:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -537,6 +1593,30 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:219:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 219 | WORT_PLUS_STRING("--"); break; + | ^~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +In file included from microsoft.c:18: +microsoft.c:223:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 223 | WORT_PLUS_STRING("[tm]"); break; + | ^~~~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); In file included from util.h:4, from html.c:33: html.c:280:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -551,6 +1631,19 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:18: +microsoft.c:229:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 229 | WORT_PLUS_STRING("oe"); break; + | ^~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +main.c: In function 'parse_args': In file included from util.h:4, from html.c:33: html.c:281:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -565,9 +1658,9 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from html_tag.c:31: -html_tag.c: In function 'html_tag': +main.c:273:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 273 | default_image = argument; break; + | ^ In file included from util.h:4, from html.c:33: html.c:282:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -582,6 +1675,28 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +html.c: In function 'print_footnote_number': +html.c:352:2: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] + 352 | snprintf(temp, 1000, "[%d]", number); + | ^~~~~~~~ +html.c:34:1: note: 'snprintf' is defined in header ''; did you forget to '#include '? + 33 | #include "util.h" + +++ |+#include + 34 | +In file included from util.h:4, + from html_tag.c:31: +html_tag.c: In function 'html_tag': +In file included from util.h:4, + from html.c:33: +html.c: In function 'href': +html.c:379:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 379 | if CMP("HREF", attr_name) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ html_tag.c:66:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 66 | if CMP("SCRIPT", str) { start_nooutput(); } | ^~~ @@ -590,11 +1705,29 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html.c:23: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from util.h:4, + from html.c:33: +html.c:380:16: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 380 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:45:42: note: in definition of macro 'STRSTR' + 45 | #define STRSTR(haystack, needle) strstr(haystack, needle) + | ^~~~~~~~ +In file included from html.c:23: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'unsigned char *' + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +In file included from util.h:4, from html_tag.c:31: html_tag.c:67:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 67 | else if CMP("/SCRIPT", str) { end_nooutput(); } @@ -608,7 +1741,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c: In function 'print_footnote_number': In file included from util.h:4, from html_tag.c:31: html_tag.c:68:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -619,14 +1751,25 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -html.c:352:2: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] - 352 | snprintf(temp, 1000, "[%d]", number); - | ^~~~~~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from util.h:4, + from html.c:33: +html.c:380:64: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] + 380 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:47:48: note: in definition of macro 'STRNCMP' + 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) + | ^~~~ +In file included from html.c:23: +/usr/include/string.h:140:51: note: expected 'const char *' but argument is of type 'unsigned char *' + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +In file included from util.h:4, from html_tag.c:31: html_tag.c:69:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 69 | else if CMP("/STYLE", str) { end_nooutput(); } @@ -636,15 +1779,25 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -html.c:34:1: note: 'snprintf' is defined in header ''; did you forget to '#include '? - 33 | #include "util.h" - +++ |+#include - 34 | In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from util.h:4, + from html.c:33: +html.c:380:103: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] + 380 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:47:48: note: in definition of macro 'STRNCMP' + 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) + | ^~~~ +In file included from html.c:23: +/usr/include/string.h:140:51: note: expected 'const char *' but argument is of type 'unsigned char *' + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +In file included from util.h:4, from html_tag.c:31: html_tag.c:70:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 70 | else if CMP("TITLE", str) { @@ -674,15 +1827,20 @@ | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html.c:33: -html.c: In function 'href': -html.c:379:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 379 | if CMP("HREF", attr_name) { - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ +html.c:392:13: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] + 392 | STRCAT(references, tmp); + | ^~~~~~~~~~ + | | + | unsigned char * +multibyte.h:39:35: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/ctype.h:25, + from html.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:79:19: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -693,14 +1851,22 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html.c:23: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from unicode_entities.c:17: +unicode_entities.c: In function 'ligature_entity': +In file included from util.h:4, + from html.c:33: +html.c:392:25: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] + 392 | STRCAT(references, tmp); + | ^~~ + | | + | unsigned char * +multibyte.h:39:41: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:80:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -711,24 +1877,31 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from util.h:4, - from html.c:33: -html.c:380:16: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 380 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:45:42: note: in definition of macro 'STRSTR' - 45 | #define STRSTR(haystack, needle) strstr(haystack, needle) - | ^~~~~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/ctype.h:25, + from html.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' + 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html.c:23: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'unsigned char *' - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ +unicode_entities.c:50:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 50 | CPYSL(s, "ff"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:81:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -739,20 +1912,51 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from util.h:4, + from html.c:33: +html.c:394:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 394 | CPYSS(link_inline, attr_ctnt); + | ^~~~~~~~~~~ + | | + | unsigned char * +multibyte.h:33:34: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~~ +In file included from unicode_entities.c:17: +unicode_entities.c:52:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 52 | CPYSL(s, "fi"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from html.c:33: -html.c:380:64: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] - 380 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:47:48: note: in definition of macro 'STRNCMP' - 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) - | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/ctype.h:25, + from html.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from unicode_entities.c:17: +unicode_entities.c:54:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 54 | CPYSL(s, "fl"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:82:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -763,14 +1967,42 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html.c:23: -/usr/include/string.h:140:51: note: expected 'const char *' but argument is of type 'unsigned char *' - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ +In file included from util.h:4, + from html.c:33: +html.c:394:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 394 | CPYSS(link_inline, attr_ctnt); + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:33:40: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/ctype.h:25, + from html.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from unicode_entities.c:17: +unicode_entities.c:56:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 56 | CPYSL(s, "ffi"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:85:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -781,24 +2013,44 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from util.h:4, + from html.c:33: +html.c: In function 'href_output': In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from html.c:33: -html.c:380:103: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] - 380 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:47:48: note: in definition of macro 'STRNCMP' - 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) - | ^~~~ -In file included from html.c:23: -/usr/include/string.h:140:51: note: expected 'const char *' but argument is of type 'unsigned char *' - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ +In file included from unicode_entities.c:17: +unicode_entities.c:58:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 58 | CPYSL(s, "ffl"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +html.c:407:25: warning: pointer targets in passing argument 1 of 'output_string' differ in signedness [-Wpointer-sign] + 407 | output_string(STRING("\n References:")); + | ^~~~~~~~~~~~~~~~ + | | + | char * +multibyte.h:49:25: note: in definition of macro 'STRING' + 49 | #define STRING(string) string + | ^~~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:86:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -813,6 +2065,28 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from html.c:30: +fileio.h:9:26: note: expected 'unsigned char *' but argument is of type 'char *' + 9 | void output_string(CHAR *str); +In file included from unicode_entities.c:17: +unicode_entities.c:60:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 60 | CPYSL(s, "ft"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from util.h:4, + from html.c:33: +html.c: In function 'href_link_inline_output': In file included from util.h:4, from html_tag.c:31: html_tag.c:88:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -823,26 +2097,34 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from util.h:4, - from html.c:33: -html.c:392:13: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] - 392 | STRCAT(references, tmp); - | ^~~~~~~~~~ - | | - | unsigned char * -multibyte.h:39:35: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from unicode_entities.c:17: +unicode_entities.c:62:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 62 | CPYSL(s, "st"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ In file included from /usr/include/features.h:461, - from /usr/include/ctype.h:25, - from html.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +html.c:418:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 418 | if (STRLEN(link_inline)>0) { + | ^~~~~~~~~~~ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ In file included from util.h:4, from html_tag.c:31: html_tag.c:89:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -853,20 +2135,30 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html.c:23: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from html.c:33: -html.c:392:25: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] - 392 | STRCAT(references, tmp); - | ^~~ - | | - | unsigned char * -multibyte.h:39:41: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~ +In file included from unicode_entities.c:17: +unicode_entities.c:64:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 64 | CPYSL(s, "IJ"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:90:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -877,17 +2169,40 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/ctype.h:25, - from html.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' - 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ +In file included from unicode_entities.c:17: +unicode_entities.c:66:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 66 | CPYSL(s, "ij"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from util.h:4, + from html.c:33: +html.c:420:28: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 420 | wort_plus_string(STRING("<")); + | ^~~ + | | + | char * +multibyte.h:49:25: note: in definition of macro 'STRING' + 49 | #define STRING(string) string + | ^~~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from html.c:27: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +In file included from util.h:4, from html_tag.c:31: html_tag.c:91:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 91 | else if CMP("/BLOCKQUOTE", str) { paragraphen_ende(); } @@ -897,27 +2212,46 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from unicode_entities.c:17: +unicode_entities.c:68:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 68 | CPYSL(s, "OE"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from html.c:33: -html.c:394:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 394 | CPYSS(link_inline, attr_ctnt); - | ^~~~~~~~~~~ - | | - | unsigned char * -multibyte.h:33:34: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~~ In file included from /usr/include/features.h:461, - from /usr/include/ctype.h:25, - from html.c:21: + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: /usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ In file included from util.h:4, + from html.c:33: +html.c:422:28: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 422 | wort_plus_string(STRING(">")); + | ^~~ + | | + | char * +multibyte.h:49:25: note: in definition of macro 'STRING' + 49 | #define STRING(string) string + | ^~~~~~ +In file included from unicode_entities.c:17: +unicode_entities.c:70:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 70 | CPYSL(s, "oe"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +In file included from util.h:4, from html_tag.c:31: html_tag.c:92:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 92 | else if CMP("Q", str) { wort_plus_ch('"'); } @@ -927,24 +2261,18 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html.c:27: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from html.c:33: -html.c:394:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 394 | CPYSS(link_inline, attr_ctnt); - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:33:40: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~ In file included from /usr/include/features.h:461, - from /usr/include/ctype.h:25, - from html.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ In file included from util.h:4, @@ -963,7 +2291,19 @@ | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html.c:33: -html.c: In function 'href_output': +html.c: In function 'image': +html.c:443:19: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 443 | if CMP("ALT", attr_name) + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from html.c:23: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:108:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -978,17 +2318,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:407:25: warning: pointer targets in passing argument 1 of 'output_string' differ in signedness [-Wpointer-sign] - 407 | output_string(STRING("\n References:")); - | ^~~~~~~~~~~~~~~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -In file included from html.c:30: -fileio.h:9:26: note: expected 'unsigned char *' but argument is of type 'char *' - 9 | void output_string(CHAR *str); In file included from util.h:4, from html_tag.c:31: html_tag.c:109:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -999,13 +2328,24 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from util.h:4, + from html.c:33: +html.c:446:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 446 | if (!(remove_empty_alt && CMP("", attr_ctnt))) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from html.c:33: -html.c: In function 'href_link_inline_output': +In file included from html.c:23: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:110:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1016,22 +2356,10 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -html.c:418:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 418 | if (STRLEN(link_inline)>0) { - | ^~~~~~~~~~~ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html.c:23: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:111:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1047,32 +2375,6 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from util.h:4, - from html.c:33: -html.c:420:28: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 420 | wort_plus_string(STRING("<")); - | ^~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -In file included from html.c:27: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -In file included from util.h:4, - from html.c:33: -html.c:422:28: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 422 | wort_plus_string(STRING(">")); - | ^~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -In file included from html.c:27: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -In file included from util.h:4, from html_tag.c:31: html_tag.c:112:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 112 | else if CMP("U", str) { if (convert_tags) { wort_plus_ch('_'); } } /* deprecated */ @@ -1088,7 +2390,9 @@ | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html.c:33: -html.c: In function 'image': +html.c: In function 'start_nooutput': +In file included from latin1.c:35: +latin1.c: In function 'parse_entity': In file included from util.h:4, from html_tag.c:31: html_tag.c:113:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1103,14 +2407,22 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:443:19: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 443 | if CMP("ALT", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * +html.c:607:15: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 607 | if CMP("/", attr_name) + | ^~~~~~~~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +latin1.c:64:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 64 | int len = STRLEN(str); + | ^~~ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ In file included from html.c:23: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -1129,6 +2441,10 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:24: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:115:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1143,20 +2459,31 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from html.c:33: -html.c:446:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 446 | if (!(remove_empty_alt && CMP("", attr_ctnt))) { - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from html.c:23: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:71:8: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 71 | CPYSS(tmpstr, str); + | ^~~~~~ + | | + | unsigned char * +multibyte.h:33:34: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from latin1.c:35: +latin1.c:71:16: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 71 | CPYSS(tmpstr, str); + | ^~~ + | | + | unsigned char * +multibyte.h:33:40: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:116:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1167,6 +2494,13 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -1185,6 +2519,22 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:97:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 97 | CPYSS(str, tmpstr); + | ^~~ + | | + | unsigned char * +multibyte.h:33:34: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:118:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1195,10 +2545,26 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:35: +latin1.c:97:14: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 97 | CPYSS(str, tmpstr); + | ^~~~~~ + | | + | unsigned char * +multibyte.h:33:40: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:119:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1209,13 +2575,24 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from util.h:4, - from html.c:33: -html.c: In function 'start_nooutput': In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c: In function 'parse_entities': +latin1.c:118:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 118 | int len=STRLEN(s); + | ^ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ +In file included from latin1.c:24: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:124:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1226,22 +2603,10 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -html.c:607:15: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 607 | if CMP("/", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html.c:23: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:125:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1256,6 +2621,22 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:133:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] + 133 | STRCAT(result, tmp); + | ^~~~~~ + | | + | unsigned char * +multibyte.h:39:35: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:126:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1270,6 +2651,22 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:133:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] + 133 | STRCAT(result, tmp); + | ^~~ + | | + | unsigned char * +multibyte.h:39:41: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' + 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:127:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1312,6 +2709,22 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:143:11: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] + 143 | STRCAT(result, entity); + | ^~~~~~ + | | + | unsigned char * +multibyte.h:39:35: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:130:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1322,10 +2735,26 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:35: +latin1.c:143:19: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] + 143 | STRCAT(result, entity); + | ^~~~~~ + | | + | unsigned char * +multibyte.h:39:41: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' + 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:131:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1368,6 +2797,22 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:150:8: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 150 | CPYSS(s, result); + | ^ + | | + | unsigned char * +multibyte.h:33:34: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:134:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1382,6 +2827,22 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:150:11: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 150 | CPYSS(s, result); + | ^~~~~~ + | | + | unsigned char * +multibyte.h:33:40: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:135:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1420,12 +2881,24 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:35: +latin1.c: In function 'html_entity': In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c: In function 'parse_entity': +latin1.c:215:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 215 | if CMP(""", str) { return(set_char_wrapper(str, '"')); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:140:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1440,14 +2913,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:64:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 64 | int len = STRLEN(str); - | ^~~ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ In file included from util.h:4, from html_tag.c:31: html_tag.c:141:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1462,10 +2927,19 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:216:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 216 | else if CMP("&;", str) { return(set_char_wrapper(str, '&')); } /* for those brain damaged ones */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from latin1.c:24: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:143:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1476,42 +2950,51 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:71:8: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 71 | CPYSS(tmpstr, str); - | ^~~~~~ - | | - | unsigned char * -multibyte.h:33:34: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~~ +In file included from util.h:4, + from text.c:22: +text.c: In function 'only_spaces': In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from latin1.c:35: -latin1.c:71:16: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 71 | CPYSS(tmpstr, str); - | ^~~ - | | - | unsigned char * -multibyte.h:33:40: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ +latin1.c:217:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 217 | else if CMP("&", str) { return(set_char_wrapper(str, '&')); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +text.c:139:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 139 | int len=STRLEN(z); + | ^ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ +In file included from latin1.c:35: +latin1.c:218:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 218 | else if CMP(">", str) { return(set_char_wrapper(str, '>')); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from text.c:14: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:144:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1522,10 +3005,32 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:35: +latin1.c:219:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 219 | else if CMP("<", str) { return(set_char_wrapper(str, '<')); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:220:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 220 | else if CMP("'", str) { return(set_char_wrapper(str, '\'')); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:145:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1536,26 +3041,16 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:97:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 97 | CPYSS(str, tmpstr); - | ^~~ - | | - | unsigned char * -multibyte.h:33:34: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ +latin1.c: In function 'latin1': In file included from util.h:4, from html_tag.c:31: html_tag.c:146:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1566,26 +3061,22 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:97:14: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 97 | CPYSS(str, tmpstr); - | ^~~~~~ - | | - | unsigned char * -multibyte.h:33:40: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ +latin1.c:229:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 229 | if CMP(" ", str) { return(set_char_wrapper(str, 160)); } /* no-break space */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:147:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1601,19 +3092,21 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c: In function 'parse_entities': -latin1.c:118:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 118 | int len=STRLEN(s); - | ^ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ +latin1.c:230:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 230 | else if CMP("¡", str) { return(set_char_wrapper(str, 161)); } /* inverted exclamation mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from latin1.c:24: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from util.h:4, + from text.c:22: +text.c: In function 'wort_plus_string_nocount': In file included from util.h:4, from html_tag.c:31: html_tag.c:148:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1624,10 +3117,35 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +text.c:251:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 251 | int len=STRLEN(s), + | ^ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from text.c:14: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from latin1.c:35: +latin1.c:231:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 231 | else if CMP("¢", str) { return(set_char_wrapper(str, 162)); } /* cent sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:149:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1643,21 +3161,21 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:133:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] - 133 | STRCAT(result, tmp); - | ^~~~~~ - | | - | unsigned char * -multibyte.h:39:35: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ +latin1.c:232:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 232 | else if CMP("£", str) { return(set_char_wrapper(str, 163)); } /* pound sterling sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from util.h:4, + from text.c:22: +text.c: In function 'wort_plus_string': In file included from util.h:4, from html_tag.c:31: html_tag.c:150:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1672,22 +3190,31 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:133:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] - 133 | STRCAT(result, tmp); - | ^~~ +text.c:276:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 276 | int len=STRLEN(s), + | ^ | | | unsigned char * -multibyte.h:39:41: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' - 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ +In file included from text.c:14: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from latin1.c:35: +latin1.c:233:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 233 | else if CMP("¤", str) { return(set_char_wrapper(str, 164)); } /* general currency sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:151:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1702,6 +3229,15 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:234:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 234 | else if CMP("¥", str) { return(set_char_wrapper(str, 165)); } /* yen sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:152:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1712,26 +3248,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:143:11: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] - 143 | STRCAT(result, entity); - | ^~~~~~ - | | - | unsigned char * -multibyte.h:39:35: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ +In file included from util.h:4, + from text.c:22: +text.c: In function 'wort_ende': In file included from util.h:4, from html_tag.c:31: html_tag.c:154:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1742,26 +3269,33 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:35: +latin1.c:235:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 235 | else if CMP("¦", str) { return(set_char_wrapper(str, 166)); } /* broken (vertical) bar */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:143:19: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] - 143 | STRCAT(result, entity); - | ^~~~~~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +multibyte.h:42:19: warning: pointer targets in passing argument 1 of 'zeile_plus_wort' differ in signedness [-Wpointer-sign] + 42 | #define ONESPACE " " + | ^~~ | | - | unsigned char * -multibyte.h:39:41: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:126:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' - 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ + | char * +text.c:331:42: note: in expansion of macro 'ONESPACE' + 331 | while (i0) { zeile_plus_wort(ONESPACE,1,1); } + | ^~~~~~~~ +text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' + 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) In file included from util.h:4, from html_tag.c:31: html_tag.c:156:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1811,17 +3345,35 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:237:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 237 | else if CMP("¨", str) { return(set_char_wrapper(str, 168)); } /* umlaut (dieresis) */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from util.h:4, + from text.c:22: +multibyte.h:42:19: warning: pointer targets in passing argument 1 of 'zeile_plus_wort' differ in signedness [-Wpointer-sign] + 42 | #define ONESPACE " " + | ^~~ + | | + | char * +text.c:342:23: note: in expansion of macro 'ONESPACE' + 342 | zeile_plus_wort(ONESPACE,1,1); zeile_plus_wort(wort,wort_len, wort_pos); + | ^~~~~~~~ +text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' + 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) In file included from util.h:4, from html_tag.c:31: html_tag.c:157:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1836,6 +3388,19 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:238:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 238 | else if CMP("©", str) { return(set_char_wrapper(str, 169)); } /* copyright sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:158:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1846,14 +3411,25 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from util.h:4, + from text.c:22: +multibyte.h:42:19: warning: pointer targets in passing argument 1 of 'zeile_plus_wort' differ in signedness [-Wpointer-sign] + 42 | #define ONESPACE " " + | ^~~ + | | + | char * +text.c:351:42: note: in expansion of macro 'ONESPACE' + 351 | while (i0) { zeile_plus_wort(ONESPACE,1,1); } + | ^~~~~~~~ +text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' + 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) In file included from latin1.c:35: -latin1.c:216:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 216 | else if CMP("&;", str) { return(set_char_wrapper(str, '&')); } /* for those brain damaged ones */ - | ^~~ - | | - | unsigned char * +latin1.c:240:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 240 | else if CMP("«", str) { return(set_char_wrapper(str, 171)); } /* angle quotation mark, left */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:162:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1908,29 +3489,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from lists.c:14: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from html.h:5, - from lists.c:16: -lists.c:35:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 35 | if CMP("disc", attr_ctnt) { return '*'; } - | ^~~~~~~~~ - | | - | unsigned char * +In file included from latin1.c:35: +latin1.c:241:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 241 | else if CMP("¬", str) { return(set_char_wrapper(str, 172)); } /* not sign */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from lists.c:14: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -1948,43 +3520,9 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:217:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 217 | else if CMP("&", str) { return(set_char_wrapper(str, '&')); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from html.h:5, - from lists.c:16: -lists.c:36:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 36 | if CMP("square", attr_ctnt) { return '+'; } - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from lists.c:14: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from html.h:5, - from lists.c:16: -lists.c:37:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 37 | if CMP("circle", attr_ctnt) { return 'o'; } - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ +In file included from util.h:4, + from text.c:22: +text.c: In function 'hr': In file included from util.h:4, from html_tag.c:31: html_tag.c:163:45: warning: pointer targets in passing argument 1 of 'image' differ in signedness [-Wpointer-sign] @@ -1995,19 +3533,18 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ -In file included from lists.c:14: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:218:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 218 | else if CMP(">", str) { return(set_char_wrapper(str, '>')); } - | ^~~ - | | - | unsigned char * +text.c:424:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 424 | if CMP("ALIGN", attr_name) + | ^~~~~~~~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from text.c:14: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from html.h:5, from html_tag.c:24: multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' @@ -2015,29 +3552,12 @@ html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:219:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 219 | else if CMP("<", str) { return(set_char_wrapper(str, '<')); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:220:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 220 | else if CMP("'", str) { return(set_char_wrapper(str, '\'')); } - | ^~~ - | | - | unsigned char * +latin1.c:242:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 242 | else if CMP("­", str) { return(set_char_wrapper(str, '\0')); } /* soft hyphen, just swallow it */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -2045,8 +3565,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c: In function 'latin1': In file included from util.h:4, from html_tag.c:31: html_tag.c:164:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2057,15 +3575,30 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from util.h:4, + from text.c:22: +text.c:427:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 427 | if CMP("LEFT", attr_ctnt) { hr_align=LEFT; } + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:229:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 229 | if CMP(" ", str) { return(set_char_wrapper(str, 160)); } /* no-break space */ - | ^~~ - | | - | unsigned char * +In file included from text.c:14: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:243:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 243 | else if CMP("®", str) { return(set_char_wrapper(str, 174)); } /* registered sign */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -2083,6 +3616,16 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ +In file included from util.h:4, + from text.c:22: +text.c:428:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 428 | else if CMP("CENTER", attr_ctnt) { hr_align=CENTER; } + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from html.h:5, from html_tag.c:24: multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' @@ -2090,12 +3633,16 @@ html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ +In file included from text.c:14: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:230:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 230 | else if CMP("¡", str) { return(set_char_wrapper(str, 161)); } /* inverted exclamation mark */ - | ^~~ - | | - | unsigned char * +latin1.c:244:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 244 | else if CMP("¯", str) { return(set_char_wrapper(str, 175)); } /* macron */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -2117,15 +3664,33 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from util.h:4, + from text.c:22: +text.c:429:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 429 | else if CMP("RIGHT", attr_ctnt) { hr_align=RIGHT; } + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from text.c:14: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:231:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 231 | else if CMP("¢", str) { return(set_char_wrapper(str, 162)); } /* cent sign */ - | ^~~ - | | - | unsigned char * +latin1.c:245:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 245 | else if CMP("°", str) { return(set_char_wrapper(str, 176)); } /* degree sign */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:165:45: warning: pointer targets in passing argument 1 of 'image' differ in signedness [-Wpointer-sign] @@ -2136,10 +3701,6 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from html.h:5, from html_tag.c:24: multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' @@ -2148,6 +3709,29 @@ 20 | void image(CHAR *, int); | ^~~~ In file included from util.h:4, + from text.c:22: +text.c:430:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 430 | else if CMP("JUSTIFY", attr_ctnt) { hr_align=LEFT; } + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from text.c:14: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:246:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 246 | else if CMP("±", str) { return(set_char_wrapper(str, 177)); } /* plus-or-minus sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from util.h:4, from html_tag.c:31: html_tag.c:168:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 168 | else if CMP("TABLE", str) { /*start_p();*/ push_align(LEFT); neuer_paragraph(); } @@ -2157,23 +3741,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:232:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 232 | else if CMP("£", str) { return(set_char_wrapper(str, 163)); } /* pound sterling sign */ - | ^~~ - | | - | unsigned char * +latin1.c:247:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 247 | else if CMP("²", str) { return(set_char_wrapper(str, 178)); } /* superscript two */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:169:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2184,23 +3768,37 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from util.h:4, + from text.c:22: +text.c:433:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 433 | else if CMP("WIDTH", attr_name) + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from text.c:14: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:233:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 233 | else if CMP("¤", str) { return(set_char_wrapper(str, 164)); } /* general currency sign */ - | ^~~ - | | - | unsigned char * +latin1.c:248:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 248 | else if CMP("³", str) { return(set_char_wrapper(str, 179)); } /* superscript three */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:170:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2211,23 +3809,37 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from util.h:4, + from text.c:22: +text.c:435:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 435 | i=STRLEN(attr_ctnt); + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from text.c:14: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ In file included from latin1.c:35: -latin1.c:234:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 234 | else if CMP("¥", str) { return(set_char_wrapper(str, 165)); } /* yen sign */ - | ^~~ - | | - | unsigned char * +latin1.c:249:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 249 | else if CMP("´", str) { return(set_char_wrapper(str, 180)); } /* acute accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:171:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2238,19 +3850,24 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:235:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 235 | else if CMP("¦", str) { return(set_char_wrapper(str, 166)); } /* broken (vertical) bar */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ +In file included from util.h:4, + from text.c:22: +text.c:438:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 438 | hr_width = ATOI(attr_ctnt); + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:40:23: note: in definition of macro 'ATOI' + 40 | #define ATOI(n) atoi(n) + | ^ In file included from util.h:4, from html_tag.c:31: html_tag.c:172:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2261,14 +3878,30 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: +In file included from latin1.c:35: +latin1.c:250:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 250 | else if CMP("µ", str) { return(set_char_wrapper(str, 181)); } /* micro sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from text.c:12: +/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 361 | __NTH (atoi (const char *__nptr)) + | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:173:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2284,8 +3917,8 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:236:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 236 | else if CMP("§", str) { return(set_char_wrapper(str, 167)); } /* section sign */ +latin1.c:251:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 251 | else if CMP("¶", str) { return(set_char_wrapper(str, 182)); } /* pilcrow (paragraph sign) */ | ^~~ | | | unsigned char * @@ -2297,6 +3930,16 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from util.h:4, + from text.c:22: +text.c:442:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 442 | hr_width = ATOI(attr_ctnt)/8; + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:40:23: note: in definition of macro 'ATOI' + 40 | #define ATOI(n) atoi(n) + | ^ +In file included from util.h:4, from html_tag.c:31: html_tag.c:174:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 174 | else if CMP("TR", str) { line_break(); } /* start_p(); */ @@ -2310,12 +3953,19 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from text.c:12: +/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 361 | __NTH (atoi (const char *__nptr)) + | ^~~~~ In file included from latin1.c:35: -latin1.c:237:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 237 | else if CMP("¨", str) { return(set_char_wrapper(str, 168)); } /* umlaut (dieresis) */ - | ^~~ - | | - | unsigned char * +latin1.c:252:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 252 | else if CMP("·", str) { return(set_char_wrapper(str, 183)); } /* middle dot */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -2338,11 +3988,11 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:238:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 238 | else if CMP("©", str) { return(set_char_wrapper(str, 169)); } /* copyright sign */ - | ^~~ - | | - | unsigned char * +latin1.c:253:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 253 | else if CMP("¸", str) { return(set_char_wrapper(str, 184)); } /* cedilla */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -2364,6 +4014,19 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:254:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 254 | else if CMP("¹", str) { return(set_char_wrapper(str, 185)); } /* superscript one */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:177:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2374,23 +4037,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:239:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 239 | else if CMP("ª", str) { return(set_char_wrapper(str, 170)); } /* ordinal indicator, feminine */ +latin1.c:255:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 255 | else if CMP("º", str) { return(set_char_wrapper(str, 186)); } /* ordinal indicator, masculine */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:179:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2401,20 +4060,11 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:240:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 240 | else if CMP("«", str) { return(set_char_wrapper(str, 171)); } /* angle quotation mark, left */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -2428,19 +4078,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:241:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 241 | else if CMP("¬", str) { return(set_char_wrapper(str, 172)); } /* not sign */ - | ^~~ - | | - | unsigned char * +latin1.c:256:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 256 | else if CMP("»", str) { return(set_char_wrapper(str, 187)); } /* angle quotation mark, right */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -2460,14 +4110,18 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:242:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 242 | else if CMP("­", str) { return(set_char_wrapper(str, '\0')); } /* soft hyphen, just swallow it */ - | ^~~ - | | - | unsigned char * +latin1.c:257:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 257 | else if CMP("¼", str) { return(set_char_wrapper(str, 188)); } /* fraction one-quarter */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:183:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2478,11 +4132,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +In file included from latin1.c:35: +latin1.c:258:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 258 | else if CMP("½", str) { return(set_char_wrapper(str, 189)); } /* fraction one-half */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -2501,18 +4164,14 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:243:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 243 | else if CMP("®", str) { return(set_char_wrapper(str, 174)); } /* registered sign */ - | ^~~ - | | - | unsigned char * +latin1.c:259:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 259 | else if CMP("¾", str) { return(set_char_wrapper(str, 190)); } /* fraction three-quarters */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:185:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2523,16 +4182,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:244:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 244 | else if CMP("¯", str) { return(set_char_wrapper(str, 175)); } /* macron */ - | ^~~ - | | - | unsigned char * +latin1.c:260:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 260 | else if CMP("¿", str) { return(set_char_wrapper(str, 191)); } /* inverted question mark */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -2550,23 +4213,10 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:245:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 245 | else if CMP("°", str) { return(set_char_wrapper(str, 176)); } /* degree sign */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:187:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2581,19 +4231,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:246:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 246 | else if CMP("±", str) { return(set_char_wrapper(str, 177)); } /* plus-or-minus sign */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:190:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2609,11 +4246,11 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:247:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 247 | else if CMP("²", str) { return(set_char_wrapper(str, 178)); } /* superscript two */ - | ^~~ - | | - | unsigned char * +latin1.c:261:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 261 | else if CMP("À", str) { return(set_char_wrapper(str, 192)); } /* capital A, grave accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -2635,19 +4272,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:248:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 248 | else if CMP("³", str) { return(set_char_wrapper(str, 179)); } /* superscript three */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:192:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2658,19 +4282,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:249:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 249 | else if CMP("´", str) { return(set_char_wrapper(str, 180)); } /* acute accent */ - | ^~~ - | | - | unsigned char * +latin1.c:262:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 262 | else if CMP("Á", str) { return(set_char_wrapper(str, 193)); } /* capital A, acute accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:193:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2681,11 +4309,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +In file included from latin1.c:35: +latin1.c:263:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 263 | else if CMP("Â", str) { return(set_char_wrapper(str, 194)); } /* capital A, circumflex accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -2704,18 +4341,14 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:250:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 250 | else if CMP("µ", str) { return(set_char_wrapper(str, 181)); } /* micro sign */ - | ^~~ - | | - | unsigned char * +latin1.c:264:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 264 | else if CMP("Ã", str) { return(set_char_wrapper(str, 195)); } /* capital A, tilde */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:195:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2726,20 +4359,11 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:251:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 251 | else if CMP("¶", str) { return(set_char_wrapper(str, 182)); } /* pilcrow (paragraph sign) */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -2753,19 +4377,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:252:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 252 | else if CMP("·", str) { return(set_char_wrapper(str, 183)); } /* middle dot */ - | ^~~ - | | - | unsigned char * +latin1.c:265:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 265 | else if CMP("Ä", str) { return(set_char_wrapper(str, 196)); } /* capital A, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -2784,6 +4408,19 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:266:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 266 | else if CMP("Å", str) { return(set_char_wrapper(str, 197)); } /* capital A, ring */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:198:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2794,19 +4431,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:253:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 253 | else if CMP("¸", str) { return(set_char_wrapper(str, 184)); } /* cedilla */ +latin1.c:267:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 267 | else if CMP("Æ", str) { return(set_char_wrapper(str, 198)); } /* capital AE diphthong (ligature) */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -2826,18 +4463,14 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:254:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 254 | else if CMP("¹", str) { return(set_char_wrapper(str, 185)); } /* superscript one */ - | ^~~ - | | - | unsigned char * +latin1.c:268:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 268 | else if CMP("Ç", str) { return(set_char_wrapper(str, 199)); } /* capital C, cedilla */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:200:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2852,21 +4485,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:255:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 255 | else if CMP("º", str) { return(set_char_wrapper(str, 186)); } /* ordinal indicator, masculine */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c: In function 'microsoft_entities': In file included from util.h:4, from html_tag.c:31: html_tag.c:201:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2881,23 +4499,10 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:28:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 28 | else if (number==128) { CPYSL(s, "EUR"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from latin1.c:35: -latin1.c:256:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 256 | else if CMP("»", str) { return(set_char_wrapper(str, 187)); } /* angle quotation mark, right */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:204:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2912,26 +4517,19 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:269:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 269 | else if CMP("È", str) { return(set_char_wrapper(str, 200)); } /* capital E, grave accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from microsoft.c:18: -microsoft.c:29:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 29 | else if CMP("€", s) { CPYSL(s, "EUR"); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:205:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2946,23 +4544,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:257:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 257 | else if CMP("¼", str) { return(set_char_wrapper(str, 188)); } /* fraction one-quarter */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:206:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2977,35 +4558,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:29:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 29 | else if CMP("€", s) { CPYSL(s, "EUR"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from latin1.c:35: -latin1.c:258:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 258 | else if CMP("½", str) { return(set_char_wrapper(str, 189)); } /* fraction one-half */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:207:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3016,35 +4568,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:30:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 30 | else if (number==8364) { CPYSL(s, "EUR"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from latin1.c:35: -latin1.c:259:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 259 | else if CMP("¾", str) { return(set_char_wrapper(str, 190)); } /* fraction three-quarters */ +latin1.c:270:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 270 | else if CMP("É", str) { return(set_char_wrapper(str, 201)); } /* capital E, acute accent */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -3063,28 +4599,19 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:34:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 34 | else if CMP("‚", s) { set_char(s, ','); } - | ^ +In file included from latin1.c:35: +latin1.c:271:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 271 | else if CMP("Ê", str) { return(set_char_wrapper(str, 202)); } /* capital E, circumflex accent */ + | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:260:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 260 | else if CMP("¿", str) { return(set_char_wrapper(str, 191)); } /* inverted question mark */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:209:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3095,24 +4622,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:38:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 38 | else if CMP("ƒ", s) { set_char(s, 'f'); } /* Latin Small Letter F With Hook */ - | ^ +In file included from latin1.c:35: +latin1.c:272:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 272 | else if CMP("Ë", str) { return(set_char_wrapper(str, 203)); } /* capital E, dieresis or umlaut mark */ + | ^~~ | | | unsigned char * -microsoft.c:38:11: note: in expansion of macro 'CMP' - 38 | else if CMP("ƒ", s) { set_char(s, 'f'); } /* Latin Small Letter F With Hook */ - | ^~~ -In file included from microsoft.c:10: +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3126,32 +4649,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:261:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 261 | else if CMP("À", str) { return(set_char_wrapper(str, 192)); } /* capital A, grave accent */ +latin1.c:273:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 273 | else if CMP("Ì", str) { return(set_char_wrapper(str, 204)); } /* capital I, grave accent */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:42:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 42 | else if (number==132) { CPYSL(s, "\""); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:211:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3162,40 +4672,11 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:262:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 262 | else if CMP("Á", str) { return(set_char_wrapper(str, 193)); } /* capital A, acute accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:43:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 43 | else if CMP("„", s) { CPYSL(s, "\""); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from microsoft.c:10: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3213,31 +4694,15 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:43:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 43 | else if CMP("„", s) { CPYSL(s, "\""); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from latin1.c:35: -latin1.c:263:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 263 | else if CMP("Â", str) { return(set_char_wrapper(str, 194)); } /* capital A, circumflex accent */ - | ^~~ - | | - | unsigned char * +latin1.c:274:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 274 | else if CMP("Í", str) { return(set_char_wrapper(str, 205)); } /* capital I, acute accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -3256,72 +4721,26 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:44:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 44 | else if (number==8222) { CPYSL(s, "\""); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from util.h:4, - from html_tag.c:31: -html_tag.c:214:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 214 | else if CMP("VAR", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from latin1.c:35: -latin1.c:264:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 264 | else if CMP("Ã", str) { return(set_char_wrapper(str, 195)); } /* capital A, tilde */ - | ^~~ - | | - | unsigned char * +latin1.c:275:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 275 | else if CMP("Î", str) { return(set_char_wrapper(str, 206)); } /* capital I, circumflex accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:46:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 46 | else if (number==133) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from util.h:4, from html_tag.c:31: -html_tag.c:215:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 215 | else if CMP("/VAR", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:214:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 214 | else if CMP("VAR", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -3330,8 +4749,8 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:265:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 265 | else if CMP("Ä", str) { return(set_char_wrapper(str, 196)); } /* capital A, dieresis or umlaut mark */ +latin1.c:276:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 276 | else if CMP("Ï", str) { return(set_char_wrapper(str, 207)); } /* capital I, dieresis or umlaut mark */ | ^~~ | | | unsigned char * @@ -3342,16 +4761,17 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:47:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 47 | else if CMP("…", s) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ - | ^ - | | - | unsigned char * +In file included from util.h:4, + from html_tag.c:31: +html_tag.c:215:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 215 | else if CMP("/VAR", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3365,19 +4785,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:266:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 266 | else if CMP("Å", str) { return(set_char_wrapper(str, 197)); } /* capital A, ring */ - | ^~~ - | | - | unsigned char * +latin1.c:277:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 277 | else if CMP("Ð", str) { return(set_char_wrapper(str, 208)); } /* capital Eth, Icelandic */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -3396,31 +4816,19 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:47:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 47 | else if CMP("…", s) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from latin1.c:35: -latin1.c:267:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 267 | else if CMP("Æ", str) { return(set_char_wrapper(str, 198)); } /* capital AE diphthong (ligature) */ - | ^~~ - | | - | unsigned char * +latin1.c:278:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 278 | else if CMP("Ñ", str) { return(set_char_wrapper(str, 209)); } /* capital N, tilde */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:220:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3431,30 +4839,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +In file included from latin1.c:35: +latin1.c:279:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 279 | else if CMP("Ò", str) { return(set_char_wrapper(str, 210)); } /* capital O, grave accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:48:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 48 | else if (number==8230) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:221:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3465,32 +4866,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:268:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 268 | else if CMP("Ç", str) { return(set_char_wrapper(str, 199)); } /* capital C, cedilla */ +latin1.c:280:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 280 | else if CMP("Ó", str) { return(set_char_wrapper(str, 211)); } /* capital O, acute accent */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:51:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 51 | else if (number==134) { CPYSL(s, "/-"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:222:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3501,43 +4893,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:269:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 269 | else if CMP("È", str) { return(set_char_wrapper(str, 200)); } /* capital E, grave accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:52:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 52 | else if CMP("†", s) { CPYSL(s, "/-"); } - | ^ - | | - | unsigned char * +latin1.c:281:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 281 | else if CMP("Ô", str) { return(set_char_wrapper(str, 212)); } /* capital O, circumflex accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:223:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3548,29 +4916,11 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:270:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 270 | else if CMP("É", str) { return(set_char_wrapper(str, 201)); } /* capital E, acute accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from microsoft.c:18: -microsoft.c:52:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 52 | else if CMP("†", s) { CPYSL(s, "/-"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3584,35 +4934,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:271:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 271 | else if CMP("Ê", str) { return(set_char_wrapper(str, 202)); } /* capital E, circumflex accent */ - | ^~~ - | | - | unsigned char * +latin1.c:282:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 282 | else if CMP("Õ", str) { return(set_char_wrapper(str, 213)); } /* capital O, tilde */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:18: -microsoft.c:53:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 53 | else if (number==8224) { CPYSL(s, "/-"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:225:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3623,37 +4961,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +In file included from latin1.c:35: +latin1.c:283:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 283 | else if CMP("Ö", str) { return(set_char_wrapper(str, 214)); } /* capital O, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from microsoft.c:18: -microsoft.c:56:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 56 | else if (number==135) { CPYSL(s, "/="); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:226:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3664,33 +4988,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:272:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 272 | else if CMP("Ë", str) { return(set_char_wrapper(str, 203)); } /* capital E, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:57:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 57 | else if CMP("‡", s) { CPYSL(s, "/="); } - | ^ - | | - | unsigned char * +In file included from latin1.c:35: +latin1.c:284:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 284 | else if CMP("×", str) { return(set_char_wrapper(str, 215)); } /* multiply sign */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3709,8 +5020,8 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:273:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 273 | else if CMP("Ì", str) { return(set_char_wrapper(str, 204)); } /* capital I, grave accent */ +latin1.c:285:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 285 | else if CMP("Ø", str) { return(set_char_wrapper(str, 216)); } /* capital O, slash */ | ^~~ | | | unsigned char * @@ -3721,22 +5032,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:57:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 57 | else if CMP("‡", s) { CPYSL(s, "/="); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:228:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3751,35 +5046,15 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:58:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 58 | else if (number==8225) { CPYSL(s, "/="); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from latin1.c:35: -latin1.c:274:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 274 | else if CMP("Í", str) { return(set_char_wrapper(str, 205)); } /* capital I, acute accent */ +latin1.c:286:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 286 | else if CMP("Ù", str) { return(set_char_wrapper(str, 217)); } /* capital U, grave accent */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:229:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3790,33 +5065,11 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:62:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 62 | else if CMP("ˆ", s) { set_char(s, '^'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from microsoft.c:10: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:275:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 275 | else if CMP("Î", str) { return(set_char_wrapper(str, 206)); } /* capital I, circumflex accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3830,35 +5083,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:66:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 66 | else if (number==137) { CPYSL(s, "0/00"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from latin1.c:35: -latin1.c:276:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 276 | else if CMP("Ï", str) { return(set_char_wrapper(str, 207)); } /* capital I, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * +latin1.c:287:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 287 | else if CMP("Ú", str) { return(set_char_wrapper(str, 218)); } /* capital U, acute accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -3873,41 +5110,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:18: -microsoft.c:67:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 67 | else if CMP("‰", s) { CPYSL(s, "0/00"); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:67:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 67 | else if CMP("‰", s) { CPYSL(s, "0/00"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from latin1.c:35: -latin1.c:277:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 277 | else if CMP("Ð", str) { return(set_char_wrapper(str, 208)); } /* capital Eth, Icelandic */ - | ^~~ - | | - | unsigned char * +latin1.c:288:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 288 | else if CMP("Û", str) { return(set_char_wrapper(str, 219)); } /* capital U, circumflex accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:234:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3918,30 +5137,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +In file included from latin1.c:35: +latin1.c:289:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 289 | else if CMP("Ü", str) { return(set_char_wrapper(str, 220)); } /* capital U, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from microsoft.c:18: -microsoft.c:68:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 68 | else if (number==8240) { CPYSL(s, "0/00"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:235:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3952,20 +5164,13 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:278:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 278 | else if CMP("Ñ", str) { return(set_char_wrapper(str, 209)); } /* capital N, tilde */ +latin1.c:290:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 290 | else if CMP("Ý", str) { return(set_char_wrapper(str, 221)); } /* capital Y, acute accent */ | ^~~ | | | unsigned char * @@ -3976,19 +5181,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:72:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 72 | else if CMP("Š", s) { set_char(s, 'S'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:237:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4004,18 +5196,14 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:279:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 279 | else if CMP("Ò", str) { return(set_char_wrapper(str, 210)); } /* capital O, grave accent */ - | ^~~ - | | - | unsigned char * +latin1.c:291:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 291 | else if CMP("Þ", str) { return(set_char_wrapper(str, 222)); } /* capital THORN, Icelandic */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:238:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4026,36 +5214,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:18: -microsoft.c:77:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 77 | else if CMP("‹", s) { set_char(s, '<'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from html_tag.c:22: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:10: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:280:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 280 | else if CMP("Ó", str) { return(set_char_wrapper(str, 211)); } /* capital O, acute accent */ - | ^~~ - | | - | unsigned char * +latin1.c:292:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 292 | else if CMP("ß", str) { return(set_char_wrapper(str, 223)); } /* small sharp s, German (sz ligature) */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:239:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4066,44 +5241,14 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:18: -microsoft.c:81:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 81 | else if (number==140) { CPYSL(s, "OE"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from latin1.c:35: -latin1.c:281:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 281 | else if CMP("Ô", str) { return(set_char_wrapper(str, 212)); } /* capital O, circumflex accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from microsoft.c:18: -microsoft.c:82:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 82 | else if CMP("Œ", s) { CPYSL(s, "OE"); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:240:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4114,34 +5259,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:10: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +In file included from latin1.c:35: +latin1.c:293:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 293 | else if CMP("à", str) { return(set_char_wrapper(str, 224)); } /* small a, grave accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:82:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 82 | else if CMP("Œ", s) { CPYSL(s, "OE"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:241:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4152,39 +5286,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:282:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 282 | else if CMP("Õ", str) { return(set_char_wrapper(str, 213)); } /* capital O, tilde */ +latin1.c:294:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 294 | else if CMP("á", str) { return(set_char_wrapper(str, 225)); } /* small a, acute accent */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:83:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 83 | else if (number==338) { CPYSL(s, "OE"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:242:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4200,11 +5318,11 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:283:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 283 | else if CMP("Ö", str) { return(set_char_wrapper(str, 214)); } /* capital O, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * +latin1.c:295:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 295 | else if CMP("â", str) { return(set_char_wrapper(str, 226)); } /* small a, circumflex accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -4226,28 +5344,15 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:91:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 91 | else if CMP("‘", s) { set_char(s, '`'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from latin1.c:35: -latin1.c:284:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 284 | else if CMP("×", str) { return(set_char_wrapper(str, 215)); } /* multiply sign */ - | ^~~ - | | - | unsigned char * +latin1.c:296:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 296 | else if CMP("ã", str) { return(set_char_wrapper(str, 227)); } /* small a, tilde */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -4266,28 +5371,15 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:96:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 96 | else if CMP("’", s) { set_char(s, '\''); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from latin1.c:35: -latin1.c:285:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 285 | else if CMP("Ø", str) { return(set_char_wrapper(str, 216)); } /* capital O, slash */ - | ^~~ - | | - | unsigned char * +latin1.c:297:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 297 | else if CMP("ä", str) { return(set_char_wrapper(str, 228)); } /* small a, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -4306,25 +5398,16 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:101:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 101 | else if CMP("“", s) { set_char(s, '"'); } - | ^ +In file included from latin1.c:35: +latin1.c:298:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 298 | else if CMP("å", str) { return(set_char_wrapper(str, 229)); } /* small a, ring */ + | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:286:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 286 | else if CMP("Ù", str) { return(set_char_wrapper(str, 217)); } /* capital U, grave accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from microsoft.c:10: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -4338,10 +5421,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -4357,37 +5436,15 @@ 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ In file included from latin1.c:35: -latin1.c:287:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 287 | else if CMP("Ú", str) { return(set_char_wrapper(str, 218)); } /* capital U, acute accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:106:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 106 | else if CMP("”", s) { set_char(s, '"'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:35: -latin1.c:288:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 288 | else if CMP("Û", str) { return(set_char_wrapper(str, 219)); } /* capital U, circumflex accent */ +latin1.c:299:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 299 | else if CMP("æ", str) { return(set_char_wrapper(str, 230)); } /* small ae diphthong (ligature) */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -4395,19 +5452,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:289:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 289 | else if CMP("Ü", str) { return(set_char_wrapper(str, 220)); } /* capital U, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:248:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4418,24 +5462,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:111:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 111 | else if CMP("•", s) { set_char(s, '*'); } - | ^ - | | - | unsigned char * +In file included from latin1.c:35: +latin1.c:300:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 300 | else if CMP("ç", str) { return(set_char_wrapper(str, 231)); } /* small c, cedilla */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:10: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -4449,36 +5489,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:290:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 290 | else if CMP("Ý", str) { return(set_char_wrapper(str, 221)); } /* capital Y, acute accent */ +latin1.c:301:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 301 | else if CMP("è", str) { return(set_char_wrapper(str, 232)); } /* small e, grave accent */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:116:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 116 | else if CMP("–", s) { set_char(s, '-'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:250:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4494,11 +5521,11 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:291:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 291 | else if CMP("Þ", str) { return(set_char_wrapper(str, 222)); } /* capital THORN, Icelandic */ - | ^~~ - | | - | unsigned char * +latin1.c:302:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 302 | else if CMP("é", str) { return(set_char_wrapper(str, 233)); } /* small e, acute accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -4506,15 +5533,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:120:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 120 | else if (number==151) { CPYSL(s, "--"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:251:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4529,35 +5547,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from latin1.c:35: -latin1.c:292:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 292 | else if CMP("ß", str) { return(set_char_wrapper(str, 223)); } /* small sharp s, German (sz ligature) */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:121:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 121 | else if CMP("—", s) { CPYSL(s, "--"); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:252:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4568,29 +5557,16 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:121:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 121 | else if CMP("—", s) { CPYSL(s, "--"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from latin1.c:35: -latin1.c:293:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 293 | else if CMP("à", str) { return(set_char_wrapper(str, 224)); } /* small a, grave accent */ - | ^~~ - | | - | unsigned char * +latin1.c:303:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 303 | else if CMP("ê", str) { return(set_char_wrapper(str, 234)); } /* small e, circumflex accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -4608,26 +5584,10 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:122:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 122 | else if (number==8212) { CPYSL(s, "--"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:254:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4638,26 +5598,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from latin1.c:35: -latin1.c:294:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 294 | else if CMP("á", str) { return(set_char_wrapper(str, 225)); } /* small a, acute accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:304:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 304 | else if CMP("ë", str) { return(set_char_wrapper(str, 235)); } /* small e, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -4676,28 +5629,15 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:126:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 126 | else if CMP("˜", s) { set_char(s, '~'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from latin1.c:35: -latin1.c:295:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 295 | else if CMP("â", str) { return(set_char_wrapper(str, 226)); } /* small a, circumflex accent */ - | ^~~ - | | - | unsigned char * +latin1.c:305:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 305 | else if CMP("ì", str) { return(set_char_wrapper(str, 236)); } /* small i, grave accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -4716,31 +5656,15 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:130:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 130 | else if (number==153) { CPYSL(s, "[tm]"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from latin1.c:35: -latin1.c:296:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 296 | else if CMP("ã", str) { return(set_char_wrapper(str, 227)); } /* small a, tilde */ +latin1.c:306:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 306 | else if CMP("í", str) { return(set_char_wrapper(str, 237)); } /* small i, acute accent */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -4759,28 +5683,15 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:131:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 131 | else if CMP("™", s) { CPYSL(s, "[tm]"); } - | ^ +In file included from latin1.c:35: +latin1.c:307:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 307 | else if CMP("î", str) { return(set_char_wrapper(str, 238)); } /* small i, circumflex accent */ + | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:297:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 297 | else if CMP("ä", str) { return(set_char_wrapper(str, 228)); } /* small a, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:258:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4791,7 +5702,7 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -4799,24 +5710,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:298:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 298 | else if CMP("å", str) { return(set_char_wrapper(str, 229)); } /* small a, ring */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from microsoft.c:18: -microsoft.c:131:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 131 | else if CMP("™", s) { CPYSL(s, "[tm]"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:259:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4827,39 +5720,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: +In file included from latin1.c:35: +latin1.c:308:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 308 | else if CMP("ï", str) { return(set_char_wrapper(str, 239)); } /* small i, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from microsoft.c:18: -microsoft.c:132:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 132 | else if (number==8482) { CPYSL(s, "[tm]"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from latin1.c:35: -latin1.c:299:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 299 | else if CMP("æ", str) { return(set_char_wrapper(str, 230)); } /* small ae diphthong (ligature) */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:260:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4870,30 +5747,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from latin1.c:24: +In file included from latin1.c:35: +latin1.c:309:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 309 | else if CMP("ð", str) { return(set_char_wrapper(str, 240)); } /* small eth, Icelandic */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:136:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 136 | else if CMP("š", s) { set_char(s, 's'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:261:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4904,17 +5774,13 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:300:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 300 | else if CMP("ç", str) { return(set_char_wrapper(str, 231)); } /* small c, cedilla */ +latin1.c:310:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 310 | else if CMP("ñ", str) { return(set_char_wrapper(str, 241)); } /* small n, tilde */ | ^~~ | | | unsigned char * @@ -4940,8 +5806,8 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:301:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 301 | else if CMP("è", str) { return(set_char_wrapper(str, 232)); } /* small e, grave accent */ +latin1.c:311:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 311 | else if CMP("ò", str) { return(set_char_wrapper(str, 242)); } /* small o, grave accent */ | ^~~ | | | unsigned char * @@ -4952,15 +5818,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:141:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 141 | else if CMP("›", s) { set_char(s, '>'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:263:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4971,17 +5828,13 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:302:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 302 | else if CMP("é", str) { return(set_char_wrapper(str, 233)); } /* small e, acute accent */ +latin1.c:312:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 312 | else if CMP("ó", str) { return(set_char_wrapper(str, 243)); } /* small o, acute accent */ | ^~~ | | | unsigned char * @@ -5002,39 +5855,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:18: -microsoft.c:145:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 145 | else if (number==156) { CPYSL(s, "oe"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from latin1.c:35: -latin1.c:303:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 303 | else if CMP("ê", str) { return(set_char_wrapper(str, 234)); } /* small e, circumflex accent */ +latin1.c:313:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 313 | else if CMP("ô", str) { return(set_char_wrapper(str, 244)); } /* small o, circumflex accent */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:266:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5045,32 +5878,14 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:18: -microsoft.c:146:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 146 | else if CMP("œ", s) { CPYSL(s, "oe"); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from html_tag.c:22: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:10: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:304:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 304 | else if CMP("ë", str) { return(set_char_wrapper(str, 235)); } /* small e, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:267:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5081,39 +5896,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:18: -microsoft.c:146:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 146 | else if CMP("œ", s) { CPYSL(s, "oe"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from latin1.c:24: +In file included from latin1.c:35: +latin1.c:314:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 314 | else if CMP("õ", str) { return(set_char_wrapper(str, 245)); } /* small o, tilde */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from microsoft.c:18: -microsoft.c:147:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 147 | else if (number==339) { CPYSL(s, "oe"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:268:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5124,26 +5923,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:305:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 305 | else if CMP("ì", str) { return(set_char_wrapper(str, 236)); } /* small i, grave accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ +In file included from latin1.c:35: +latin1.c:315:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 315 | else if CMP("ö", str) { return(set_char_wrapper(str, 246)); } /* small o, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -5163,8 +5955,8 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:306:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 306 | else if CMP("í", str) { return(set_char_wrapper(str, 237)); } /* small i, acute accent */ +latin1.c:316:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 316 | else if CMP("÷", str) { return(set_char_wrapper(str, 247)); } /* divide sign */ | ^~~ | | | unsigned char * @@ -5175,19 +5967,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:155:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 155 | else if CMP("Ÿ", s) { set_char(s, 'Y'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from microsoft.c:10: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:270:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5203,11 +5982,11 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:307:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 307 | else if CMP("î", str) { return(set_char_wrapper(str, 238)); } /* small i, circumflex accent */ - | ^~~ - | | - | unsigned char * +latin1.c:317:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 317 | else if CMP("ø", str) { return(set_char_wrapper(str, 248)); } /* small o, slash */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -5230,11 +6009,24 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:308:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 308 | else if CMP("ï", str) { return(set_char_wrapper(str, 239)); } /* small i, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * +latin1.c:318:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 318 | else if CMP("ù", str) { return(set_char_wrapper(str, 249)); } /* small u, grave accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:319:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 319 | else if CMP("ú", str) { return(set_char_wrapper(str, 250)); } /* small u, acute accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -5256,6 +6048,15 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:320:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 320 | else if CMP("û", str) { return(set_char_wrapper(str, 251)); } /* small u, circumflex accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:274:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5266,20 +6067,11 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:309:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 309 | else if CMP("ð", str) { return(set_char_wrapper(str, 240)); } /* small eth, Icelandic */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from html_tag.c:22: +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -5293,19 +6085,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:310:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 310 | else if CMP("ñ", str) { return(set_char_wrapper(str, 241)); } /* small n, tilde */ - | ^~~ - | | - | unsigned char * +latin1.c:321:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 321 | else if CMP("ü", str) { return(set_char_wrapper(str, 252)); } /* small u, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -5320,19 +6112,23 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from latin1.c:35: -latin1.c:311:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 311 | else if CMP("ò", str) { return(set_char_wrapper(str, 242)); } /* small o, grave accent */ +latin1.c:322:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 322 | else if CMP("ý", str) { return(set_char_wrapper(str, 253)); } /* small y, acute accent */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from html_tag.c:22: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:24: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:277:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5343,11 +6139,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:24: +In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +In file included from latin1.c:35: +latin1.c:323:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 323 | else if CMP("þ", str) { return(set_char_wrapper(str, 254)); } /* small thorn, Icelandic */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -5361,19 +6166,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:312:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 312 | else if CMP("ó", str) { return(set_char_wrapper(str, 243)); } /* small o, acute accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c:324:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 324 | else if CMP("ÿ", str) { return(set_char_wrapper(str, 255)); } /* small y, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ In file included from latin1.c:24: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -5392,19 +6197,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:313:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 313 | else if CMP("ô", str) { return(set_char_wrapper(str, 244)); } /* small o, circumflex accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:280:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5419,19 +6211,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:314:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 314 | else if CMP("õ", str) { return(set_char_wrapper(str, 245)); } /* small o, tilde */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:281:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5446,21 +6225,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c: In function 'microsoft_character': -In file included from latin1.c:35: -latin1.c:315:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 315 | else if CMP("ö", str) { return(set_char_wrapper(str, 246)); } /* small o, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:282:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5471,32 +6235,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:316:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 316 | else if CMP("÷", str) { return(set_char_wrapper(str, 247)); } /* divide sign */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:317:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 317 | else if CMP("ø", str) { return(set_char_wrapper(str, 248)); } /* small o, slash */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -5511,23 +6249,10 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:318:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 318 | else if CMP("ù", str) { return(set_char_wrapper(str, 249)); } /* small u, grave accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:284:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5542,30 +6267,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:319:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 319 | else if CMP("ú", str) { return(set_char_wrapper(str, 250)); } /* small u, acute accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -microsoft.c:178:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 178 | WORT_PLUS_STRING("EUR"); break; - | ^~~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -In file included from microsoft.c:15: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); In file included from util.h:4, from html_tag.c:31: html_tag.c:285:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5580,19 +6281,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:320:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 320 | else if CMP("û", str) { return(set_char_wrapper(str, 251)); } /* small u, circumflex accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:287:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5607,31 +6295,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:185:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 185 | WORT_PLUS_STRING("\""); break; - | ^~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -In file included from microsoft.c:15: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -In file included from latin1.c:35: -latin1.c:321:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 321 | else if CMP("ü", str) { return(set_char_wrapper(str, 252)); } /* small u, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:288:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5646,18 +6309,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:187:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 187 | WORT_PLUS_STRING("..."); break; - | ^~~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -In file included from microsoft.c:15: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); In file included from util.h:4, from html_tag.c:31: html_tag.c:289:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5668,35 +6319,10 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c:35: -latin1.c:322:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 322 | else if CMP("ý", str) { return(set_char_wrapper(str, 253)); } /* small y, acute accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:189:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 189 | WORT_PLUS_STRING("/-"); break; - | ^~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -In file included from microsoft.c:15: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); In file included from util.h:4, from html_tag.c:31: html_tag.c:290:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5711,31 +6337,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:323:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 323 | else if CMP("þ", str) { return(set_char_wrapper(str, 254)); } /* small thorn, Icelandic */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:191:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 191 | WORT_PLUS_STRING("/="); break; - | ^~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -In file included from microsoft.c:15: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); In file included from util.h:4, from html_tag.c:31: html_tag.c:291:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5750,31 +6351,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c:324:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 324 | else if CMP("ÿ", str) { return(set_char_wrapper(str, 255)); } /* small y, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from latin1.c:24: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:195:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 195 | WORT_PLUS_STRING("0/00"); break; - | ^~~~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -In file included from microsoft.c:15: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); In file included from util.h:4, from html_tag.c:31: html_tag.c:292:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5789,18 +6365,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:201:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 201 | WORT_PLUS_STRING("OE"); break; - | ^~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -In file included from microsoft.c:15: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); In file included from util.h:4, from html_tag.c:31: html_tag.c:293:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5829,18 +6393,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:219:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 219 | WORT_PLUS_STRING("--"); break; - | ^~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -In file included from microsoft.c:15: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); In file included from util.h:4, from html_tag.c:31: html_tag.c:295:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5855,15 +6407,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c:223:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 223 | WORT_PLUS_STRING("[tm]"); break; - | ^~~~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:296:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5874,9 +6417,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:15: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -5891,18 +6431,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:18: -microsoft.c:229:19: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 229 | WORT_PLUS_STRING("oe"); break; - | ^~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -In file included from microsoft.c:15: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); In file included from html_tag.c:22: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) @@ -6117,468 +6645,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from text.c:22: -text.c: In function 'only_spaces': -text.c:139:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 139 | int len=STRLEN(z); - | ^ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -In file included from text.c:14: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -In file included from util.h:4, - from text.c:22: -text.c: In function 'wort_plus_string_nocount': -text.c:251:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 251 | int len=STRLEN(s), - | ^ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -In file included from text.c:14: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -In file included from util.h:4, - from text.c:22: -text.c: In function 'wort_plus_string': -text.c:276:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 276 | int len=STRLEN(s), - | ^ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -In file included from text.c:14: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -In file included from util.h:4, - from text.c:22: -text.c: In function 'wort_ende': -multibyte.h:42:19: warning: pointer targets in passing argument 1 of 'zeile_plus_wort' differ in signedness [-Wpointer-sign] - 42 | #define ONESPACE " " - | ^~~ - | | - | char * -text.c:331:42: note: in expansion of macro 'ONESPACE' - 331 | while (i0) { zeile_plus_wort(ONESPACE,1,1); } - | ^~~~~~~~ -text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' - 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) -In file included from util.h:4, - from text.c:22: -multibyte.h:42:19: warning: pointer targets in passing argument 1 of 'zeile_plus_wort' differ in signedness [-Wpointer-sign] - 42 | #define ONESPACE " " - | ^~~ - | | - | char * -text.c:342:23: note: in expansion of macro 'ONESPACE' - 342 | zeile_plus_wort(ONESPACE,1,1); zeile_plus_wort(wort,wort_len, wort_pos); - | ^~~~~~~~ -text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' - 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) -In file included from util.h:4, - from text.c:22: -multibyte.h:42:19: warning: pointer targets in passing argument 1 of 'zeile_plus_wort' differ in signedness [-Wpointer-sign] - 42 | #define ONESPACE " " - | ^~~ - | | - | char * -text.c:351:42: note: in expansion of macro 'ONESPACE' - 351 | while (i0) { zeile_plus_wort(ONESPACE,1,1); } - | ^~~~~~~~ -text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' - 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) -In file included from util.h:4, - from text.c:22: -text.c: In function 'hr': -text.c:424:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 424 | if CMP("ALIGN", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from text.c:14: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from text.c:22: -text.c:427:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 427 | if CMP("LEFT", attr_ctnt) { hr_align=LEFT; } - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from text.c:14: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from text.c:22: -text.c:428:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 428 | else if CMP("CENTER", attr_ctnt) { hr_align=CENTER; } - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from text.c:14: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from text.c:22: -text.c:429:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 429 | else if CMP("RIGHT", attr_ctnt) { hr_align=RIGHT; } - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from text.c:14: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from text.c:22: -text.c:430:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 430 | else if CMP("JUSTIFY", attr_ctnt) { hr_align=LEFT; } - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from text.c:14: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from text.c:22: -text.c:433:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 433 | else if CMP("WIDTH", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -In file included from text.c:14: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from text.c:22: -text.c:435:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 435 | i=STRLEN(attr_ctnt); - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -In file included from text.c:14: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -In file included from util.h:4, - from text.c:22: -text.c:438:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 438 | hr_width = ATOI(attr_ctnt); - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:40:23: note: in definition of macro 'ATOI' - 40 | #define ATOI(n) atoi(n) - | ^ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from text.c:12: -/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 361 | __NTH (atoi (const char *__nptr)) - | ^~~~~ -In file included from util.h:4, - from text.c:22: -text.c:442:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 442 | hr_width = ATOI(attr_ctnt)/8; - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:40:23: note: in definition of macro 'ATOI' - 40 | #define ATOI(n) atoi(n) - | ^ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from text.c:12: -/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 361 | __NTH (atoi (const char *__nptr)) - | ^~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -fdebug-prefix-map=/build/vilistextum-2.6.9=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -c -o main.o main.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -fdebug-prefix-map=/build/vilistextum-2.6.9=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -c -o util.o util.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -fdebug-prefix-map=/build/vilistextum-2.6.9=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -c -o unicode_entities.o unicode_entities.c -In file included from unicode_entities.c:17: -unicode_entities.c: In function 'ligature_entity': -unicode_entities.c:50:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 50 | CPYSL(s, "ff"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from unicode_entities.c:17: -unicode_entities.c:52:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 52 | CPYSL(s, "fi"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from unicode_entities.c:17: -unicode_entities.c:54:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 54 | CPYSL(s, "fl"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from unicode_entities.c:17: -unicode_entities.c:56:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 56 | CPYSL(s, "ffi"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from unicode_entities.c:17: -unicode_entities.c:58:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 58 | CPYSL(s, "ffl"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from fileio.h:4, - from main.c:109: -main.c:134:28: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] - 134 | CHAR *default_image=STRING("Image"); /* Default string for IMG without ALT-tag */ - | ^~~~~~~ -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from unicode_entities.c:17: -unicode_entities.c:60:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 60 | CPYSL(s, "ft"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from unicode_entities.c:17: -unicode_entities.c:62:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 62 | CPYSL(s, "st"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from unicode_entities.c:17: -unicode_entities.c:64:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 64 | CPYSL(s, "IJ"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from unicode_entities.c:17: -unicode_entities.c:66:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 66 | CPYSL(s, "ij"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from unicode_entities.c:17: -unicode_entities.c:68:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 68 | CPYSL(s, "OE"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from unicode_entities.c:17: -unicode_entities.c:70:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 70 | CPYSL(s, "oe"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/i386-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -main.c: In function 'parse_args': -main.c:273:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 273 | default_image = argument; break; - | ^ -In file included from util.c:23: -util.c: In function 'x2dec': -util.c:141:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 141 | int len=STRLEN(str); - | ^~~ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -In file included from util.c:19: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -In file included from util.c:23: -util.c: In function 'extract_entity_number': -util.c:192:18: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 192 | number = ATOI(tmp); - | ^~~ - | | - | unsigned char * -multibyte.h:40:23: note: in definition of macro 'ATOI' - 40 | #define ATOI(n) atoi(n) - | ^ -In file included from /usr/include/features.h:461, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from util.c:16: -/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 361 | __NTH (atoi (const char *__nptr)) - | ^~~~~ gcc -Wall -O2 -ansi -g -O2 -fdebug-prefix-map=/build/vilistextum-2.6.9=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/local/include -Wl,-z,relro -L/usr/local/lib -o vilistextum charset.o html.o latin1.o html_tag.o lists.o microsoft.o text.o fileio.o main.o util.o unicode_entities.o make[3]: Leaving directory '/build/vilistextum-2.6.9/src' Making all in doc @@ -6613,7 +6679,7 @@ make[2]: Leaving directory '/build/vilistextum-2.6.9' make[1]: Leaving directory '/build/vilistextum-2.6.9' dh_auto_test - make -j8 test VERBOSE=1 + make -j15 test VERBOSE=1 make[1]: Entering directory '/build/vilistextum-2.6.9' Making check in src make[2]: Entering directory '/build/vilistextum-2.6.9/src' @@ -6630,8 +6696,8 @@ make[4]: Entering directory '/build/vilistextum-2.6.9/tests' PASS: check_tags PASS: check_utf8 -PASS: check_latin2 PASS: check_entities +PASS: check_latin2 ============================================================================ Testsuite summary for ============================================================================ @@ -6655,13 +6721,13 @@ dh_testroot dh_prep dh_auto_install - make -j8 install DESTDIR=/build/vilistextum-2.6.9/debian/vilistextum AM_UPDATE_INFO_DIR=no + make -j15 install DESTDIR=/build/vilistextum-2.6.9/debian/vilistextum AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/vilistextum-2.6.9' Making install in src make[2]: Entering directory '/build/vilistextum-2.6.9/src' make[3]: Entering directory '/build/vilistextum-2.6.9/src' make[3]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/vilistextum-2.6.9/debian/vilistextum/usr/bin' + /usr/bin/mkdir -p '/build/vilistextum-2.6.9/debian/vilistextum/usr/bin' /usr/bin/install -c vilistextum '/build/vilistextum-2.6.9/debian/vilistextum/usr/bin' make[3]: Leaving directory '/build/vilistextum-2.6.9/src' make[2]: Leaving directory '/build/vilistextum-2.6.9/src' @@ -6669,7 +6735,7 @@ make[2]: Entering directory '/build/vilistextum-2.6.9/doc' make[3]: Entering directory '/build/vilistextum-2.6.9/doc' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/vilistextum-2.6.9/debian/vilistextum/usr/share/man/man1' + /usr/bin/mkdir -p '/build/vilistextum-2.6.9/debian/vilistextum/usr/share/man/man1' /usr/bin/install -c -m 644 vilistextum.1 '/build/vilistextum-2.6.9/debian/vilistextum/usr/share/man/man1' make[3]: Leaving directory '/build/vilistextum-2.6.9/doc' make[2]: Leaving directory '/build/vilistextum-2.6.9/doc' @@ -6713,12 +6779,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/29067/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/29067/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/4977 and its subdirectories -I: Current time: Sat Jul 24 01:09:13 -12 2021 -I: pbuilder-time-stamp: 1627132153 +I: removing directory /srv/workspace/pbuilder/29067 and its subdirectories +I: Current time: Sat Aug 27 09:32:38 +14 2022 +I: pbuilder-time-stamp: 1661542358