Diff of the two buildlogs: -- --- b1/build.log 2024-10-12 00:23:58.053163324 +0000 +++ b2/build.log 2024-10-12 00:24:26.943931605 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Oct 11 12:23:04 -12 2024 -I: pbuilder-time-stamp: 1728692584 +I: Current time: Fri Nov 14 20:46:58 +14 2025 +I: pbuilder-time-stamp: 1763102818 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -30,54 +30,86 @@ dpkg-source: info: applying 0003-Define-_ISOC99_SOURCE.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/15919/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/58434/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 14 06:47 /bin/sh -> /bin/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/58434/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/58434/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='5116d37922694012bc4076c832498f89' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='15919' - PS1='# ' - PS2='> ' + INVOCATION_ID=d7b6d6af0dcc463495dc4b7a7e5d882d + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=58434 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/r-b-build.oEMbRGbW/pbuilderrc_i0ad --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oEMbRGbW/b1 --logfile b1/build.log vilistextum_2.6.9-1.4.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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/r-b-build.oEMbRGbW/pbuilderrc_FZsF --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oEMbRGbW/b2 --logfile b2/build.log vilistextum_2.6.9-1.4.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/15919/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/58434/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -142,7 +174,7 @@ Get: 27 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main i386 debhelper all 13.20 [915 kB] -Fetched 20.1 MB in 0s (42.3 MB/s) +Fetched 20.1 MB in 0s (81.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19785 files and directories currently installed.) @@ -278,7 +310,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/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.4_source.changes +I: user script /srv/workspace/pbuilder/58434/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/58434/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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.4_source.changes dpkg-buildpackage: info: source package vilistextum dpkg-buildpackage: info: source version 2.6.9-1.4 dpkg-buildpackage: info: source distribution unstable @@ -360,7 +396,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j11 + make -j21 make[1]: Entering directory '/build/reproducible-path/vilistextum-2.6.9' make all-recursive make[2]: Entering directory '/build/reproducible-path/vilistextum-2.6.9' @@ -380,6 +416,8 @@ In file included from html.h:5, from lists.c:16: lists.c: In function 'check_style': +In file included from microsoft.c:18: +microsoft.c: In function 'microsoft_entities': lists.c:33:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 33 | if CMP("TYPE", attr_name) | ^~~~~~~~~ @@ -388,45 +426,6 @@ 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:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from microsoft.c:18: -microsoft.c: In function 'microsoft_entities': microsoft.c:28:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 28 | else if (number==128) { CPYSL(s, "EUR"); } | ^ @@ -435,6 +434,10 @@ 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:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:510, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, @@ -450,6 +453,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -464,6 +478,14 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ^~ 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"); } | ^ @@ -472,12 +494,15 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from util.h:4, - from html.c:36: -html.c: In function 'get_attr': + from html_tag.c:31: +html_tag.c: In function 'html_tag': 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, ','); } | ^ @@ -489,6 +514,25 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +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(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ 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 */ | ^ @@ -500,6 +544,21 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from html_tag.c:22: +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html_tag.c:67:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 67 | else if CMP("/SCRIPT", str) { end_nooutput(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, "\""); } | ^ @@ -511,6 +570,17 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html_tag.c:68:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 68 | else if CMP("STYLE", str) { start_nooutput(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, "\""); } | ^ @@ -522,6 +592,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +html_tag.c:69:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 69 | else if CMP("/STYLE", str) { end_nooutput(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, "\""); } | ^ @@ -530,9 +611,20 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +html_tag.c:70:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 70 | else if CMP("TITLE", str) { + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, "\""); } | ^ @@ -544,6 +636,17 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html_tag.c:73:33: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 73 | } else if CMP("/TITLE", str) { + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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 */ | ^ @@ -555,6 +658,14 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html_tag.c:79:33: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 79 | if CMP("/HTML", str) { /* fprintf(stderr, "File ended!\n"); */ quit(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ 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 */ | ^ @@ -566,6 +677,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html_tag.c:80:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 80 | else if CMP("!DOCTYPE", str) { while ((ch=read_char())!='>'); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ 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 */ | ^ @@ -574,6 +696,9 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -585,9 +710,23 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +html_tag.c:81:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 81 | else if CMP("META", str) { find_encoding(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from util.h:4, + from html.c:36: +html.c: In function 'get_attr': +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, "/-"); } | ^ @@ -596,9 +735,20 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +html_tag.c:82:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 82 | else if CMP("?XML", str) { find_xml_encoding(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, "/-"); } | ^ @@ -607,6 +757,25 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +html_tag.c:85:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 85 | else if CMP("BR", str) { line_break(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c:141:17: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 141 | 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) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -618,17 +787,24 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -html.c:141:17: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 141 | if CMP("ALT", attr_name) { parse_entities(temp); } - | ^~~~~~~~~ - | | - | unsigned char * +html_tag.c:86:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 86 | else if CMP("BR/", str) { line_break(); } /* xhtml */ + | ^~~ + | | + | unsigned 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:26: +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, "/-"); } | ^ @@ -637,6 +813,31 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +html.c:142:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 142 | CPYSS(attr_ctnt, temp); + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:33:34: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~~ +html_tag.c:88:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 88 | else if CMP("P", str) { start_p(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:510, + from /usr/include/ctype.h:25, + from html.c:24: /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -648,9 +849,31 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +html_tag.c:89:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 89 | else if CMP("/P", 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:142:26: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 142 | CPYSS(attr_ctnt, temp); + | ^~~~ + | | + | unsigned char * +multibyte.h:33:40: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ 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, "/="); } | ^ @@ -659,6 +882,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +html_tag.c:90:43: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 90 | else if CMP("BLOCKQUOTE", str) { start_p(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -670,9 +904,20 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +html_tag.c:91:44: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 91 | else if CMP("/BLOCKQUOTE", str) { paragraphen_ende(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, "/="); } | ^ @@ -681,9 +926,28 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +html_tag.c:92:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 92 | else if CMP("Q", str) { wort_plus_ch('"'); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html_tag.c:93:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 93 | else if CMP("/Q", str) { wort_plus_ch('"'); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ 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, '^'); } | ^ @@ -695,8 +959,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:35: -latin1.c: In function 'parse_entity': +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html_tag.c:108:34: 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) + | ^~ 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"); } | ^ @@ -705,17 +978,13 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c:64:26: 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) - | ^ +html.c: In function 'check_for_center': 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"); } | ^ @@ -724,13 +993,28 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +html_tag.c:109:35: 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) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from latin1.c:24: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c:278:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 278 | 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) + | ^~ 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"); } | ^ @@ -739,17 +1023,23 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c:71:15: 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) - | ^~~~ +html_tag.c:110:34: 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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"); } | ^ @@ -761,24 +1051,28 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/features.h:510, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from latin1.c:21: -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c:71:23: 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) - | ^~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ +html_tag.c:111:35: 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c:282:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 282 | 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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'); } | ^ @@ -790,6 +1084,28 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +html_tag.c:112:34: 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c:283:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 283 | 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, '<'); } | ^ @@ -801,17 +1117,28 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:97:23: 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) - | ^~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html_tag.c:113:35: 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c:284:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 284 | 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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"); } | ^ @@ -820,20 +1147,20 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -latin1.c:97:28: 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) - | ^~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ +html_tag.c:114:39: 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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"); } | ^ @@ -842,10 +1169,31 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +html.c:285:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 285 | 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html_tag.c:115:40: 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) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c: In function 'parse_entities': 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"); } | ^ @@ -854,20 +1202,20 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -latin1.c:118:24: 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) - | ^ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +html_tag.c:116:35: 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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"); } | ^ @@ -879,6 +1227,18 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html_tag.c:117:36: 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c: In function 'print_footnote_number': 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, '`'); } | ^ @@ -887,31 +1247,37 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -latin1.c:133:24: 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) - | ^~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:133:32: 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) - | ^~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), +html_tag.c:118:37: 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c:355:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] + 355 | snprintf(temp, 1000, "[%d]", number); + | ^~~~ + | | + | unsigned char * +/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'unsigned char *' + 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ +html_tag.c:119:38: 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) + | ^~ +html.c: In function 'construct_footnote': 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, '\''); } | ^ @@ -923,27 +1289,27 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:143:32: 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) - | ^~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c:143:40: 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) - | ^~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html_tag.c:124:35: 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) + | ^~ +html.c:363:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] + 363 | snprintf(temp, 1000, " %3d. %s\n", number, link); + | ^~~~ + | | + | unsigned char * +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'unsigned char *' + 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ 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, '"'); } @@ -953,32 +1319,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -latin1.c:150:15: 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) - | ^~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:150:18: 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) - | ^~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -In file included from html.c:26: +html_tag.c:125:36: 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) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -993,37 +1344,62 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c: In function 'html_entity': -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 * +html.c: In function 'href': +html_tag.c:126:35: 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | 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, '"')); } - | ^~~ +html_tag.c:127:36: 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) + | ^~ +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) | ^~ +html.c:382:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 382 | if CMP("HREF", attr_name) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html_tag.c:128:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 128 | else if CMP("H3", str) { start_p(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, '-'); } | ^ @@ -1035,6 +1411,28 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +html_tag.c:129:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 129 | else if CMP("/H3", 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:383:37: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:45:42: note: in definition of macro 'STRSTR' + 45 | #define STRSTR(haystack, needle) strstr(haystack, needle) + | ^~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'unsigned char *' + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ 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, "--"); } | ^ @@ -1043,17 +1441,20 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -html.c:142:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 142 | CPYSS(attr_ctnt, temp); - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:33:34: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html_tag.c:130:35: 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, "--"); } | ^ @@ -1065,9 +1466,28 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +html_tag.c:131:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 131 | else if CMP("/H4", str) { paragraphen_ende(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +html.c:383:85: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] + 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:47:48: note: in definition of macro 'STRNCMP' + 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) + | ^~~~ +/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ 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, "--"); } | ^ @@ -1076,20 +1496,28 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 * +html_tag.c:132:35: 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) | ^~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +html_tag.c:133:36: 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) + | ^~ 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, "--"); } | ^ @@ -1098,15 +1526,34 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +html.c:383:124: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] + 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:47:48: note: in definition of macro 'STRNCMP' + 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) + | ^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/features.h:510, - from /usr/include/ctype.h:25, - from html.c:24: -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +html_tag.c:134:35: 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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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, '~'); } | ^ @@ -1115,23 +1562,33 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from latin1.c:35: +latin1.c: In function 'parse_entity': +html_tag.c:135:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 135 | else if CMP("/H6", str) { paragraphen_ende(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | 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': +html.c:395:48: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] + 395 | STRCAT(references, tmp); + | ^~~~~~~~~~ + | | + | unsigned char * +multibyte.h:39:35: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]"); } | ^ @@ -1140,28 +1597,28 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -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) - | ^~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | 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 * +latin1.c:64:26: 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) | ^ +html_tag.c:137:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 137 | else if CMP("HR", str) { hr(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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]"); } | ^ @@ -1170,24 +1627,43 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +html.c:395:60: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] + 395 | STRCAT(references, tmp); + | ^~~ + | | + | unsigned char * +multibyte.h:39:41: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from text.c:14: +/usr/include/i386-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +In file included from latin1.c:24: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -latin1.c:220:31: 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 * +html_tag.c:138:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 138 | else if CMP("HR/", str) { hr(); } /* xhtml */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +latin1.c:71:15: 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) + | ^~~~ 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]"); } | ^ @@ -1196,10 +1672,49 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +html_tag.c:140:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 140 | else if CMP("A", str) { href(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c: In function 'latin1': +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c:397:47: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 397 | CPYSS(link_inline, attr_ctnt); + | ^~~~~~~~~~~ + | | + | unsigned char * +multibyte.h:33:34: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~~ +In file included from /usr/include/features.h:510, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from latin1.c:21: +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +latin1.c:71:23: 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) + | ^~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ 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]"); } | ^ @@ -1208,14 +1723,36 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +html_tag.c:141:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 141 | else if CMP("/A", str) { href_link_inline_output(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 * +html.c:397:60: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 397 | CPYSS(link_inline, attr_ctnt); + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:33:40: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +html_tag.c:143:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 143 | else if CMP("LI", str) { start_lis(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -1230,21 +1767,51 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +latin1.c:97:23: 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) + | ^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +html.c: In function 'href_output': +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +latin1.c:97:28: 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) + | ^~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +html_tag.c:144:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 144 | else if CMP("/LI", str) { end_lis(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -text.c: In function 'wort_plus_string_nocount': +html.c:410:46: warning: pointer targets in passing argument 1 of 'output_string' differ in signedness [-Wpointer-sign] + 410 | output_string(STRING("\n References:")); + | ^~~~~~~~~~~~~~~~ + | | + | char * +multibyte.h:49:25: note: in definition of macro 'STRING' + 49 | #define STRING(string) string + | ^~~~~~ 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, '>'); } | ^ @@ -1256,28 +1823,36 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ^ -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 * +In file included from html.c:33: +fileio.h:9:26: note: expected 'unsigned char *' but argument is of type 'char *' + 9 | void output_string(CHAR *str); +html_tag.c:145:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 145 | else if CMP("UL", str) { start_uls(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +latin1.c: In function 'parse_entities': /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | 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': +latin1.c:118:24: 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) + | ^ +html.c: In function 'href_link_inline_output': +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ 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"); } | ^ @@ -1286,21 +1861,47 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -text.c: In function 'wort_plus_string': -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 * +html_tag.c:146:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 146 | else if CMP("/UL", str) { end_uls(); return; } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | 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) + | ^ +html.c:421:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 421 | if (STRLEN(link_inline)>0) { + | ^~~~~~~~~~~ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +html_tag.c:147:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 147 | else if CMP("DIR", str) { start_uls(); } /* deprecated */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ 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"); } | ^ @@ -1312,17 +1913,35 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ^ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from text.c:14: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +latin1.c:133:24: 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) + | ^~~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html_tag.c:148:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 148 | else if CMP("/DIR", str) { end_uls(); return; } /* deprecated */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ 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"); } | ^ @@ -1331,21 +1950,42 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +latin1.c:133:32: 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) + | ^~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 * +html.c:423:49: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 423 | wort_plus_string(STRING("<")); + | ^~~ + | | + | char * +multibyte.h:49:25: note: in definition of macro 'STRING' + 49 | #define STRING(string) string + | ^~~~~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +In file included from html.c:30: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +html_tag.c:149:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 149 | else if CMP("MENU", str) { start_uls(); } /* deprecated */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -text.c: In function 'wort_ende': 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"); } | ^ @@ -1357,371 +1997,187 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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) - | ^~ -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); } - | ^~~~~~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -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) -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | 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: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) -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 * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | 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:351:42: note: in expansion of macro 'ONESPACE' - 351 | while (i0) { zeile_plus_wort(ONESPACE,1,1); } - | ^~~~~~~~ -text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' - 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) -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 * +html_tag.c:150:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 150 | else if CMP("/MENU", str) { end_uls(); return; } /* deprecated */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c: In function 'microsoft_character': -text.c: In function 'hr': -microsoft.c:178:26: 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) +html.c:425:49: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 425 | wort_plus_string(STRING(">")); | ^~~ -In file included from microsoft.c:15: + | | + | char * +multibyte.h:49:25: note: in definition of macro 'STRING' + 49 | #define STRING(string) string + | ^~~~~~ text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void wort_plus_string(CHAR *s); -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:143:32: 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) + | ^~~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) | ^~ -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -microsoft.c:185:26: 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) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -microsoft.c:187:26: 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) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:151:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 151 | else if CMP("OL", str) { start_ols(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:189:26: 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) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -html.c: In function 'check_for_center': -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) - | ^~ -microsoft.c:191:26: 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) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); +html.c: In function 'image': /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:241:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 241 | else if CMP("¬", str) { return(set_char_wrapper(str, 172)); } /* not sign */ - | ^~~ - | | - | unsigned char * +latin1.c:143:40: 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) + | ^~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +text.c: In function 'wort_plus_string_nocount': +latin1.c:150:15: 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) + | ^~~~ +html_tag.c:152:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 152 | else if CMP("/OL", str) { end_ols(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:195:26: 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) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -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 * +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) + | ^ +html.c:446:19: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 446 | 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) | ^~ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:201:26: 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) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -latin1.c:242:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 242 | else if CMP("­", str) { return(set_char_wrapper(str, '\0')); } /* soft hyphen, just swallow it */ - | ^~~ - | | - | unsigned char * +latin1.c:150:18: 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) + | ^~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +html_tag.c:154:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 154 | else if CMP("DIV", str) { start_div(0); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +text.c: In function 'wort_plus_string': +html.c:449:59: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 449 | 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) | ^~ -html.c:278:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 278 | if CMP("ALIGN", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * +html_tag.c:155:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 155 | else if CMP("/DIV", str) { end_div(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -microsoft.c:219:26: 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) - | ^~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); +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) + | ^ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ^~ -microsoft.c:223:26: 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) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +latin1.c: In function 'html_entity': +html_tag.c:156:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 156 | else if CMP("CENTER", str) { start_div(CENTER); } /* deprecated */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:229:26: 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) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -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 */ +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 * @@ -1731,159 +2187,98 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -html.c:282:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 282 | 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) - | ^~ -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 * +text.c: In function 'wort_ende': +html_tag.c:157:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 157 | else if CMP("/CENTER", str) { end_div(); } /* deprecated */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from html_tag.c:31: -html_tag.c: In function 'html_tag': -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -text.c:438:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 438 | hr_width = ATOI(attr_ctnt); - | ^~~~~~~~~ +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); } + | ^~~~~~~~ +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) | ^~ -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) - | ^ -/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ^~ -html_tag.c:70:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 70 | else if CMP("TITLE", str) { - | ^~~ - | | - | unsigned char * +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) +html_tag.c:159:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 159 | else if CMP("/RIGHT", str) { end_div(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:73:33: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 73 | } else if CMP("/TITLE", str) { - | ^~~ - | | - | unsigned char * +In file included from util.c:23: +util.c: In function 'x2dec': +html.c:610:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 610 | 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 */ +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 * @@ -1893,38 +2288,27 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:79:33: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 79 | if CMP("/HTML", str) { /* fprintf(stderr, "File ended!\n"); */ quit(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from util.c:23: -util.c: In function 'x2dec': -html_tag.c:80:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 80 | else if CMP("!DOCTYPE", str) { while ((ch=read_char())!='>'); } - | ^~~ - | | - | unsigned char * +html_tag.c:162:36: 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) | ^~ +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); + | ^~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:249:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 249 | else if CMP("´", str) { return(set_char_wrapper(str, 180)); } /* acute accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ +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) util.c:141:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 141 | int len=STRLEN(str); | ^~~ @@ -1933,14 +2317,23 @@ multibyte.h:32:27: note: in definition of macro 'STRLEN' 32 | #define STRLEN(s) strlen(s) | ^ +microsoft.c: In function 'microsoft_character': +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) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:81:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 81 | else if CMP("META", str) { find_encoding(); } - | ^~~ - | | - | unsigned char * +html_tag.c:163:39: 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) | ^~ @@ -1951,30 +2344,87 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -html_tag.c:82:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 82 | else if CMP("?XML", str) { find_xml_encoding(); } - | ^~~ - | | - | unsigned char * +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); } + | ^~~~~~~~ +latin1.c: In function 'latin1': +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) +microsoft.c:185:26: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 185 | WORT_PLUS_STRING("\""); break; + | ^~~~ | | - | unsigned char * + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +html_tag.c:164:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 164 | else if CMP("AREA", str) { image(STRING("Area"), 0); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -html_tag.c:85:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 85 | else if CMP("BR", str) { line_break(); } - | ^~~ - | | - | unsigned char * +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) | ^~ @@ -1984,25 +2434,38 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:86:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 86 | else if CMP("BR/", str) { line_break(); } /* xhtml */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:88:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 88 | else if CMP("P", str) { start_p(); } - | ^~~ - | | - | unsigned char * +microsoft.c:187:26: 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) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +text.c: In function 'hr': +html_tag.c:164:59: warning: pointer targets in passing argument 1 of 'image' differ in signedness [-Wpointer-sign] + 164 | else if CMP("AREA", str) { image(STRING("Area"), 0); } + | ^~~~~~ + | | + | char * +multibyte.h:49:25: note: in definition of macro 'STRING' + 49 | #define STRING(string) string + | ^~~~~~ +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) | ^~ +multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' + 31 | #define CHAR unsigned char +html.h:20:12: note: in expansion of macro 'CHAR' + 20 | void image(CHAR *, int); + | ^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -2015,16 +2478,34 @@ multibyte.h:40:23: note: in definition of macro 'ATOI' 40 | #define ATOI(n) atoi(n) | ^ -html_tag.c:89:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 89 | else if CMP("/P", str) { paragraphen_ende(); } - | ^~~ - | | - | unsigned char * +microsoft.c:189:26: 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) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +html_tag.c:165:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 165 | else if CMP("INPUT", str) { image(STRING("Input"), 0); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) */ +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) + | ^~ +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 * @@ -2037,14 +2518,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:283:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 283 | 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) - | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:510, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, @@ -2052,33 +2528,74 @@ /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ -html_tag.c:90:43: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 90 | else if CMP("BLOCKQUOTE", str) { start_p(); } - | ^~~ - | | - | unsigned char * +microsoft.c:191:26: 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) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +html_tag.c:165:59: warning: pointer targets in passing argument 1 of 'image' differ in signedness [-Wpointer-sign] + 165 | else if CMP("INPUT", str) { image(STRING("Input"), 0); } + | ^~~~~~~ + | | + | char * +multibyte.h:49:25: note: in definition of macro 'STRING' + 49 | #define STRING(string) string + | ^~~~~~ +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) | ^~ +multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' + 31 | #define CHAR unsigned char +html.h:20:12: note: in expansion of macro 'CHAR' + 20 | void image(CHAR *, int); + | ^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +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) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:91:44: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 91 | else if CMP("/BLOCKQUOTE", str) { paragraphen_ende(); } - | ^~~ - | | - | unsigned char * +microsoft.c:195:26: 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) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +html_tag.c:168:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 168 | else if CMP("TABLE", str) { /*start_p();*/ push_align(LEFT); neuer_paragraph(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 */ +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 * @@ -2088,60 +2605,51 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:92:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 92 | else if CMP("Q", str) { wort_plus_ch('"'); } - | ^~~ - | | - | unsigned char * +microsoft.c:201:26: 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) + | ^~~ +html_tag.c:169:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 169 | else if CMP("/TABLE", str) { paragraphen_ende(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:93:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 93 | else if CMP("/Q", str) { wort_plus_ch('"'); } - | ^~~ - | | - | unsigned char * +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) | ^~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:253:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 253 | else if CMP("¸", str) { return(set_char_wrapper(str, 184)); } /* cedilla */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -html_tag.c:108:34: 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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:284:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 284 | else if CMP("RIGHT", attr_ctnt) { push_align(RIGHT); } - | ^~~~~~~~~ - | | - | 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:109:35: 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('*'); } } +html_tag.c:170:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 170 | else if CMP("TD", str) { wort_plus_ch(' '); } | ^~~ | | | unsigned char * @@ -2151,44 +2659,51 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:110:34: 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 * +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) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:111:35: 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 * +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) | ^~ +microsoft.c:219:26: 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) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:285:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 285 | else if CMP("JUSTIFY", attr_ctnt) { push_align(LEFT); } - | ^~~~~~~~~ - | | - | unsigned char * +html_tag.c:171:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 171 | else if CMP("/TD", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 */ +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 * @@ -2198,159 +2713,138 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c: In function 'print_footnote_number': -html.c:355:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] - 355 | snprintf(temp, 1000, "[%d]", number); - | ^~~~ - | | - | unsigned char * -/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'unsigned char *' - 65 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -html.c: In function 'construct_footnote': -html.c:363:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] - 363 | snprintf(temp, 1000, " %3d. %s\n", number, link); - | ^~~~ - | | - | unsigned char * -/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'unsigned char *' - 65 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -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 * +microsoft.c:223:26: 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) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:172:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 172 | else if CMP("TH", str) { wort_plus_ch(' '); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c: In function 'href': -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: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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:382:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 382 | if CMP("HREF", attr_name) { - | ^~~~~~~~~ - | | - | unsigned char * +microsoft.c:229:26: 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) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +html_tag.c:173:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 173 | else if CMP("/TH", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:383:37: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:45:42: note: in definition of macro 'STRSTR' - 45 | #define STRSTR(haystack, needle) strstr(haystack, needle) - | ^~~~~~~~ -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: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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'unsigned char *' - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -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 * +html_tag.c:174:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 174 | else if CMP("TR", str) { line_break(); } /* start_p(); */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:383:85: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] - 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:47:48: note: in definition of macro 'STRNCMP' - 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) - | ^~~~ -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 * +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) + | ^ +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) | ^~ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:175:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 175 | else if CMP("/TR", str) { /*paragraphen_ende();*/ } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:383:124: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] - 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:47:48: note: in definition of macro 'STRNCMP' - 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) - | ^~~~ -/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -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 */ +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 * @@ -2360,275 +2854,177 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:395:48: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] - 395 | STRCAT(references, tmp); - | ^~~~~~~~~~ - | | - | unsigned char * -multibyte.h:39:35: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~~ -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 * +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) + | ^ +html_tag.c:176:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 176 | else if CMP("CAPTION", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 * +In file included from /usr/include/features.h:510, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from text.c:12: +/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 481 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +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) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html.c:395:60: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] - 395 | STRCAT(references, tmp); - | ^~~ - | | - | unsigned char * -multibyte.h:39:41: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) +html_tag.c:177:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 177 | else if CMP("/CAPTION", str) {} | ^~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -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 * + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:397:47: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 397 | CPYSS(link_inline, attr_ctnt); - | ^~~~~~~~~~~ - | | - | unsigned char * -multibyte.h:33:34: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~~ -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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 * +html_tag.c:179:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 179 | else if CMP("PRE", str) { start_p(); pre=1; } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +latin1.c:242:30: 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:397:60: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 397 | CPYSS(link_inline, attr_ctnt); - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:33:40: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +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) + | ^ +/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ -html_tag.c:112:34: 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 * +html_tag.c:180:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 180 | else if CMP("/PRE", str) { paragraphen_ende(); pre=0; } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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: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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:113:35: 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 */ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html_tag.c:182:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 182 | else if CMP("DL", str) { start_dl();} /* Definition List */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -html.c: In function 'href_output': -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 * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:410:46: warning: pointer targets in passing argument 1 of 'output_string' differ in signedness [-Wpointer-sign] - 410 | output_string(STRING("\n References:")); - | ^~~~~~~~~~~~~~~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -In file included from html.c:33: -fileio.h:9:26: note: expected 'unsigned char *' but argument is of type 'char *' - 9 | void output_string(CHAR *str); -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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | 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 - | ^~~~~~ -html.c: In function 'href_link_inline_output': -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 * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:421:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 421 | if (STRLEN(link_inline)>0) { - | ^~~~~~~~~~~ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -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 * +html_tag.c:183:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 183 | else if CMP("/DL", str) { end_dl(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:423:49: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 423 | wort_plus_string(STRING("<")); - | ^~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -latin1.c:274:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 274 | else if CMP("Í", str) { return(set_char_wrapper(str, 205)); } /* capital I, acute accent */ +latin1.c: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) | ^~ -main.c: In function 'parse_args': -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -main.c:273:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 273 | default_image = argument; break; - | ^ -In file included from html.c:30: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:425:49: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 425 | wort_plus_string(STRING(">")); - | ^~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -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 */ +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) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html.c: In function 'image': -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 * +html_tag.c:184:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 184 | else if CMP("DT", str) { start_dt(); } /* Definition Title */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -2638,38 +3034,38 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:114:39: 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 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 + | ^~~~~~ +html_tag.c:185:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 185 | else if CMP("/DT", str) { end_dt(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:446:19: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 446 | 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) - | ^~ -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 * +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) | ^~ -html_tag.c:115:40: 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:186:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 186 | else if CMP("DD", str) { start_dd(); } /* Definition Description */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -2679,55 +3075,56 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:116:35: 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 * +html_tag.c:187:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 187 | else if CMP("/DD", str) { end_dd(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:117:36: 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 * +latin1.c:249:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 249 | else if CMP("´", str) { return(set_char_wrapper(str, 180)); } /* acute accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:118:37: 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 */ +html_tag.c:190:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 190 | else if CMP("FORM", str) {} | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +main.c: In function 'parse_args': /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +main.c:273:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 273 | default_image = argument; break; + | ^ +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:119:38: 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 */ +html_tag.c:191:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 191 | else if CMP("/FORM", str) {} | ^~~ | | | unsigned char * @@ -2737,148 +3134,104 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:449:59: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 449 | 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) - | ^~ -html_tag.c:124:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 124 | else if CMP("H1", str) { start_p(); } - | ^~~ - | | - | unsigned char * +html_tag.c:192:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 192 | else if CMP("BUTTON", str) {} /* TODO: extract name? */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:125:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 125 | else if CMP("/H1", str) { paragraphen_ende(); } - | ^~~ - | | - | 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:193:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 193 | else if CMP("/BUTTON", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:126:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 126 | else if CMP("H2", str) { start_p(); } - | ^~~ - | | - | unsigned char * +latin1.c:252:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 252 | else if CMP("·", str) { return(set_char_wrapper(str, 183)); } /* middle dot */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:127:36: 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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 */ +latin1.c:253:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 253 | else if CMP("¸", str) { return(set_char_wrapper(str, 184)); } /* cedilla */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -html_tag.c:128:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 128 | else if CMP("H3", str) { start_p(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:129:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 129 | else if CMP("/H3", str) { paragraphen_ende(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:130:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 130 | else if CMP("H4", str) { start_p(); } - | ^~~ - | | - | unsigned char * +html_tag.c:194:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 194 | else if CMP("FIELDSET", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:195:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 195 | else if CMP("/FIELDSET", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:131:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 131 | else if CMP("/H4", str) { paragraphen_ende(); } - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:132:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 132 | else if CMP("H5", str) { start_p(); } - | ^~~ - | | - | unsigned char * +html_tag.c:196:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 196 | 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) | ^~ -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 */ +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 * @@ -2888,9 +3241,11 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c: In function 'start_nooutput': -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 */ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +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 * @@ -2900,30 +3255,19 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html.c:610:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 610 | if CMP("/", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -latin1.c: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 * +html_tag.c:197:42: 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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: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 * @@ -2933,8 +3277,8 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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: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 * @@ -2944,52 +3288,41 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:198:39: 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:199:40: 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:290:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 290 | else if CMP("Ý", str) { return(set_char_wrapper(str, 221)); } /* capital Y, acute accent */ +latin1.c:259:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 259 | else if CMP("¾", str) { return(set_char_wrapper(str, 190)); } /* fraction three-quarters */ | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from unicode_entities.c:17: +unicode_entities.c: In function 'ligature_entity': /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | 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:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 50 | CPYSL(s, "ff"); break; | ^ @@ -2998,11 +3331,33 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -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 * +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) + | ^~ +html_tag.c:200:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 200 | else if CMP("LABEL", str) {} + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +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) | ^~ @@ -3016,6 +3371,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +html_tag.c:201:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 201 | else if CMP("/LABEL", str) {} + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ unicode_entities.c:52:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 52 | CPYSL(s, "fi"); break; | ^ @@ -3027,6 +3393,17 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html_tag.c:204:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 204 | else if CMP("SAMP", str) {} + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ unicode_entities.c:54:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 54 | CPYSL(s, "fl"); break; | ^ @@ -3038,6 +3415,28 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html_tag.c:205:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 205 | else if CMP("/SAMP", str) {} + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ unicode_entities.c:56:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 56 | CPYSL(s, "ffi"); break; | ^ @@ -3049,6 +3448,17 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html_tag.c:206:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 206 | else if CMP("CODE", str) {} + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ unicode_entities.c:58:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 58 | CPYSL(s, "ffl"); break; | ^ @@ -3060,14 +3470,25 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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: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) + | ^~ +html_tag.c:207:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 207 | else if CMP("/CODE", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ unicode_entities.c:60:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 60 | CPYSL(s, "ft"); break; | ^ @@ -3076,12 +3497,20 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html_tag.c:208:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 208 | else if CMP("ABBR", str) {} + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ unicode_entities.c:62:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 62 | CPYSL(s, "st"); break; | ^ @@ -3090,9 +3519,23 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ unicode_entities.c:64:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 64 | CPYSL(s, "IJ"); break; | ^ @@ -3104,6 +3547,14 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html_tag.c:209:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 209 | else if CMP("/ABBR", str) {} + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ unicode_entities.c:66:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 66 | CPYSL(s, "ij"); break; | ^ @@ -3112,6 +3563,20 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3126,88 +3591,8 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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) - | ^~ -unicode_entities.c:70:23: 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) - | ^~~~ -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:133:36: 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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:134:35: 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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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 */ +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 * @@ -3217,41 +3602,30 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:135:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 135 | else if CMP("/H6", str) { paragraphen_ende(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:137:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 137 | else if CMP("HR", str) { hr(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:138:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 138 | else if CMP("HR/", str) { hr(); } /* xhtml */ - | ^~~ - | | - | unsigned char * +html_tag.c:210:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 210 | else if CMP("ACRONYM", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +unicode_entities.c:70:23: 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) + | ^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) */ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 * @@ -3261,30 +3635,16 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:140:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 140 | else if CMP("A", str) { href(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:141:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 141 | else if CMP("/A", str) { href_link_inline_output(); } - | ^~~ - | | - | unsigned char * +html_tag.c:211:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 211 | else if CMP("/ACRONYM", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c:300:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 300 | else if CMP("ç", str) { return(set_char_wrapper(str, 231)); } /* small c, cedilla */ +latin1.c: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 * @@ -3294,63 +3654,22 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:143:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 143 | else if CMP("LI", str) { start_lis(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:144:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 144 | else if CMP("/LI", str) { end_lis(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:145:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 145 | else if CMP("UL", str) { start_uls(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:301:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 301 | else if CMP("è", str) { return(set_char_wrapper(str, 232)); } /* small e, grave accent */ +latin1.c: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) | ^~ -html_tag.c:146:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 146 | else if CMP("/UL", str) { end_uls(); return; } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:147:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 147 | else if CMP("DIR", str) { start_uls(); } /* deprecated */ +html_tag.c:212:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 212 | else if CMP("BIG", str) {} | ^~~ | | | unsigned char * @@ -3360,8 +3679,8 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:148:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 148 | else if CMP("/DIR", str) { end_uls(); return; } /* deprecated */ +html_tag.c:213:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 213 | else if CMP("/BIG", str) {} | ^~~ | | | unsigned char * @@ -3371,8 +3690,8 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:302:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 302 | else if CMP("é", str) { return(set_char_wrapper(str, 233)); } /* small e, acute accent */ +latin1.c: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 * @@ -3382,41 +3701,16 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:149:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 149 | else if CMP("MENU", str) { start_uls(); } /* deprecated */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:150:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 150 | else if CMP("/MENU", str) { end_uls(); return; } /* deprecated */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:151:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 151 | else if CMP("OL", str) { start_ols(); } - | ^~~ - | | - | unsigned char * +html_tag.c:214:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 214 | else if CMP("VAR", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c:303:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 303 | else if CMP("ê", str) { return(set_char_wrapper(str, 234)); } /* small e, circumflex accent */ +latin1.c: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 * @@ -3426,38 +3720,19 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:152:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 152 | else if CMP("/OL", str) { end_ols(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:154:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 154 | else if CMP("DIV", str) { start_div(0); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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 */ +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) | ^~ -html_tag.c:155:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 155 | else if CMP("/DIV", str) { end_div(); } +html_tag.c:215:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 215 | else if CMP("/VAR", str) {} | ^~~ | | | unsigned char * @@ -3470,30 +3745,19 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:156:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 156 | else if CMP("CENTER", str) { start_div(CENTER); } /* deprecated */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:157:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 157 | else if CMP("/CENTER", str) { end_div(); } /* deprecated */ - | ^~~ - | | - | unsigned char * +html_tag.c:216:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 216 | else if CMP("KBD", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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: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 * @@ -3503,89 +3767,52 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:158:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 158 | else if CMP("RIGHT", str) { start_div(RIGHT); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:159:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 159 | else if CMP("/RIGHT", str) { end_div(); } - | ^~~ - | | - | unsigned char * +html_tag.c:217:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 217 | else if CMP("/KBD", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c:306:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 306 | else if CMP("í", str) { return(set_char_wrapper(str, 237)); } /* small i, acute accent */ +latin1.c: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) | ^~ -html_tag.c:162:36: 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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:163:39: 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 * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:220:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 220 | else if CMP("BDO", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -html_tag.c:163:59: warning: pointer targets in passing argument 1 of 'image' differ in signedness [-Wpointer-sign] - 163 | else if CMP("APPLET", str) { image(STRING("Applet"), 1); } /* deprecated */ - | ^~~~~~~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from html.h:5, - from html_tag.c:24: -multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' - 31 | #define CHAR unsigned char -html.h:20:12: note: in expansion of macro 'CHAR' - 20 | void image(CHAR *, int); - | ^~~~ -html_tag.c:164:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 164 | else if CMP("AREA", str) { image(STRING("Area"), 0); } +html_tag.c:221:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 221 | else if CMP("/BDO", str) {} | ^~~ | | | unsigned char * @@ -3595,8 +3822,8 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 */ +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 * @@ -3606,63 +3833,30 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:222:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 222 | else if CMP("INS", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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 * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 */ +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 * @@ -3672,43 +3866,30 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:223:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 223 | else if CMP("/INS", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:164:59: warning: pointer targets in passing argument 1 of 'image' differ in signedness [-Wpointer-sign] - 164 | else if CMP("AREA", str) { image(STRING("Area"), 0); } - | ^~~~~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' - 31 | #define CHAR unsigned char -html.h:20:12: note: in expansion of macro 'CHAR' - 20 | void image(CHAR *, int); - | ^~~~ -html_tag.c:165:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 165 | else if CMP("INPUT", str) { image(STRING("Input"), 0); } - | ^~~ - | | - | unsigned char * +html_tag.c:224:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 224 | else if CMP("DEL", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 */ +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 * @@ -3718,87 +3899,52 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:165:59: warning: pointer targets in passing argument 1 of 'image' differ in signedness [-Wpointer-sign] - 165 | else if CMP("INPUT", str) { image(STRING("Input"), 0); } - | ^~~~~~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' - 31 | #define CHAR unsigned char -html.h:20:12: note: in expansion of macro 'CHAR' - 20 | void image(CHAR *, int); - | ^~~~ -html_tag.c:168:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 168 | else if CMP("TABLE", str) { /*start_p();*/ push_align(LEFT); neuer_paragraph(); } - | ^~~ - | | - | unsigned char * +html_tag.c:225:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 225 | else if CMP("/DEL", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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 */ +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) | ^~ -html_tag.c:169:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 169 | else if CMP("/TABLE", str) { paragraphen_ende(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:170:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 170 | else if CMP("TD", str) { wort_plus_ch(' '); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:171:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 171 | else if CMP("/TD", str) {} - | ^~~ - | | - | 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:226:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 226 | else if CMP("S", str) {} /* deprecated */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:172:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 172 | else if CMP("TH", str) { wort_plus_ch(' '); } +html_tag.c:227:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 227 | else if CMP("/S", str) {} /* deprecated */ | ^~~ | | | unsigned char * @@ -3808,19 +3954,8 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:173:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 173 | else if CMP("/TH", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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 */ +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 * @@ -3830,63 +3965,16 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:174:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 174 | else if CMP("TR", str) { line_break(); } /* start_p(); */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:175:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 175 | else if CMP("/TR", str) { /*paragraphen_ende();*/ } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:176:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 176 | else if CMP("CAPTION", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -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) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:177:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 177 | else if CMP("/CAPTION", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:228:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 228 | else if CMP("STRIKE", str) {} /* deprecated */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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 */ +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 * @@ -3896,52 +3984,33 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 */ +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) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:229:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 229 | else if CMP("/STRIKE", str) {} /* deprecated */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:179:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 179 | else if CMP("PRE", str) { start_p(); pre=1; } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:180:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 180 | else if CMP("/PRE", str) { paragraphen_ende(); pre=0; } +html_tag.c:232:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 232 | else if CMP("HTML", str) {} | ^~~ | | | unsigned char * @@ -3951,74 +4020,49 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:182:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 182 | else if CMP("DL", str) { start_dl();} /* Definition List */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:183:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 183 | else if CMP("/DL", str) { end_dl(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:184:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 184 | else if CMP("DT", str) { start_dt(); } /* Definition Title */ - | ^~~ - | | - | 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:185:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 185 | else if CMP("/DT", str) { end_dt(); } - | ^~~ - | | - | unsigned char * +html_tag.c:233:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 233 | else if CMP("BASE", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:186:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 186 | else if CMP("DD", str) { start_dd(); } /* Definition Description */ - | ^~~ - | | - | 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:187:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 187 | else if CMP("/DD", str) { end_dd(); } - | ^~~ - | | - | 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) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:190:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 190 | else if CMP("FORM", str) {} +html_tag.c:234:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 234 | else if CMP("LINK", str) {} | ^~~ | | | unsigned char * @@ -4028,41 +4072,11 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:191:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 191 | else if CMP("/FORM", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:192:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 192 | else if CMP("BUTTON", str) {} /* TODO: extract name? */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:193:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 193 | else if CMP("/BUTTON", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:194:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 194 | else if CMP("FIELDSET", str) {} +html_tag.c:235:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 235 | else if CMP("BASEFONT", str) {} /* deprecated */ | ^~~ | | | unsigned char * @@ -4072,63 +4086,49 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:195:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 195 | else if CMP("/FIELDSET", str) {} - | ^~~ - | | - | 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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:196:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 196 | else if CMP("TEXTAREA", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:237:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 237 | else if CMP("HEAD", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:197:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 197 | else if CMP("/TEXTAREA", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:198:39: 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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:199:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 199 | else if CMP("/LEGEND", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:200:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 200 | else if CMP("LABEL", str) {} +html_tag.c:238:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 238 | else if CMP("/HEAD", str) {} | ^~~ | | | unsigned char * @@ -4138,19 +4138,11 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:201:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 201 | else if CMP("/LABEL", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:204:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 204 | else if CMP("SAMP", str) {} +html_tag.c:239:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 239 | else if CMP("BODY", str) {} | ^~~ | | | unsigned char * @@ -4160,8 +4152,16 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:205:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 205 | else if CMP("/SAMP", str) {} +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) + | ^~ +html_tag.c:240:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 240 | else if CMP("/BODY", str) {} | ^~~ | | | unsigned char * @@ -4171,41 +4171,33 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:206:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 206 | else if CMP("CODE", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:207:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 207 | else if CMP("/CODE", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:241:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 241 | else if CMP("FONT", str) {} /* deprecated */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:208:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 208 | else if CMP("ABBR", str) {} - | ^~~ - | | - | unsigned char * +latin1.c:292:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 292 | else if CMP("ß", str) { return(set_char_wrapper(str, 223)); } /* small sharp s, German (sz ligature) */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:209:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 209 | else if CMP("/ABBR", str) {} +html_tag.c:242:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 242 | else if CMP("/FONT", str) {} /* deprecated */ | ^~~ | | | unsigned char * @@ -4215,30 +4207,27 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:210:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 210 | else if CMP("ACRONYM", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:211:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 211 | else if CMP("/ACRONYM", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:212:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 212 | else if CMP("BIG", str) {} +html_tag.c:243:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 243 | else if CMP("MAP", str) {} | ^~~ | | | unsigned char * @@ -4248,30 +4237,11 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:213:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 213 | else if CMP("/BIG", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:214:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 214 | else if CMP("VAR", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:215:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 215 | else if CMP("/VAR", str) {} +html_tag.c:244:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 244 | else if CMP("/MAP", str) {} | ^~~ | | | unsigned char * @@ -4281,184 +4251,173 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:216:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 216 | else if CMP("KBD", str) {} - | ^~~ - | | - | unsigned char * +latin1.c:295:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 295 | else if CMP("â", str) { return(set_char_wrapper(str, 226)); } /* small a, circumflex accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:217:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 217 | else if CMP("/KBD", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:245:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 245 | else if CMP("SUP", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:220:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 220 | else if CMP("BDO", str) {} - | ^~~ - | | - | unsigned char * +latin1.c:296:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 296 | else if CMP("ã", str) { return(set_char_wrapper(str, 227)); } /* small a, tilde */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:221:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 221 | else if CMP("/BDO", str) {} +html_tag.c:246:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 246 | else if CMP("/SUP", str) {} | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:222:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 222 | else if CMP("INS", str) {} - | ^~~ - | | - | unsigned char * +latin1.c:297:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 297 | else if CMP("ä", str) { return(set_char_wrapper(str, 228)); } /* small a, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:223:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 223 | else if CMP("/INS", str) {} - | ^~~ - | | - | unsigned char * +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:224:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 224 | else if CMP("DEL", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:247:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 247 | else if CMP("ADDRESS", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:225:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 225 | else if CMP("/DEL", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:248:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 248 | else if CMP("/ADDRESS", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:226:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 226 | else if CMP("S", str) {} /* deprecated */ - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:227:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 227 | else if CMP("/S", str) {} /* deprecated */ +html_tag.c:249:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 249 | else if CMP("TT", str) {} | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:228:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 228 | else if CMP("STRIKE", str) {} /* deprecated */ - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:229:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 229 | else if CMP("/STRIKE", str) {} /* deprecated */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:232:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 232 | else if CMP("HTML", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:233:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 233 | else if CMP("BASE", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:250:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 250 | else if CMP("/TT", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:234:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 234 | else if CMP("LINK", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:251:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 251 | else if CMP("SUB", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:235:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 235 | else if CMP("BASEFONT", str) {} /* deprecated */ - | ^~~ - | | - | unsigned char * +latin1.c:302:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 302 | else if CMP("é", str) { return(set_char_wrapper(str, 233)); } /* small e, acute accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:237:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 237 | else if CMP("HEAD", str) {} +html_tag.c:252:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 252 | else if CMP("/SUB", str) {} | ^~~ | | | unsigned char * @@ -4468,96 +4427,96 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:238:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 238 | else if CMP("/HEAD", str) {} - | ^~~ - | | - | unsigned char * +latin1.c:303:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 303 | else if CMP("ê", str) { return(set_char_wrapper(str, 234)); } /* small e, circumflex accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:239:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 239 | else if CMP("BODY", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:253:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 253 | else if CMP("NOSCRIPT", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:240:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 240 | else if CMP("/BODY", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:254:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 254 | else if CMP("/NOSCRIPT", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:241:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 241 | else if CMP("FONT", str) {} /* deprecated */ - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:242:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 242 | else if CMP("/FONT", str) {} /* deprecated */ +html_tag.c:255:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 255 | else if CMP("SMALL", str) {} | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:243:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 243 | else if CMP("MAP", str) {} - | ^~~ - | | - | unsigned char * +latin1.c:305:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 305 | else if CMP("ì", str) { return(set_char_wrapper(str, 236)); } /* small i, grave accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:244:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 244 | else if CMP("/MAP", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:245:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 245 | else if CMP("SUP", str) {} - | ^~~ - | | - | unsigned char * +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) + | ^~ +html_tag.c:256:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 256 | else if CMP("/SMALL", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:246:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 246 | else if CMP("/SUP", str) {} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html_tag.c:257:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 257 | else if CMP("SPAN", str) {} | ^~~ | | | unsigned char * @@ -4567,96 +4526,85 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:247:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 247 | else if CMP("ADDRESS", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:248:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 248 | else if CMP("/ADDRESS", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:258:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 258 | else if CMP("/SPAN", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:249:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 249 | else if CMP("TT", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:250:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 250 | else if CMP("/TT", str) {} +html_tag.c:259:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 259 | else if CMP("DFN", str) {} | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:251:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 251 | else if CMP("SUB", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:252:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 252 | else if CMP("/SUB", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:253:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 253 | else if CMP("NOSCRIPT", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:254:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 254 | else if CMP("/NOSCRIPT", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:260:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 260 | else if CMP("/DFN", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:255:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 255 | else if CMP("SMALL", str) {} +html_tag.c:261:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 261 | else if CMP("BLINK", str) {} | ^~~ | | | unsigned char * @@ -4666,52 +4614,49 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:256:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 256 | else if CMP("/SMALL", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:257:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 257 | else if CMP("SPAN", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:262:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 262 | else if CMP("/BLINK", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:258:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 258 | else if CMP("/SPAN", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:259:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 259 | else if CMP("DFN", str) {} - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:260:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 260 | else if CMP("/DFN", str) {} +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) + | ^~ +html_tag.c:263:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 263 | else if CMP("CITE", str) {} | ^~~ | | | unsigned char * @@ -4721,8 +4666,11 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:261:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 261 | else if CMP("BLINK", str) {} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html_tag.c:264:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 264 | else if CMP("/CITE", str) {} | ^~~ | | | unsigned char * @@ -4732,44 +4680,44 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:262:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 262 | else if CMP("/BLINK", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:263:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 263 | else if CMP("CITE", str) {} +html_tag.c:266:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 266 | else if CMP("NOBR", str) {} | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:264:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 264 | else if CMP("/CITE", str) {} - | ^~~ - | | - | unsigned char * +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) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:266:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 266 | else if CMP("NOBR", str) {} - | ^~~ - | | - | unsigned char * +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +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) | ^~ @@ -4795,6 +4743,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -4806,9 +4765,28 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +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) + | ^~ html_tag.c:270:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 270 | else if CMP("OPTION", str) {} | ^~~ @@ -4820,6 +4798,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:272:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 272 | else if CMP("FRAME", str) {} | ^~~ @@ -4831,6 +4812,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:273:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 273 | else if CMP("/FRAME", str) {} | ^~~ @@ -4842,6 +4834,25 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +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) + | ^~ html_tag.c:274:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 274 | else if CMP("FRAMESET", str) {} | ^~~ @@ -4853,6 +4864,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:275:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 275 | else if CMP("/FRAMESET", str) {} | ^~~ @@ -4864,6 +4878,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:276:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 276 | else if CMP("NOFRAMES", str) {} | ^~~ @@ -4875,6 +4900,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +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) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:277:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 277 | else if CMP("/NOFRAMES", str) {} | ^~~ @@ -5290,9 +5326,9 @@ make check-TESTS make[4]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/tests' make[5]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/tests' +PASS: check_tags PASS: check_latin2 PASS: check_utf8 -PASS: check_tags PASS: check_entities ============================================================================ Testsuite summary for @@ -5313,7 +5349,7 @@ make[2]: Leaving directory '/build/reproducible-path/vilistextum-2.6.9' make[1]: Leaving directory '/build/reproducible-path/vilistextum-2.6.9' dh_auto_test - make -j11 test "TESTSUITEFLAGS=-j11 --verbose" VERBOSE=1 + make -j21 test "TESTSUITEFLAGS=-j21 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/vilistextum-2.6.9' Making check in src make[2]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/src' @@ -5328,9 +5364,9 @@ make check-TESTS make[3]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/tests' make[4]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/tests' -PASS: check_latin2 -PASS: check_utf8 PASS: check_tags +PASS: check_utf8 +PASS: check_latin2 PASS: check_entities ============================================================================ Testsuite summary for @@ -5355,7 +5391,7 @@ dh_testroot dh_prep dh_auto_install --destdir=debian/vilistextum/ - make -j11 install DESTDIR=/build/reproducible-path/vilistextum-2.6.9/debian/vilistextum AM_UPDATE_INFO_DIR=no + make -j21 install DESTDIR=/build/reproducible-path/vilistextum-2.6.9/debian/vilistextum AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/vilistextum-2.6.9' Making install in src make[2]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/src' @@ -5414,12 +5450,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/58434/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/58434/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/15919 and its subdirectories -I: Current time: Fri Oct 11 12:23:57 -12 2024 -I: pbuilder-time-stamp: 1728692637 +I: removing directory /srv/workspace/pbuilder/58434 and its subdirectories +I: Current time: Fri Nov 14 20:47:24 +14 2025 +I: pbuilder-time-stamp: 1763102844