Diff of the two buildlogs: -- --- b1/build.log 2024-10-25 10:14:04.190617668 +0000 +++ b2/build.log 2024-10-25 10:16:32.001345088 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Nov 27 04:36:15 -12 2025 -I: pbuilder-time-stamp: 1764261375 +I: Current time: Sat Oct 26 00:14:07 +14 2024 +I: pbuilder-time-stamp: 1729851247 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ 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/3520707/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1762435/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 25 10:14 /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/1762435/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1762435/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='fb38cb3bcc0947e495475a13efe9ac1c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3520707' - PS1='# ' - PS2='> ' + INVOCATION_ID=7f1e488cef1a44678ee77bcd4fe0b4e1 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1762435 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.D4zBHfVM/pbuilderrc_4C8A --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.D4zBHfVM/b1 --logfile b1/build.log vilistextum_2.6.9-1.4.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.D4zBHfVM/pbuilderrc_MAt0 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.D4zBHfVM/b2 --logfile b2/build.log vilistextum_2.6.9-1.4.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) 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 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3520707/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1762435/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -139,7 +171,7 @@ Get: 27 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.20 [915 kB] -Fetched 19.8 MB in 0s (58.3 MB/s) +Fetched 19.8 MB in 1s (19.8 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 ... 21880 files and directories currently installed.) @@ -275,7 +307,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/1762435/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1762435/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 @@ -357,7 +393,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j42 + make -j20 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' @@ -374,8 +410,671 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o util.o util.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o unicode_entities.o unicode_entities.c +In file included from latin1.c:35: +latin1.c: In function 'parse_entity': +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) + | ^ +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: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) + | ^~~~ +In file included from /usr/include/features.h:510, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from latin1.c:21: +/usr/include/x86_64-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/x86_64-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), + | ^~~~~ +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/x86_64-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/x86_64-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), + | ^~~~~ +latin1.c: In function 'parse_entities': +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/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/x86_64-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: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/x86_64-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: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/x86_64-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/x86_64-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: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/x86_64-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: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/x86_64-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), + | ^~~~~ +latin1.c: In function 'html_entity': +latin1.c:215:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 215 | if CMP(""", str) { return(set_char_wrapper(str, '"')); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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 * +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: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) + | ^~ +/usr/include/string.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': +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) + | ~~~~~~~~~~~~^~~~ +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) + | ^~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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 * +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: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) + | ~~~~~~~~~~~~^~~~ +latin1.c: In function 'latin1': +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) + | ~~~~~~~~~~~~^~~~ +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) + | ^~ +/usr/include/string.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) + | ~~~~~~~~~~~~^~~~ +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) + | ^~ +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) + | ^~ +/usr/include/string.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 * +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:231:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 231 | else if CMP("¢", str) { return(set_char_wrapper(str, 162)); } /* cent sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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) + | ~~~~~~~~~~~~^~~~ +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) + | ^~ +/usr/include/string.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) + | ^~ +/usr/include/string.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:233:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 233 | else if CMP("¤", str) { return(set_char_wrapper(str, 164)); } /* general currency sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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 * +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: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: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/string.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: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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ^~ +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/string.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: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) + | ^~ +/usr/include/string.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: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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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: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 * +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: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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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_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/string.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: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_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/string.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: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) + | ^~ +/usr/include/string.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) + | ^~ +/usr/include/string.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: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) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.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('*'); } } + | ^~~ + | | + | 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 */ + | ^~~ + | | + | 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': +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:28:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 28 | else if (number==128) { CPYSL(s, "EUR"); } | ^ @@ -384,17 +1083,17 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -In file included from html.h:5, - from lists.c:16: -lists.c: In function 'check_style': -lists.c:33:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 33 | if CMP("TYPE", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * +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) + | ~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:510, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, @@ -402,7 +1101,14 @@ /usr/include/x86_64-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 lists.c:14: +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) | ~~~~~~~~~~~~^~~~ @@ -414,11 +1120,11 @@ 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 * +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) | ^~ @@ -428,6 +1134,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: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) + | ~~~~~~~~~~~~^~~~ microsoft.c:29:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 29 | else if CMP("€", s) { CPYSL(s, "EUR"); } | ^ @@ -439,14 +1156,28 @@ /usr/include/x86_64-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 * +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) | ^~ +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) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.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:30:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 30 | else if (number==8364) { CPYSL(s, "EUR"); } | ^ @@ -455,31 +1186,49 @@ 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) - | ~~~~~~~~~~~~^~~~ +In file included from util.c:23: +util.c: In function 'x2dec': /usr/include/x86_64-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: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 * +microsoft.c:34:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 34 | else if CMP("‚", s) { set_char(s, ','); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +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:34:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 34 | else if CMP("‚", s) { set_char(s, ','); } - | ^ - | | - | unsigned char * +/usr/include/string.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 */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +util.c:141:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 141 | int len=STRLEN(str); + | ^~~ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -491,12 +1240,35 @@ microsoft.c:38:11: note: in expansion of macro 'CMP' 38 | else if CMP("ƒ", s) { set_char(s, 'f'); } /* Latin Small Letter F With Hook */ | ^~~ +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) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.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:19: +/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: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) + | ^~ /usr/include/string.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': 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, "\""); } | ^ @@ -505,17 +1277,20 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -/usr/include/x86_64-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: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 * +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) + | ~~~~~~~~~~~~^~~~ +/usr/include/x86_64-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), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, "\""); } | ^ @@ -524,13 +1299,28 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from util.h:4, - from html.c: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) | ~~~~~~~~~~~~^~~~ -In file included from html_tag.c:22: +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) + | ^~ +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) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -545,14 +1335,6 @@ /usr/include/x86_64-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 * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ 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, "\""); } | ^ @@ -561,32 +1343,40 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -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) - | ~~~~~~~~~~~~^~~~ +util.c: In function 'extract_entity_number': +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/x86_64-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: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 * +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +util.c:192:39: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 192 | number = ATOI(tmp); + | ^~~ + | | + | unsigned char * +multibyte.h:40:23: note: in definition of macro 'ATOI' + 40 | #define ATOI(n) atoi(n) + | ^ +latin1.c:255:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 255 | else if CMP("º", str) { return(set_char_wrapper(str, 186)); } /* ordinal indicator, masculine */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.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: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) - | ^~~~ 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 */ | ^ @@ -595,34 +1385,27 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -In file included from /usr/include/features.h:510, - from /usr/include/ctype.h:25, - from html.c:24: -/usr/include/x86_64-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/x86_64-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: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) - | ^~~ -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 * +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) | ^~ -/usr/include/x86_64-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 /usr/include/features.h:510, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from util.c:16: +/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) + | ~~~~~~~~~~~~^~~~ 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 */ | ^ @@ -631,23 +1414,20 @@ 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: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 * +latin1.c:256:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 256 | else if CMP("»", str) { return(set_char_wrapper(str, 187)); } /* angle quotation mark, right */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.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: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 */ | ^ @@ -656,17 +1436,31 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +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) + | ^~ /usr/include/x86_64-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:70:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 70 | else if CMP("TITLE", 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:257:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 257 | else if CMP("¼", str) { return(set_char_wrapper(str, 188)); } /* fraction one-quarter */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/string.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:48:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 48 | else if (number==8230) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ | ^ @@ -678,6 +1472,14 @@ /usr/include/x86_64-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: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) | ~~~~~~~~~~~~^~~~ @@ -692,14 +1494,9 @@ /usr/include/x86_64-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) - | ^~ +In file included from util.h:4, + from text.c:22: +text.c: In function 'only_spaces': 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, "/-"); } | ^ @@ -711,11 +1508,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) - | ~~~~~~~~~~~~^~~~ -In file included from unicode_entities.c:17: -unicode_entities.c: In function 'ligature_entity': +In file included from util.h:4, + from html.c:36: +html.c: In function 'get_attr': microsoft.c:52:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 52 | else if CMP("†", s) { CPYSL(s, "/-"); } | ^ @@ -724,9 +1519,30 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +latin1.c:258:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 258 | else if CMP("½", str) { return(set_char_wrapper(str, 189)); } /* fraction one-half */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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/x86_64-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 unicode_entities.c:17: +unicode_entities.c: In function 'ligature_entity': +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) + | ^ 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, "/-"); } | ^ @@ -735,6 +1551,10 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +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) + | ~~~~~~~~~~~~^~~ /usr/include/x86_64-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), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -754,17 +1574,6 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -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/x86_64-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/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, @@ -772,10 +1581,25 @@ /usr/include/x86_64-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.c: In function 'check_for_center': +/usr/include/x86_64-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), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unicode_entities.c:52:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 52 | CPYSL(s, "fi"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +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) + | ^~ 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, "/="); } | ^ @@ -787,25 +1611,20 @@ /usr/include/string.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; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-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: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 * +/usr/include/string.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/x86_64-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), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ microsoft.c:57:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 57 | else if CMP("‡", s) { CPYSL(s, "/="); } | ^ @@ -814,20 +1633,21 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -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: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) - | ~~~~~~~~~~~~^~~~ /usr/include/x86_64-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 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) + | ~~~~~~~~~~~~^~~~ unicode_entities.c:54:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 54 | CPYSL(s, "fl"); break; | ^ @@ -842,6 +1662,14 @@ /usr/include/x86_64-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), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unicode_entities.c:56:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 56 | CPYSL(s, "ffi"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ 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, "/="); } | ^ @@ -850,13 +1678,13 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -unicode_entities.c:56:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 56 | CPYSL(s, "ffi"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) +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/x86_64-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), @@ -864,17 +1692,20 @@ /usr/include/x86_64-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: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: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) - | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:510, + from /usr/include/ctype.h:25, + from html.c:24: +/usr/include/x86_64-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), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ unicode_entities.c:58:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 58 | CPYSL(s, "ffl"); break; | ^ @@ -883,20 +1714,20 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -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/x86_64-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/x86_64-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: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) + | ^~~ 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, '^'); } | ^ @@ -905,17 +1736,9 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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/string.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/x86_64-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) | ~~~~~~~~~~~~^~~~ @@ -930,14 +1753,7 @@ /usr/include/x86_64-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: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) - | ^~ +text.c: In function 'wort_plus_string_nocount': unicode_entities.c:62:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 62 | CPYSL(s, "st"); break; | ^ @@ -946,20 +1762,20 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +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) | ~~~~~~~~~~~~^~~~ /usr/include/x86_64-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: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) - | ^~ 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"); } | ^ @@ -968,9 +1784,17 @@ 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) - | ~~~~~~~~~~~~^~~~ +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) + | ^ +/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/x86_64-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), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -982,20 +1806,17 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -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/x86_64-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: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) + | ^~ 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"); } | ^ @@ -1004,50 +1825,24 @@ 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; - | ^ - | | - | 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) - | ~~~~~~~~~~~~^~~~ -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/x86_64-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: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) | ~~~~~~~~~~~~^~~~ /usr/include/string.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:68:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 68 | CPYSL(s, "OE"); break; +text.c: In function 'wort_plus_string': +unicode_entities.c:66:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 66 | CPYSL(s, "ij"); break; | ^ | | | unsigned char * multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +/usr/include/x86_64-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), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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"); } | ^ @@ -1059,36 +1854,36 @@ /usr/include/x86_64-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: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 * +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/x86_64-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) - | ~~~~~~~~~~~~^~~~ -unicode_entities.c:70:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 70 | CPYSL(s, "oe"); break; +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) + | ^ +unicode_entities.c:68:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 68 | CPYSL(s, "OE"); break; | ^ | | | unsigned char * multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -html.c: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:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ /usr/include/x86_64-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), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1100,34 +1895,20 @@ 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) - | ~~~~~~~~~~~~^~~~ -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/x86_64-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: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/string.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: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/x86_64-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), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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'); } | ^ @@ -1136,20 +1917,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +text.c: In function 'wort_ende': /usr/include/string.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 * -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 'check_for_center': +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); } + | ^~~~~~~~ +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/x86_64-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, - | ^~~~~ +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) /usr/include/string.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"); } - | ^ - | | - | unsigned char * +latin1.c:259:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 259 | else if CMP("¾", str) { return(set_char_wrapper(str, 190)); } /* fraction three-quarters */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -html.c: In function 'construct_footnote': /usr/include/string.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('*'); } } - | ^~~ - | | - | unsigned char * +microsoft.c:82:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 82 | else if CMP("Œ", s) { CPYSL(s, "OE"); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -1234,28 +2016,41 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ -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/x86_64-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/x86_64-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: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 * +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) | ^~ +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) + | ^~ +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/x86_64-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/string.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: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:83:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 83 | else if (number==338) { CPYSL(s, "OE"); } | ^ @@ -1267,18 +2062,28 @@ /usr/include/x86_64-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: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: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) + | ^~ +/usr/include/string.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) | ~~~~~~~~~~~~^~~~ -html.c: In function 'href': 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, '`'); } | ^ @@ -1287,28 +2092,41 @@ 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:351:42: note: in expansion of macro 'ONESPACE' + 351 | while (i0) { zeile_plus_wort(ONESPACE,1,1); } + | ^~~~~~~~ +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) + | ^~ +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:101:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 101 | else if CMP("“", s) { set_char(s, '"'); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -1334,28 +2170,210 @@ /usr/include/string.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('*'); } } - | ^~~ +html.c: In function 'print_footnote_number': +microsoft.c:106:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 106 | else if CMP("”", s) { set_char(s, '"'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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: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) + | ~~~~~~~~~~~~^~~~ +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 * +text.c: In function 'hr': +/usr/include/x86_64-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: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) + | ^~ +/usr/include/string.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 'construct_footnote': +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) + | ~~~~~~~~~~~~^~~~ +microsoft.c:116:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 116 | else if CMP("–", s) { set_char(s, '-'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +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) + | ~~~~~~~~~~~~^~~~ +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/x86_64-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:266:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 266 | else if CMP("Å", str) { return(set_char_wrapper(str, 197)); } /* capital A, ring */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +microsoft.c:120:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 120 | else if (number==151) { CPYSL(s, "--"); } + | ^ | | | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/string.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/x86_64-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: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) | ^~ -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, '"'); } +/usr/include/string.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, "--"); } | ^ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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/string.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': +microsoft.c:121:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 121 | else if CMP("—", s) { CPYSL(s, "--"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-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: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:268:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 268 | else if CMP("Ç", str) { return(set_char_wrapper(str, 199)); } /* capital C, cedilla */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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: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) + | ^~ +/usr/include/string.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:122:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 122 | else if (number==8212) { CPYSL(s, "--"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-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: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.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)) { | ^~~~~~~~~ @@ -1364,47 +2382,61 @@ multibyte.h:45:42: note: in definition of macro 'STRSTR' 45 | #define STRSTR(haystack, needle) strstr(haystack, needle) | ^~~~~~~~ -microsoft.c:106:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 106 | else if CMP("”", s) { set_char(s, '"'); } +/usr/include/string.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, '~'); } | ^ | | | 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:350:34: note: expected 'const char *' but argument is of type 'unsigned char *' - 350 | extern char *strstr (const char *__haystack, const char *__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) | ~~~~~~~~~~~~^~~~ -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 * +/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) + | ~~~~~~~~~~~~^~~~~~~~~~ +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: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 * +microsoft.c:130:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 130 | else if (number==153) { CPYSL(s, "[tm]"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +latin1.c:270:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 270 | else if CMP("É", str) { return(set_char_wrapper(str, 201)); } /* capital E, acute accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/x86_64-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: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 * +microsoft.c:131:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 131 | else if CMP("™", s) { CPYSL(s, "[tm]"); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -1416,23 +2448,53 @@ 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) + | ~~~~~~~~~~~~^~~~ +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: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) | ~~~~~~~~~~~~^~~~ /usr/include/string.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: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) | ~~~~~~~~~~~~^~~~ +microsoft.c:131:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 131 | else if CMP("™", s) { CPYSL(s, "[tm]"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-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), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microsoft.c:132:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 132 | else if (number==8482) { CPYSL(s, "[tm]"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ 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)) { | ^~~~~~~~~ @@ -1441,72 +2503,56 @@ 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:116:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 116 | else if CMP("–", s) { set_char(s, '-'); } - | ^ - | | - | unsigned char * +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) | ^~ +/usr/include/x86_64-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) + | ~~~~~~~~~~~~^~~~ /usr/include/string.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 */ - | ^~~ - | | - | 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_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 * +microsoft.c:136:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 136 | else if CMP("š", s) { set_char(s, 's'); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.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:120:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 120 | else if (number==151) { CPYSL(s, "--"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-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: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 * +latin1.c:273:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 273 | else if CMP("Ì", str) { return(set_char_wrapper(str, 204)); } /* capital I, grave accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.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, "--"); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ html.c:395:48: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 395 | STRCAT(references, tmp); | ^~~~~~~~~~ @@ -1515,36 +2561,44 @@ multibyte.h:39:35: 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) - | ~~~~~~~~~~~~^~~~ -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 * +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) + | ~~~~~~~~~~~~^~~ +microsoft.c:141:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 141 | else if CMP("›", s) { set_char(s, '>'); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.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/x86_64-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: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 * +/usr/include/string.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: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) | ^~ /usr/include/string.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:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 121 | else if CMP("—", s) { CPYSL(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"); } | ^ | | | unsigned char * @@ -1565,39 +2619,28 @@ /usr/include/x86_64-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), | ^~~~~ -microsoft.c:122:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 122 | else if (number==8212) { CPYSL(s, "--"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-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: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 * +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) + | ^ +microsoft.c:146:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 146 | else if CMP("œ", s) { CPYSL(s, "oe"); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.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) - | ^~~~ -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, '~'); } - | ^ +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' @@ -1606,22 +2649,48 @@ /usr/include/string.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/x86_64-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)) + | ^~~~~ +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) + | ^~~~ +microsoft.c:146:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 146 | else if CMP("œ", s) { CPYSL(s, "oe"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ /usr/include/x86_64-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: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 * +/usr/include/x86_64-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:276:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 276 | else if CMP("Ï", str) { return(set_char_wrapper(str, 207)); } /* capital I, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.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:130:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 130 | else if (number==153) { CPYSL(s, "[tm]"); } +microsoft.c:147:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 147 | else if (number==339) { CPYSL(s, "oe"); } | ^ | | | unsigned char * @@ -1631,17 +2700,6 @@ /usr/include/x86_64-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: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.c:397:60: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 397 | CPYSS(link_inline, attr_ctnt); | ^~~~~~~~~ @@ -1650,51 +2708,43 @@ multibyte.h:33:40: note: in definition of macro 'CPYSS' 33 | #define CPYSS(dest, src) strcpy(dest, src) | ^~~ +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/x86_64-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.c: In function 'href_output': -microsoft.c:131:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 131 | else if CMP("™", s) { CPYSL(s, "[tm]"); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -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 * +/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: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) | ^~ +html.c: In function 'href_output': /usr/include/string.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:131:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 131 | else if CMP("™", s) { CPYSL(s, "[tm]"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-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: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 * +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) | ^~ +/usr/include/string.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:")); | ^~~~~~~~~~~~~~~~ @@ -1703,6 +2753,14 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ +latin1.c:278:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 278 | else if CMP("Ñ", str) { return(set_char_wrapper(str, 209)); } /* capital N, tilde */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -1710,6 +2768,83 @@ fileio.h:9:26: note: expected 'unsigned char *' but argument is of type 'char *' 9 | void output_string(CHAR *str); html.c: In function 'href_link_inline_output': +latin1.c:279:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 279 | else if CMP("Ò", str) { return(set_char_wrapper(str, 210)); } /* capital O, grave accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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: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.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/string.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.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: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) + | ~~~~~~~~~~~~^~~~ +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); +html.c: In function 'image': +latin1.c:282:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 282 | else if CMP("Õ", str) { return(set_char_wrapper(str, 213)); } /* capital O, tilde */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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(); } | ^~~ @@ -1721,17 +2856,29 @@ /usr/include/string.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:132:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 132 | else if (number==8482) { CPYSL(s, "[tm]"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-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), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microsoft.c: In function 'microsoft_character': +latin1.c:283:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 283 | else if CMP("Ö", str) { return(set_char_wrapper(str, 214)); } /* capital O, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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: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) + | ^~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); html_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(); } | ^~~ @@ -1743,17 +2890,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.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: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) + | ~~~~~~~~~~~~^~~~ 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(); } | ^~~ @@ -1765,6 +2912,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) | ~~~~~~~~~~~~^~~~ +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); 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(); } | ^~~ @@ -1773,9 +2930,9 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -microsoft.c:136:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 136 | else if CMP("š", s) { set_char(s, 's'); } - | ^ +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' @@ -1787,25 +2944,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.c:423:49: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 423 | wort_plus_string(STRING("<")); +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) | ^~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -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); -microsoft.c:141:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 141 | else if CMP("›", s) { set_char(s, '>'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ 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(); } | ^~~ @@ -1817,17 +2965,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: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.c:425:49: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 425 | wort_plus_string(STRING(">")); +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) | ^~~ - | | - | 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); html_tag.c:138:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] @@ -1838,20 +2994,30 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from latin1.c: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) | ~~~~~~~~~~~~^~~~ -microsoft.c:145:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 145 | else if (number==156) { CPYSL(s, "oe"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -html.c: In function 'image': +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) + | ^~ +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); +/usr/include/string.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(); } | ^~~ @@ -1863,17 +3029,6 @@ /usr/include/string.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/x86_64-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_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(); } | ^~~ @@ -1882,43 +3037,30 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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) + | ^~~ /usr/include/string.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) - | ^~ -/usr/include/string.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) - | ~~~~~~~~~~~~^~~ -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"); } - | ^ +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) | ^~ +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: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:143:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 143 | else if CMP("LI", str) { start_lis(); } | ^~~ @@ -1930,57 +3072,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) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from text.c:22: -text.c: In function 'only_spaces': -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 * +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: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) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:510, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from latin1.c:21: -/usr/include/x86_64-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) - | ^~~ -microsoft.c:146:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 146 | else if CMP("œ", s) { CPYSL(s, "oe"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-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/x86_64-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: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_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(); } | ^~~ @@ -1992,44 +3104,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) | ~~~~~~~~~~~~^~~~ -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: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/x86_64-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: In function 'start_nooutput': -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) - | ^~~ -microsoft.c:147:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 147 | else if (number==339) { CPYSL(s, "oe"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-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/x86_64-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: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) + | ~~~~~~~~~~~~^~~~ +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); 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(); } | ^~~ @@ -2041,7 +3136,6 @@ /usr/include/string.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': 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; } | ^~~ @@ -2050,31 +3144,30 @@ 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:610:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 610 | if CMP("/", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * +latin1.c:291:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 291 | else if CMP("Þ", str) { return(set_char_wrapper(str, 222)); } /* capital THORN, Icelandic */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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/string.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: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: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); 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 */ | ^~~ @@ -2086,17 +3179,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) | ~~~~~~~~~~~~^~~~ -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 * +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) | ~~~~~~~~~~~~^~~~ +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: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 */ | ^~~ @@ -2108,7 +3211,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) | ~~~~~~~~~~~~^~~~ -text.c: In function 'wort_plus_string_nocount': +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: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 */ | ^~~ @@ -2120,14 +3233,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) | ~~~~~~~~~~~~^~~~ -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: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: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 */ | ^~~ @@ -2136,31 +3252,9 @@ 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/string.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/x86_64-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: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/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:151:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 151 | else if CMP("OL", str) { start_ols(); } | ^~~ @@ -2169,9 +3263,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/x86_64-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: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) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -2186,31 +3288,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) | ~~~~~~~~~~~~^~~~ -text.c: In function 'wort_plus_string': -In file included from util.c:23: -util.c: In function 'x2dec': -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) - | ^ -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/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/x86_64-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: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: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); } | ^~~ @@ -2219,32 +3307,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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/string.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/x86_64-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: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/x86_64-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_ende': +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:155:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 155 | else if CMP("/DIV", str) { end_div(); } | ^~~ @@ -2256,33 +3332,50 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -util.c:141:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 141 | int len=STRLEN(str); - | ^~~ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -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/x86_64-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), - | ^~~~~ -multibyte.h:42:19: warning: pointer targets in passing argument 1 of 'zeile_plus_wort' differ in signedness [-Wpointer-sign] - 42 | #define ONESPACE " " - | ^~~ - | | - | char * -text.c:331:42: note: in expansion of macro 'ONESPACE' - 331 | while (i0) { zeile_plus_wort(ONESPACE,1,1); } - | ^~~~~~~~ -text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' - 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) -latin1.c: In function 'html_entity': -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; - | ^~~~~ +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 */ + | ^~~ | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -In file included from microsoft.c:15: -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); + | 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: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); } | ^~~ @@ -2345,8 +3431,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: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, '"')); } +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 * @@ -2356,16 +3442,6 @@ /usr/include/string.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) 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(); } | ^~~ @@ -2377,17 +3453,6 @@ /usr/include/string.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 * -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: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); } | ^~~ @@ -2396,38 +3461,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ^~~ -/usr/include/string.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); -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 * +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) | ~~~~~~~~~~~~^~~~ -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 (i')); } - | ^~~ - | | - | 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) | ^~ -util.c:192:39: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 192 | number = ATOI(tmp); - | ^~~ - | | - | unsigned char * -multibyte.h:40:23: note: in definition of macro 'ATOI' - 40 | #define ATOI(n) atoi(n) - | ^ /usr/include/string.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:33:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 33 | if CMP("TYPE", attr_name) + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ html_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 */ | ^~~~~~~~ @@ -2479,16 +3516,10 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ -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); +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 html.h:5, from html_tag.c:24: multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' @@ -2496,42 +3527,39 @@ html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ -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 * +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) + | ^~ +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) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.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) | ^~ -In file included from /usr/include/features.h:510, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from util.c:16: -/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) | ~~~~~~~~~~~~^~~~ -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:352:62: note: in expansion of macro 'ONESPACE' - 352 | if (orderedlist>0) { zeile_plus_wort(ONESPACE,1,1); } - | ^~~~~~~~ -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: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); } | ^~~ @@ -2543,29 +3571,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) | ~~~~~~~~~~~~^~~~ -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: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 * +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) + | ~~~~~~~~~~~~^~~~ +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) | ~~~~~~~~~~~~^~~~ -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: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); } | ^~~~~~ @@ -2579,7 +3606,6 @@ html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ -latin1.c: In function 'latin1': 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); } | ^~~ @@ -2591,21 +3617,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) | ~~~~~~~~~~~~^~~~ -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: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 * +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) | ^~ @@ -2625,41 +3641,11 @@ html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ -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) - | ^~ -text.c: In function 'hr': -/usr/include/string.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: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); -latin1.c:231:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 231 | else if CMP("¢", str) { return(set_char_wrapper(str, 162)); } /* cent sign */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -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 * +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) | ^~ @@ -2677,27 +3663,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) | ~~~~~~~~~~~~^~~~ -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) - | ^~~ +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) | ~~~~~~~~~~~~^~~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -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) - | ^~~ 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(); } | ^~~ @@ -2706,30 +3682,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ~~~~~~~~~~~~^~~~ -/usr/include/string.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); -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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -2741,36 +3693,14 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ^~ -/usr/include/string.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:233:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 233 | else if CMP("¤", str) { return(set_char_wrapper(str, 164)); } /* general currency sign */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.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: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 * +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) | ^~ @@ -2788,22 +3718,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: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) - | ^~ -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 * +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: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(' '); } | ^~~ @@ -2815,9 +3740,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) | ~~~~~~~~~~~~^~~~ -/usr/include/string.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) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -2829,20 +3759,9 @@ 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: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) - | ^~ -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) - | ^~~~~~~~~ +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' @@ -2854,28 +3773,6 @@ /usr/include/string.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: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) - | ^~ -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: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:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ 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(); */ | ^~~ @@ -2887,25 +3784,18 @@ /usr/include/string.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: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) - | ^ -latin1.c:237:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 237 | else if CMP("¨", str) { return(set_char_wrapper(str, 168)); } /* umlaut (dieresis) */ - | ^~~ - | | - | unsigned char * +latin1.c: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.c: In function 'start_nooutput': 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();*/ } | ^~~ @@ -2917,21 +3807,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 /usr/include/features.h:510, - from /usr/include/x86_64-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: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 */ +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:176:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 176 | else if CMP("CAPTION", str) {} | ^~~ @@ -2943,6 +3829,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) | ~~~~~~~~~~~~^~~~ +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) | ~~~~~~~~~~~~^~~~ @@ -2954,39 +3848,20 @@ 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: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 * +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) | ^~ -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/string.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/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ -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 - | ^~~~~~ +/usr/include/string.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; } | ^~~ @@ -2998,11 +3873,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) | ~~~~~~~~~~~~^~~~ -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 * +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) | ^~ @@ -3017,32 +3892,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ~~~~~~~~~~~~^~~~ /usr/include/string.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: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: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) | ~~~~~~~~~~~~^~~~ -main.c: In function 'parse_args': 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 */ | ^~~ @@ -3054,31 +3917,6 @@ /usr/include/string.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) - | ^~ -/usr/include/string.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; - | ^ -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_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(); } | ^~~ @@ -3090,11 +3928,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) | ~~~~~~~~~~~~^~~~ -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 * +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) | ^~ @@ -3109,28 +3947,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ^~ /usr/include/string.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:247:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 247 | else if CMP("²", str) { return(set_char_wrapper(str, 178)); } /* superscript two */ - | ^~~ - | | - | unsigned char * +latin1.c: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:185:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 185 | else if CMP("/DT", str) { end_dt(); } | ^~~ @@ -3142,17 +3972,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) - | ~~~~~~~~~~~~^~~~ -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: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) + | ~~~~~~~~~~~~^~~~ 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 */ | ^~~ @@ -3164,9 +3994,6 @@ /usr/include/string.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:187:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 187 | else if CMP("/DD", str) { end_dd(); } | ^~~ @@ -3175,22 +4002,33 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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 * +/usr/include/string.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) | ~~~~~~~~~~~~^~~~ +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) + | ^~ /usr/include/string.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: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 */ +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 * @@ -3200,25 +4038,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) | ~~~~~~~~~~~~^~~~ -latin1.c:251:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 251 | else if CMP("¶", str) { return(set_char_wrapper(str, 182)); } /* pilcrow (paragraph sign) */ +latin1.c: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) | ^~ -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) - | ^~ -/usr/include/string.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) | ~~~~~~~~~~~~^~~~ @@ -3233,17 +4060,6 @@ /usr/include/string.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 */ - | ^~~ - | | - | 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? */ | ^~~ @@ -3252,28 +4068,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ^~ -/usr/include/string.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: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) | ~~~~~~~~~~~~^~~~ @@ -3285,28 +4079,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -latin1.c:255:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 255 | else if CMP("º", str) { return(set_char_wrapper(str, 186)); } /* ordinal indicator, masculine */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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:256:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 256 | else if CMP("»", str) { return(set_char_wrapper(str, 187)); } /* angle quotation mark, right */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3318,28 +4090,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -latin1.c:257:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 257 | else if CMP("¼", str) { return(set_char_wrapper(str, 188)); } /* fraction one-quarter */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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:258:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 258 | else if CMP("½", str) { return(set_char_wrapper(str, 189)); } /* fraction one-half */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3354,17 +4104,6 @@ /usr/include/string.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: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) - | ^~ -/usr/include/string.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) {} | ^~~ @@ -3376,17 +4115,6 @@ /usr/include/string.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: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) - | ^~ -/usr/include/string.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) {} | ^~~ @@ -3398,17 +4126,6 @@ /usr/include/string.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) - | ^~ -/usr/include/string.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) {} | ^~~ @@ -3420,28 +4137,6 @@ /usr/include/string.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: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) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.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) {} | ^~~ @@ -3453,17 +4148,6 @@ /usr/include/string.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: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) - | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -3475,17 +4159,6 @@ /usr/include/string.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: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) - | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -3497,17 +4170,6 @@ /usr/include/string.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:266:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 266 | else if CMP("Å", str) { return(set_char_wrapper(str, 197)); } /* capital A, ring */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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) {} | ^~~ @@ -3519,17 +4181,6 @@ /usr/include/string.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: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) - | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -3541,25 +4192,6 @@ /usr/include/string.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:268:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 268 | else if CMP("Ç", str) { return(set_char_wrapper(str, 199)); } /* capital C, cedilla */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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 * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ 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) {} | ^~~ @@ -3571,9 +4203,6 @@ /usr/include/string.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:207:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 207 | else if CMP("/CODE", str) {} | ^~~ @@ -3582,28 +4211,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -latin1.c:270:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 270 | else if CMP("É", str) { return(set_char_wrapper(str, 201)); } /* capital E, acute accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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: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) | ~~~~~~~~~~~~^~~~ @@ -3618,17 +4225,6 @@ /usr/include/string.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: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) - | ^~ -/usr/include/string.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) {} | ^~~ @@ -3640,28 +4236,6 @@ /usr/include/string.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:273:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 273 | else if CMP("Ì", str) { return(set_char_wrapper(str, 204)); } /* capital I, grave accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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: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) - | ^~ -/usr/include/string.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) {} | ^~~ @@ -3673,17 +4247,6 @@ /usr/include/string.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: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_tag.c:211:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 211 | else if CMP("/ACRONYM", str) {} | ^~~ @@ -3692,28 +4255,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -latin1.c:276:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 276 | else if CMP("Ï", str) { return(set_char_wrapper(str, 207)); } /* capital I, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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: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) | ~~~~~~~~~~~~^~~~ @@ -3728,14 +4269,6 @@ /usr/include/string.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:278:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 278 | else if CMP("Ñ", str) { return(set_char_wrapper(str, 209)); } /* capital N, tilde */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ 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) {} | ^~~ @@ -3747,9 +4280,6 @@ /usr/include/string.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:214:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 214 | else if CMP("VAR", str) {} | ^~~ @@ -3758,28 +4288,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -latin1.c:279:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 279 | else if CMP("Ò", str) { return(set_char_wrapper(str, 210)); } /* capital O, grave accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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: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) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3794,14 +4302,6 @@ /usr/include/string.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 */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ 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) {} | ^~~ @@ -3813,9 +4313,6 @@ /usr/include/string.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:217:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 217 | else if CMP("/KBD", str) {} | ^~~ @@ -3824,28 +4321,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -latin1.c:282:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 282 | else if CMP("Õ", str) { return(set_char_wrapper(str, 213)); } /* capital O, tilde */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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:283:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 283 | else if CMP("Ö", str) { return(set_char_wrapper(str, 214)); } /* capital O, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3860,17 +4335,6 @@ /usr/include/string.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: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) - | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -3890,28 +4354,6 @@ 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 * -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 */ - | ^~~ - | | - | 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) | ~~~~~~~~~~~~^~~~ @@ -3926,17 +4368,6 @@ /usr/include/string.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 */ - | ^~~ - | | - | 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) {} | ^~~ @@ -3948,14 +4379,6 @@ /usr/include/string.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 * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ 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) {} | ^~~ @@ -3967,17 +4390,6 @@ /usr/include/string.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: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) - | ^~ 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 */ | ^~~ @@ -3989,20 +4401,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) | ~~~~~~~~~~~~^~~~ -/usr/include/string.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 */ - | ^~~ - | | - | 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_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 */ | ^~~ @@ -4014,14 +4420,6 @@ /usr/include/string.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) - | ^~ 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 */ | ^~~ @@ -4033,9 +4431,6 @@ /usr/include/string.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:229:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 229 | else if CMP("/STRIKE", str) {} /* deprecated */ | ^~~ @@ -4044,17 +4439,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -4069,17 +4453,10 @@ /usr/include/string.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: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) - | ~~~~~~~~~~~~^~~~ +main.c: In function 'parse_args': +main.c:273:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 273 | default_image = argument; break; + | ^ 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) {} | ^~~ @@ -4088,28 +4465,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ~~~~~~~~~~~~^~~~ -/usr/include/string.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) | ~~~~~~~~~~~~^~~~ @@ -4121,28 +4476,9 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ~~~~~~~~~~~~^~~~ /usr/include/string.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) - | ^~ 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 */ | ^~~ @@ -4154,17 +4490,6 @@ /usr/include/string.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: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) - | ^~ 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) {} | ^~~ @@ -4176,17 +4501,6 @@ /usr/include/string.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: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) - | ^~ 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) {} | ^~~ @@ -4198,9 +4512,6 @@ /usr/include/string.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:239:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 239 | else if CMP("BODY", str) {} | ^~~ @@ -4209,28 +4520,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ~~~~~~~~~~~~^~~~ -/usr/include/string.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 */ - | ^~~ - | | - | 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) | ~~~~~~~~~~~~^~~~ @@ -4245,17 +4534,6 @@ /usr/include/string.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 */ - | ^~~ - | | - | 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 */ | ^~~ @@ -4267,17 +4545,6 @@ /usr/include/string.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 */ - | ^~~ - | | - | 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 */ | ^~~ @@ -4289,17 +4556,6 @@ /usr/include/string.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 */ - | ^~~ - | | - | 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) {} | ^~~ @@ -4311,17 +4567,6 @@ /usr/include/string.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 */ - | ^~~ - | | - | 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) {} | ^~~ @@ -4333,17 +4578,6 @@ /usr/include/string.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 */ - | ^~~ - | | - | 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) {} | ^~~ @@ -4355,17 +4589,6 @@ /usr/include/string.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 * -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) {} | ^~~ @@ -4377,17 +4600,6 @@ /usr/include/string.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 */ - | ^~~ - | | - | 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:247:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 247 | else if CMP("ADDRESS", str) {} | ^~~ @@ -4399,17 +4611,6 @@ /usr/include/string.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) - | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -4421,17 +4622,6 @@ /usr/include/string.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) - | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -4443,17 +4633,6 @@ /usr/include/string.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 * -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) {} | ^~~ @@ -4465,17 +4644,6 @@ /usr/include/string.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 * -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) {} | ^~~ @@ -4487,17 +4655,6 @@ /usr/include/string.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) - | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -4509,17 +4666,6 @@ /usr/include/string.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 */ - | ^~~ - | | - | 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) {} | ^~~ @@ -4531,17 +4677,6 @@ /usr/include/string.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 * -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) {} | ^~~ @@ -4553,17 +4688,6 @@ /usr/include/string.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) - | ^~ -/usr/include/string.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) {} | ^~~ @@ -4575,28 +4699,6 @@ /usr/include/string.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 */ - | ^~~ - | | - | 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 * -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:256:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 256 | else if CMP("/SMALL", str) {} | ^~~ @@ -4608,17 +4710,6 @@ /usr/include/string.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) - | ^~ -/usr/include/string.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) {} | ^~~ @@ -4630,17 +4721,6 @@ /usr/include/string.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:258:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 258 | else if CMP("/SPAN", str) {} | ^~~ @@ -4652,17 +4732,6 @@ /usr/include/string.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) - | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -4674,17 +4743,6 @@ /usr/include/string.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) - | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -4696,14 +4754,6 @@ /usr/include/string.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) - | ^~ 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) {} | ^~~ @@ -4715,9 +4765,6 @@ /usr/include/string.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:262:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 262 | else if CMP("/BLINK", str) {} | ^~~ @@ -4729,17 +4776,6 @@ /usr/include/string.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:263:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 263 | else if CMP("CITE", str) {} | ^~~ @@ -5287,9 +5323,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_utf8 -PASS: check_tags PASS: check_latin2 +PASS: check_tags +PASS: check_utf8 PASS: check_entities ============================================================================ Testsuite summary for @@ -5310,7 +5346,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 -j42 test "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 + make -j20 test "TESTSUITEFLAGS=-j20 --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' @@ -5325,9 +5361,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_tags -PASS: check_utf8 PASS: check_latin2 +PASS: check_utf8 +PASS: check_tags PASS: check_entities ============================================================================ Testsuite summary for @@ -5352,7 +5388,7 @@ dh_testroot dh_prep dh_auto_install --destdir=debian/vilistextum/ - make -j42 install DESTDIR=/build/reproducible-path/vilistextum-2.6.9/debian/vilistextum AM_UPDATE_INFO_DIR=no + make -j20 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' @@ -5411,12 +5447,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/1762435/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1762435/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/3520707 and its subdirectories -I: Current time: Thu Nov 27 04:37:01 -12 2025 -I: pbuilder-time-stamp: 1764261421 +I: removing directory /srv/workspace/pbuilder/1762435 and its subdirectories +I: Current time: Sat Oct 26 00:16:30 +14 2024 +I: pbuilder-time-stamp: 1729851390