Diff of the two buildlogs: -- --- b1/build.log 2025-03-15 18:37:03.242717515 +0000 +++ b2/build.log 2025-03-15 18:37:38.137125087 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 17 12:59:13 -12 2026 -I: pbuilder-time-stamp: 1776473953 +I: Current time: Sun Mar 16 08:37:06 +14 2025 +I: pbuilder-time-stamp: 1742063826 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,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/1394370/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2535522/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 Mar 15 18:37 /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/2535522/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2535522/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='dd32953f73664712b93e4335daa2c4ff' - 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='1394370' - PS1='# ' - PS2='> ' + INVOCATION_ID=c97f4a27b5ea46dc9d1597ad9bd89bfa + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=2535522 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.8oUHA5Xt/pbuilderrc_l6el --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.8oUHA5Xt/b1 --logfile b1/build.log vilistextum_2.6.9-1.4.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.8oUHA5Xt/pbuilderrc_9iAL --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.8oUHA5Xt/b2 --logfile b2/build.log vilistextum_2.6.9-1.4.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1394370/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2535522/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -137,7 +169,7 @@ Get: 28 http://deb.debian.org/debian trixie/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.24.1 [920 kB] -Fetched 20.1 MB in 0s (94.2 MB/s) +Fetched 20.1 MB in 0s (148 MB/s) Preconfiguring packages ... 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 ... 19917 files and directories currently installed.) @@ -277,7 +309,11 @@ fakeroot is already the newest version (1.37-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/2535522/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2535522/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 @@ -371,1187 +407,17 @@ 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 -mbranch-protection=standard -I/usr/local/include -c -o latin1.o latin1.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 -mbranch-protection=standard -I/usr/local/include -c -o html_tag.o html_tag.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 -mbranch-protection=standard -I/usr/local/include -c -o lists.o lists.c -In file included from util.h:4, - from html.c:36: -html.c: In function 'get_attr': -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) - | ^~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ^~~~ -In file included from /usr/include/features.h:523, - from /usr/include/ctype.h:25, - from html.c:24: -/usr/include/aarch64-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) - | ^~~ -/usr/include/aarch64-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 'check_for_center': -html.c:278:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 278 | if CMP("ALIGN", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html.c:282:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 282 | if CMP("LEFT", attr_ctnt) { push_align(LEFT); } - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html.c:283:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 283 | else if CMP("CENTER", attr_ctnt) { push_align(CENTER); } - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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: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) - | ~~~~~~~~~~~~^~~~ -html.c: In function 'print_footnote_number': -html.c:355:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] - 355 | snprintf(temp, 1000, "[%d]", number); - | ^~~~ - | | - | unsigned char * -/usr/include/aarch64-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'unsigned char *' - 65 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -html.c: In function 'construct_footnote': 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 -mbranch-protection=standard -I/usr/local/include -c -o microsoft.o microsoft.c -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/aarch64-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'unsigned char *' - 65 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -html.c: In function 'href': -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) - | ~~~~~~~~~~~~^~~~ -html.c:383:37: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:45:42: note: in definition of macro 'STRSTR' - 45 | #define STRSTR(haystack, needle) strstr(haystack, needle) - | ^~~~~~~~ -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'unsigned char *' - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -html.c:383:85: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] - 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:47:48: note: in definition of macro 'STRNCMP' - 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) - | ^~~~ -/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -html.c:383:124: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] - 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:47:48: note: in definition of macro 'STRNCMP' - 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) - | ^~~~ -/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -html.c:395:48: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] - 395 | STRCAT(references, tmp); - | ^~~~~~~~~~ - | | - | unsigned char * -multibyte.h:39:35: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~~ -/usr/include/aarch64-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.c:395:60: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] - 395 | STRCAT(references, tmp); - | ^~~ - | | - | unsigned char * -multibyte.h:39:41: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~ -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -html.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) - | ^~~~ -/usr/include/aarch64-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 latin1.c:35: -latin1.c: In function 'parse_entity': -html.c:397:60: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 397 | CPYSS(link_inline, attr_ctnt); - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:33:40: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~ -/usr/include/aarch64-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), - | ^~~~~ 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 -mbranch-protection=standard -I/usr/local/include -c -o text.o text.c -html.c: In function 'href_output': -html.c:410:46: warning: pointer targets in passing argument 1 of 'output_string' differ in signedness [-Wpointer-sign] - 410 | output_string(STRING("\n References:")); - | ^~~~~~~~~~~~~~~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -In file included from html.c:33: -fileio.h:9:26: note: expected 'unsigned char *' but argument is of type 'char *' - 9 | void output_string(CHAR *str); -html.c: In function 'href_link_inline_output': -latin1.c:64:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 64 | int len = STRLEN(str); - | ^~~ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -html.c: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) - | ~~~~~~~~~~~~^~~ -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) - | ~~~~~~~~~~~~^~~ -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 - | ^~~~~~ -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: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.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); -In file included from /usr/include/features.h:523, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from latin1.c:21: -/usr/include/aarch64-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 'image': -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/aarch64-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: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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -html.c: In function 'start_nooutput': -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/aarch64-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:610:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 610 | if CMP("/", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c: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/aarch64-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': 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 -mbranch-protection=standard -I/usr/local/include -c -o fileio.o fileio.c -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/aarch64-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/aarch64-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/aarch64-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/aarch64-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/aarch64-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/aarch64-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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -latin1.c: In function 'latin1': -latin1.c:229:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 229 | if CMP(" ", str) { return(set_char_wrapper(str, 160)); } /* no-break space */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c:230:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 230 | else if CMP("¡", str) { return(set_char_wrapper(str, 161)); } /* inverted exclamation mark */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -latin1.c:237:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 237 | else if CMP("¨", str) { return(set_char_wrapper(str, 168)); } /* umlaut (dieresis) */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -latin1.c:247:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 247 | else if CMP("²", str) { return(set_char_wrapper(str, 178)); } /* superscript two */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -latin1.c:250:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 250 | else if CMP("µ", str) { return(set_char_wrapper(str, 181)); } /* micro sign */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c:251:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 251 | else if CMP("¶", str) { return(set_char_wrapper(str, 182)); } /* pilcrow (paragraph sign) */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c: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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ 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 -mbranch-protection=standard -I/usr/local/include -c -o main.o main.c -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.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: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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ 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 -mbranch-protection=standard -I/usr/local/include -c -o util.o util.c -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) - | ~~~~~~~~~~~~^~~~ -latin1.c:275:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 275 | else if CMP("Î", str) { return(set_char_wrapper(str, 206)); } /* capital I, circumflex accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c: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) - | ~~~~~~~~~~~~^~~~ -latin1.c:277:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 277 | else if CMP("Ð", str) { return(set_char_wrapper(str, 208)); } /* capital Eth, Icelandic */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c: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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -latin1.c:281:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 281 | else if CMP("Ô", str) { return(set_char_wrapper(str, 212)); } /* capital O, circumflex accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c: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) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ +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 -mbranch-protection=standard -I/usr/local/include -c -o unicode_entities.o unicode_entities.c In file included from html.h:5, from lists.c:16: lists.c: In function 'check_style': -/usr/include/string.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) - | ^~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -lists.c:35:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 35 | if CMP("disc", attr_ctnt) { return '*'; } - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -lists.c:36:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 36 | if CMP("square", attr_ctnt) { return '+'; } - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -lists.c:37:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 37 | if CMP("circle", attr_ctnt) { return 'o'; } - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ In file included from microsoft.c:18: microsoft.c: In function 'microsoft_entities': -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) - | ^~ 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"); } | ^ @@ -1567,9 +433,6 @@ /usr/include/aarch64-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:29:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 29 | else if CMP("€", s) { CPYSL(s, "EUR"); } | ^ @@ -1589,9 +452,21 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +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) + | ^~ /usr/include/aarch64-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: +/usr/include/string.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"); } | ^ @@ -1611,9 +486,28 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +lists.c:35:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 35 | if CMP("disc", attr_ctnt) { return '*'; } + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +lists.c:36:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 36 | if CMP("square", attr_ctnt) { return '+'; } + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ microsoft.c:38:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 38 | else if CMP("ƒ", s) { set_char(s, 'f'); } /* Latin Small Letter F With Hook */ | ^ @@ -1625,6 +519,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) + | ~~~~~~~~~~~~^~~~ 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, "\""); } | ^ @@ -1636,6 +533,14 @@ /usr/include/aarch64-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 * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ 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, "\""); } | ^ @@ -1647,6 +552,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) + | ~~~~~~~~~~~~^~~~ microsoft.c:43:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 43 | else if CMP("„", s) { CPYSL(s, "\""); } | ^ @@ -1713,6 +621,17 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from util.h:4, + from html_tag.c:31: +html_tag.c: In function 'html_tag': +html_tag.c:66:20: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 66 | if CMP("SCRIPT", str) { start_nooutput(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ microsoft.c:51:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 51 | else if (number==134) { CPYSL(s, "/-"); } | ^ @@ -1721,9 +640,60 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +In file included from html_tag.c:22: +/usr/include/string.h: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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ /usr/include/aarch64-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 * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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.c:36: +html.c: In function 'get_attr': 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, "/-"); } | ^ @@ -1735,6 +705,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) | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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:52:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 52 | else if CMP("†", s) { CPYSL(s, "/-"); } | ^ @@ -1743,9 +732,46 @@ 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) + | ~~~~~~~~~~~~^~~~ +/usr/include/aarch64-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:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 142 | CPYSS(attr_ctnt, temp); + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:33:34: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~~ +html_tag.c:79:33: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 79 | if CMP("/HTML", str) { /* fprintf(stderr, "File ended!\n"); */ quit(); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:523, + from /usr/include/ctype.h:25, + from html.c:24: /usr/include/aarch64-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 * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ 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, "/-"); } | ^ @@ -1757,6 +783,25 @@ /usr/include/aarch64-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: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) + | ^~ +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:56:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 56 | else if (number==135) { CPYSL(s, "/="); } | ^ @@ -1765,9 +810,34 @@ 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/aarch64-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/aarch64-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: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) + | ~~~~~~~~~~~~^~~~ +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) + | ^~ 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, "/="); } | ^ @@ -1779,6 +849,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) + | ~~~~~~~~~~~~^~~~ 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, "/="); } | ^ @@ -1787,9 +860,20 @@ 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/aarch64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ microsoft.c:58:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 58 | else if (number==8225) { CPYSL(s, "/="); } | ^ @@ -1842,9 +926,21 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +html.c: In function 'check_for_center': /usr/include/aarch64-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:278:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 278 | if CMP("ALIGN", attr_name) + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +In file included from util.h:4, + from text.c:22: +text.c: In function 'only_spaces': microsoft.c:68:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 68 | else if (number==8240) { CPYSL(s, "0/00"); } | ^ @@ -1856,6 +952,17 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +text.c:139:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 139 | int len=STRLEN(z); + | ^ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ 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'); } | ^ @@ -1875,9 +982,21 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from text.c:14: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +html.c: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) + | ^~ microsoft.c:81:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 81 | else if (number==140) { CPYSL(s, "OE"); } | ^ @@ -1889,6 +1008,9 @@ /usr/include/aarch64-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:82:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 82 | else if CMP("Œ", s) { CPYSL(s, "OE"); } | ^ @@ -1900,11 +1022,12 @@ /usr/include/string.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 * +text.c: In function 'wort_plus_string_nocount': +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) | ^~ @@ -1919,6 +1042,9 @@ /usr/include/aarch64-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:83:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 83 | else if (number==338) { CPYSL(s, "OE"); } | ^ @@ -1927,9 +1053,31 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +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/aarch64-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: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:91:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 91 | else if CMP("‘", s) { set_char(s, '`'); } | ^ @@ -1941,9 +1089,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) | ~~~~~~~~~~~~^~~~ +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) | ~~~~~~~~~~~~^~~~ +text.c: In function 'wort_plus_string': microsoft.c:96:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 96 | else if CMP("’", s) { set_char(s, '\''); } | ^ @@ -1955,6 +1112,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) | ~~~~~~~~~~~~^~~~ +text.c:276:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 276 | int len=STRLEN(s), + | ^ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ microsoft.c:101:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 101 | else if CMP("“", s) { set_char(s, '"'); } | ^ @@ -1963,9 +1128,18 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +html.c: In function 'print_footnote_number': /usr/include/string.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.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 * 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, '"'); } | ^ @@ -1977,6 +1151,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/aarch64-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, '*'); } | ^ @@ -1988,6 +1165,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) | ~~~~~~~~~~~~^~~~ +text.c: In function 'wort_ende': +html.c: In function 'construct_footnote': +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) 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, "--"); } | ^ @@ -2018,9 +1211,22 @@ multibyte.h:34:34: note: in definition of macro 'CPYSL' 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ +/usr/include/aarch64-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, + | ^~~~~ /usr/include/aarch64-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), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) 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, "--"); } | ^ @@ -2029,20 +1235,19 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +multibyte.h:42:19: warning: pointer targets in passing argument 1 of 'zeile_plus_wort' differ in signedness [-Wpointer-sign] + 42 | #define ONESPACE " " + | ^~~ + | | + | char * +text.c:351:42: note: in expansion of macro 'ONESPACE' + 351 | while (i0) { zeile_plus_wort(ONESPACE,1,1); } + | ^~~~~~~~ +text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' + 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) +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/aarch64-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: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 * +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) | ~~~~~~~~~~~~^~~~ -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) - | ^~~~ -/usr/include/aarch64-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: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 */ - | ^~~ +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' @@ -2109,107 +1324,85 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +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: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 * +In file included from latin1.c:35: +latin1.c: In function 'parse_entity': +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) | ~~~~~~~~~~~~^~~~ -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/aarch64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c:293:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 293 | else if CMP("à", str) { return(set_char_wrapper(str, 224)); } /* small a, grave accent */ - | ^~~ - | | - | unsigned char * +html_tag.c:93:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 93 | else if CMP("/Q", str) { wort_plus_ch('"'); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -microsoft.c:132:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 132 | else if (number==8482) { CPYSL(s, "[tm]"); } +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) | ^~~~ -/usr/include/aarch64-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: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 * +text.c: In function 'hr': +/usr/include/aarch64-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: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) | ~~~~~~~~~~~~^~~~ -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 * +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) | ~~~~~~~~~~~~^~~~ -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 * +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) - | ~~~~~~~~~~~~^~~~ -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) - | ^~~~ -/usr/include/aarch64-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:146:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 146 | else if CMP("œ", s) { CPYSL(s, "oe"); } +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 * @@ -2219,654 +1412,107 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:146:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 146 | else if CMP("œ", s) { CPYSL(s, "oe"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/aarch64-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: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) | ~~~~~~~~~~~~^~~~ -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"); } +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/aarch64-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: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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -latin1.c:298:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 298 | else if CMP("å", str) { return(set_char_wrapper(str, 229)); } /* small a, ring */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ -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 -mbranch-protection=standard -I/usr/local/include -c -o unicode_entities.o unicode_entities.c -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -microsoft.c: In function 'microsoft_character': -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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); -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) - | ^~~ -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) - | ^~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -microsoft.c:187:26: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 187 | WORT_PLUS_STRING("..."); break; - | ^~~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -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); -/usr/include/string.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: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); -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); -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); -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: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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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); -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) - | ^~~ -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) - | ~~~~~~~~~~~~^~~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from html_tag.c:31: -html_tag.c: In function 'html_tag': -latin1.c:310:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 310 | else if CMP("ñ", str) { return(set_char_wrapper(str, 241)); } /* small n, tilde */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c:311:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 311 | else if CMP("ò", str) { return(set_char_wrapper(str, 242)); } /* small o, grave accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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) - | ~~~~~~~~~~~~^~~~ -latin1.c:313:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 313 | else if CMP("ô", str) { return(set_char_wrapper(str, 244)); } /* small o, circumflex accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c:314:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 314 | else if CMP("õ", str) { return(set_char_wrapper(str, 245)); } /* small o, tilde */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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: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) - | ^~ -In file included from html_tag.c:22: -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:67:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 67 | else if CMP("/SCRIPT", str) { end_nooutput(); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c:322:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 322 | else if CMP("ý", str) { return(set_char_wrapper(str, 253)); } /* small y, acute accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -html_tag.c: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) - | ~~~~~~~~~~~~^~~~ -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) - | ^~ -/usr/include/string.h: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) - | ~~~~~~~~~~~~^~~~ -/usr/include/string.h: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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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 * +text.c:427:22: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 427 | if CMP("LEFT", attr_ctnt) { hr_align=LEFT; } + | ^~~~~~~~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c: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 */ +/usr/include/aarch64-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) + | ^ +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) | ^~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -/usr/include/string.h: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) - | ^~ +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/string.h: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(); } +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/aarch64-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:89:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 89 | else if CMP("/P", str) { paragraphen_ende(); } +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) - | ~~~~~~~~~~~~^~~~ -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 * +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: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) | ~~~~~~~~~~~~^~~~ -html_tag.c:91:44: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 91 | else if CMP("/BLOCKQUOTE", str) { paragraphen_ende(); } - | ^~~ - | | - | unsigned char * +microsoft.c: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) | ~~~~~~~~~~~~^~~~ -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('"'); } +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 * @@ -2876,30 +1522,16 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c: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) - | ~~~~~~~~~~~~^~~~ -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 * +text.c:430:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 430 | else if CMP("JUSTIFY", attr_ctnt) { hr_align=LEFT; } + | ^~~~~~~~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:109:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 109 | else if CMP("/B", str) { if (convert_tags) { wort_plus_ch('*'); } } +html_tag.c: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 * @@ -2909,61 +1541,54 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:110:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 110 | else if CMP("I", str) { if (convert_tags) { wort_plus_ch('/'); } } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:111:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 111 | else if CMP("/I", str) { if (convert_tags) { wort_plus_ch('/'); } } - | ^~~ - | | - | unsigned char * +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: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) | ~~~~~~~~~~~~^~~~ -html_tag.c:112:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 112 | else if CMP("U", str) { if (convert_tags) { wort_plus_ch('_'); } } /* deprecated */ - | ^~~ - | | - | unsigned char * +html_tag.c: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) | ~~~~~~~~~~~~^~~~ -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 * +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: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('*'); } } - | ^~~ +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:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.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:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ 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('*'); } } | ^~~ @@ -2972,9 +1597,31 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +text.c: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: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) + | ^~ 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('/'); } } | ^~~ @@ -2983,9 +1630,28 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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) + | ^~~~ /usr/include/string.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:438:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 438 | hr_width = ATOI(attr_ctnt); + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:40:23: note: in definition of macro 'ATOI' + 40 | #define ATOI(n) atoi(n) + | ^ html_tag.c: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('/'); } } | ^~~ @@ -2997,17 +1663,21 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from text.c:22: -text.c: In function 'only_spaces': -text.c:139:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 139 | int len=STRLEN(z); - | ^ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ +In file included from /usr/include/features.h:523, + from /usr/include/aarch64-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)) + | ^~~~~ +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) + | ^~~~ 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 */ | ^~~ @@ -3019,10 +1689,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) | ~~~~~~~~~~~~^~~~ -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/aarch64-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: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 */ | ^~~ @@ -3034,6 +1703,32 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +text.c:442:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 442 | hr_width = ATOI(attr_ctnt)/8; + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:40:23: note: in definition of macro 'ATOI' + 40 | #define ATOI(n) atoi(n) + | ^ +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/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 /usr/include/features.h:523, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from latin1.c:21: +/usr/include/aarch64-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(); } | ^~~ @@ -3042,9 +1737,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +latin1.c: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) + | ^~~ 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(); } | ^~~ @@ -3056,19 +1762,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) | ~~~~~~~~~~~~^~~~ -text.c: In function 'wort_plus_string_nocount': -text.c:251:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 251 | int len=STRLEN(s), - | ^ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -/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) - | ~~~~~~~~~~~~^~~ -text.c: In function 'wort_plus_string': +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) + | ~~~~~~~~~~~~^~~~ +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ html_tag.c:126:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 126 | else if CMP("H2", str) { start_p(); } | ^~~ @@ -3077,17 +1784,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -text.c:276:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 276 | int len=STRLEN(s), - | ^ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -/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) | ~~~~~~~~~~~~^~~~ @@ -3099,72 +1795,10 @@ 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': -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) -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) -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -multibyte.h:42:19: warning: pointer targets in passing argument 1 of 'zeile_plus_wort' differ in signedness [-Wpointer-sign] - 42 | #define ONESPACE " " - | ^~~ - | | - | char * -text.c:351:42: note: in expansion of macro 'ONESPACE' - 351 | while (i0) { zeile_plus_wort(ONESPACE,1,1); } - | ^~~~~~~~ -text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' - 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) -text.c: In function 'hr': -text.c:424:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 424 | if CMP("ALIGN", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h: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': 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(); } | ^~~ @@ -3173,75 +1807,20 @@ 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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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 * +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) | ~~~~~~~~~~~~^~~~ -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) | ~~~~~~~~~~~~^~~~ -text.c:435:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 435 | i=STRLEN(attr_ctnt); - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ html_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(); } | ^~~ @@ -3250,32 +1829,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -text.c:438:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 438 | hr_width = ATOI(attr_ctnt); - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:40:23: note: in definition of macro 'ATOI' - 40 | #define ATOI(n) atoi(n) - | ^ -In file included from /usr/include/features.h:523, - from /usr/include/aarch64-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)) - | ^~~~~ -text.c:442:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 442 | hr_width = ATOI(attr_ctnt)/8; - | ^~~~~~~~~ - | | - | unsigned char * -multibyte.h:40:23: note: in definition of macro 'ATOI' - 40 | #define ATOI(n) atoi(n) - | ^ -/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3287,9 +1840,28 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +html.c:383:37: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:45:42: note: in definition of macro 'STRSTR' + 45 | #define STRSTR(haystack, needle) strstr(haystack, needle) + | ^~~~~~~~ +/usr/include/string.h: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) | ~~~~~~~~~~~~^~~~ +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) + | ^~~~ 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(); } | ^~~ @@ -3301,6 +1873,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) | ~~~~~~~~~~~~^~~~ +/usr/include/aarch64-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:383:85: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] + 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:47:48: note: in definition of macro 'STRNCMP' + 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) + | ^~~~ +/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ 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(); } | ^~~ @@ -3323,6 +1909,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: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) + | ^~~ +html.c:383:124: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] + 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:47:48: note: in definition of macro 'STRNCMP' + 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) + | ^~~~ +/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ 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(); } | ^~~ @@ -3331,9 +1936,13 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/aarch64-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) | ~~~~~~~~~~~~^~~~ +microsoft.c: In function 'microsoft_character': 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(); } | ^~~ @@ -3345,6 +1954,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) | ~~~~~~~~~~~~^~~~ +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.c:395:48: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] + 395 | STRCAT(references, tmp); + | ^~~~~~~~~~ + | | + | unsigned char * +multibyte.h:39:35: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~~ 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(); } | ^~~ @@ -3356,6 +1984,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/aarch64-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:138:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 138 | else if CMP("HR/", str) { hr(); } /* xhtml */ | ^~~ @@ -3367,6 +1998,24 @@ /usr/include/string.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.c:395:60: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] + 395 | STRCAT(references, tmp); + | ^~~ + | | + | unsigned char * +multibyte.h:39:41: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~ html_tag.c:140:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 140 | else if CMP("A", str) { href(); } | ^~~ @@ -3378,6 +2027,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/aarch64-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ html_tag.c: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(); } | ^~~ @@ -3389,6 +2041,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) | ~~~~~~~~~~~~^~~~ +microsoft.c:187:26: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 187 | WORT_PLUS_STRING("..."); break; + | ^~~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +latin1.c: In function 'parse_entities': +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) + | ^~~~ +/usr/include/aarch64-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:143:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 143 | else if CMP("LI", str) { start_lis(); } | ^~~ @@ -3400,6 +2074,134 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +microsoft.c:189:26: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 189 | WORT_PLUS_STRING("/-"); break; + | ^~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +html.c:397:60: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 397 | CPYSS(link_inline, attr_ctnt); + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:33:40: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~ +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) + | ^~~ +/usr/include/aarch64-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: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) + | ^ +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 'href_output': +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +microsoft.c: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) + | ^~~ +html.c:410:46: warning: pointer targets in passing argument 1 of 'output_string' differ in signedness [-Wpointer-sign] + 410 | output_string(STRING("\n References:")); + | ^~~~~~~~~~~~~~~~ + | | + | char * +multibyte.h:49:25: note: in definition of macro 'STRING' + 49 | #define STRING(string) string + | ^~~~~~ +In file included from html.c:33: +fileio.h:9:26: note: expected 'unsigned char *' but argument is of type 'char *' + 9 | void output_string(CHAR *str); +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 'href_link_inline_output': +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); +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) + | ~~~~~~~~~~~~^~~ +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) + | ^~~ +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 + | ^~~~~~ +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); +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(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/aarch64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microsoft.c: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:144:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 144 | else if CMP("/LI", str) { end_lis(); } | ^~~ @@ -3411,6 +2213,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: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) + | ^~~ 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(); } | ^~~ @@ -3422,6 +2232,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/aarch64-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: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: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; } | ^~~ @@ -3430,6 +2251,8 @@ 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) | ~~~~~~~~~~~~^~~~ @@ -3477,6 +2300,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: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) + | ^~~~ 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(); } | ^~~ @@ -3488,6 +2319,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/aarch64-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:152:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 152 | else if CMP("/OL", str) { end_ols(); } | ^~~ @@ -3507,6 +2341,218 @@ 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/aarch64-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/aarch64-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/aarch64-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) + | ^~ +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); +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c: In function 'image': +latin1.c: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) + | ^~ +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) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.h: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) + | ~~~~~~~~~~~~^~~~ +latin1.c:219:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 219 | else if CMP("<", str) { return(set_char_wrapper(str, '<')); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c: In function 'start_nooutput': +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) + | ~~~~~~~~~~~~^~~~ +latin1.c: In function 'latin1': +html.c:610:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 610 | if CMP("/", attr_name) + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +latin1.c: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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3521,6 +2567,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: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) + | ^~ html_tag.c:156:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 156 | else if CMP("CENTER", str) { start_div(CENTER); } /* deprecated */ | ^~~ @@ -3532,6 +2586,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:157:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 157 | else if CMP("/CENTER", str) { end_div(); } /* deprecated */ | ^~~ @@ -3562,6 +2619,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3587,6 +2655,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:237:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 237 | else if CMP("¨", str) { return(set_char_wrapper(str, 168)); } /* umlaut (dieresis) */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_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 */ | ^~~~~~~~ @@ -3602,6 +2681,14 @@ html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ +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) + | ^~ 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); } | ^~~ @@ -3613,6 +2700,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c: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); } | ^~~~~~ @@ -3650,6 +2740,17 @@ html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ +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) + | ~~~~~~~~~~~~^~~~ html_tag.c:168:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 168 | else if CMP("TABLE", str) { /*start_p();*/ push_align(LEFT); neuer_paragraph(); } | ^~~ @@ -3672,6 +2773,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: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) + | ^~ html_tag.c:170:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 170 | else if CMP("TD", str) { wort_plus_ch(' '); } | ^~~ @@ -3694,6 +2803,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c: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(' '); } | ^~~ @@ -3705,6 +2817,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: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) + | ^~ html_tag.c:173:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 173 | else if CMP("/TH", str) {} | ^~~ @@ -3716,6 +2836,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c: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(); */ | ^~~ @@ -3727,6 +2850,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: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) + | ^~ 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();*/ } | ^~~ @@ -3738,6 +2869,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:176:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 176 | else if CMP("CAPTION", str) {} | ^~~ @@ -3749,6 +2883,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: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) + | ^~ html_tag.c:177:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 177 | else if CMP("/CAPTION", str) {} | ^~~ @@ -3760,6 +2902,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c: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; } | ^~~ @@ -3782,6 +2927,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: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: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 */ | ^~~ @@ -3812,6 +2968,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +latin1.c:245:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 245 | else if CMP("°", str) { return(set_char_wrapper(str, 176)); } /* degree sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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) | ~~~~~~~~~~~~^~~~ @@ -3826,6 +2993,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: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) + | ^~ 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 */ | ^~~ @@ -3837,6 +3012,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:187:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 187 | else if CMP("/DD", str) { end_dd(); } | ^~~ @@ -3859,6 +3037,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:247:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 247 | else if CMP("²", str) { return(set_char_wrapper(str, 178)); } /* superscript two */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:191:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 191 | else if CMP("/FORM", str) {} | ^~~ @@ -3870,6 +3059,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:248:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 248 | else if CMP("³", str) { return(set_char_wrapper(str, 179)); } /* superscript three */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ html_tag.c: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? */ | ^~~ @@ -3881,6 +3078,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:193:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 193 | else if CMP("/BUTTON", str) {} | ^~~ @@ -3903,6 +3103,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: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) + | ^~ html_tag.c:195:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 195 | else if CMP("/FIELDSET", str) {} | ^~~ @@ -3914,6 +3122,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:196:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 196 | else if CMP("TEXTAREA", str) {} | ^~~ @@ -3922,9 +3133,201 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +latin1.c:250:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 250 | else if CMP("µ", str) { return(set_char_wrapper(str, 181)); } /* micro sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +In file included from util.c:23: +util.c: In function 'x2dec': +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) + | ^ +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) + | ~~~~~~~~~~~~^~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +latin1.c:253:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 253 | else if CMP("¸", str) { return(set_char_wrapper(str, 184)); } /* cedilla */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +util.c: In function 'extract_entity_number': +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) + | ^ +In file included from /usr/include/features.h:523, + from /usr/include/aarch64-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)) + | ^~~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.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) + | ^~ 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) {} | ^~~ @@ -3936,6 +3339,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:198:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 198 | else if CMP("LEGEND", str) {} | ^~~ @@ -3947,6 +3353,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: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) + | ^~ 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) {} | ^~~ @@ -3958,6 +3372,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:200:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 200 | else if CMP("LABEL", str) {} | ^~~ @@ -3969,6 +3386,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: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) + | ^~ 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) {} | ^~~ @@ -3980,6 +3405,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:204:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 204 | else if CMP("SAMP", str) {} | ^~~ @@ -3991,6 +3419,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: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) + | ^~ 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) {} | ^~~ @@ -4002,6 +3438,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:206:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 206 | else if CMP("CODE", str) {} | ^~~ @@ -4032,136 +3471,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from unicode_entities.c:17: -unicode_entities.c: In function 'ligature_entity': -unicode_entities.c:50:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 50 | CPYSL(s, "ff"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -In file included from /usr/include/features.h:523, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/aarch64-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) - | ^~~~ -/usr/include/aarch64-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:54:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 54 | CPYSL(s, "fl"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/aarch64-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) - | ^~~~ -/usr/include/aarch64-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; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/aarch64-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:60:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 60 | CPYSL(s, "ft"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/aarch64-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:62:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 62 | CPYSL(s, "st"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/aarch64-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:64:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 64 | CPYSL(s, "IJ"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/aarch64-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: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/aarch64-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: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) - | ^~~~ -/usr/include/aarch64-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: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/aarch64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:209:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 209 | else if CMP("/ABBR", str) {} | ^~~ @@ -4181,6 +3504,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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) + | ^~ +/usr/include/string.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) | ~~~~~~~~~~~~^~~~ @@ -4195,6 +3529,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: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) + | ^~ html_tag.c:212:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 212 | else if CMP("BIG", str) {} | ^~~ @@ -4206,6 +3548,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:213:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 213 | else if CMP("/BIG", str) {} | ^~~ @@ -4217,6 +3562,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: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) + | ^~ 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) {} | ^~~ @@ -4228,6 +3581,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:215:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 215 | else if CMP("/VAR", str) {} | ^~~ @@ -4258,6 +3614,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -4272,6 +3639,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: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) + | ^~ 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) {} | ^~~ @@ -4283,6 +3658,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:222:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 222 | else if CMP("INS", str) {} | ^~~ @@ -4294,6 +3672,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:274:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 274 | else if CMP("Í", str) { return(set_char_wrapper(str, 205)); } /* capital I, acute accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ html_tag.c:223:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 223 | else if CMP("/INS", str) {} | ^~~ @@ -4305,6 +3691,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:224:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 224 | else if CMP("DEL", str) {} | ^~~ @@ -4335,6 +3724,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -4360,6 +3760,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: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) + | ~~~~~~~~~~~~^~~~ 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 */ | ^~~ @@ -4393,6 +3804,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: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_tag.c:234:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 234 | else if CMP("LINK", str) {} | ^~~ @@ -4404,6 +3823,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:235:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 235 | else if CMP("BASEFONT", str) {} /* deprecated */ | ^~~ @@ -4426,6 +3848,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: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) + | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -4459,6 +3892,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: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_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 */ | ^~~ @@ -4492,6 +3936,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: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) + | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -4525,6 +3980,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: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_tag.c:247:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 247 | else if CMP("ADDRESS", str) {} | ^~~ @@ -4533,16 +3999,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from util.c:23: -util.c: In function 'x2dec': -util.c:141:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 141 | int len=STRLEN(str); - | ^~~ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -4557,6 +4013,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: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:249:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 249 | else if CMP("TT", str) {} | ^~~ @@ -4568,6 +4035,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: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) + | ~~~~~~~~~~~~^~~~ 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) {} | ^~~ @@ -4590,6 +4068,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: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) + | ^~ 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) {} | ^~~ @@ -4601,6 +4087,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:253:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 253 | else if CMP("NOSCRIPT", str) {} | ^~~ @@ -4623,6 +4112,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:285:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 285 | else if CMP("Ø", str) { return(set_char_wrapper(str, 216)); } /* capital O, slash */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:255:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 255 | else if CMP("SMALL", str) {} | ^~~ @@ -4645,6 +4145,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: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) + | ^~ 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) {} | ^~~ @@ -4656,6 +4164,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:258:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 258 | else if CMP("/SPAN", str) {} | ^~~ @@ -4678,6 +4189,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: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:260:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 260 | else if CMP("/DFN", str) {} | ^~~ @@ -4700,6 +4222,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:288:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 288 | else if CMP("Û", str) { return(set_char_wrapper(str, 219)); } /* capital U, circumflex accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:262:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 262 | else if CMP("/BLINK", str) {} | ^~~ @@ -4722,6 +4255,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:289:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 289 | else if CMP("Ü", str) { return(set_char_wrapper(str, 220)); } /* capital U, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:264:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 264 | else if CMP("/CITE", str) {} | ^~~ @@ -4744,6 +4288,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: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) + | ^~ html_tag.c:267:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 267 | else if CMP("/NOBR", str) {} | ^~~ @@ -4755,6 +4307,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:268:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 268 | else if CMP("SELECT", str) {} | ^~~ @@ -4777,6 +4332,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:291:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 291 | else if CMP("Þ", str) { return(set_char_wrapper(str, 222)); } /* capital THORN, Icelandic */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:270:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 270 | else if CMP("OPTION", str) {} | ^~~ @@ -4799,6 +4365,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: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) + | ^~ html_tag.c:273:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 273 | else if CMP("/FRAME", str) {} | ^~~ @@ -4807,10 +4381,9 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from util.c:19: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -4822,25 +4395,9 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -util.c: In function 'extract_entity_number': -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) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:523, - from /usr/include/aarch64-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)) - | ^~~~~ html_tag.c:275:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 275 | else if CMP("/FRAMESET", str) {} | ^~~ @@ -4852,6 +4409,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: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) + | ^~ html_tag.c:276:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 276 | else if CMP("NOFRAMES", str) {} | ^~~ @@ -4863,6 +4428,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:277:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 277 | else if CMP("/NOFRAMES", str) {} | ^~~ @@ -4874,6 +4442,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: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:278:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 278 | else if CMP("IFRAME", str) {} | ^~~ @@ -4896,6 +4475,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: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) + | ^~ html_tag.c:280:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 280 | else if CMP("LAYER", str) {} | ^~~ @@ -4907,6 +4494,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:281:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 281 | else if CMP("/LAYER", str) {} | ^~~ @@ -4926,14 +4516,17 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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 - | ^~~~~~ +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) | ~~~~~~~~~~~~^~~~ @@ -4948,7 +4541,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) | ~~~~~~~~~~~~^~~~ -main.c: In function 'parse_args': +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:284:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 284 | else if CMP("NOLAYER", str) {} | ^~~ @@ -4960,9 +4560,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) | ~~~~~~~~~~~~^~~~ -main.c:273:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 273 | default_image = argument; break; - | ^ +/usr/include/string.h: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:285:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 285 | else if CMP("/NOLAYER", str) {} | ^~~ @@ -4985,6 +4585,19 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from unicode_entities.c:17: +unicode_entities.c: In function 'ligature_entity': +latin1.c:298:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 298 | else if CMP("å", str) { return(set_char_wrapper(str, 229)); } /* small a, ring */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:288:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 288 | else if CMP("COLGROUP", str) {} | ^~~ @@ -5007,6 +4620,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:299:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 299 | else if CMP("æ", str) { return(set_char_wrapper(str, 230)); } /* small ae diphthong (ligature) */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:290:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 290 | else if CMP("ISINDEX", str) {} /* deprecated */ | ^~~ @@ -5029,6 +4653,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:300:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 300 | else if CMP("ç", str) { return(set_char_wrapper(str, 231)); } /* small c, cedilla */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:292:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 292 | else if CMP("/THEAD", str) {} | ^~~ @@ -5051,6 +4686,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: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) + | ^~ html_tag.c:294:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 294 | else if CMP("/TFOOT", str) {} | ^~~ @@ -5062,6 +4705,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:295:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 295 | else if CMP("TBODY", str) {} | ^~~ @@ -5095,6 +4741,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: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) + | ^~ html_tag.c:298:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 298 | else if CMP("/PARAM", str) {} | ^~~ @@ -5106,6 +4760,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:299:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 299 | else if CMP("OBJECT", str) {} | ^~~ @@ -5117,6 +4774,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: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:300:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 300 | else if CMP("/OBJECT", str) {} | ^~~ @@ -5139,6 +4807,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: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) + | ^~ html_tag.c:302:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 302 | else if CMP("/OPTGROUP", str) {} | ^~~ @@ -5150,6 +4826,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) + | ~~~~~~~~~~~~^~~~ +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:304:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 304 | else if CMP("/AREA", str) {} | ^~~ @@ -5172,6 +4859,17 @@ /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ +latin1.c: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:314:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 314 | putback_char(str[STRLEN(str)-1]); | ^~~ @@ -5191,9 +4889,24 @@ multibyte.h:32:27: note: in definition of macro 'STRLEN' 32 | #define STRLEN(s) strlen(s) | ^ +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:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +main.c: In function 'parse_args': +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +main.c:273:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 273 | default_image = argument; break; + | ^ html_tag.c:327:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 327 | else if CMP("SCRIPT", str) {} | ^~~ @@ -5205,6 +4918,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: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) + | ^~ html_tag.c:328:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 328 | else if CMP("/SCRIPT", str) {} | ^~~ @@ -5216,6 +4937,9 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:329:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 329 | else if CMP("STYLE", str) {} | ^~~ @@ -5238,6 +4962,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: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:331:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 331 | else if CMP("TITLE", str) {} | ^~~ @@ -5246,9 +4981,32 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +unicode_entities.c:50:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 50 | CPYSL(s, "ff"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ /usr/include/string.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:523, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/aarch64-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: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) + | ^~ html_tag.c:332:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 332 | else if CMP("/TITLE", str) {} | ^~~ @@ -5260,6 +5018,284 @@ /usr/include/string.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/aarch64-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:54:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 54 | CPYSL(s, "fl"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/aarch64-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) + | ^~~~ +/usr/include/aarch64-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; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/aarch64-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:60:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 60 | CPYSL(s, "ft"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/aarch64-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:62:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 62 | CPYSL(s, "st"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/string.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/aarch64-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:64:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 64 | CPYSL(s, "IJ"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/aarch64-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: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/aarch64-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: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) + | ^~~~ +/usr/include/aarch64-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: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) + | ^~~~ +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/aarch64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +latin1.c: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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +latin1.c:313:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 313 | else if CMP("ô", str) { return(set_char_wrapper(str, 244)); } /* small o, circumflex accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +latin1.c:314:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 314 | else if CMP("õ", str) { return(set_char_wrapper(str, 245)); } /* small o, tilde */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ +latin1.c:321:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 321 | else if CMP("ü", str) { return(set_char_wrapper(str, 252)); } /* small u, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +latin1.c:322:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 322 | else if CMP("ý", str) { return(set_char_wrapper(str, 253)); } /* small y, acute accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +latin1.c:323:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 323 | else if CMP("þ", str) { return(set_char_wrapper(str, 254)); } /* small thorn, Icelandic */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +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.c: In function 'href': html.c:363:37: warning: '%s' directive output may be truncated writing up to 32767 bytes into a region of size between 986 and 994 [-Wformat-truncation=] 363 | snprintf(temp, 1000, " %3d. %s\n", number, link); @@ -5290,10 +5326,10 @@ 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_latin2 PASS: check_tags -PASS: check_utf8 PASS: check_entities -PASS: check_latin2 +PASS: check_utf8 ============================================================================ Testsuite summary for ============================================================================ @@ -5328,10 +5364,10 @@ make check-TESTS make[3]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/tests' make[4]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/tests' -PASS: check_latin2 PASS: check_tags -PASS: check_entities +PASS: check_latin2 PASS: check_utf8 +PASS: check_entities ============================================================================ Testsuite summary for ============================================================================ @@ -5357,8 +5393,8 @@ Making install in src make[2]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/src' make[3]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/src' - /usr/bin/mkdir -p '/build/reproducible-path/vilistextum-2.6.9/debian/vilistextum/usr/bin' make[3]: Nothing to be done for 'install-data-am'. + /usr/bin/mkdir -p '/build/reproducible-path/vilistextum-2.6.9/debian/vilistextum/usr/bin' /usr/bin/install -c vilistextum '/build/reproducible-path/vilistextum-2.6.9/debian/vilistextum/usr/bin' make[3]: Leaving directory '/build/reproducible-path/vilistextum-2.6.9/src' make[2]: Leaving directory '/build/reproducible-path/vilistextum-2.6.9/src' @@ -5406,8 +5442,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'vilistextum-dbgsym' in '../vilistextum-dbgsym_2.6.9-1.4_arm64.deb'. dpkg-deb: building package 'vilistextum' in '../vilistextum_2.6.9-1.4_arm64.deb'. +dpkg-deb: building package 'vilistextum-dbgsym' in '../vilistextum-dbgsym_2.6.9-1.4_arm64.deb'. dpkg-genbuildinfo --build=binary -O../vilistextum_2.6.9-1.4_arm64.buildinfo dpkg-genchanges --build=binary -O../vilistextum_2.6.9-1.4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -5415,12 +5451,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/2535522/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2535522/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/1394370 and its subdirectories -I: Current time: Fri Apr 17 13:00:02 -12 2026 -I: pbuilder-time-stamp: 1776474002 +I: removing directory /srv/workspace/pbuilder/2535522 and its subdirectories +I: Current time: Sun Mar 16 08:37:37 +14 2025 +I: pbuilder-time-stamp: 1742063857