Diff of the two buildlogs: -- --- b1/build.log 2022-02-10 01:13:07.459846218 +0000 +++ b2/build.log 2022-02-10 01:13:41.282802208 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 14 19:35:38 -12 2023 -I: pbuilder-time-stamp: 1678865738 +I: Current time: Thu Feb 10 15:13:08 +14 2022 +I: pbuilder-time-stamp: 1644455588 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./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.Aza7nSCM/trustedkeys.kbx': General error -gpgv: Signature made Sat Jan 9 07:14:04 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.wiAmB5eb/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 @@ -29,135 +29,169 @@ dpkg-source: info: applying gcc-10.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/491126/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2073874/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2073874/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2073874/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='0b1b1bc4f8394028a281a9ad2e7e3afc' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='491126' - PS1='# ' - PS2='> ' + INVOCATION_ID=b0464b109d264ce983db79e7377a42f6 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2073874 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.m7wLPf3yiI/pbuilderrc_wBaH --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.m7wLPf3yiI/b1 --logfile b1/build.log vilistextum_2.6.9-1.3.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.m7wLPf3yiI/pbuilderrc_r8Ux --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.m7wLPf3yiI/b2 --logfile b2/build.log vilistextum_2.6.9-1.3.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos5-amd64 5.15.0-0.bpo.2-amd64 #1 SMP Debian 5.15.5-2~bpo11+1 (2022-01-02) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Mar 12 03:46 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/491126/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 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 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Feb 10 15:13 sh -> bash + lrwxrwxrwx 1 root root 4 Feb 7 23:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 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/2073874/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -224,7 +258,7 @@ Get: 29 http://deb.debian.org/debian bullseye/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main amd64 debhelper all 13.3.4 [1049 kB] -Fetched 18.3 MB in 0s (65.3 MB/s) +Fetched 18.3 MB in 0s (62.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19655 files and directories currently installed.) @@ -369,7 +403,8 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/vilistextum-2.6.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../vilistextum_2.6.9-1.3_source.changes +hostname: Name or service not known +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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../vilistextum_2.6.9-1.3_source.changes dpkg-buildpackage: info: source package vilistextum dpkg-buildpackage: info: source version 2.6.9-1.3 dpkg-buildpackage: info: source distribution unstable @@ -444,7 +479,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j16 + make -j15 make[1]: Entering directory '/build/vilistextum-2.6.9' make all-recursive make[2]: Entering directory '/build/vilistextum-2.6.9' @@ -459,240 +494,11 @@ 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 unicode_entities.c:17: -unicode_entities.c: In function 'ligature_entity': -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) - | ~~~~~~~~~~~~^~~~ -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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/x86_64-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 /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/x86_64-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 util.h:4, - from html.c:33: -html.c: In function 'get_attr': -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/x86_64-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: In function 'html_tag': -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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/x86_64-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) - | ^~~~ -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); } - | ^~~~~~~~~ - | | - | 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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/x86_64-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: In function 'microsoft_entities': 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(); } | ^~~ @@ -701,23 +507,18 @@ 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:70:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 70 | CPYSL(s, "oe"); break; - | ^ - | | - | unsigned char * +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 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 /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, - from unicode_entities.c:10: + from microsoft.c:10: /usr/include/x86_64-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)) | ^~~~~ @@ -725,22 +526,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 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] - 139 | CPYSS(attr_ctnt, temp); - | ^~~~~~~~~ - | | - | 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: -/usr/include/x86_64-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:67:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -751,26 +545,26 @@ 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 util.h:4, from html.c:33: -html.c:139:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 139 | CPYSS(attr_ctnt, temp); - | ^~~~ - | | - | 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/x86_64-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)) - | ^~~~~ +html.c: In function 'get_attr': +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 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] @@ -781,6 +575,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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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) @@ -795,10 +596,38 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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); } + | ^~~~~~~~~ + | | + | 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: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 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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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: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:70:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -813,6 +642,45 @@ /usr/include/string.h:137:50: note: 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, ','); } + | ^ + | | + | 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] + 139 | CPYSS(attr_ctnt, temp); + | ^~~~~~~~~ + | | + | 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: +/usr/include/x86_64-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:139:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 139 | CPYSS(attr_ctnt, temp); + | ^~~~ + | | + | 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:73:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -827,6 +695,25 @@ /usr/include/string.h:137:50: note: 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/x86_64-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: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 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] @@ -841,9 +728,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 'check_for_center': +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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:80:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -858,15 +758,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) | ~~~~~~~~~~~~^~~~ -html.c:275:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 275 | if CMP("ALIGN", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * +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 html.c:23: +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) | ~~~~~~~~~~~~^~~~ @@ -884,20 +785,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:279:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 279 | if CMP("LEFT", attr_ctnt) { push_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.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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:82:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -912,16 +815,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:280:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 280 | else if CMP("CENTER", attr_ctnt) { push_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 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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:85:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -932,14 +841,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 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 util.h:4, + from html.c:33: +html.c: In function 'check_for_center': +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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] @@ -950,21 +874,32 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +html.c:275:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 275 | 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 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:281:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 281 | else if CMP("RIGHT", attr_ctnt) { push_align(RIGHT); } - | ^~~~~~~~~ - | | - | unsigned char * +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: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 html.c:23: +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) | ~~~~~~~~~~~~^~~~ @@ -982,13 +917,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: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 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] - 282 | else if CMP("JUSTIFY", attr_ctnt) { push_align(LEFT); } - | ^~~~~~~~~ - | | - | unsigned char * +html.c:279:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 279 | if CMP("LEFT", attr_ctnt) { push_align(LEFT); } + | ^~~~~~~~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -996,6 +940,13 @@ /usr/include/string.h:137:50: note: 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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:89:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1010,6 +961,36 @@ /usr/include/string.h:137:50: note: 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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:280:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 280 | else if CMP("CENTER", attr_ctnt) { push_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.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:90:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1024,6 +1005,32 @@ /usr/include/string.h:137:50: note: 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 /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:281:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 281 | else if CMP("RIGHT", attr_ctnt) { push_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 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] @@ -1034,18 +1041,171 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -html.c: In function 'print_footnote_number': +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 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 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] + 282 | else if CMP("JUSTIFY", attr_ctnt) { push_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 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 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 /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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.h:5, + from lists.c:16: +lists.c: In function 'check_style': +html.c: In function 'print_footnote_number': +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) + | ^~ html.c:352:2: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] 352 | snprintf(temp, 1000, "[%d]", number); | ^~~~~~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ^~ 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 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 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 /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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.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 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 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 /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:92:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1056,10 +1216,50 @@ 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 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 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 util.h:4, + from html.c:33: +html.c: In function 'href': +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.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 html_tag.c:31: html_tag.c:93:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1070,23 +1270,10 @@ 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 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 util.h:4, - from html.c:33: -html.c: In function 'href': -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] - 108 | else if CMP("B", str) { if (convert_tags) { wort_plus_ch('*'); } } - | ^~~ - | | - | 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) @@ -1099,28 +1286,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 html_tag.c:31: -html_tag.c:109:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 109 | else if CMP("/B", str) { if (convert_tags) { wort_plus_ch('*'); } } - | ^~~ - | | - | 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 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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:110:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 110 | else if CMP("I", str) { if (convert_tags) { wort_plus_ch('/'); } } +html_tag.c:108:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 108 | else if CMP("B", str) { if (convert_tags) { wort_plus_ch('*'); } } | ^~~ | | | unsigned char * @@ -1131,6 +1320,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: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 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] @@ -1141,14 +1339,18 @@ multibyte.h:45:42: note: in definition of macro 'STRSTR' 45 | #define STRSTR(haystack, needle) strstr(haystack, needle) | ^~~~~~~~ +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.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:111:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 111 | else if CMP("/I", str) { if (convert_tags) { wort_plus_ch('/'); } } +html_tag.c:109:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 109 | else if CMP("/B", str) { if (convert_tags) { wort_plus_ch('*'); } } | ^~~ | | | unsigned char * @@ -1159,6 +1361,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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:380:64: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] @@ -1169,24 +1387,59 @@ 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: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 */ +html_tag.c:110:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 110 | else if CMP("I", str) { if (convert_tags) { wort_plus_ch('/'); } } | ^~~ | | | 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: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 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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:111:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 111 | else if CMP("/I", str) { if (convert_tags) { wort_plus_ch('/'); } } + | ^~~ + | | + | 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: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 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] @@ -1197,17 +1450,25 @@ 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_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 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:113:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 113 | else if CMP("/U", str) { if (convert_tags) { wort_plus_ch('_'); } } /* deprecated */ - | ^~~ - | | - | unsigned char * +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 */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -1215,17 +1476,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 util.h:4, - from html_tag.c:31: -html_tag.c:114:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 114 | else if CMP("STRONG", str) { if (convert_tags) { wort_plus_ch('*'); } } - | ^~~ - | | - | unsigned char * +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 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) | ~~~~~~~~~~~~^~~~ @@ -1247,11 +1507,11 @@ | ^~~~~ 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] - 115 | else if CMP("/STRONG", str) { if (convert_tags) { wort_plus_ch('*'); } } - | ^~~ - | | - | unsigned char * +html_tag.c:113:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 113 | else if CMP("/U", str) { if (convert_tags) { wort_plus_ch('_'); } } /* deprecated */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -1259,6 +1519,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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:392:25: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] @@ -1269,27 +1545,59 @@ 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:114:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 114 | else if CMP("STRONG", str) { if (convert_tags) { wort_plus_ch('*'); } } + | ^~~ + | | + | 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/ctype.h:25, from html.c:21: /usr/include/x86_64-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:116:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 116 | else if CMP("EM", str) { if (convert_tags) { wort_plus_ch('/'); } } - | ^~~ - | | - | unsigned char * +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: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 html_tag.c:22: +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:115:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 115 | else if CMP("/STRONG", str) { if (convert_tags) { wort_plus_ch('*'); } } + | ^~~ + | | + | 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: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 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); @@ -1299,28 +1607,53 @@ multibyte.h:33:34: 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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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/ctype.h:25, from html.c:21: /usr/include/x86_64-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 util.h:4, from html_tag.c:31: -html_tag.c:117:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 117 | else if CMP("/EM", str) { if (convert_tags) { wort_plus_ch('/'); } } - | ^~~ - | | - | unsigned char * +html_tag.c:116:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 116 | else if CMP("EM", str) { if (convert_tags) { wort_plus_ch('/'); } } + | ^~~ + | | + | 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: In function 'microsoft_entities': 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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:394:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] @@ -1331,14 +1664,6 @@ multibyte.h:33:40: note: in definition of macro 'CPYSS' 33 | #define CPYSS(dest, src) strcpy(dest, src) | ^~~ -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/ctype.h:25, from html.c:21: @@ -1347,37 +1672,34 @@ | ^~~~~ 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] - 118 | else if CMP("EMPH", str) { if (convert_tags) { wort_plus_ch('/'); } } /* sometimes used, but doesn't really exist */ - | ^~~ - | | - | unsigned char * +html_tag.c:117:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 117 | else if CMP("/EM", str) { if (convert_tags) { wort_plus_ch('/'); } } + | ^~~ + | | + | 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.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 /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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 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 * +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) + | ~~~~~~~~~~~~^~~~ 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:")); | ^~~~~~~~~~~~~~~~ @@ -1386,32 +1708,53 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ -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:118:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 118 | else if CMP("EMPH", str) { if (convert_tags) { wort_plus_ch('/'); } } /* sometimes used, but doesn't really exist */ + | ^~~ + | | + | 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: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 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 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 /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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: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 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] + 119 | else if CMP("/EMPH", str) { if (convert_tags) { wort_plus_ch('/'); } } /* sometimes used, but doesn't really exist */ + | ^~~ + | | + | 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) + | ~~~~~~~~~~~~^~~~ html.c:418:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 418 | if (STRLEN(link_inline)>0) { | ^~~~~~~~~~~ @@ -1420,39 +1763,37 @@ 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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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: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 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, ','); } +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 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] + 124 | else if CMP("H1", str) { start_p(); } + | ^~~ + | | + | 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 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] @@ -1463,32 +1804,50 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ +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] + 125 | else if CMP("/H1", str) { paragraphen_ende(); } + | ^~~ + | | + | 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: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 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 */ - | ^~~ +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 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] - 119 | else if CMP("/EMPH", str) { if (convert_tags) { wort_plus_ch('/'); } } /* sometimes used, but doesn't really exist */ - | ^~~ - | | - | unsigned char * +html_tag.c:126:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 126 | else if CMP("H2", str) { start_p(); } + | ^~~ + | | + | 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:422:28: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] @@ -1499,115 +1858,43 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ -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: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 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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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:124:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 124 | else if CMP("H1", str) { start_p(); } - | ^~~ - | | - | 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.c:33: -html.c: In function 'image': -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: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 * +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 latin1.c:35: -latin1.c: In function 'parse_entity': 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] - 125 | else if CMP("/H1", str) { paragraphen_ende(); } +html_tag.c:127:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 127 | else if CMP("/H2", str) { paragraphen_ende(); } | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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_tag.c:22: +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.c:23: +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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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: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.c:33: +html.c: In function 'image': 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] - 126 | else if CMP("H2", str) { start_p(); } +html_tag.c:128:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 128 | else if CMP("H3", str) { start_p(); } | ^~~ | | | unsigned char * @@ -1619,43 +1906,34 @@ 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.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 * +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) + | ~~~~~~~~~~~~^~~~ +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 /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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: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.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:127:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 127 | else if CMP("/H2", str) { paragraphen_ende(); } +html_tag.c:129:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 129 | else if CMP("/H3", str) { paragraphen_ende(); } | ^~~ | | | unsigned char * @@ -1667,23 +1945,14 @@ 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 */ +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 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/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, @@ -1691,49 +1960,40 @@ /usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/x86_64-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: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 util.h:4, from html_tag.c:31: -html_tag.c:128:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 128 | else if CMP("H3", str) { start_p(); } +html_tag.c:130:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 130 | else if CMP("H4", str) { start_p(); } | ^~~ | | | 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: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 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 /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/x86_64-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: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 * +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) | ^~ @@ -1743,8 +2003,8 @@ | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: -html_tag.c:129:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 129 | else if CMP("/H3", str) { paragraphen_ende(); } +html_tag.c:131:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 131 | else if CMP("/H4", str) { paragraphen_ende(); } | ^~~ | | | unsigned char * @@ -1756,8 +2016,8 @@ 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 */ +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 * @@ -1773,46 +2033,27 @@ | ^~~~~ 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] - 130 | else if CMP("H4", str) { start_p(); } +html_tag.c:132:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 132 | else if CMP("H5", str) { start_p(); } | ^~~ | | | 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: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 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: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 */ +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.c:33: -html.c: In function 'start_nooutput': -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, @@ -1820,165 +2061,58 @@ /usr/include/x86_64-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: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 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] - 131 | else if CMP("/H4", str) { paragraphen_ende(); } +html_tag.c:133:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 133 | else if CMP("/H5", str) { paragraphen_ende(); } | ^~~ | | | 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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/x86_64-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 util.h:4, + from html.c:33: +html.c: In function 'start_nooutput': 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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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:607:15: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 607 | if CMP("/", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * +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 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:132:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 132 | else if CMP("H5", str) { start_p(); } +html_tag.c:134:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 134 | else if CMP("H6", str) { start_p(); } | ^~~ | | | 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: In function 'parse_entities': -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) | ~~~~~~~~~~~~^~~~ -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 util.h:4, - from html_tag.c:31: -html_tag.c:133:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 133 | else if CMP("/H5", str) { paragraphen_ende(); } - | ^~~ - | | - | 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) - | ~~~~~~~~~~~~^~~ 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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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] - 134 | else if CMP("H6", str) { start_p(); } - | ^~~ - | | - | 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) | ^~ -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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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:135:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1989,29 +2123,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: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 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 /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/x86_64-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 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, "/="); } +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 * @@ -2025,15 +2147,6 @@ /usr/include/x86_64-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: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 util.h:4, from html_tag.c:31: html_tag.c:137:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2048,19 +2161,12 @@ /usr/include/string.h:137:50: note: 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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/x86_64-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 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 * +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) | ^~ @@ -2078,13 +2184,15 @@ 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 'parse_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 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, "/="); } +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 * @@ -2098,6 +2206,14 @@ /usr/include/x86_64-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: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:140:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2108,13 +2224,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: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 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, "/="); } +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 * @@ -2129,14 +2249,14 @@ 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ 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) - | ^~~~ +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 html_tag.c:31: html_tag.c:141:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2151,41 +2271,41 @@ from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from latin1.c:21: -/usr/include/x86_64-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)) +/usr/include/x86_64-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: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 * +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 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 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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from latin1.c:21: -/usr/include/x86_64-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)) +/usr/include/x86_64-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: @@ -2201,31 +2321,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: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 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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:25, - from latin1.c:21: -/usr/include/x86_64-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)) - | ^~~~~ +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 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] @@ -2236,46 +2344,26 @@ 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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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: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' +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/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from latin1.c:21: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' +/usr/include/x86_64-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 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] @@ -2286,19 +2374,28 @@ 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: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"); } +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 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/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, @@ -2306,6 +2403,13 @@ /usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/x86_64-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:146:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2316,26 +2420,37 @@ 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: /usr/include/string.h:137:50: note: 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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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: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: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:147:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2346,29 +2461,42 @@ 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 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 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: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 /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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) - | ^~ +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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: +/usr/include/x86_64-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:148:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2379,20 +2507,44 @@ 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) - | ~~~~~~~~~~~~^~~~ -In file included from util.c:23: -util.c: In function 'x2dec': 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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/x86_64-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 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 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 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] @@ -2403,41 +2555,18 @@ 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: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 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: -/usr/include/string.h:137:50: note: 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 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) | ~~~~~~~~~~~~^~~~ -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:10: +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/x86_64-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) | ~~~~~~~~~~~~^~~~ @@ -2451,43 +2580,10 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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 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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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: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) - | ~~~~~~~~~~~~^~~~ 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] @@ -2502,74 +2598,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 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 util.c:23: -util.c: In function 'extract_entity_number': 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 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 * -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) - | ~~~~~~~~~~~~^~~~ +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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/x86_64-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 latin1.c:35: -latin1.c: In function 'latin1': -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) - | ~~~~~~~~~~~~^~~~ +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 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] @@ -2580,60 +2633,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: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:137:50: note: 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 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) | ~~~~~~~~~~~~^~~~ -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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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)) + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/x86_64-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 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) - | ~~~~~~~~~~~~^~~~ +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 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] @@ -2644,42 +2663,33 @@ 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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:25, + from latin1.c:21: +/usr/include/x86_64-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: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/x86_64-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)) - | ^~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + from latin1.c:21: +/usr/include/x86_64-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 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 * -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:155:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2690,30 +2700,12 @@ 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 util.h:4, - from text.c:22: -text.c: In function 'only_spaces': 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) - | ~~~~~~~~~~~~^~~~ +microsoft.c: In function 'microsoft_character': 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] @@ -2724,44 +2716,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: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 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) - | ~~~~~~~~~~~~^~~~ -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 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) - | ~~~~~~~~~~~~^~~~ +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 latin1.c:35: +latin1.c: In function 'html_entity': +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:157:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2772,20 +2743,15 @@ 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 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: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: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) | ^~ @@ -2793,6 +2759,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: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 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] @@ -2803,29 +2778,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: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: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) | ~~~~~~~~~~~~^~~~ -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: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 * +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) | ^~ @@ -2833,6 +2798,18 @@ /usr/include/string.h:137:50: note: 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:159:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -2848,71 +2825,73 @@ 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 * +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:162:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 162 | else if CMP("IMG", str) { image(default_image, 1); } + | ^~~ + | | + | 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: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: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: +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_tag.c:31: -html_tag.c:162:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 162 | else if CMP("IMG", str) { image(default_image, 1); } - | ^~~ - | | - | 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: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, '*'); } - | ^ +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 util.h:4, + from html_tag.c:31: +html_tag.c:163:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 163 | else if CMP("APPLET", str) { image(STRING("Applet"), 1); } /* deprecated */ + | ^~~ | | | 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 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) | ~~~~~~~~~~~~^~~~ 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 util.h:4, - from html_tag.c:31: -html_tag.c:163:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 163 | else if CMP("APPLET", str) { image(STRING("Applet"), 1); } /* deprecated */ +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 * @@ -2923,19 +2902,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 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 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] @@ -2946,26 +2912,18 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ -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 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) - | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from text.c:22: -text.c: In function 'wort_plus_string_nocount': +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.h:5, from html_tag.c:24: multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' @@ -2973,47 +2931,31 @@ html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ -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 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 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: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 /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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 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:164:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3028,16 +2970,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: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 * +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 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) | ~~~~~~~~~~~~^~~~ @@ -3051,15 +2993,6 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ -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 html.h:5, from html_tag.c:24: multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' @@ -3067,30 +3000,28 @@ html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ -In file included from util.h:4, - from text.c:22: -text.c: In function 'wort_plus_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 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) - | ^~~~ -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) - | ^ +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 latin1.c:35: +latin1.c: In function 'latin1': +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); +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 util.h:4, from html_tag.c:31: html_tag.c:165:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3101,43 +3032,26 @@ 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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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 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 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: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 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: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) - | ^~~~ +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_tag.c:31: html_tag.c:165:45: warning: pointer targets in passing argument 1 of 'image' differ in signedness [-Wpointer-sign] @@ -3148,13 +3062,15 @@ 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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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: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 html.h:5, from html_tag.c:24: multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' @@ -3162,28 +3078,22 @@ html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ -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 * -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: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) - | ^~ +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 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] @@ -3194,47 +3104,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: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 text.c:22: -text.c: In function 'wort_ende': 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: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: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) | ^~ -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); } - | ^~~~~~~~ -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] 172 | else if CMP("TH", str) { wort_plus_ch(' '); } @@ -3332,25 +3187,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: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) - | ^~ -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 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) - | ~~~~~~~~~~~~^~~~ +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 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] @@ -3361,26 +3202,16 @@ 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:342:23: note: in expansion of macro 'ONESPACE' - 342 | zeile_plus_wort(ONESPACE,1,1); zeile_plus_wort(wort,wort_len, wort_pos); - | ^~~~~~~~ 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: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: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) | ^~ @@ -3388,14 +3219,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 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_tag.c:31: html_tag.c:174:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3410,32 +3233,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 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 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:175:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3446,40 +3243,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: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 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: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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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': In file included from util.h:4, from html_tag.c:31: html_tag.c:176:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3490,44 +3270,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: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 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 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 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) | ~~~~~~~~~~~~^~~~ -main.c:273:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 273 | default_image = argument; break; - | ^ -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 /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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:177:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3538,22 +3297,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: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 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: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) */ +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 */ | ^~~ | | | unsigned char * @@ -3579,30 +3329,18 @@ 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: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 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); } - | ^~~~~~~~ -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: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:182:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 182 | else if CMP("DL", str) { start_dl();} /* Definition List */ @@ -3652,20 +3374,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: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: +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) | ~~~~~~~~~~~~^~~~ @@ -3679,19 +3392,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: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 */ +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 */ | ^~~ | | | 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) @@ -3711,8 +3424,8 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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 */ +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 * @@ -3738,11 +3451,11 @@ 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 * +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) | ^~ @@ -3764,15 +3477,12 @@ /usr/include/string.h:137:50: note: 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 'hr': 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 * +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) | ^~ @@ -3794,27 +3504,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) | ~~~~~~~~~~~~^~~~ -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 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 */ - | ^~~ - | | - | unsigned char * +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) | ^~ -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: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) @@ -3833,16 +3531,12 @@ /usr/include/string.h:137:50: note: 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 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 * +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) | ^~ @@ -3856,25 +3550,11 @@ 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) - | ~~~~~~~~~~~~^~~~ 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: +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) | ~~~~~~~~~~~~^~~~ @@ -3893,11 +3573,11 @@ 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 */ - | ^~~ - | | - | 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) | ^~ @@ -3905,33 +3585,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 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 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 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 html_tag.c:31: html_tag.c:193:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3947,8 +3600,8 @@ 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 */ +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 * @@ -3959,15 +3612,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: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 util.h:4, from html_tag.c:31: html_tag.c:194:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -3978,37 +3622,16 @@ 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: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 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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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 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: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: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) | ^~ @@ -4016,15 +3639,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: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 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] @@ -4035,32 +3649,10 @@ 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: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: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 * -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:196:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4071,53 +3663,9 @@ 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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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 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 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:197:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 197 | else if CMP("/TEXTAREA", 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: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: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 * @@ -4132,24 +3680,13 @@ /usr/include/string.h:137:50: note: 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 /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-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:198:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 198 | else if CMP("LEGEND", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:197:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 197 | else if CMP("/TEXTAREA", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -4158,8 +3695,8 @@ 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 */ +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 * @@ -4170,26 +3707,13 @@ /usr/include/string.h:137:50: note: 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:199:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 199 | else if CMP("/LEGEND", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:198:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 198 | else if CMP("LEGEND", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -4198,42 +3722,29 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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) */ +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 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:433:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 433 | else if CMP("WIDTH", attr_name) - | ^~~~~~~~~ + from html_tag.c:31: +html_tag.c:199:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 199 | else if CMP("/LEGEND", 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: +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: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: +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) | ~~~~~~~~~~~~^~~~ @@ -4247,33 +3758,19 @@ 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 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 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 * +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 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) @@ -4288,23 +3785,13 @@ 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 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: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 */ +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 * @@ -4329,16 +3816,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 /usr/include/features.h:461, - from /usr/include/x86_64-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: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 */ +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 * @@ -4364,28 +3844,18 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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 */ +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 microsoft.c:18: -microsoft.c: In function 'microsoft_character': 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 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] @@ -4396,52 +3866,10 @@ 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) | ~~~~~~~~~~~~^~~~ -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 */ - | ^~~ - | | - | 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: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 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: -/usr/include/string.h:137:50: note: 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] @@ -4452,60 +3880,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: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 * -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: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 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: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: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 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 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:208:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4520,18 +3898,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: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:209:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4542,32 +3908,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: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 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: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 util.h:4, from html_tag.c:31: html_tag.c:210:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4578,38 +3922,10 @@ 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) | ~~~~~~~~~~~~^~~~ -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: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:211:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4624,31 +3940,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: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 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: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:212:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4663,15 +3954,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: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 util.h:4, from html_tag.c:31: html_tag.c:213:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4682,26 +3964,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) - | ~~~~~~~~~~~~^~~~ 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: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:214:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4716,28 +3982,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: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 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: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:215:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4748,9 +3992,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) @@ -4765,35 +4006,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: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 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: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 util.h:4, from html_tag.c:31: html_tag.c:217:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4808,19 +4024,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: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 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] @@ -4831,10 +4034,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: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 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:221:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4850,11 +4066,11 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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: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) | ^~ @@ -4876,6 +4092,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: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:223:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4891,18 +4120,14 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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 */ +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) - | ~~~~~~~~~~~~^~~~ In file included from util.h:4, from html_tag.c:31: html_tag.c:224:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -4913,23 +4138,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 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 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 */ +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 * @@ -4946,11 +4165,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: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) | ~~~~~~~~~~~~^~~~ @@ -4964,26 +4183,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 /usr/include/features.h:461, - from /usr/include/x86_64-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: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 * +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 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) @@ -4998,10 +4210,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: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 */ + | ^~~ + | | + | 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:228:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5012,19 +4237,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: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 * +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) @@ -5044,11 +4269,11 @@ 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 */ - | ^~~ - | | - | unsigned char * +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) | ^~ @@ -5071,11 +4296,24 @@ 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: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 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 */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -5098,8 +4336,8 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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) */ +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 * @@ -5125,11 +4363,11 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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: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) | ^~ @@ -5152,14 +4390,18 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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 */ +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:237:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5170,27 +4412,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: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: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: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 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] @@ -5201,6 +4435,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) + | ~~~~~~~~~~~~^~~~ 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) @@ -5215,19 +4453,58 @@ 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: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: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: +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: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 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: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 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: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 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) @@ -5247,18 +4524,14 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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 * +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 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:241:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5273,15 +4546,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 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) @@ -5296,19 +4560,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: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) */ +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 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) @@ -5328,11 +4592,11 @@ 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 */ - | ^~~ - | | - | unsigned char * +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 * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -5355,50 +4619,11 @@ 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 */ - | ^~~ - | | - | 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: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) - | ^~ -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: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) - | ^~ -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: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 * +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) | ^~ @@ -5421,8 +4646,8 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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 */ +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 * @@ -5447,19 +4672,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: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 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:247:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5470,19 +4682,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: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: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 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) @@ -5502,11 +4714,11 @@ 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: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) | ^~ @@ -5529,11 +4741,11 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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 * +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) | ^~ @@ -5556,8 +4768,8 @@ 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 */ +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 * @@ -5583,11 +4795,11 @@ 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 */ - | ^~~ - | | - | unsigned char * +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) | ^~ @@ -5610,21 +4822,8 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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 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: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 */ +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 * @@ -5645,36 +4844,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: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 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: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 * +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 * 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:254:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5685,15 +4867,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) @@ -5702,41 +4875,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: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 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 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) - | ^~ In file included from util.h:4, from html_tag.c:31: html_tag.c:255:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5747,36 +4885,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: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: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 * +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: +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: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) @@ -5791,29 +4912,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: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 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: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 * +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) | ^~ @@ -5831,12 +4939,16 @@ 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 * +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) | ^~ @@ -5844,10 +4956,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 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] @@ -5862,6 +4970,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: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 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] @@ -5876,6 +4997,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: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 * +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:260:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5890,6 +5024,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: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:261:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5904,6 +5051,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: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:262:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5918,6 +5078,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: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 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] @@ -5932,6 +5105,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: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 util.h:4, from html_tag.c:31: html_tag.c:264:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5942,6 +5124,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) + | ~~~~~~~~~~~~^~~~ 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) @@ -5956,10 +5142,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: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 * +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:267:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5970,10 +5169,49 @@ 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: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 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: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 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: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: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:268:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5988,6 +5226,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: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:269:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -5998,10 +5245,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: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 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] @@ -6012,6 +5272,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) + | ~~~~~~~~~~~~^~~~ 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) @@ -6026,10 +5290,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: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 */ + | ^~~ + | | + | 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:273:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6044,6 +5321,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: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) + | ^~ +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:274:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6058,6 +5348,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: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) + | ^~ +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:275:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6072,6 +5375,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 text.c:22: +text.c: In function 'only_spaces': +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:276:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6086,6 +5405,27 @@ /usr/include/string.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: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 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] @@ -6096,10 +5436,27 @@ 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 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: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 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:278:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6114,6 +5471,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: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: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:279:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6128,6 +5498,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: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 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] @@ -6142,6 +5525,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: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 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] @@ -6157,6 +5553,34 @@ 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': +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 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 * +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:282:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 282 | else if CMP("ILAYER", str) {} @@ -6180,10 +5604,38 @@ 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 'wort_plus_string': 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 */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +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 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: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:284:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6198,6 +5650,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: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 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:285:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6213,6 +5678,32 @@ 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_ende': +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) + | ~~~~~~~~~~~~^~~~ +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 html_tag.c:31: html_tag.c:288:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6240,6 +5756,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: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 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:289:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6254,6 +5795,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: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 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); } + | ^~~~~~~~ +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:291:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6278,10 +5867,21 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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 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: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 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] @@ -6292,11 +5892,18 @@ 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 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:293:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 293 | else if CMP("TFOOT", str) {} @@ -6306,10 +5913,35 @@ 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: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 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) + | ~~~~~~~~~~~~^~~~ +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 html_tag.c:31: html_tag.c:294:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6320,10 +5952,37 @@ 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: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 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 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 html_tag.c:31: html_tag.c:295:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6338,6 +5997,82 @@ /usr/include/string.h:137:50: note: 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: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 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 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: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 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 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: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 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] @@ -6348,6 +6083,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) + | ~~~~~~~~~~~~^~~~ 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) @@ -6367,6 +6106,20 @@ 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 html_tag.c:31: html_tag.c:298:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 298 | else if CMP("/PARAM", str) {} @@ -6395,6 +6148,20 @@ 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 html_tag.c:31: html_tag.c:300:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 300 | else if CMP("/OBJECT", str) {} @@ -6409,6 +6176,20 @@ 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 html_tag.c:31: html_tag.c:301:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 301 | else if CMP("OPTGROUP", str) {} @@ -6423,6 +6204,16 @@ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 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:302:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 302 | else if CMP("/OPTGROUP", str) {} @@ -6436,6 +6227,13 @@ /usr/include/string.h:137:50: note: 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/x86_64-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:304:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -6451,6 +6249,23 @@ 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 /usr/include/features.h:461, + from /usr/include/x86_64-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:306:27: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 306 | else if (STRNCMP("!--", str, 3)==0) { @@ -6576,6 +6391,226 @@ /usr/include/string.h:137:50: note: 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': +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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-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 /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-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 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 + | ^~~~~~ +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/x86_64-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 @@ -6587,10 +6622,10 @@ make check-TESTS make[4]: Entering directory '/build/vilistextum-2.6.9/tests' make[5]: Entering directory '/build/vilistextum-2.6.9/tests' -PASS: check_tags -PASS: check_entities PASS: check_latin2 +PASS: check_tags PASS: check_utf8 +PASS: check_entities ============================================================================ Testsuite summary for ============================================================================ @@ -6610,7 +6645,7 @@ make[2]: Leaving directory '/build/vilistextum-2.6.9' make[1]: Leaving directory '/build/vilistextum-2.6.9' dh_auto_test - make -j16 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' @@ -6625,10 +6660,10 @@ make check-TESTS make[3]: Entering directory '/build/vilistextum-2.6.9/tests' make[4]: Entering directory '/build/vilistextum-2.6.9/tests' -PASS: check_tags -PASS: check_utf8 PASS: check_entities PASS: check_latin2 +PASS: check_tags +PASS: check_utf8 ============================================================================ Testsuite summary for ============================================================================ @@ -6652,7 +6687,7 @@ dh_testroot dh_prep dh_auto_install - make -j16 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' @@ -6711,12 +6746,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2073874/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2073874/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/491126 and its subdirectories -I: Current time: Tue Mar 14 19:36:07 -12 2023 -I: pbuilder-time-stamp: 1678865767 +I: removing directory /srv/workspace/pbuilder/2073874 and its subdirectories +I: Current time: Thu Feb 10 15:13:40 +14 2022 +I: pbuilder-time-stamp: 1644455620