Diff of the two buildlogs: -- --- b1/build.log 2024-10-20 23:16:14.016369224 +0000 +++ b2/build.log 2024-10-20 23:16:58.034802842 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Oct 20 11:14:36 -12 2024 -I: pbuilder-time-stamp: 1729466076 +I: Current time: Sun Nov 23 19:39:16 +14 2025 +I: pbuilder-time-stamp: 1763876356 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying 0003-Define-_ISOC99_SOURCE.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1341633/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3415147/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 23 05:39 /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/3415147/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3415147/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='efa0f2b7eacc4c90a581c8fc54aa32e5' - 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='1341633' - PS1='# ' - PS2='> ' + INVOCATION_ID=6cc0aa1f10a44ccc8b83fd7ca0092ff0 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3415147 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.caJ0500D/pbuilderrc_OCD4 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.caJ0500D/b1 --logfile b1/build.log vilistextum_2.6.9-1.4.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.caJ0500D/pbuilderrc_Q6yr --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.caJ0500D/b2 --logfile b2/build.log vilistextum_2.6.9-1.4.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1341633/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3415147/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -139,7 +171,7 @@ Get: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.20 [915 kB] -Fetched 19.8 MB in 0s (45.4 MB/s) +Fetched 19.8 MB in 0s (131 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19944 files and directories currently installed.) @@ -275,7 +307,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/vilistextum-2.6.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../vilistextum_2.6.9-1.4_source.changes +I: user script /srv/workspace/pbuilder/3415147/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3415147/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/vilistextum-2.6.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../vilistextum_2.6.9-1.4_source.changes dpkg-buildpackage: info: source package vilistextum dpkg-buildpackage: info: source version 2.6.9-1.4 dpkg-buildpackage: info: source distribution unstable @@ -357,7 +393,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/vilistextum-2.6.9' make all-recursive make[2]: Entering directory '/build/reproducible-path/vilistextum-2.6.9' @@ -370,937 +406,267 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o lists.o lists.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o microsoft.o microsoft.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o text.o text.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) +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o fileio.o fileio.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o main.o main.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o util.o util.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o unicode_entities.o unicode_entities.c +In file included from microsoft.c:18: +microsoft.c: In function 'microsoft_entities': +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) + | ^~~~ +microsoft.c:28:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 28 | else if (number==128) { CPYSL(s, "EUR"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ In file included from /usr/include/features.h:510, - from /usr/include/ctype.h:25, - from html.c:24: + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from microsoft.c:10: /usr/include/x86_64-linux-gnu/bits/string_fortified.h: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/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' +In file included from /usr/include/features.h:510, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from unicode_entities.c:10: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -html.c: In function '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/x86_64-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'unsigned char *' - 65 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -html.c: In function 'construct_footnote': -html.c:363:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] - 363 | snprintf(temp, 1000, " %3d. %s\n", number, link); - | ^~~~ - | | - | unsigned char * -/usr/include/x86_64-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'unsigned char *' - 65 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -html.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/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -html.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/x86_64-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -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) +unicode_entities.c:52:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 52 | CPYSL(s, "fi"); break; + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -html.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/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -html.c: In function 'href_output': -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': -html.c:421:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 421 | if (STRLEN(link_inline)>0) { - | ^~~~~~~~~~~ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -html.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); -html.c:425:49: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 425 | wort_plus_string(STRING(">")); - | ^~~ - | | - | char * -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -html.c: In function 'image': -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) - | ~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o fileio.o fileio.c -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': -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 * +microsoft.c:29:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 29 | else if CMP("€", s) { CPYSL(s, "EUR"); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o main.o main.c -In file included from latin1.c:35: -latin1.c: In function 'parse_entity': -latin1.c:64:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 64 | int len = STRLEN(str); - | ^~~ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -In file included from latin1.c:24: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -latin1.c:71:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 71 | CPYSS(tmpstr, str); - | ^~~~~~ - | | - | unsigned char * -multibyte.h:33:34: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) +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) | ^~~~ -In file included from /usr/include/features.h:510, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from latin1.c:21: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c:71:23: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 71 | CPYSS(tmpstr, str); - | ^~~ +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:33:40: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -latin1.c:97:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 97 | CPYSS(str, tmpstr); - | ^~~ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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:33:34: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +microsoft.c:29:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 29 | else if CMP("€", s) { CPYSL(s, "EUR"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c:97:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 97 | CPYSS(str, tmpstr); - | ^~~~~~ - | | - | unsigned char * -multibyte.h:33:40: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -latin1.c: In function 'parse_entities': -latin1.c:118:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 118 | int len=STRLEN(s); - | ^ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -latin1.c:133:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] - 133 | STRCAT(result, tmp); - | ^~~~~~ - | | - | unsigned char * -multibyte.h:39:35: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c:133:32: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] - 133 | STRCAT(result, tmp); - | ^~~ - | | - | unsigned char * -multibyte.h:39:41: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -latin1.c:143:32: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] - 143 | STRCAT(result, entity); - | ^~~~~~ - | | - | unsigned char * -multibyte.h:39:35: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c:143:40: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] - 143 | STRCAT(result, entity); - | ^~~~~~ - | | - | unsigned char * -multibyte.h:39:41: note: in definition of macro 'STRCAT' - 39 | #define STRCAT(dest, src) strcat(dest, src) - | ^~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -latin1.c:150:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 150 | CPYSS(s, result); - | ^ - | | - | unsigned char * -multibyte.h:33:34: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) +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) + | ^~~~ +microsoft.c:30:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 30 | else if (number==8364) { CPYSL(s, "EUR"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) | ^~~~ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c:150:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 150 | CPYSS(s, result); - | ^~~~~~ - | | - | unsigned char * -multibyte.h:33:40: note: in definition of macro 'CPYSS' - 33 | #define CPYSS(dest, src) strcpy(dest, src) - | ^~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -latin1.c: In function 'html_entity': -latin1.c:215:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 215 | if CMP(""", str) { return(set_char_wrapper(str, '"')); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c:216:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 216 | else if CMP("&;", str) { return(set_char_wrapper(str, '&')); } /* for those brain damaged ones */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c:217:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 217 | else if CMP("&", str) { return(set_char_wrapper(str, '&')); } - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o util.o util.c -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) - | ~~~~~~~~~~~~^~~~ -In file included from html.h:5, - from lists.c:16: -lists.c: In function 'check_style': -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) - | ~~~~~~~~~~~~^~~~ -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: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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ -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: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 */ - | ^~~ +microsoft.c:34:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 34 | else if CMP("‚", s) { set_char(s, ','); } + | ^ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 */ - | ^~~ +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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microsoft.c:38:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 38 | else if CMP("ƒ", s) { set_char(s, 'f'); } /* Latin Small Letter F With Hook */ + | ^ | | | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156: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) - | ~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -ansi -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vilistextum-2.6.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/local/include -c -o unicode_entities.o unicode_entities.c -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) - | ^~ +microsoft.c:38:11: note: in expansion of macro 'CMP' + 38 | else if CMP("ƒ", s) { set_char(s, 'f'); } /* Latin Small Letter F With Hook */ + | ^~~ /usr/include/string.h:156: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 */ - | ^~~ +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) + | ^~~~ +microsoft.c:42:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 42 | else if (number==132) { CPYSL(s, "\""); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microsoft.c:43:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 43 | else if CMP("„", s) { CPYSL(s, "\""); } + | ^ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 */ - | ^~~ +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) + | ^~~~ +microsoft.c:43:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 43 | else if CMP("„", s) { CPYSL(s, "\""); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microsoft.c:44:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 44 | else if (number==8222) { CPYSL(s, "\""); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microsoft.c:46:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 46 | else if (number==133) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +unicode_entities.c: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) + | ^~~~ +In file included from util.h:4, + from html_tag.c:31: +html_tag.c: In function 'html_tag': +microsoft.c:47:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 47 | else if CMP("…", s) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ + | ^ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' @@ -1309,50 +675,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: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) - | ^~ -In file included from util.h:4, - from html_tag.c:31: -html_tag.c: In function 'html_tag': +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microsoft.c:47:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 47 | else if CMP("…", s) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ 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(); } | ^~~ @@ -1361,10 +694,24 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microsoft.c:48:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 48 | else if (number==8230) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ In file included from 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) | ~~~~~~~~~~~~^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:67:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 67 | else if CMP("/SCRIPT", str) { end_nooutput(); } | ^~~ @@ -1376,6 +723,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:51:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 51 | else if (number==134) { CPYSL(s, "/-"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +microsoft.c:52:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 52 | else if CMP("†", s) { CPYSL(s, "/-"); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ 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(); } | ^~~ @@ -1387,6 +753,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) + | ~~~~~~~~~~~~^~~~ +microsoft.c:52:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 52 | else if CMP("†", s) { CPYSL(s, "/-"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ 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(); } | ^~~ @@ -1398,6 +775,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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:70:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 70 | else if CMP("TITLE", str) { | ^~~ @@ -1409,6 +789,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +microsoft.c:53:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 53 | else if (number==8224) { CPYSL(s, "/-"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:73:33: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 73 | } else if CMP("/TITLE", str) { | ^~~ @@ -1420,6 +811,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +microsoft.c:56:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 56 | else if (number==135) { CPYSL(s, "/="); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c: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(); } | ^~~ @@ -1428,9 +830,31 @@ 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, "/="); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.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, "/="); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:80:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 80 | else if CMP("!DOCTYPE", str) { while ((ch=read_char())!='>'); } | ^~~ @@ -1442,6 +866,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +microsoft.c:58:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 58 | else if (number==8225) { CPYSL(s, "/="); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:81:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 81 | else if CMP("META", str) { find_encoding(); } | ^~~ @@ -1464,6 +899,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:62:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 62 | else if CMP("ˆ", s) { set_char(s, '^'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ 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(); } | ^~~ @@ -1486,20 +929,20 @@ 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) | ~~~~~~~~~~~~^~~~ +microsoft.c:66:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 66 | else if (number==137) { CPYSL(s, "0/00"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:88:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 88 | else if CMP("P", str) { start_p(); } | ^~~ @@ -1511,9 +954,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) | ~~~~~~~~~~~~^~~~ -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 */ - | ^~~ +microsoft.c:67:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 67 | else if CMP("‰", s) { CPYSL(s, "0/00"); } + | ^ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' @@ -1522,14 +965,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) - | ^~ +microsoft.c:67:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 67 | else if CMP("‰", s) { CPYSL(s, "0/00"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ 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(); } | ^~~ @@ -1538,9 +981,9 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -1552,9 +995,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +microsoft.c:68:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 68 | else if (number==8240) { CPYSL(s, "0/00"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_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(); } | ^~~ @@ -1563,17 +1017,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) | ~~~~~~~~~~~~^~~~ +microsoft.c:72:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 72 | else if CMP("Š", s) { set_char(s, 'S'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -1588,9 +1042,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) | ~~~~~~~~~~~~^~~~ -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 */ - | ^~~ +microsoft.c:77:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 77 | else if CMP("‹", s) { set_char(s, '<'); } + | ^ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' @@ -1607,20 +1061,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +microsoft.c:81:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 81 | else if (number==140) { CPYSL(s, "OE"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c: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('*'); } } | ^~~ @@ -1632,17 +1086,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: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 */ - | ^~~ +microsoft.c:82:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 82 | else if CMP("Œ", s) { CPYSL(s, "OE"); } + | ^ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: 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('*'); } } | ^~~ @@ -1654,6 +1105,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) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from util.h:4, + from text.c:22: +text.c: In function 'only_spaces': html_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('/'); } } | ^~~ @@ -1665,17 +1122,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) - | ~~~~~~~~~~~~^~~~ +microsoft.c:82:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 82 | else if CMP("Œ", s) { CPYSL(s, "OE"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:111:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 111 | else if CMP("/I", str) { if (convert_tags) { wort_plus_ch('/'); } } | ^~~ @@ -1684,9 +1141,27 @@ 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': /usr/include/string.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:83:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 83 | else if (number==338) { CPYSL(s, "OE"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ 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 */ | ^~~ @@ -1698,17 +1173,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) | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 latin1.c:35: +latin1.c: In function 'parse_entity': 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 */ | ^~~ @@ -1717,31 +1194,50 @@ 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_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 * +microsoft.c:91:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 91 | else if CMP("‘", s) { set_char(s, '`'); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +In file included from util.h:4, + from html.c:36: +html.c: In function 'get_attr': +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: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 * +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) | ~~~~~~~~~~~~^~~~ +latin1.c:64:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 64 | int len = STRLEN(str); + | ^~~ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ html_tag.c: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('*'); } } | ^~~ @@ -1753,17 +1249,44 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +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:96:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 96 | else if CMP("’", s) { set_char(s, '\''); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +latin1.c:71:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 71 | CPYSS(tmpstr, str); + | ^~~~~~ + | | + | unsigned char * +multibyte.h:33:34: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~~ +html.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 /usr/include/features.h:510, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from latin1.c:21: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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('/'); } } | ^~~ @@ -1772,9 +1295,32 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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/string.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:101:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 101 | else if CMP("“", s) { set_char(s, '"'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +util.c: In function 'extract_entity_number': 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('/'); } } | ^~~ @@ -1783,20 +1329,44 @@ 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) | ~~~~~~~~~~~~^~~~ -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 * +/usr/include/string.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:106:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 106 | else if CMP("”", s) { set_char(s, '"'); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +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) + | ^ +text.c: In function 'wort_plus_string_nocount': +latin1.c:97:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 97 | CPYSS(str, tmpstr); + | ^~~ + | | + | unsigned char * +multibyte.h:33:34: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_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 */ | ^~~ @@ -1808,6 +1378,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) | ~~~~~~~~~~~~^~~~ +latin1.c:97:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 97 | CPYSS(str, tmpstr); + | ^~~~~~ + | | + | unsigned char * +multibyte.h:33:40: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +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) + | ^~~~ +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) + | ^ +microsoft.c:111:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 111 | else if CMP("•", s) { set_char(s, '*'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h: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) + | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:510, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from util.c:16: +/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 481 | __NTH (atoi (const char *__nptr)) + | ^~~~~ 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 */ | ^~~ @@ -1819,17 +1437,41 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c: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 */ - | ^~~ +In file included from /usr/include/features.h:510, + from /usr/include/ctype.h:25, + from html.c:24: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +latin1.c: In function 'parse_entities': +microsoft.c:116:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 116 | else if CMP("–", s) { set_char(s, '-'); } + | ^ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +text.c: In function 'wort_plus_string': /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +latin1.c:118:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 118 | int len=STRLEN(s); + | ^ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ +html.c:142:26: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 142 | CPYSS(attr_ctnt, temp); + | ^~~~ + | | + | unsigned char * +multibyte.h:33:40: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~ html_tag.c:124:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 124 | else if CMP("H1", str) { start_p(); } | ^~~ @@ -1838,17 +1480,34 @@ 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) | ~~~~~~~~~~~~^~~~ -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/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +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) + | ~~~~~~~~~~~~^~~ +microsoft.c:120:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 120 | else if (number==151) { CPYSL(s, "--"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ 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(); } | ^~~ @@ -1857,9 +1516,9 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -1871,20 +1530,32 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156: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 * +microsoft.c:121:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 121 | else if CMP("—", s) { CPYSL(s, "--"); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.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: In function 'wort_ende': +latin1.c:133:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] + 133 | STRCAT(result, tmp); + | ^~~~~~ + | | + | unsigned char * +multibyte.h:39:35: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:127:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 127 | else if CMP("/H2", str) { paragraphen_ende(); } | ^~~ @@ -1896,6 +1567,38 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +microsoft.c:121:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 121 | else if CMP("—", s) { CPYSL(s, "--"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ^~~ +multibyte.h:42:19: warning: pointer targets in passing argument 1 of 'zeile_plus_wort' differ in signedness [-Wpointer-sign] + 42 | #define ONESPACE " " + | ^~~ + | | + | char * +text.c:331:42: note: in expansion of macro 'ONESPACE' + 331 | while (i0) { zeile_plus_wort(ONESPACE,1,1); } + | ^~~~~~~~ +text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' + 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) +latin1.c: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) + | ^~~~ +microsoft.c:126:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 126 | else if CMP("˜", s) { set_char(s, '~'); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156: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 * +html_tag.c:130:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 130 | else if CMP("H4", str) { start_p(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +latin1.c:143:40: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] + 143 | STRCAT(result, entity); + | ^~~~~~ + | | + | unsigned char * +multibyte.h:39:41: note: in definition of macro 'STRCAT' + 39 | #define STRCAT(dest, src) strcat(dest, src) + | ^~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +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); + | ^~~~~~~~ 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(); } | ^~~ @@ -1959,9 +1702,41 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' + 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) /usr/include/string.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) + | ^~~~ +latin1.c:150:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 150 | CPYSS(s, result); + | ^ + | | + | unsigned char * +multibyte.h:33:34: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +latin1.c:150:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 150 | CPYSS(s, result); + | ^~~~~~ + | | + | unsigned char * +multibyte.h:33:40: note: in definition of macro 'CPYSS' + 33 | #define CPYSS(dest, src) strcpy(dest, src) + | ^~~ 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(); } | ^~~ @@ -1970,20 +1745,33 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ /usr/include/string.h:156: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 * +microsoft.c:131:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 131 | else if CMP("™", s) { CPYSL(s, "[tm]"); } + | ^ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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); } + | ^~~~~~~~ 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(); } | ^~~ @@ -2003,11 +1811,36 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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 * +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' + 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) +latin1.c: In function 'html_entity': +microsoft.c:132:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 132 | else if (number==8482) { CPYSL(s, "[tm]"); } + | ^ + | | + | unsigned char * +multibyte.h:34:34: note: in definition of macro 'CPYSL' + 34 | #define CPYSL(dest, src) strcpy(dest, src) + | ^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ^~ +html_tag.c:135:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 135 | else if CMP("/H6", str) { paragraphen_ende(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -2017,22 +1850,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:135:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 135 | else if CMP("/H6", str) { paragraphen_ende(); } - | ^~~ - | | - | unsigned char * +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: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 * +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) | ^~ @@ -2050,6 +1883,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) | ~~~~~~~~~~~~^~~~ +text.c: In function 'hr': +latin1.c:216:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 216 | else if CMP("&;", str) { return(set_char_wrapper(str, '&')); } /* for those brain damaged ones */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.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) + | ^~ 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 */ | ^~~ @@ -2061,8 +1914,33 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c: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 */ +microsoft.c:141:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 141 | else if CMP("›", s) { set_char(s, '>'); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.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: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: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 * @@ -2083,6 +1961,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: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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +latin1.c: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_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(); } | ^~~ @@ -2094,6 +1991,39 @@ /usr/include/string.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: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) + | ~~~~~~~~~~~~^~~~ +microsoft.c:146:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 146 | else if CMP("œ", s) { CPYSL(s, "oe"); } + | ^ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c: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) + | ^~ 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(); } | ^~~ @@ -2102,17 +2032,42 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +latin1.c:219:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 219 | else if CMP("<", str) { return(set_char_wrapper(str, '<')); } + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +/usr/include/string.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: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) + | ^~~~ +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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -2127,17 +2082,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) | ~~~~~~~~~~~~^~~~ -latin1.c:291:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 291 | else if CMP("Þ", str) { return(set_char_wrapper(str, 222)); } /* capital THORN, Icelandic */ - | ^~~ - | | - | unsigned char * +latin1.c: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_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(); } | ^~~ @@ -2146,6 +2102,50 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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) + | ^~ +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/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.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) + | ~~~~~~~~~~~~^~~~ +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) | ~~~~~~~~~~~~^~~~ @@ -2160,17 +2160,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: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 * +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: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) + | ^~ html_tag.c:147:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 147 | else if CMP("DIR", str) { start_uls(); } /* deprecated */ | ^~~ @@ -2179,20 +2187,34 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156: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 * +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) + | ^~ +html.c:285:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 285 | else if CMP("JUSTIFY", attr_ctnt) { push_align(LEFT); } + | ^~~~~~~~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.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:148:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 148 | else if CMP("/DIR", str) { end_uls(); return; } /* deprecated */ | ^~~ @@ -2204,14 +2226,28 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c: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 * +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) + | ~~~~~~~~~~~~^~~~ +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:149:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 149 | else if CMP("MENU", str) { start_uls(); } /* deprecated */ | ^~~ @@ -2223,6 +2259,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: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) | ~~~~~~~~~~~~^~~~ @@ -2237,28 +2281,48 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +html.c: In function 'print_footnote_number': +html_tag.c:151:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 151 | else if CMP("OL", str) { start_ols(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +text.c:435:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 435 | i=STRLEN(attr_ctnt); + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:32:27: note: in definition of macro 'STRLEN' + 32 | #define STRLEN(s) strlen(s) + | ^ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:151:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 151 | else if CMP("OL", str) { start_ols(); } - | ^~~ - | | - | unsigned char * +/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: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) | ^~ +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/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/x86_64-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'unsigned char *' + 65 | __NTH (snprintf (char *__restrict __s, size_t __n, + | ^~~~~ html_tag.c:152:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 152 | else if CMP("/OL", str) { end_ols(); } | ^~~ @@ -2270,8 +2334,28 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c: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 */ +html.c: In function 'construct_footnote': +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) + | ~~~~~~~~~~~~^~~~ +text.c:438:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 438 | hr_width = ATOI(attr_ctnt); + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:40:23: note: in definition of macro 'ATOI' + 40 | #define ATOI(n) atoi(n) + | ^ +latin1.c: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 * @@ -2281,6 +2365,11 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +html.c: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 * html_tag.c:154:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 154 | else if CMP("DIV", str) { start_div(0); } | ^~~ @@ -2289,9 +2378,30 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/x86_64-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'unsigned char *' + 65 | __NTH (snprintf (char *__restrict __s, size_t __n, + | ^~~~~ +/usr/include/string.h:156: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) | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:510, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from text.c:12: +/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 481 | __NTH (atoi (const char *__nptr)) + | ^~~~~ html_tag.c:155:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 155 | else if CMP("/DIV", str) { end_div(); } | ^~~ @@ -2300,31 +2410,44 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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: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 */ +/usr/include/string.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.c: In function 'href': +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: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 */ - | ^~~ +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; + | ^~~~~ | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from microsoft.c:15: +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); html_tag.c: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 */ | ^~~ @@ -2336,8 +2459,51 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) */ +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) + | ^ +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) + | ^~ +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) + | ~~~~~~~~~~~~^~~~ +/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 481 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +microsoft.c: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); +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 * @@ -2358,6 +2524,45 @@ /usr/include/string.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: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) + | ~~~~~~~~~~~~^~~~ +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) + | ^~~ +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 + | ^~~~~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); html_tag.c:158:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 158 | else if CMP("RIGHT", str) { start_div(RIGHT); } | ^~~ @@ -2366,20 +2571,62 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +latin1.c:242:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 242 | else if CMP("­", str) { return(set_char_wrapper(str, '\0')); } /* soft hyphen, just swallow it */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +/usr/include/string.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); +html.c:383:37: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:45:42: note: in definition of macro 'STRSTR' + 45 | #define STRSTR(haystack, needle) strstr(haystack, needle) + | ^~~~~~~~ +latin1.c: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) | ~~~~~~~~~~~~^~~~ +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); +/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_tag.c:159:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 159 | else if CMP("/RIGHT", str) { end_div(); } | ^~~ @@ -2391,11 +2638,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) | ~~~~~~~~~~~~^~~~ -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 * +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) + | ~~~~~~~~~~~~^~~~ +microsoft.c:201:26: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] + 201 | WORT_PLUS_STRING("OE"); break; + | ^~~~ + | | + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +latin1.c: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) | ^~ @@ -2413,6 +2681,44 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +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:246:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 246 | else if CMP("±", str) { return(set_char_wrapper(str, 177)); } /* plus-or-minus sign */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +main.c: In function 'parse_args': +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +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) + | ^~~ +main.c:273:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 273 | default_image = argument; break; + | ^ +In file included from html.h:5, + from lists.c:16: +lists.c: In function 'check_style': +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); html_tag.c:163:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 163 | else if CMP("APPLET", str) { image(STRING("Applet"), 1); } /* deprecated */ | ^~~ @@ -2421,25 +2727,54 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/string.h:156: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 * +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: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 */ - | ^~~ +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: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) + | ^~ +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; + | ^~~~ | | - | unsigned char * + | char * +multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' + 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) + | ^~~ +text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' + 37 | void wort_plus_string(CHAR *s); +/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: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) | ^~ @@ -2454,6 +2789,18 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ +In file included from lists.c:14: +/usr/include/string.h:156: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) + | ^~ In file included from html.h:5, from html_tag.c:24: multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' @@ -2461,17 +2808,39 @@ html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ -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 * +/usr/include/string.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) + | ~~~~~~~~~~~~^~~~ +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) | ~~~~~~~~~~~~^~~~ +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) + | ^~ 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); } | ^~~ @@ -2483,6 +2852,50 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c:383:124: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] + 383 | if ((STRSTR(attr_ctnt, "://")!=NULL) || (STRNCMP("mailto:", attr_ctnt, 7)==0) || (STRNCMP("news:", attr_ctnt, 5)==0)) { + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:47:48: note: in definition of macro 'STRNCMP' + 47 | #define STRNCMP(str1, str2, nr) strncmp(str1, str2, nr) + | ^~~~ +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) + | ~~~~~~~~~~~~^~~~ +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:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +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) + | ^~ 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); } | ^~~~~~ @@ -2491,33 +2904,33 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ -latin1.c:305:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 305 | else if CMP("ì", str) { return(set_char_wrapper(str, 236)); } /* small i, grave accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' 31 | #define CHAR unsigned char html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -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 * +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) | ~~~~~~~~~~~~^~~~ +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:165:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 165 | else if CMP("INPUT", str) { image(STRING("Input"), 0); } | ^~~ @@ -2529,6 +2942,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) | ~~~~~~~~~~~~^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:16: note: expected 'char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +latin1.c: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) + | ^~ html_tag.c:165:59: warning: pointer targets in passing argument 1 of 'image' differ in signedness [-Wpointer-sign] 165 | else if CMP("INPUT", str) { image(STRING("Input"), 0); } | ^~~~~~~ @@ -2537,13 +2972,27 @@ multibyte.h:49:25: note: in definition of macro 'STRING' 49 | #define STRING(string) string | ^~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ multibyte.h:31:15: note: expected 'unsigned char *' but argument is of type 'char *' 31 | #define CHAR unsigned char html.h:20:12: note: in expansion of macro 'CHAR' 20 | void image(CHAR *, int); | ^~~~ -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 */ +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/x86_64-linux-gnu/bits/string_fortified.h:136:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +latin1.c: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 * @@ -2564,6 +3013,39 @@ /usr/include/string.h:156: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) + | ~~~~~~~~~~~~^~~~ +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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +latin1.c: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) + | ~~~~~~~~~~~~^~~~ html_tag.c:169:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 169 | else if CMP("/TABLE", str) { paragraphen_ende(); } | ^~~ @@ -2575,6 +3057,28 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +latin1.c:259:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 259 | else if CMP("¾", str) { return(set_char_wrapper(str, 190)); } /* fraction three-quarters */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +html.c: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/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ 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(' '); } | ^~~ @@ -2586,6 +3090,29 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +latin1.c:260:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 260 | else if CMP("¿", str) { return(set_char_wrapper(str, 191)); } /* inverted question mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +html.c: In function 'href_output': +latin1.c:261:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 261 | else if CMP("À", str) { return(set_char_wrapper(str, 192)); } /* capital A, grave accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:171:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 171 | else if CMP("/TD", str) {} | ^~~ @@ -2594,9 +3121,32 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +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 + | ^~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from html.c:33: +fileio.h:9:26: note: expected 'unsigned char *' but argument is of type 'char *' + 9 | void output_string(CHAR *str); +latin1.c:262:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 262 | else if CMP("Á", str) { return(set_char_wrapper(str, 193)); } /* capital A, acute accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +html.c: In function 'href_link_inline_output': 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(' '); } | ^~~ @@ -2605,19 +3155,39 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -In file included from microsoft.c:18: -microsoft.c: In function 'microsoft_entities': /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:28:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 28 | else if (number==128) { CPYSL(s, "EUR"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ +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) + | ^~ +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:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:173:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 173 | else if CMP("/TH", str) {} | ^~~ @@ -2626,19 +3196,15 @@ 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) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:510, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from microsoft.c:10: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c:29:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 29 | else if CMP("€", s) { CPYSL(s, "EUR"); } - | ^ +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' @@ -2647,39 +3213,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:29:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 29 | else if CMP("€", s) { CPYSL(s, "EUR"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c:30:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 30 | else if (number==8364) { CPYSL(s, "EUR"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c:34:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 34 | else if CMP("‚", s) { set_char(s, ','); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: 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(); */ | ^~~ @@ -2688,97 +3221,72 @@ 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 */ - | ^ - | | - | unsigned char * -microsoft.c:38:11: note: in expansion of macro 'CMP' - 38 | else if CMP("ƒ", s) { set_char(s, 'f'); } /* Latin Small Letter F With Hook */ - | ^~~ +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) | ~~~~~~~~~~~~^~~~ /usr/include/string.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, "\""); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -html_tag.c:175:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 175 | else if CMP("/TR", str) { /*paragraphen_ende();*/ } - | ^~~ - | | - | unsigned char * +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: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) | ~~~~~~~~~~~~^~~~ -microsoft.c:43:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 43 | else if CMP("„", s) { CPYSL(s, "\""); } - | ^ - | | - | unsigned char * +html_tag.c:175:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 175 | else if CMP("/TR", str) { /*paragraphen_ende();*/ } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:308:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 308 | else if CMP("ï", str) { return(set_char_wrapper(str, 239)); } /* small i, dieresis or umlaut mark */ - | ^~~ - | | - | unsigned char * +latin1.c: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) | ~~~~~~~~~~~~^~~~ -microsoft.c:43:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 43 | else if CMP("„", s) { CPYSL(s, "\""); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c:44:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 44 | else if (number==8222) { CPYSL(s, "\""); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c:46:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 46 | else if (number==133) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +html.c: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 + | ^~~~~~ 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) {} | ^~~ @@ -2787,12 +3295,26 @@ 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) | ~~~~~~~~~~~~^~~~ -microsoft.c:47:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 47 | else if CMP("…", s) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ - | ^ +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) + | ~~~~~~~~~~~~^~~~ +html.c: In function 'image': +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' @@ -2801,14 +3323,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:47:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 47 | else if CMP("…", s) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ 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) {} | ^~~ @@ -2817,34 +3331,31 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:309:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 309 | else if CMP("ð", str) { return(set_char_wrapper(str, 240)); } /* small eth, Icelandic */ - | ^~~ - | | - | unsigned char * +latin1.c: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) + | ~~~~~~~~~~~~^~~~ +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) | ~~~~~~~~~~~~^~~~ -microsoft.c:48:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 48 | else if (number==8230) { CPYSL(s, "..."); } /* Horizontal Ellipsis */ - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c: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; } | ^~~ @@ -2856,14 +3367,28 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:310:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 310 | else if CMP("ñ", str) { return(set_char_wrapper(str, 241)); } /* small n, tilde */ +latin1.c: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) + | ~~~~~~~~~~~~^~~~ +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) + | ~~~~~~~~~~~~^~~~ html_tag.c:180:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 180 | else if CMP("/PRE", str) { paragraphen_ende(); pre=0; } | ^~~ @@ -2875,19 +3400,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) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -html_tag.c:182:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 182 | else if CMP("DL", str) { start_dl();} /* Definition List */ - | ^~~ - | | - | unsigned char * +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) | ^~ -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 */ +/usr/include/string.h:156: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 * @@ -2897,102 +3422,56 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -microsoft.c:51:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 51 | else if (number==134) { CPYSL(s, "/-"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c:52:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 52 | else if CMP("†", s) { CPYSL(s, "/-"); } - | ^ - | | - | unsigned char * +html_tag.c:182:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 182 | else if CMP("DL", str) { start_dl();} /* Definition List */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:183:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 183 | else if CMP("/DL", str) { end_dl(); } - | ^~~ - | | - | unsigned char * +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) | ~~~~~~~~~~~~^~~~ -microsoft.c:52:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 52 | else if CMP("†", s) { CPYSL(s, "/-"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c:312:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 312 | else if CMP("ó", str) { return(set_char_wrapper(str, 243)); } /* small o, acute accent */ - | ^~~ - | | - | unsigned char * +latin1.c:276:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 276 | else if CMP("Ï", str) { return(set_char_wrapper(str, 207)); } /* capital I, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:53:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 53 | else if (number==8224) { CPYSL(s, "/-"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c:56:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 56 | else if (number==135) { CPYSL(s, "/="); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c:57:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 57 | else if CMP("‡", s) { CPYSL(s, "/="); } - | ^ - | | - | unsigned char * +html_tag.c:183:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 183 | else if CMP("/DL", str) { end_dl(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 * +html.c: In function 'start_nooutput': +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) | ^~ @@ -3007,55 +3486,41 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -microsoft.c:57:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 57 | else if CMP("‡", s) { CPYSL(s, "/="); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c:58:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 58 | else if (number==8225) { CPYSL(s, "/="); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -html_tag.c:185:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 185 | else if CMP("/DT", str) { end_dt(); } - | ^~~ - | | - | unsigned char * +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: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 */ +html.c:610:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 610 | if CMP("/", attr_name) + | ^~~~~~~~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +latin1.c: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) | ^~ -microsoft.c:62:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 62 | else if CMP("ˆ", s) { set_char(s, '^'); } - | ^ - | | - | unsigned char * +html_tag.c:185:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 185 | else if CMP("/DT", str) { end_dt(); } + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ @@ -3065,61 +3530,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) | ~~~~~~~~~~~~^~~~ -microsoft.c:66:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 66 | else if (number==137) { CPYSL(s, "0/00"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c:67:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 67 | else if CMP("‰", s) { CPYSL(s, "0/00"); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ /usr/include/string.h:156: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 * +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) | ~~~~~~~~~~~~^~~~ -microsoft.c:67:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 67 | else if CMP("‰", s) { CPYSL(s, "0/00"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c:68:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 68 | else if (number==8240) { CPYSL(s, "0/00"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c: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 */ | ^~~ @@ -3131,36 +3555,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:72:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 72 | else if CMP("Š", s) { set_char(s, 'S'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156: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 * +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) | ~~~~~~~~~~~~^~~~ -microsoft.c:77:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 77 | else if CMP("‹", s) { set_char(s, '<'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ 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(); } | ^~~ @@ -3169,28 +3574,25 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +latin1.c:282:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 282 | else if CMP("Õ", str) { return(set_char_wrapper(str, 213)); } /* capital O, tilde */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:81:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 81 | else if (number==140) { CPYSL(s, "OE"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -latin1.c: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 * +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) | ^~ @@ -3205,9 +3607,12 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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"); } - | ^ +/usr/include/string.h:156: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' @@ -3216,20 +3621,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -microsoft.c:82:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 82 | else if CMP("Œ", s) { CPYSL(s, "OE"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:191:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 191 | else if CMP("/FORM", str) {} | ^~~ @@ -3238,31 +3629,31 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +latin1.c:285:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 285 | else if CMP("Ø", str) { return(set_char_wrapper(str, 216)); } /* capital O, slash */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 */ +/usr/include/string.h:156: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) | ^~ -microsoft.c:83:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 83 | else if (number==338) { CPYSL(s, "OE"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_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? */ | ^~~ @@ -3274,20 +3665,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:91:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 91 | else if CMP("‘", s) { set_char(s, '`'); } - | ^ - | | - | unsigned char * +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) | ~~~~~~~~~~~~^~~~ -In file included from util.h:4, - from text.c:22: -text.c: In function 'only_spaces': 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) {} | ^~~ @@ -3299,6 +3687,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: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) + | ~~~~~~~~~~~~^~~~ +latin1.c:289:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 289 | else if CMP("Ü", str) { return(set_char_wrapper(str, 220)); } /* capital U, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ html_tag.c:194:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 194 | else if CMP("FIELDSET", str) {} | ^~~ @@ -3307,19 +3714,14 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ^ /usr/include/string.h:156: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 */ +/usr/include/string.h:156: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 * @@ -3329,10 +3731,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~ 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) {} | ^~~ @@ -3344,9 +3742,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) | ~~~~~~~~~~~~^~~~ -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, '\''); } - | ^ +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' @@ -3355,14 +3753,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:320:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 320 | else if CMP("û", str) { return(set_char_wrapper(str, 251)); } /* small u, circumflex accent */ - | ^~~ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ 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) {} | ^~~ @@ -3374,14 +3764,22 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +latin1.c:292:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 292 | else if CMP("ß", str) { return(set_char_wrapper(str, 223)); } /* small sharp s, German (sz ligature) */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:101:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 101 | else if CMP("“", s) { set_char(s, '"'); } - | ^ - | | - | unsigned char * +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) | ^~ @@ -3399,29 +3797,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: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) - | ^~ -microsoft.c:106:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 106 | else if CMP("”", s) { set_char(s, '"'); } - | ^ - | | - | unsigned char * +latin1.c:294:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 294 | else if CMP("á", str) { return(set_char_wrapper(str, 225)); } /* small a, acute accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -text.c: In function 'wort_plus_string_nocount': 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) {} | ^~~ @@ -3433,25 +3819,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -text.c:251:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 251 | int len=STRLEN(s), - | ^ - | | - | unsigned char * -multibyte.h:32:27: note: in definition of macro 'STRLEN' - 32 | #define STRLEN(s) strlen(s) - | ^ -/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:111:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 111 | else if CMP("•", s) { set_char(s, '*'); } - | ^ - | | - | unsigned char * +latin1.c:295:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 295 | else if CMP("â", str) { return(set_char_wrapper(str, 226)); } /* small a, circumflex accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:199:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 199 | else if CMP("/LEGEND", str) {} | ^~~ @@ -3463,40 +3841,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -latin1.c: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 */ +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) | ^~ -text.c: In function 'wort_plus_string': /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ~~~~~~~~~~~~^~~ -microsoft.c:116:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 116 | else if CMP("–", s) { set_char(s, '-'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ 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) {} | ^~~ @@ -3505,32 +3860,31 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ +latin1.c:297:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 297 | else if CMP("ä", str) { return(set_char_wrapper(str, 228)); } /* small a, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -latin1.c:323:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 323 | else if CMP("þ", str) { return(set_char_wrapper(str, 254)); } /* small thorn, Icelandic */ +latin1.c: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) | ^~ -text.c: In function 'wort_ende': /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:120:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 120 | else if (number==151) { CPYSL(s, "--"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ 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) {} | ^~~ @@ -3542,22 +3896,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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -multibyte.h:42:19: warning: pointer targets in passing argument 1 of 'zeile_plus_wort' differ in signedness [-Wpointer-sign] - 42 | #define ONESPACE " " - | ^~~ - | | - | char * -text.c:331:42: note: in expansion of macro 'ONESPACE' - 331 | while (i0) { zeile_plus_wort(ONESPACE,1,1); } - | ^~~~~~~~ html_tag.c:205:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 205 | else if CMP("/SAMP", str) {} | ^~~ @@ -3615,30 +3937,31 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' - 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) +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) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +latin1.c:302:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 302 | else if CMP("é", str) { return(set_char_wrapper(str, 233)); } /* small e, acute accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:122:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 122 | else if (number==8212) { CPYSL(s, "--"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~ 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) {} | ^~~ @@ -3650,11 +3973,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) | ~~~~~~~~~~~~^~~~ -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:126:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 126 | else if CMP("˜", s) { set_char(s, '~'); } - | ^ +latin1.c: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' @@ -3674,27 +3995,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) | ~~~~~~~~~~~~^~~~ -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); } - | ^~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -text.c:229:28: note: expected 'unsigned char *' but argument is of type 'char *' - 229 | void zeile_plus_wort(CHAR *s, int wl, int wp) +latin1.c:306:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 306 | else if CMP("í", str) { return(set_char_wrapper(str, 237)); } /* small i, acute accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ html_tag.c:209:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 209 | else if CMP("/ABBR", str) {} | ^~~ @@ -3738,17 +4047,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) | ~~~~~~~~~~~~^~~~ -microsoft.c:131:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 131 | else if CMP("™", s) { CPYSL(s, "[tm]"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +latin1.c:307:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 307 | else if CMP("î", str) { return(set_char_wrapper(str, 238)); } /* small i, circumflex accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:210:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 210 | else if CMP("ACRONYM", str) {} | ^~~ @@ -3757,29 +4069,20 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -text.c: In function 'hr': /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:132:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 132 | else if (number==8482) { CPYSL(s, "[tm]"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -text.c:424:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 424 | if CMP("ALIGN", attr_name) - | ^~~~~~~~~ - | | - | unsigned char * +latin1.c: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:211:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 211 | else if CMP("/ACRONYM", str) {} | ^~~ @@ -3791,66 +4094,74 @@ /usr/include/string.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: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 * +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) | ~~~~~~~~~~~~^~~~ -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 * +html_tag.c:212:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 212 | else if CMP("BIG", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.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 * +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) | ~~~~~~~~~~~~^~~~ -text.c:429:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 429 | else if CMP("RIGHT", attr_ctnt) { hr_align=RIGHT; } - | ^~~~~~~~~ - | | - | unsigned char * +html_tag.c:213:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 213 | else if CMP("/BIG", str) {} + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +latin1.c:311:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 311 | else if CMP("ò", str) { return(set_char_wrapper(str, 242)); } /* small o, grave accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -text.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 * +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +latin1.c:312:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 312 | else if CMP("ó", str) { return(set_char_wrapper(str, 243)); } /* small o, acute accent */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:212:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 212 | else if CMP("BIG", str) {} +html_tag.c:214:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 214 | else if CMP("VAR", str) {} | ^~~ | | | unsigned char * @@ -3860,9 +4171,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) | ~~~~~~~~~~~~^~~~ -text.c:433:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 433 | else if CMP("WIDTH", attr_name) - | ^~~~~~~~~ +latin1.c:313:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 313 | else if CMP("ô", str) { return(set_char_wrapper(str, 244)); } /* small o, circumflex accent */ + | ^~~ | | | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' @@ -3871,8 +4182,8 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -html_tag.c:213:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 213 | else if CMP("/BIG", str) {} +html_tag.c:215:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 215 | else if CMP("/VAR", str) {} | ^~~ | | | unsigned char * @@ -3882,76 +4193,47 @@ /usr/include/string.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:214:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 214 | else if CMP("VAR", str) {} - | ^~~ - | | - | unsigned char * +latin1.c:314:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 314 | else if CMP("õ", str) { return(set_char_wrapper(str, 245)); } /* small o, tilde */ + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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:510, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from text.c:12: -/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ -html_tag.c:215:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 215 | else if CMP("/VAR", str) {} - | ^~~ - | | - | unsigned char * +html_tag.c:216:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 216 | else if CMP("KBD", str) {} + | ^~~ + | | + | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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; - | ^~~~~~~~~ +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:40:23: note: in definition of macro 'ATOI' - 40 | #define ATOI(n) atoi(n) - | ^ -/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ -html_tag.c:216:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 216 | else if CMP("KBD", str) {} - | ^~~ - | | - | unsigned char * multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +latin1.c: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) + | ^~ html_tag.c:217:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 217 | else if CMP("/KBD", str) {} | ^~~ @@ -3963,6 +4245,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/string.h:156: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) + | ~~~~~~~~~~~~^~~~ html_tag.c:220:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 220 | else if CMP("BDO", str) {} | ^~~ @@ -3974,6 +4270,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:318:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 318 | else if CMP("ù", str) { return(set_char_wrapper(str, 249)); } /* small u, grave accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:221:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 221 | else if CMP("/BDO", str) {} | ^~~ @@ -3985,6 +4292,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:319:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 319 | else if CMP("ú", str) { return(set_char_wrapper(str, 250)); } /* small u, acute accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:222:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 222 | else if CMP("INS", str) {} | ^~~ @@ -3996,6 +4314,28 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +latin1.c: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:223:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 223 | else if CMP("/INS", str) {} | ^~~ @@ -4007,6 +4347,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:322:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 322 | else if CMP("ý", str) { return(set_char_wrapper(str, 253)); } /* small y, acute accent */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:224:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 224 | else if CMP("DEL", str) {} | ^~~ @@ -4018,16 +4369,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from 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) - | ^ +latin1.c:323:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 323 | else if CMP("þ", str) { return(set_char_wrapper(str, 254)); } /* small thorn, Icelandic */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:225:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 225 | else if CMP("/DEL", str) {} | ^~~ @@ -4039,10 +4391,17 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from util.c:19: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +latin1.c:324:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 324 | else if CMP("ÿ", str) { return(set_char_wrapper(str, 255)); } /* small y, dieresis or umlaut mark */ + | ^~~ + | | + | unsigned char * +multibyte.h:38:34: note: in definition of macro 'CMP' + 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) + | ^~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ html_tag.c:226:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 226 | else if CMP("S", str) {} /* deprecated */ | ^~~ @@ -4065,15 +4424,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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) - | ^ html_tag.c:228:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 228 | else if CMP("STRIKE", str) {} /* deprecated */ | ^~~ @@ -4085,13 +4435,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:510, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from util.c:16: -/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ 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 */ | ^~~ @@ -4169,17 +4512,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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:239:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 239 | else if CMP("BODY", str) {} | ^~~ @@ -4199,28 +4531,9 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -microsoft.c: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:241:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 241 | else if CMP("FONT", str) {} /* deprecated */ | ^~~ @@ -4232,20 +4545,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/usr/include/string.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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:242:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 242 | else if CMP("/FONT", str) {} /* deprecated */ | ^~~ @@ -4257,17 +4556,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:147:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 147 | else if (number==339) { CPYSL(s, "oe"); } - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:243:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 243 | else if CMP("MAP", str) {} | ^~~ @@ -4279,17 +4567,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:155:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 155 | else if CMP("Ÿ", s) { set_char(s, 'Y'); } - | ^ - | | - | unsigned char * -multibyte.h:38:34: note: in definition of macro 'CMP' - 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) - | ^~ -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ html_tag.c:244:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 244 | else if CMP("/MAP", str) {} | ^~~ @@ -4367,28 +4644,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c: In function 'microsoft_character': -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) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); html_tag.c:251:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 251 | else if CMP("SUB", str) {} | ^~~ @@ -4397,29 +4652,9 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -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) - | ^~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); -microsoft.c:189:26: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 189 | WORT_PLUS_STRING("/-"); break; - | ^~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); html_tag.c:252:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 252 | else if CMP("/SUB", str) {} | ^~~ @@ -4431,16 +4666,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:191:26: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 191 | WORT_PLUS_STRING("/="); break; - | ^~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); html_tag.c:253:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 253 | else if CMP("NOSCRIPT", str) {} | ^~~ @@ -4452,16 +4677,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:195:26: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 195 | WORT_PLUS_STRING("0/00"); break; - | ^~~~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); html_tag.c:254:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 254 | else if CMP("/NOSCRIPT", str) {} | ^~~ @@ -4473,16 +4688,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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_tag.c:255:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 255 | else if CMP("SMALL", str) {} | ^~~ @@ -4494,16 +4699,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:219:26: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 219 | WORT_PLUS_STRING("--"); break; - | ^~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); html_tag.c:256:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 256 | else if CMP("/SMALL", str) {} | ^~~ @@ -4515,16 +4710,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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:257:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 257 | else if CMP("SPAN", str) {} | ^~~ @@ -4536,16 +4721,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -microsoft.c:229:26: warning: pointer targets in passing argument 1 of 'wort_plus_string' differ in signedness [-Wpointer-sign] - 229 | WORT_PLUS_STRING("oe"); break; - | ^~~~ - | | - | char * -multibyte.h:43:49: note: in definition of macro 'WORT_PLUS_STRING' - 43 | #define WORT_PLUS_STRING(str) wort_plus_string(str) - | ^~~ -text.h:37:29: note: expected 'unsigned char *' but argument is of type 'char *' - 37 | void wort_plus_string(CHAR *s); html_tag.c:258:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 258 | else if CMP("/SPAN", str) {} | ^~~ @@ -4733,8 +4908,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from unicode_entities.c:17: -unicode_entities.c: In function 'ligature_entity': 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) {} | ^~~ @@ -4746,32 +4919,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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:510, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from unicode_entities.c:10: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h: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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:278:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 278 | else if CMP("IFRAME", str) {} | ^~~ @@ -4783,39 +4930,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unicode_entities.c:56:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 56 | CPYSL(s, "ffi"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unicode_entities.c:58:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 58 | CPYSL(s, "ffl"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:279:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 279 | else if CMP("/IFRAME", str) {} | ^~~ @@ -4827,39 +4941,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unicode_entities.c: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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unicode_entities.c: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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ html_tag.c:280:38: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 280 | else if CMP("LAYER", str) {} | ^~~ @@ -4871,36 +4952,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -unicode_entities.c:66:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 66 | CPYSL(s, "ij"); break; - | ^ - | | - | unsigned char * -multibyte.h:34:34: note: in definition of macro 'CPYSL' - 34 | #define CPYSL(dest, src) strcpy(dest, src) - | ^~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -unicode_entities.c: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) - | ^~~~ 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) {} | ^~~ @@ -4909,9 +4960,6 @@ multibyte.h:38:34: note: in definition of macro 'CMP' 38 | #define CMP(s1, s2) (strcmp(s1, s2)==0) | ^~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' - 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -5245,18 +5293,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from fileio.h:4, - from main.c:109: -main.c:134:28: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] - 134 | CHAR *default_image=STRING("Image"); /* Default string for IMG without ALT-tag */ - | ^~~~~~~ -multibyte.h:49:25: note: in definition of macro 'STRING' - 49 | #define STRING(string) string - | ^~~~~~ -main.c: In function 'parse_args': -main.c:273:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 273 | default_image = argument; break; - | ^ 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); @@ -5287,10 +5323,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_entities PASS: check_latin2 -PASS: check_tags PASS: check_utf8 +PASS: check_tags +PASS: check_entities ============================================================================ Testsuite summary for ============================================================================ @@ -5310,7 +5346,7 @@ make[2]: Leaving directory '/build/reproducible-path/vilistextum-2.6.9' make[1]: Leaving directory '/build/reproducible-path/vilistextum-2.6.9' dh_auto_test - make -j20 test "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 + make -j42 test "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/vilistextum-2.6.9' Making check in src make[2]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/src' @@ -5325,10 +5361,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_tags -PASS: check_entities PASS: check_latin2 +PASS: check_tags PASS: check_utf8 +PASS: check_entities ============================================================================ Testsuite summary for ============================================================================ @@ -5352,7 +5388,7 @@ dh_testroot dh_prep dh_auto_install --destdir=debian/vilistextum/ - make -j20 install DESTDIR=/build/reproducible-path/vilistextum-2.6.9/debian/vilistextum AM_UPDATE_INFO_DIR=no + make -j42 install DESTDIR=/build/reproducible-path/vilistextum-2.6.9/debian/vilistextum AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/vilistextum-2.6.9' Making install in src make[2]: Entering directory '/build/reproducible-path/vilistextum-2.6.9/src' @@ -5402,8 +5438,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'vilistextum-dbgsym' in '../vilistextum-dbgsym_2.6.9-1.4_amd64.deb'. dpkg-deb: building package 'vilistextum' in '../vilistextum_2.6.9-1.4_amd64.deb'. +dpkg-deb: building package 'vilistextum-dbgsym' in '../vilistextum-dbgsym_2.6.9-1.4_amd64.deb'. dpkg-genbuildinfo --build=binary -O../vilistextum_2.6.9-1.4_amd64.buildinfo dpkg-genchanges --build=binary -O../vilistextum_2.6.9-1.4_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -5411,12 +5447,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3415147/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3415147/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/1341633 and its subdirectories -I: Current time: Sun Oct 20 11:16:13 -12 2024 -I: pbuilder-time-stamp: 1729466173 +I: removing directory /srv/workspace/pbuilder/3415147 and its subdirectories +I: Current time: Sun Nov 23 19:39:57 +14 2025 +I: pbuilder-time-stamp: 1763876397