Diff of the two buildlogs: -- --- b1/build.log 2024-05-24 21:47:09.389628917 +0000 +++ b2/build.log 2024-05-24 21:48:14.618856604 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 26 16:07:25 -12 2025 -I: pbuilder-time-stamp: 1750997245 +I: Current time: Sat May 25 11:47:12 +14 2024 +I: pbuilder-time-stamp: 1716587232 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -31,52 +31,84 @@ dpkg-source: info: applying 0004-fix-implicit-function-compile-error.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2323268/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2814713/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 24 21:47 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2814713/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2814713/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='20750272866b4ccf84e624c77bcdc9fb' - 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='2323268' - PS1='# ' - PS2='> ' + INVOCATION_ID=25921ade856b47febce42ee6a2b72055 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2814713 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.pNOIuqTp/pbuilderrc_ZBsh --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pNOIuqTp/b1 --logfile b1/build.log epson-inkjet-printer-escpr_1.7.17-4.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.pNOIuqTp/pbuilderrc_KgmS --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pNOIuqTp/b2 --logfile b2/build.log epson-inkjet-printer-escpr_1.7.17-4.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 24 17:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2323268/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 24 11:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2814713/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -205,7 +237,7 @@ Get: 85 http://deb.debian.org/debian trixie/main arm64 libcupsimage2-dev arm64 2.4.7-1.2+b1 [6548 B] Get: 86 http://deb.debian.org/debian trixie/main arm64 libcups2-dev arm64 2.4.7-1.2+b1 [291 kB] Get: 87 http://deb.debian.org/debian trixie/main arm64 pyppd all 1.1.0-2 [16.8 kB] -Fetched 31.3 MB in 1s (48.1 MB/s) +Fetched 31.3 MB in 0s (159 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19746 files and directories currently installed.) @@ -504,8 +536,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Jun 27 04:08:15 UTC 2025. -Universal Time is now: Fri Jun 27 04:08:15 UTC 2025. +Local time is now: Fri May 24 21:47:33 UTC 2024. +Universal Time is now: Fri May 24 21:47:33 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -580,7 +612,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/ && 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 > ../epson-inkjet-printer-escpr_1.7.17-4_source.changes +I: user script /srv/workspace/pbuilder/2814713/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2814713/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/ && 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 > ../epson-inkjet-printer-escpr_1.7.17-4_source.changes dpkg-buildpackage: info: source package epson-inkjet-printer-escpr dpkg-buildpackage: info: source version 1.7.17-4 dpkg-buildpackage: info: source distribution unstable @@ -781,25 +817,31 @@ rm m4-macros.tmp Making all in lib make[3]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/lib' -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-cbt.lo `test -f 'epson-cbt.c' || echo './'`epson-cbt.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpage.lo `test -f 'epson-escpage.c' || echo './'`epson-escpage.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpage-color.lo `test -f 'epson-escpage-color.c' || echo './'`epson-escpage-color.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpage-comp.lo `test -f 'epson-escpage-comp.c' || echo './'`epson-escpage-comp.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpage-mono.lo `test -f 'epson-escpage-mono.c' || echo './'`epson-escpage-mono.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpr-api.lo `test -f 'epson-escpr-api.c' || echo './'`epson-escpr-api.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpr-dbg.lo `test -f 'epson-escpr-dbg.c' || echo './'`epson-escpr-dbg.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpr-mem.lo `test -f 'epson-escpr-mem.c' || echo './'`epson-escpr-mem.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpr-pm.lo `test -f 'epson-escpr-pm.c' || echo './'`epson-escpr-pm.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpr-services.lo `test -f 'epson-escpr-services.c' || echo './'`epson-escpr-services.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-layout.lo `test -f 'epson-layout.c' || echo './'`epson-layout.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-net-lpr.lo `test -f 'epson-net-lpr.c' || echo './'`epson-net-lpr.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpage-comp.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage-comp.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-cbt.lo `test -f 'epson-cbt.c' || echo './'`epson-cbt.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpage.lo `test -f 'epson-escpage.c' || echo './'`epson-escpage.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpage-color.lo `test -f 'epson-escpage-color.c' || echo './'`epson-escpage-color.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpage-comp.lo `test -f 'epson-escpage-comp.c' || echo './'`epson-escpage-comp.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpage-mono.lo `test -f 'epson-escpage-mono.c' || echo './'`epson-escpage-mono.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpr-api.lo `test -f 'epson-escpr-api.c' || echo './'`epson-escpr-api.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpr-dbg.lo `test -f 'epson-escpr-dbg.c' || echo './'`epson-escpr-dbg.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpr-mem.lo `test -f 'epson-escpr-mem.c' || echo './'`epson-escpr-mem.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpr-pm.lo `test -f 'epson-escpr-pm.c' || echo './'`epson-escpr-pm.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-escpr-services.lo `test -f 'epson-escpr-services.c' || echo './'`epson-escpr-services.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-layout.lo `test -f 'epson-layout.c' || echo './'`epson-layout.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-net-lpr.lo `test -f 'epson-net-lpr.c' || echo './'`epson-net-lpr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpage-color.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage-color.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-cbt.c -fPIC -DPIC -o .libs/libescpr_la-epson-cbt.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpage.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpr-pm.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-pm.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpage-comp.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage-comp.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpr-dbg.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-dbg.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-cbt.c -fPIC -DPIC -o .libs/libescpr_la-epson-cbt.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpage-mono.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage-mono.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-net-lpr.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-lpr.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-layout.c -fPIC -DPIC -o .libs/libescpr_la-epson-layout.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpr-services.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-services.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpr-api.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-api.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpr-mem.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-mem.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpage-mono.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage-mono.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-net-raw.lo `test -f 'epson-net-raw.c' || echo './'`epson-net-raw.c In file included from epson-escpage-color.c:22: epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, @@ -829,8 +871,6 @@ 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } | ^~~~ epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpr-api.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-api.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpr-dbg.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-dbg.o epson-escpage-color.c: In function 'RegisterPalette': epson-escpage-color.c:830:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ @@ -867,6 +907,10 @@ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ epson-escpage-color.c: In function 'BandEmit': +In file included from epson-escpage.c:29: +epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, + | ^~~~ epson-escpage-color.c:980:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 980 | strcpy(p, "\x1D""0X"); | ^ @@ -875,14 +919,60 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-cbt.c: In function 'commClose': +epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, + | ^~~~ +epson-cbt.c:654:15: warning: variable 'closePtlState' set but not used [-Wunused-but-set-variable] + 654 | EPS_INT32 closePtlState = 0; + | ^~~~~~~~~~~~~ +epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') +In file included from epson-escpage-mono.c:22: +epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, + | ^~~~ epson-escpage-color.c:981:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 981 | p += strlen(p); | ^ | | | EPS_INT8 * {aka signed char *} +epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, + | ^~~~ +epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, + | ^~~~ +epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') +epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, + | ^~~~ +epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, + | ^~~~ +epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') +epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, + | ^~~~ +epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') +epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, + | ^~~~ +epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') +epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, + | ^~~~~ +epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') +epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } + | ^~~~ +epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') epson-escpage-color.c:984:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 984 | sprintf(p, "\x1D%dY", emitRowCount); | ^ @@ -891,6 +981,17 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, + | ^~~~ +epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') +epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, + | ^~~~~ +epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') +epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } + | ^~~~ epson-escpage-color.c:985:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 985 | p += strlen(p); | ^ @@ -899,6 +1000,7 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') epson-escpage-color.c:989:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 989 | strcpy(p, "\x1D""2;204;0;"); /* Indirectly RGB8, palett=0 */ | ^ @@ -912,9 +1014,20 @@ | ^ | | | EPS_INT8 * {aka signed char *} +epson-escpage.c:69:49: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 69 | { EPS_MTID_PLAIN, "NM" } + | ^~~~ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-escpage.c:69:49: note: (near initialization for 'pageMediaType[0].name') +epson-escpage.c:74:33: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 74 | { EPS_MPID_NOT_SPEC, "AU" }, + | ^~~~ +epson-escpage.c:74:33: note: (near initialization for 'pagePaperSource[0].name') +epson-escpage.c:75:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 75 | { EPS_MPID_AUTO, "AU" }, + | ^~~~ epson-escpage-color.c:993:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 993 | p += strlen(p); | ^ @@ -923,6 +1036,15 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpage.c:75:41: note: (near initialization for 'pagePaperSource[1].name') +epson-escpage.c:76:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 76 | { EPS_MPID_MPTRAY, "MP" }, + | ^~~~ +epson-escpage.c:76:41: note: (near initialization for 'pagePaperSource[2].name') +epson-escpage.c:77:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 77 | { EPS_MPID_FRONT1, "LC1" }, + | ^~~~~ +epson-escpage.c:77:41: note: (near initialization for 'pagePaperSource[3].name') epson-escpage-color.c:997:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 997 | strcpy(p, "20;"); | ^ @@ -931,6 +1053,14 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-escpage.c:78:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 78 | { EPS_MPID_FRONT2, "LC2" }, + | ^~~~~ +epson-escpage.c:78:41: note: (near initialization for 'pagePaperSource[4].name') +epson-escpage.c:79:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 79 | { EPS_MPID_FRONT3, "LC3" }, + | ^~~~~ +epson-escpage.c:79:41: note: (near initialization for 'pagePaperSource[5].name') epson-escpage-color.c:1001:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1001 | strcpy(p, "0;"); | ^ @@ -939,6 +1069,11 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-escpage.c:80:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 80 | { EPS_MPID_FRONT4, "LC4" } + | ^~~~~ +epson-escpage.c:80:41: note: (near initialization for 'pagePaperSource[6].name') +epson-escpr-pm.c: In function '_SP_ChangeSpec_UpdatePMReply': epson-escpage-color.c:1004:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1004 | p += strlen(p); | ^ @@ -947,6 +1082,17 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-pm.c:957:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 957 | if( (strcmp(printer->modelName, "E-300" ) == 0) ){ + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-pm.c:24: +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage-color.c:1006:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1006 | sprintf(p, "%d;%d;%d;%d;0%s", pBand->currentWidthInPixels, pBand->rasterRow, | ^ @@ -963,6 +1109,14 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-pm.c:960:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 960 | } else if( (strcmp(printer->modelName, "E-500" ) == 0) || + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage-color.c:1014:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); | ^ @@ -971,11 +1125,22 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-escpr-pm.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-pm.o -epson-cbt.c: In function 'commClose': -epson-cbt.c:654:15: warning: variable 'closePtlState' set but not used [-Wunused-but-set-variable] - 654 | EPS_INT32 closePtlState = 0; - | ^~~~~~~~~~~~~ +epson-escpr-pm.c:961:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 961 | (strcmp(printer->modelName, "E-700" ) == 0) ) { + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-pm.c:964:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 964 | } else if( (strcmp(printer->modelName, "PictureMate PM 200" ) == 0) || + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage-color.c:1014:28: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); | ^~~~~ @@ -984,25 +1149,77 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-pm.c:965:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 965 | (strcmp(printer->modelName, "PictureMate PM 210" ) == 0) ){ + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage-color.c:1014:28: warning: format string is not an array of type 'char' [-Wformat=] 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); | ^~~~~ +epson-escpage-mono.c: In function 'BandEmit': +epson-escpr-pm.c:968:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 968 | } else if( (strcmp(printer->modelName, "PictureMate PM 240" ) == 0) || + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} epson-escpage-color.c:1015:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1015 | p += strlen(p); | ^ | | | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-pm.c:969:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 969 | (strcmp(printer->modelName, "PictureMate PM 250" ) == 0) || + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpage-mono.c:995:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 995 | sprintf(p, "\x1D%dY", iRow); + | ^ + | | + | EPS_INT8 * {aka signed char *} epson-escpage-color.c:1027:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1027 | sprintf(p, "\x1D""%d;%d%s", pBand->scanDataSize, pBand->rasterRow, sbCUI); | ^ | | | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:502, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-err.h:29, + from epson-escpage-mono.c:19: /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpr-pm.c:970:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 970 | (strcmp(printer->modelName, "PictureMate PM 280" ) == 0) ){ + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpage-mono.c:996:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 996 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} epson-escpage-color.c:1028:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1028 | p += strlen(p); | ^ @@ -1011,7 +1228,125 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -In file included from epson-escpage.c:29: +In file included from epson-typedefs.h:30: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage-mono.c:1002:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1002 | sprintf(p, sbBID, iNByte, iNDot); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpr-pm.c:1075:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1075 | if ((strcmp(printer->modelName, "Stylus Photo R380" ) == 0) || + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpage-mono.c:1002:20: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] + 1002 | sprintf(p, sbBID, iNByte, iNDot); + | ^~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpr-pm.c:1076:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1076 | (strcmp(printer->modelName, "Stylus Photo RX580") == 0) ) { + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpage-mono.c:1002:20: warning: format string is not an array of type 'char' [-Wformat=] + 1002 | sprintf(p, sbBID, iNByte, iNDot); + | ^~~~~ +epson-escpage.c: In function 'ejlStart': +epson-net-lpr.c: In function 'StartDataSession': +epson-escpage-mono.c:1003:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1003 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-lpr.c:860:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 860 | sprintf(buffer, "\x02%s\n", pqueue); + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:502, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-def.h:29, + from epson-net-lpr.c:40: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpage.c:1001:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1001 | sprintf(p, "%s%s \x0A%s\x0A%s %s", + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-net-lpr.c:863:76: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 863 | if( epsNetFnc.send(lprPrintJob->socData, buffer, (EPS_INT32)strlen(buffer), EPSNET_SEND_TIMEOUT) + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from /usr/include/features.h:502, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-err.h:29, + from epson-escpage.c:19: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-lpr.c:864:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 864 | != (EPS_INT32)strlen(buffer)){ + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage.c:1009:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1009 | sprintf(p, "%s%s \x0A%s\x0A%s%s \x0A%s\x0A%s %s", + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-lpr.c:887:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 887 | sprintf(dname, "dfA%d%s", nJobID, LPR_HOST_NAME); + | ^~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-lpr.c:888:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 888 | sprintf(cname, "cfA%d%s", nJobID, LPR_HOST_NAME); + | ^~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +In file included from epson-escpr-api.c:72: epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, | ^~~~ @@ -1020,6 +1355,11 @@ 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, | ^~~~ epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.c:1019:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1019 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, | ^~~~ @@ -1040,68 +1380,39 @@ 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } | ^~~~ epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') -epson-escpage.c:69:49: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 69 | { EPS_MTID_PLAIN, "NM" } - | ^~~~ -epson-escpage.c:69:49: note: (near initialization for 'pageMediaType[0].name') -epson-escpage.c:74:33: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 74 | { EPS_MPID_NOT_SPEC, "AU" }, - | ^~~~ -epson-escpage.c:74:33: note: (near initialization for 'pagePaperSource[0].name') -epson-escpage.c:75:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 75 | { EPS_MPID_AUTO, "AU" }, - | ^~~~ -epson-escpage.c:75:41: note: (near initialization for 'pagePaperSource[1].name') -epson-escpage.c:76:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 76 | { EPS_MPID_MPTRAY, "MP" }, - | ^~~~ -epson-escpage.c:76:41: note: (near initialization for 'pagePaperSource[2].name') -epson-escpage.c:77:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 77 | { EPS_MPID_FRONT1, "LC1" }, - | ^~~~~ -epson-escpage.c:77:41: note: (near initialization for 'pagePaperSource[3].name') -epson-escpage.c:78:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 78 | { EPS_MPID_FRONT2, "LC2" }, - | ^~~~~ -epson-escpage.c:78:41: note: (near initialization for 'pagePaperSource[4].name') -epson-escpage.c:79:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 79 | { EPS_MPID_FRONT3, "LC3" }, - | ^~~~~ -epson-escpage.c:79:41: note: (near initialization for 'pagePaperSource[5].name') -epson-escpage.c:80:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 80 | { EPS_MPID_FRONT4, "LC4" } - | ^~~~~ -epson-escpage.c:80:41: note: (near initialization for 'pagePaperSource[6].name') -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-layout.c -fPIC -DPIC -o .libs/libescpr_la-epson-layout.o -epson-escpage.c: In function 'ejlStart': -epson-escpage.c:1001:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1001 | sprintf(p, "%s%s \x0A%s\x0A%s %s", - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:502, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-err.h:29, - from epson-escpage.c:19: +epson-net-lpr.c:889:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 889 | sprintf(controlfile, "H%s\nP%s\nv%s\nU%s\nN%s\n", + | ^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpage.c:1009:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1009 | sprintf(p, "%s%s \x0A%s\x0A%s%s \x0A%s\x0A%s %s", - | ^ - | | - | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-lpr.c:891:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 891 | sprintf(buffer, "\x02%d %s\n", (EPS_UINT32)strlen(controlfile), cname); + | ^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-lpr.c:891:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 891 | sprintf(buffer, "\x02%d %s\n", (EPS_UINT32)strlen(controlfile), cname); + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpage.c:1019:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1019 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30: +epson-net-lpr.c:894:76: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 894 | if( epsNetFnc.send(lprPrintJob->socData, buffer, (EPS_INT32)strlen(buffer), EPSNET_SEND_TIMEOUT) + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ @@ -1113,297 +1424,33 @@ epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' 983 | sprintf(b, " %s=%s", p, v); \ | ^ -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpr-services.c: In function 'serParseDeviceID': -epson-escpr-services.c:149:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 149 | if((i = strstr(deviceIDString, "MFG:")) != NULL) { - | ^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-services.c:30: -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:149:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 149 | if((i = strstr(deviceIDString, "MFG:")) != NULL) { - | ^ -epson-escpr-services.c:151:31: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 151 | } else if((i = strstr(deviceIDString, "MANUFACTURER:")) != NULL) { - | ^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:151:22: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 151 | } else if((i = strstr(deviceIDString, "MANUFACTURER:")) != NULL) { - | ^ -epson-escpr-services.c:173:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 173 | if((strncmp(i, "EPSON", 5) != 0) && (strncmp(i, "Epson", 5) != 0) ){ - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:173:54: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 173 | if((strncmp(i, "EPSON", 5) != 0) && (strncmp(i, "Epson", 5) != 0) ){ - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:180:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 180 | if(strlen(i) < 64) { - | ^ - | | - | EPS_INT8 * {aka signed char *} +epson-net-lpr.c:895:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 895 | != (EPS_INT32)strlen(buffer)){ + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-services.c:181:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 181 | strcpy(manufacturer, i); /* If the name is OK, copy the whole string as-is */ - | ^~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:502, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpr-services.c:181:46: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 181 | strcpy(manufacturer, i); /* If the name is OK, copy the whole string as-is */ - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpr-services.c:196:32: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 196 | if((i = strstr(deviceIDString, "MDL:")) != NULL) { - | ^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:196:23: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 196 | if((i = strstr(deviceIDString, "MDL:")) != NULL) { - | ^ -epson-escpr-services.c:198:39: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 198 | } else if((i = strstr(deviceIDString, "MODEL:")) != NULL) { - | ^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:198:30: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 198 | } else if((i = strstr(deviceIDString, "MODEL:")) != NULL) { - | ^ -epson-escpr-services.c:223:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 223 | if(strlen(i) < 64) { - | ^ - | | - | EPS_INT8 * {aka signed char *} +epson-net-lpr.c:912:81: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 912 | if( epsNetFnc.send(lprPrintJob->socData, controlfile, (EPS_INT32)strlen(controlfile) + 1, EPSNET_SEND_TIMEOUT) + | ^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-services.c:224:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 224 | strcpy(modelName, i); /* If the name is OK, copy the whole string as-is */ - | ^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpr-services.c:224:43: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 224 | strcpy(modelName, i); /* If the name is OK, copy the whole string as-is */ - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpr-services.c:238:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 238 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { - | ^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:238:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 238 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { - | ^ -epson-escpr-services.c:259:32: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 259 | if((k = strstr(i, ",")) != NULL) { - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:259:23: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 259 | if((k = strstr(i, ",")) != NULL) { - | ^ -epson-escpr-services.c:263:32: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 263 | if((p = strstr(i, "ESCPR")) != NULL) { - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:263:23: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 263 | if((p = strstr(i, "ESCPR")) != NULL) { - | ^ -epson-escpr-services.c:266:41: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] - 266 | sscanf(p+5, "%d", cmdLevel); - | ~^~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/stdio.h:428:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 428 | extern int sscanf (const char *__restrict __s, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -epson-escpr-services.c:271:34: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 271 | } else if(strstr(i, "ESCPAGECOLOR") != NULL) { - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:278:34: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 278 | } else if(strstr(i, "ESCPAGE") != NULL) { - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:279:35: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 279 | if(strstr(i, "ESCPAGES") == NULL) { - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:332:32: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 332 | if((i = strstr(deviceIDString, "ELG:")) != NULL) { - | ^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:332:23: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 332 | if((i = strstr(deviceIDString, "ELG:")) != NULL) { - | ^ -epson-escpr-services.c:350:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 350 | if(strlen(i) <= 4) { - | ^ - | | - | EPS_INT8 * {aka signed char *} +epson-net-lpr.c:913:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 913 | != (EPS_INT32)strlen(controlfile)+1){ /* Send '\0' */ + | ^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-services.c:351:32: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] - 351 | sscanf(i, "%x", errorID); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/stdio.h:428:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 428 | extern int sscanf (const char *__restrict __s, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -epson-escpr-services.c: In function 'serCheckLang': -epson-escpr-services.c:383:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 383 | if( (strncmp(langString, "ESC-P/R", 7) == 0) ){ - | ^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c: In function 'serAnalyzeStatus': -epson-escpr-services.c:437:40: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 437 | if((Field = (EPS_UINT8*)strstr(Status,"ST2")) == NULL ){ - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-net-lpr.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-lpr.o -epson-escpr-services.c: In function 'serGetSerialNo': -epson-escpr-services.c:803:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 803 | p = strstr(cdBuff, "cd:"); - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c:803:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 803 | p = strstr(cdBuff, "cd:"); - | ^ -epson-escpr-services.c:809:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 809 | if( 0 == strncmp(p, "NA", 2) || 0 == strncmp(p, "BUSY", 4)){ - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:809:54: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 809 | if( 0 == strncmp(p, "NA", 2) || 0 == strncmp(p, "BUSY", 4)){ - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:788:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 788 | strncpy(serialNo, p+POS, LEN); \ - | ^~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-escpr-services.c:831:17: note: in expansion of macro 'EPS_GET_SERIAL' - 831 | EPS_GET_SERIAL(31, 10) - | ^~~~~~~~~~~~~~ -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -epson-escpr-services.c:788:44: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 788 | strncpy(serialNo, p+POS, LEN); \ - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpr-services.c:831:17: note: in expansion of macro 'EPS_GET_SERIAL' - 831 | EPS_GET_SERIAL(31, 10) - | ^~~~~~~~~~~~~~ -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -epson-escpr-services.c:788:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 788 | strncpy(serialNo, p+POS, LEN); \ - | ^~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-escpr-services.c:836:17: note: in expansion of macro 'EPS_GET_SERIAL' - 836 | EPS_GET_SERIAL(46, 10) - | ^~~~~~~~~~~~~~ -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ epson-escpage.c:1022:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1022 | EJLStart_ADDSTR(p, "RS", | ^ @@ -1415,6 +1462,30 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-net-lpr.c:935:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 935 | sprintf(buffer, "\x03%s %s\n", LPR_DUMMY_DATA_SIZE, dname); + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-lpr.c:938:76: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 938 | if( epsNetFnc.send(lprPrintJob->socData, buffer, (EPS_INT32)strlen(buffer), EPSNET_SEND_TIMEOUT) + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-lpr.c:939:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 939 | != (EPS_INT32)strlen(buffer)){ + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-escpage.c:1031:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1031 | EJLStart_ADDSTR(p, "PS", pageMediaSize[i].name); | ^ @@ -1434,9 +1505,54 @@ epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' 984 | b += strlen(b); \ | ^ +epson-escpr-mem.c: In function 'memStrStr': +epson-escpr-mem.c:149:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 149 | if(NULL == strSrc || 64 <= strlen(strFind)){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-escpr-mem.c:34: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-mem.c:189:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 189 | nFindStrLen = (EPS_UINT32)strlen(strFind); + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-mem.c:190:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 190 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-mem.c: In function 'memStrStrWithLen': +epson-escpr-mem.c:234:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 234 | if(NULL == strSrc || 64 <= strlen(strFind)){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-mem.c:273:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 273 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-escpage.c:1039:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1039 | EJLStart_ADDSTR(p, "PK", pageMediaType[i].name); | ^ @@ -1456,36 +1572,6 @@ epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' 984 | b += strlen(b); \ | ^ -epson-escpr-services.c:788:44: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 788 | strncpy(serialNo, p+POS, LEN); \ - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpr-services.c:836:17: note: in expansion of macro 'EPS_GET_SERIAL' - 836 | EPS_GET_SERIAL(46, 10) - | ^~~~~~~~~~~~~~ -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -epson-escpr-services.c: In function 'serGetSerialNoFormST': -epson-escpr-services.c:863:40: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 863 | if((Field = (EPS_UINT8*)strstr(Status,"ST2")) == NULL ){ - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c: In function 'serGetSupplyInfo': -epson-escpr-services.c:935:40: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 935 | if((Field = (EPS_UINT8*)strstr((EPS_INT8*)Status, "ST2")) == NULL ){ - | ^~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpr-services.c: In function 'obsGetPageMode': /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ @@ -1533,148 +1619,6 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c: In function 'memStrStr': -epson-escpr-mem.c:149:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 149 | if(NULL == strSrc || 64 <= strlen(strFind)){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-escpr-mem.c:34: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c:189:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 189 | nFindStrLen = (EPS_UINT32)strlen(strFind); - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c:190:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 190 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c: In function 'memStrStrWithLen': -epson-escpr-mem.c:234:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 234 | if(NULL == strSrc || 64 <= strlen(strFind)){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c:273:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 273 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-services.c:1324:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1324 | if( (strcmp(modelName, "EP-801A" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from epson-escpage-mono.c:22: -epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, - | ^~~~ -epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, - | ^~~~ -epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, - | ^~~~ -epson-escpr-services.c:1325:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1325 | (strcmp(modelName, "Artisan 700" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, - | ^~~~ -epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, - | ^~~~ -epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, - | ^~~~~ -epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } - | ^~~~ -epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') -epson-escpr-services.c:1326:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1326 | (strcmp(modelName, "Stylus Photo TX700W" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1327:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1327 | (strcmp(modelName, "Stylus Photo PX700W" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1328:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1328 | (strcmp(modelName, "EP-901F" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1329:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1329 | (strcmp(modelName, "EP-901A" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1330:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1330 | (strcmp(modelName, "Artisan 800" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from epson-escpr-api.c:72: -epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, - | ^~~~ -epson-escpr-services.c:1331:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1331 | (strcmp(modelName, "Stylus Photo PX800FW") == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ epson-escpage.c:1057:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1057 | EJLStart_ADDSTR(p, "DX", ( printJob.attr.duplex != EPS_DUPLEX_NONE )?"ON":"OFF"); | ^ @@ -1686,15 +1630,6 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpr-services.c:1332:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1332 | (strcmp(modelName, "Stylus Photo TX800FW") == 0) ) - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c: In function 'obsIsA3Model': epson-escpage.c:1057:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1057 | EJLStart_ADDSTR(p, "DX", ( printJob.attr.duplex != EPS_DUPLEX_NONE )?"ON":"OFF"); | ^ @@ -1706,22 +1641,6 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-services.c:1351:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1351 | if( (strcmp(modelName, "PX-5V" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1352:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1352 | (strcmp(modelName, "Epson Stylus Photo R3000") == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ epson-escpage.c:1061:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1061 | EJLStart_ADDSTR(p, "BD", ( printJob.attr.duplex == EPS_DUPLEX_LONG )?"LE":"SE"); | ^ @@ -1733,14 +1652,6 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpr-services.c:1353:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1353 | (strcmp(modelName, "PX-7V" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ epson-escpage.c:1061:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1061 | EJLStart_ADDSTR(p, "BD", ( printJob.attr.duplex == EPS_DUPLEX_LONG )?"LE":"SE"); | ^ @@ -1752,22 +1663,6 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-services.c:1354:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1354 | (strcmp(modelName, "Epson Stylus Photo R2000") == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1355:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1355 | (strcmp(modelName, "EP-4004" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ epson-escpage.c:1064:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1064 | EJLStart_ADDSTR(p, "TB", "0"); | ^ @@ -1779,147 +1674,6 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpr-services.c:1356:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1356 | (strcmp(modelName, "Artisan 1430" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpage-mono.c: In function 'BandEmit': -epson-escpage-mono.c:995:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 995 | sprintf(p, "\x1D%dY", iRow); - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:502, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-err.h:29, - from epson-escpage-mono.c:19: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-mono.c:996:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 996 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage-mono.c:1002:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1002 | sprintf(p, sbBID, iNByte, iNDot); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-mono.c:1002:20: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] - 1002 | sprintf(p, sbBID, iNByte, iNDot); - | ^~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-mono.c:1002:20: warning: format string is not an array of type 'char' [-Wformat=] - 1002 | sprintf(p, sbBID, iNByte, iNDot); - | ^~~~~ -epson-escpage-mono.c:1003:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1003 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, - | ^~~~ -epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, - | ^~~~ -epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') -epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, - | ^~~~ -epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, - | ^~~~ -epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, - | ^~~~~ -epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } - | ^~~~ -epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') -epson-escpr-services.c:1357:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1357 | (strcmp(modelName, "Epson Stylus Photo 1430") == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1358:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1358 | (strcmp(modelName, "Epson Stylus Photo 1500") == 0) ) - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1363:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1363 | if( (strcmp(modelName, "PX-5V" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1364:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1364 | (strcmp(modelName, "Epson Stylus Photo R3000") == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1365:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1365 | (strcmp(modelName, "PX-7V" ) == 0) || - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1366:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1366 | (strcmp(modelName, "Epson Stylus Photo R2000") == 0) ) - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c: In function 'obsEnableDuplex': -epson-escpr-services.c:1399:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1399 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ epson-escpage.c:1064:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1064 | EJLStart_ADDSTR(p, "TB", "0"); | ^ @@ -1942,6 +1696,18 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c: In function 'serParseDeviceID': +epson-escpr-services.c:149:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 149 | if((i = strstr(deviceIDString, "MFG:")) != NULL) { + | ^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-services.c:30: +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ epson-escpage.c:1065:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1065 | EJLStart_ADDSTR(p, "LB", "0"); | ^ @@ -1953,6 +1719,72 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:149:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 149 | if((i = strstr(deviceIDString, "MFG:")) != NULL) { + | ^ +epson-escpr-services.c:151:31: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 151 | } else if((i = strstr(deviceIDString, "MANUFACTURER:")) != NULL) { + | ^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-escpr-services.c:151:22: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 151 | } else if((i = strstr(deviceIDString, "MANUFACTURER:")) != NULL) { + | ^ +epson-escpr-services.c:173:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 173 | if((strncmp(i, "EPSON", 5) != 0) && (strncmp(i, "Epson", 5) != 0) ){ + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +epson-escpr-services.c:173:54: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 173 | if((strncmp(i, "EPSON", 5) != 0) && (strncmp(i, "Epson", 5) != 0) ){ + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +epson-escpr-services.c:180:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 180 | if(strlen(i) < 64) { + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:181:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 181 | strcpy(manufacturer, i); /* If the name is OK, copy the whole string as-is */ + | ^~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:502, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpr-services.c:181:46: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 181 | strcpy(manufacturer, i); /* If the name is OK, copy the whole string as-is */ + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpr-services.c:196:32: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 196 | if((i = strstr(deviceIDString, "MDL:")) != NULL) { + | ^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ epson-escpage.c:1069:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1069 | EJLStart_ADDSTR(p, "ZO", "OFF"); | ^ @@ -1964,6 +1796,55 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:196:23: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 196 | if((i = strstr(deviceIDString, "MDL:")) != NULL) { + | ^ +epson-escpr-services.c:198:39: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 198 | } else if((i = strstr(deviceIDString, "MODEL:")) != NULL) { + | ^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-escpr-services.c:198:30: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 198 | } else if((i = strstr(deviceIDString, "MODEL:")) != NULL) { + | ^ +epson-escpr-services.c:223:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 223 | if(strlen(i) < 64) { + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:224:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 224 | strcpy(modelName, i); /* If the name is OK, copy the whole string as-is */ + | ^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpr-services.c:224:43: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 224 | strcpy(modelName, i); /* If the name is OK, copy the whole string as-is */ + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpr-services.c:238:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 238 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { + | ^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-escpr-services.c:238:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 238 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { + | ^ epson-escpage.c:1069:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1069 | EJLStart_ADDSTR(p, "ZO", "OFF"); | ^ @@ -1975,32 +1856,28 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-net-raw.lo `test -f 'epson-net-raw.c' || echo './'`epson-net-raw.c -epson-escpr-services.c:1399:65: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1399 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ - | ~~~~~~~~~~~~~~~~~~^~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c: In function 'obsEnableAutoFeed': -epson-escpr-services.c:1418:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1418 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1418:57: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1418 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ - | ~~~~~~~~~~~~~~~~~~^~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +epson-escpr-services.c:259:32: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 259 | if((k = strstr(i, ",")) != NULL) { + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-escpr-services.c:259:23: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 259 | if((k = strstr(i, ",")) != NULL) { + | ^ +epson-escpr-services.c:263:32: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 263 | if((p = strstr(i, "ESCPR")) != NULL) { + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-escpr-services.c:263:23: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 263 | if((p = strstr(i, "ESCPR")) != NULL) { + | ^ epson-escpage.c:1072:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1072 | EJLStart_ADDSTR(p, "EC", "ON" ); | ^ @@ -2012,6 +1889,22 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:266:41: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] + 266 | sscanf(p+5, "%d", cmdLevel); + | ~^~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/stdio.h:428:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 428 | extern int sscanf (const char *__restrict __s, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +epson-escpr-services.c:271:34: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 271 | } else if(strstr(i, "ESCPAGECOLOR") != NULL) { + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ epson-escpage.c:1072:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1072 | EJLStart_ADDSTR(p, "EC", "ON" ); | ^ @@ -2023,6 +1916,27 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:278:34: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 278 | } else if(strstr(i, "ESCPAGE") != NULL) { + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-escpr-services.c:279:35: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 279 | if(strstr(i, "ESCPAGES") == NULL) { + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-escpr-services.c:332:32: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 332 | if((i = strstr(deviceIDString, "ELG:")) != NULL) { + | ^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} epson-escpage.c:1076:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1076 | EJLStart_ADDSTR(p, "RI", "ON"); | ^ @@ -2034,6 +1948,25 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-escpr-services.c:332:23: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 332 | if((i = strstr(deviceIDString, "ELG:")) != NULL) { + | ^ +epson-escpr-services.c:350:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 350 | if(strlen(i) <= 4) { + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:351:32: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] + 351 | sscanf(i, "%x", errorID); + | ^ + | | + | EPS_INT8 * {aka signed char *} epson-escpage.c:1076:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1076 | EJLStart_ADDSTR(p, "RI", "ON"); | ^ @@ -2045,6 +1978,15 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +/usr/include/stdio.h:428:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 428 | extern int sscanf (const char *__restrict __s, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +epson-escpr-services.c: In function 'serCheckLang': +epson-escpr-services.c:383:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 383 | if( (strncmp(langString, "ESC-P/R", 7) == 0) ){ + | ^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} epson-escpage.c:1085:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1085 | EJLStart_ADDSTR(p, "SN", "OFF"); | ^ @@ -2053,93 +1995,21 @@ epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' 983 | sprintf(b, " %s=%s", p, v); \ | ^ +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpr-pm.c: In function '_SP_ChangeSpec_UpdatePMReply': -epson-escpr-pm.c:957:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 957 | if( (strcmp(printer->modelName, "E-300" ) == 0) ){ - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-pm.c:24: -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:960:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 960 | } else if( (strcmp(printer->modelName, "E-500" ) == 0) || - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:961:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 961 | (strcmp(printer->modelName, "E-700" ) == 0) ) { - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:964:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 964 | } else if( (strcmp(printer->modelName, "PictureMate PM 200" ) == 0) || - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:965:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 965 | (strcmp(printer->modelName, "PictureMate PM 210" ) == 0) ){ - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:968:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 968 | } else if( (strcmp(printer->modelName, "PictureMate PM 240" ) == 0) || - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:969:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 969 | (strcmp(printer->modelName, "PictureMate PM 250" ) == 0) || - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:970:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 970 | (strcmp(printer->modelName, "PictureMate PM 280" ) == 0) ){ - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:1075:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1075 | if ((strcmp(printer->modelName, "Stylus Photo R380" ) == 0) || - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:1076:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1076 | (strcmp(printer->modelName, "Stylus Photo RX580") == 0) ) { - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +epson-escpr-services.c: In function 'serAnalyzeStatus': +epson-escpr-services.c:437:40: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 437 | if((Field = (EPS_UINT8*)strstr(Status,"ST2")) == NULL ){ + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ epson-escpage.c:1085:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1085 | EJLStart_ADDSTR(p, "SN", "OFF"); | ^ @@ -2162,6 +2032,7 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c: In function 'serGetSerialNo': epson-escpage.c:1098:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1098 | EJLStart_ADDINT(p, "CO", printJob.attr.copies); | ^ @@ -2173,6 +2044,17 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:803:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 803 | p = strstr(cdBuff, "cd:"); + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-escpr-services.c:803:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 803 | p = strstr(cdBuff, "cd:"); + | ^ epson-escpage.c:1100:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1100 | EJLStart_ADDINT(p, "QT", 1); | ^ @@ -2184,6 +2066,22 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:809:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 809 | if( 0 == strncmp(p, "NA", 2) || 0 == strncmp(p, "BUSY", 4)){ + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +epson-escpr-services.c:809:54: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 809 | if( 0 == strncmp(p, "NA", 2) || 0 == strncmp(p, "BUSY", 4)){ + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1100:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1100 | EJLStart_ADDINT(p, "QT", 1); | ^ @@ -2195,6 +2093,17 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:788:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 788 | strncpy(serialNo, p+POS, LEN); \ + | ^~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-escpr-services.c:831:17: note: in expansion of macro 'EPS_GET_SERIAL' + 831 | EPS_GET_SERIAL(31, 10) + | ^~~~~~~~~~~~~~ +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ epson-escpage.c:1105:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1105 | EJLStart_ADDSTR(p, "FE", "SE"); | ^ @@ -2206,6 +2115,20 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:788:44: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 788 | strncpy(serialNo, p+POS, LEN); \ + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpr-services.c:831:17: note: in expansion of macro 'EPS_GET_SERIAL' + 831 | EPS_GET_SERIAL(31, 10) + | ^~~~~~~~~~~~~~ +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-escpr-api.c:4477:16: warning: 'MakePageNumCmd' defined but not used [-Wunused-function] + 4477 | static void MakePageNumCmd ( + | ^~~~~~~~~~~~~~ epson-escpage.c:1105:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1105 | EJLStart_ADDSTR(p, "FE", "SE"); | ^ @@ -2214,9 +2137,26 @@ epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' 984 | b += strlen(b); \ | ^ +epson-escpr-api.c:247:24: warning: 'CustomCmd' defined but not used [-Wunused-const-variable=] + 247 | static const EPS_UINT8 CustomCmd[] = { + | ^~~~~~~~~ +epson-escpr-api.c:234:24: warning: 'PrintNumCmd' defined but not used [-Wunused-const-variable=] + 234 | static const EPS_UINT8 PrintNumCmd[] = { + | ^~~~~~~~~~~ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:788:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 788 | strncpy(serialNo, p+POS, LEN); \ + | ^~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-escpr-services.c:836:17: note: in expansion of macro 'EPS_GET_SERIAL' + 836 | EPS_GET_SERIAL(46, 10) + | ^~~~~~~~~~~~~~ +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ epson-escpage.c:1111:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1111 | EJLStart_ADDSTR(p, "SZ", "OFF"); | ^ @@ -2228,6 +2168,26 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:788:44: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 788 | strncpy(serialNo, p+POS, LEN); \ + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpr-services.c:836:17: note: in expansion of macro 'EPS_GET_SERIAL' + 836 | EPS_GET_SERIAL(46, 10) + | ^~~~~~~~~~~~~~ +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-escpr-services.c: In function 'serGetSerialNoFormST': +epson-escpr-services.c:863:40: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 863 | if((Field = (EPS_UINT8*)strstr(Status,"ST2")) == NULL ){ + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ epson-escpage.c:1111:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1111 | EJLStart_ADDSTR(p, "SZ", "OFF"); | ^ @@ -2239,6 +2199,15 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c: In function 'serGetSupplyInfo': +epson-escpr-services.c:935:40: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 935 | if((Field = (EPS_UINT8*)strstr((EPS_INT8*)Status, "ST2")) == NULL ){ + | ^~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ epson-escpage.c:1114:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1114 | EJLStart_ADDSTR(p, "GAMMAMODE", "NORMAL"); | ^ @@ -2261,6 +2230,15 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c: In function 'obsGetPageMode': +epson-escpr-services.c:1324:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1324 | if( (strcmp(modelName, "EP-801A" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1117:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1117 | EJLStart_ADDSTR(p, "SL", "YES"); | ^ @@ -2272,6 +2250,14 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:1325:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1325 | (strcmp(modelName, "Artisan 700" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1117:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1117 | EJLStart_ADDSTR(p, "SL", "YES"); | ^ @@ -2283,6 +2269,22 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:1326:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1326 | (strcmp(modelName, "Stylus Photo TX700W" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-services.c:1327:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1327 | (strcmp(modelName, "Stylus Photo PX700W" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1120:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1120 | EJLStart_ADDSTR(p, "TO", "0"); | ^ @@ -2294,6 +2296,14 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:1328:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1328 | (strcmp(modelName, "EP-901F" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1120:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1120 | EJLStart_ADDSTR(p, "TO", "0"); | ^ @@ -2305,6 +2315,22 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:1329:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1329 | (strcmp(modelName, "EP-901A" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-services.c:1330:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1330 | (strcmp(modelName, "Artisan 800" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1123:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1123 | EJLStart_ADDSTR(p, "LO", "0"); | ^ @@ -2316,6 +2342,14 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:1331:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1331 | (strcmp(modelName, "Stylus Photo PX800FW") == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1123:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1123 | EJLStart_ADDSTR(p, "LO", "0"); | ^ @@ -2327,6 +2361,15 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:1332:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1332 | (strcmp(modelName, "Stylus Photo TX800FW") == 0) ) + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-services.c: In function 'obsIsA3Model': epson-escpage.c:1126:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1126 | EJLStart_ADDSTR(p, "OR", "PO"); | ^ @@ -2338,6 +2381,24 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-net-raw.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-raw.o +epson-escpr-services.c:1351:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1351 | if( (strcmp(modelName, "PX-5V" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-services.c:1352:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1352 | (strcmp(modelName, "Epson Stylus Photo R3000") == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-net-snmp.lo `test -f 'epson-net-snmp.c' || echo './'`epson-net-snmp.c epson-escpage.c:1126:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1126 | EJLStart_ADDSTR(p, "OR", "PO"); | ^ @@ -2349,78 +2410,14 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-lpr.c: In function 'StartDataSession': -epson-net-lpr.c:860:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 860 | sprintf(buffer, "\x02%s\n", pqueue); - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:502, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-def.h:29, - from epson-net-lpr.c:40: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-net-lpr.c:863:76: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 863 | if( epsNetFnc.send(lprPrintJob->socData, buffer, (EPS_INT32)strlen(buffer), EPSNET_SEND_TIMEOUT) - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-lpr.c:864:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 864 | != (EPS_INT32)strlen(buffer)){ - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-lpr.c:887:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 887 | sprintf(dname, "dfA%d%s", nJobID, LPR_HOST_NAME); - | ^~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-net-lpr.c:888:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 888 | sprintf(cname, "cfA%d%s", nJobID, LPR_HOST_NAME); - | ^~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-net-lpr.c:889:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 889 | sprintf(controlfile, "H%s\nP%s\nv%s\nU%s\nN%s\n", - | ^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-net-lpr.c:891:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 891 | sprintf(buffer, "\x02%d %s\n", (EPS_UINT32)strlen(controlfile), cname); - | ^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-lpr.c:891:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 891 | sprintf(buffer, "\x02%d %s\n", (EPS_UINT32)strlen(controlfile), cname); - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ +epson-escpr-services.c:1353:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1353 | (strcmp(modelName, "PX-7V" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1129:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1129 | sprintf(p, " %s%s%s", sbEJL_LF, sbEJL_EN_C, sbEJL_LF); | ^ @@ -2429,6 +2426,14 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:1354:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1354 | (strcmp(modelName, "Epson Stylus Photo R2000") == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1132:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1132 | EJLStart_ADDSTR(p, "FO", "OFF"); | ^ @@ -2440,6 +2445,14 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:1355:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1355 | (strcmp(modelName, "EP-4004" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1132:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1132 | EJLStart_ADDSTR(p, "FO", "OFF"); | ^ @@ -2451,6 +2464,14 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:1356:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1356 | (strcmp(modelName, "Artisan 1430" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1135:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1135 | sprintf(p, " %s%s%s", sbEJL_LF, sbEJL_EN, sbEJL_LF); | ^ @@ -2459,6 +2480,14 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:1357:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1357 | (strcmp(modelName, "Epson Stylus Photo 1430") == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1138:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1138 | p += strlen(p); | ^ @@ -2468,6 +2497,14 @@ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ epson-escpage.c: In function 'ejlEnd': +epson-escpr-services.c:1358:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1358 | (strcmp(modelName, "Epson Stylus Photo 1500") == 0) ) + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1165:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1165 | sprintf(p, "%s%s ", | ^ @@ -2476,71 +2513,14 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-lpr.c:894:76: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 894 | if( epsNetFnc.send(lprPrintJob->socData, buffer, (EPS_INT32)strlen(buffer), EPSNET_SEND_TIMEOUT) - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-lpr.c:895:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 895 | != (EPS_INT32)strlen(buffer)){ - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-lpr.c:912:81: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 912 | if( epsNetFnc.send(lprPrintJob->socData, controlfile, (EPS_INT32)strlen(controlfile) + 1, EPSNET_SEND_TIMEOUT) - | ^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-lpr.c:913:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 913 | != (EPS_INT32)strlen(controlfile)+1){ /* Send '\0' */ - | ^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-lpr.c:935:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 935 | sprintf(buffer, "\x03%s %s\n", LPR_DUMMY_DATA_SIZE, dname); - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-net-lpr.c:938:76: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 938 | if( epsNetFnc.send(lprPrintJob->socData, buffer, (EPS_INT32)strlen(buffer), EPSNET_SEND_TIMEOUT) - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-lpr.c:939:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 939 | != (EPS_INT32)strlen(buffer)){ - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-api.c:4477:16: warning: 'MakePageNumCmd' defined but not used [-Wunused-function] - 4477 | static void MakePageNumCmd ( - | ^~~~~~~~~~~~~~ -epson-escpr-api.c:247:24: warning: 'CustomCmd' defined but not used [-Wunused-const-variable=] - 247 | static const EPS_UINT8 CustomCmd[] = { - | ^~~~~~~~~ -epson-escpr-api.c:234:24: warning: 'PrintNumCmd' defined but not used [-Wunused-const-variable=] - 234 | static const EPS_UINT8 PrintNumCmd[] = { - | ^~~~~~~~~~~ +epson-escpr-services.c:1363:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1363 | if( (strcmp(modelName, "PX-5V" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1168:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1168 | p += strlen(p); | ^ @@ -2549,6 +2529,14 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:1364:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1364 | (strcmp(modelName, "Epson Stylus Photo R3000") == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1174:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1174 | sprintf(p, "JI PAGES=\"%d\"", dwPaperNum); | ^ @@ -2557,6 +2545,14 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:1365:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1365 | (strcmp(modelName, "PX-7V" ) == 0) || + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1175:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1175 | p += strlen(p); | ^ @@ -2565,6 +2561,14 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:1366:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1366 | (strcmp(modelName, "Epson Stylus Photo R2000") == 0) ) + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1178:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1178 | sprintf(p, " %s%s %s", sbEJL_LF, sbEJL, sbEJL_LF); | ^ @@ -2573,6 +2577,7 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c: In function 'obsEnableDuplex': epson-escpage.c:1179:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1179 | p += strlen(p); | ^ @@ -2582,6 +2587,14 @@ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ epson-escpage.c: In function 'ejlPageEsc': +epson-escpr-services.c:1399:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1399 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1210:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); | ^ @@ -2590,6 +2603,15 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:1399:65: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1399 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ + | ~~~~~~~~~~~~~~~~~~^~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-services.c: In function 'obsEnableAutoFeed': epson-escpage.c:1210:20: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); | ^~~~~ @@ -2598,6 +2620,14 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:1418:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1418 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1210:20: warning: format string is not an array of type 'char' [-Wformat=] 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); | ^~~~~ @@ -2606,9 +2636,17 @@ | ^ | | | EPS_INT8 * {aka signed char *} +epson-escpr-services.c:1418:57: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1418 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ + | ~~~~~~~~~~~~~~~~~~^~~ + | | + | EPS_INT8 * {aka signed char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1218:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); | ^ @@ -2636,12 +2674,9 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-net-snmp.lo `test -f 'epson-net-snmp.c' || echo './'`epson-net-snmp.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-protocol.lo `test -f 'epson-protocol.c' || echo './'`epson-protocol.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-usb.lo `test -f 'epson-usb.c' || echo './'`epson-usb.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-net-raw.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-raw.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-protocol.lo `test -f 'epson-protocol.c' || echo './'`epson-protocol.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-net-snmp.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-snmp.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-protocol.c -fPIC -DPIC -o .libs/libescpr_la-epson-protocol.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o libescpr_la-epson-usb.lo `test -f 'epson-usb.c' || echo './'`epson-usb.c epson-net-snmp.c: In function 'snmpFindStart': epson-net-snmp.c:68:41: warning: pointer targets in passing argument 3 of 'CreateCommand' differ in signedness [-Wpointer-sign] 68 | #define SNMP_COMMUNITY_STR "public" @@ -2778,7 +2813,6 @@ epson-net-snmp.h:122:102: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, | ^~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-usb.c -fPIC -DPIC -o .libs/libescpr_la-epson-usb.o epson-net-snmp.c:68:41: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] 68 | #define SNMP_COMMUNITY_STR "public" | ^~~~~~~~ @@ -3014,6 +3048,289 @@ epson-net-snmp.h:122:102: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, | ^~~~~~~~~~~~~~~ +epson-net-snmp.c: In function 'SnmpWalkMib': +epson-net-snmp.c:1721:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1721 | strcpy(orgObjID, oid); + | ^~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:1721:34: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1721 | strcpy(orgObjID, oid); + | ^~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:1722:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1722 | strcpy(nextObjID, oid); + | ^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:1722:35: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1722 | strcpy(nextObjID, oid); + | ^~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:68:41: warning: pointer targets in passing argument 3 of 'CreateCommand' differ in signedness [-Wpointer-sign] + 68 | #define SNMP_COMMUNITY_STR "public" + | ^~~~~~~~ + | | + | char * +epson-net-snmp.c:1726:58: note: in expansion of macro 'SNMP_COMMUNITY_STR' + 1726 | ret = CreateCommand(g_TrnBuff, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, nRqID, &request, 1, &nSize); + | ^~~~~~~~~~~~~~~~~~ +epson-net-snmp.c:204:60: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 204 | static EPS_ERR_CODE CreateCommand (EPS_INT8*, EPS_UINT8, const EPS_INT8*, EPS_INT32, + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c: In function 'SnmpFindRecv': +epson-net-snmp.c:2103:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 2103 | strncpy(infoBuf, pdu.val.v_str, Min(pdu.length, SNMP_MAX_BUF-1)); + | ^~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-protocol.c -fPIC -DPIC -o .libs/libescpr_la-epson-protocol.o +epson-net-snmp.c:2103:33: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 2103 | strncpy(infoBuf, pdu.val.v_str, Min(pdu.length, SNMP_MAX_BUF-1)); + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-net-snmp.c:2114:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 2114 | devIdRes = serParseDeviceID(infoBuf, (EPS_INT32)strlen(infoBuf), + | ^~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-snmp.c:2146:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 2146 | strcpy( (*printer)->location, sFromAdder ); + | ~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:2146:39: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 2146 | strcpy( (*printer)->location, sFromAdder ); + | ^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:2176:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 2176 | if( strcmp(compSysName, (*printer)->macAddress) || + | ^~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:2176:51: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 2176 | if( strcmp(compSysName, (*printer)->macAddress) || + | ~~~~~~~~~~^~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:2177:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 2177 | strcmp(compName, (*printer)->modelName) ){ + | ^~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:2177:52: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 2177 | strcmp(compName, (*printer)->modelName) ){ + | ~~~~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:2216:44: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 2216 | strncpy( (*printer)->friendlyName, pdu.val.v_str, pdu.length); + | ~~~~~~~~~~^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-net-snmp.c:2216:67: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 2216 | strncpy( (*printer)->friendlyName, pdu.val.v_str, pdu.length); + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-net-snmp.c:2218:44: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 2218 | strncpy( (*printer)->friendlyName, pdu.val.v_str, EPS_NAME_BUFFSIZE-2); + | ~~~~~~~~~~^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-net-snmp.c:2218:67: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 2218 | strncpy( (*printer)->friendlyName, pdu.val.v_str, EPS_NAME_BUFFSIZE-2); + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-net-snmp.c:2224:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 2224 | sprintf(idString, EPS_NET_IDPRM_STR, (*printer)->modelName, (*printer)->macAddress); + | ^~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c epson-usb.c -fPIC -DPIC -o .libs/libescpr_la-epson-usb.o +epson-net-snmp.c: In function 'CreateCommand': +epson-net-snmp.c:2309:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 2309 | pPos = snmpMakeStrField(community, (EPS_UINT32)strlen(community), pPos); + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from epson-net-snmp.c:40: +epson-net-snmp.c: In function 'ParseResponse': +epson-net-snmp.c:2514:112: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 2514 | memcpy(pResObjID, response.var->identifire, Min(nResObjIDSize-1, (EPS_INT32)strlen(response.var->identifire))); + | ~~~~~~~~~~~~^~~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +epson-escpr-mem.h:101:28: note: in definition of macro 'Min' + 101 | #define Min(a,b) ( ((a) < (b)) ? (a) : (b)) + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-snmp.c:2514:112: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 2514 | memcpy(pResObjID, response.var->identifire, Min(nResObjIDSize-1, (EPS_INT32)strlen(response.var->identifire))); + | ~~~~~~~~~~~~^~~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +epson-escpr-mem.h:101:41: note: in definition of macro 'Min' + 101 | #define Min(a,b) ( ((a) < (b)) ? (a) : (b)) + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-snmp.c: In function 'OidToStr': +epson-net-snmp.c:3063:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 3063 | sprintf(*pDst, "%d.%d.", *pSrc / 40, *pSrc % 40); + | ^~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:3067:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 3067 | nDstLen = (EPS_UINT16)strlen(*pDst); + | ^~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-snmp.c:3089:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 3089 | sprintf(&(*pDst)[nDstLen], "%d.", nElm); + | ^~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:3091:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 3091 | sprintf(&(*pDst)[nDstLen], "%d.", *(pSrc++)); + | ^~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:3095:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 3095 | nDstLen = (EPS_UINT16)strlen(*pDst) - 1; + | ^~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-snmp.c: In function 'StrToOid': +epson-net-snmp.c:3135:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 3135 | pTmp = (EPS_INT8*)EPS_ALLOC( strlen(pSrc)+1 ); + | ^~~~ + | | + | const EPS_INT8 * {aka const signed char *} +epson-escpr-mem.h:42:61: note: in definition of macro 'EPS_ALLOC' + 42 | #define EPS_ALLOC( s ) epsCmnFnc.memAlloc((EPS_UINT32)(s)) + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-snmp.c:3139:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 3139 | strcpy(pTmp, pSrc); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:3139:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 3139 | strcpy(pTmp, pSrc); + | ^~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:3141:20: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] + 3141 | p = strtok(pTmp, "."); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) + | ~~~~~~~~~~~~~~~~~^~~ +epson-net-snmp.c:3141:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 3141 | p = strtok(pTmp, "."); + | ^ +epson-net-snmp.c:3143:46: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 3143 | pDst[nCnt] = (EPS_INT8)(atoi(p) * 40); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 481 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +epson-net-snmp.c:3148:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 3148 | p = strtok(NULL, "."); + | ^ In file included from epson-protocol.c:45: epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, @@ -3043,6 +3360,17 @@ 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } | ^~~~ epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') +epson-net-snmp.c:3150:47: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 3150 | pDst[nCnt] += (EPS_INT8)(atoi(p)); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 481 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +epson-net-snmp.c:3157:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 3157 | p = strtok(NULL, "."); + | ^ epson-protocol.c: In function 'prtProbePrinterByID': epson-protocol.c:542:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 542 | strcpy(sParse, probeParam->dsc.identify); @@ -3058,6 +3386,14 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-net-snmp.c:3163:29: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 3163 | nElm = atoi(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 481 | __NTH (atoi (const char *__nptr)) + | ^~~~~ epson-protocol.c:542:39: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 542 | strcpy(sParse, probeParam->dsc.identify); | ~~~~~~~~~~~~~~~^~~~~~~~~ @@ -3121,8 +3457,10 @@ epson-protocol.c:572:22: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 572 | pPos = strtok(NULL, EPS_PID_SEP); | ^ +epson-net-snmp.c:3182:19: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 3182 | p = strtok(NULL, "."); + | ^ epson-protocol.c: In function 'prtRegPrinter': -epson-net-snmp.c: In function 'SnmpWalkMib': epson-protocol.c:921:48: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 921 | if( 0 == strcmp(printer->location, current->printer->location)){ | ~~~~~~~^~~~~~~~~~ @@ -3131,6 +3469,7 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c: In function 'GetColorID': epson-protocol.c:921:76: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 921 | if( 0 == strcmp(printer->location, current->printer->location)){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~ @@ -3139,19 +3478,11 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1721:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1721 | strcpy(orgObjID, oid); - | ^~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} epson-protocol.c:922:55: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 922 | if(0 == strcmp(printer->modelName, current->printer->modelName)){ | ~~~~~~~^~~~~~~~~~~ | | | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ @@ -3163,15 +3494,15 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1721:34: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1721 | strcpy(orgObjID, oid); - | ^~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-protocol.c: In function 'prtIsRegistered': +epson-net-snmp.c:3317:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3317 | if( memStrStr(name, "Black", FALSE) ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-protocol.c:1021:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1021 | if( 0 == strcmp(current->printer->location, Address) ){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~ @@ -3180,14 +3511,6 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1722:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1722 | strcpy(nextObjID, oid); - | ^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-protocol.c:1021:61: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1021 | if( 0 == strcmp(current->printer->location, Address) ){ | ^~~~~~~ @@ -3212,34 +3535,23 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1722:35: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1722 | strcpy(nextObjID, oid); - | ^~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-protocol.c: In function 'prtAddUsrPrinter': epson-protocol.c:1100:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1100 | if( EPS_ADDR_BUFFSIZE < strlen(usrPrinter->location) ){ | ~~~~~~~~~~^~~~~~~~~~ | | | const EPS_INT8 * {aka const signed char *} +epson-net-snmp.c:3319:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3319 | } else if( memStrStr(name, "Cyan", FALSE) ){ + | ^~~~~~ + | | + | char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:68:41: warning: pointer targets in passing argument 3 of 'CreateCommand' differ in signedness [-Wpointer-sign] - 68 | #define SNMP_COMMUNITY_STR "public" - | ^~~~~~~~ - | | - | char * -epson-net-snmp.c:1726:58: note: in expansion of macro 'SNMP_COMMUNITY_STR' - 1726 | ret = CreateCommand(g_TrnBuff, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, nRqID, &request, 1, &nSize); - | ^~~~~~~~~~~~~~~~~~ -epson-net-snmp.c:204:60: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 204 | static EPS_ERR_CODE CreateCommand (EPS_INT8*, EPS_UINT8, const EPS_INT8*, EPS_INT32, - | ^~~~~~~~~~~~~~~ +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-protocol.c:1118:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1118 | strcpy(address, usrPrinter->location); | ^~~~~~~ @@ -3267,7 +3579,14 @@ epson-protocol.c:1119:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 1119 | p = strchr(address, ':'); | ^ -epson-net-snmp.c: In function 'SnmpFindRecv': +epson-net-snmp.c:3321:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3321 | } else if( memStrStr(name, "Magenta", FALSE) ){ + | ^~~~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-protocol.c:1123:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 1123 | sscanf(p, "%d", &nPort); | ^ @@ -3276,7 +3595,6 @@ /usr/include/stdio.h:428:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 428 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -epson-usb.c: In function 'usbFind': epson-protocol.c:1154:28: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1154 | strcpy(innerPrinter->location, address); | ~~~~~~~~~~~~^~~~~~~~~~ @@ -3285,14 +3603,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2103:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 2103 | strncpy(infoBuf, pdu.val.v_str, Min(pdu.length, SNMP_MAX_BUF-1)); - | ^~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ epson-protocol.c:1154:40: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1154 | strcpy(innerPrinter->location, address); | ^~~~~~~ @@ -3301,6 +3611,14 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-net-snmp.c:3323:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3323 | } else if( memStrStr(name, "Yellow", FALSE) ){ + | ^~~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-protocol.c:1160:28: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1160 | strcpy(innerPrinter->modelName, usrPrinter->modelName); | ~~~~~~~~~~~~^~~~~~~~~~~ @@ -3317,14 +3635,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2103:33: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 2103 | strncpy(infoBuf, pdu.val.v_str, Min(pdu.length, SNMP_MAX_BUF-1)); - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ epson-protocol.c: In function 'prtGetInnerPrinter': epson-protocol.c:1202:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) @@ -3334,6 +3644,7 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-usb.c: In function 'usbFind': epson-protocol.c:1202:65: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) | ~~~~~~~~~~~~~^~~~~~~~~~~ @@ -3342,56 +3653,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:2114:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 2114 | devIdRes = serParseDeviceID(infoBuf, (EPS_INT32)strlen(infoBuf), - | ^~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-protocol.c:1203:48: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1203 | && 0 == strcmp(printer->location, pCur->printer->location) ){ - | ~~~~~~~^~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1203:73: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1203 | && 0 == strcmp(printer->location, pCur->printer->location) ){ - | ~~~~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c: In function 'prtSetIdStr': -epson-net-snmp.c:2146:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 2146 | strcpy( (*printer)->location, sFromAdder ); - | ~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1334:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1334 | sprintf(printer->printerID, EPS_PRINTER_ID_STR, - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-protocol.c: In function 'FindNetPrinter': -epson-net-snmp.c:2146:39: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 2146 | strcpy( (*printer)->location, sFromAdder ); - | ^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-usb.c:252:59: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); | ^~ @@ -3400,6 +3661,14 @@ epson-usb.c:105:65: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 105 | static EPS_ERR_CODE CreatePrinterInfo (EPS_USB_PRINTER_INFO*, const EPS_INT8*, | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3325:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3325 | } else if( memStrStr(name, "Red", FALSE) ){ + | ^~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-usb.c:252:63: warning: pointer targets in passing argument 3 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); | ^~ @@ -3408,6 +3677,14 @@ epson-usb.c:106:82: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, | ^~~~~~~~~~~~~~~ +epson-protocol.c:1203:48: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1203 | && 0 == strcmp(printer->location, pCur->printer->location) ){ + | ~~~~~~~^~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-usb.c:252:67: warning: pointer targets in passing argument 4 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); | ^~ @@ -3416,6 +3693,14 @@ epson-usb.c:106:99: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, | ^~~~~~~~~~~~~~~ +epson-protocol.c:1203:73: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1203 | && 0 == strcmp(printer->location, pCur->printer->location) ){ + | ~~~~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-usb.c: In function 'usbProbePrinterByID': epson-usb.c:311:23: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); @@ -3436,6 +3721,7 @@ | ^~~~ | | | EPS_INT8 * {aka signed char *} +epson-protocol.c: In function 'prtSetIdStr': In file included from epson-typedefs.h:29: /usr/include/stdio.h:428:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 428 | extern int sscanf (const char *__restrict __s, @@ -3462,6 +3748,22 @@ epson-usb.c:328:22: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 328 | pPos = strtok(NULL, EPS_USBID_SEP); | ^ +epson-protocol.c:1334:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1334 | sprintf(printer->printerID, EPS_PRINTER_ID_STR, + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:3327:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3327 | } else if( memStrStr(name, "Violet", FALSE) ){ + | ^~~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-usb.c:364:59: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); | ^~ @@ -3486,18 +3788,7 @@ epson-usb.c:106:99: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, | ^~~~~~~~~~~~~~~ -epson-usb.c: In function 'usbResetPrinter': -epson-usb.c:804:28: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 804 | if (strstr((EPS_INT8*)pResult, "rj:OK;") == NULL) { - | ^~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 350 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-usb.c:712:21: warning: variable 'retBufSize' set but not used [-Wunused-but-set-variable] - 712 | EPS_INT32 retBufSize; /* Size of buffer written */ - | ^~~~~~~~~~ +epson-protocol.c: In function 'FindNetPrinter': epson-protocol.c:1510:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1510 | strcpy(pFncs->address, EPSNET_UDP_BROADCAST_ADDR); | ~~~~~^~~~~~~~~ @@ -3506,14 +3797,14 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2176:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 2176 | if( strcmp(compSysName, (*printer)->macAddress) || - | ^~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:3329:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3329 | } else if( memStrStr(name, "Clear", FALSE) ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-protocol.c:1512:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1512 | strcpy(pFncs->address, address); | ~~~~~^~~~~~~~~ @@ -3522,6 +3813,15 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-usb.c: In function 'usbResetPrinter': +epson-usb.c:804:28: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 804 | if (strstr((EPS_INT8*)pResult, "rj:OK;") == NULL) { + | ^~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 350 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ epson-protocol.c:1512:56: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1512 | strcpy(pFncs->address, address); | ^~~~~~~ @@ -3530,14 +3830,17 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2176:51: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 2176 | if( strcmp(compSysName, (*printer)->macAddress) || - | ~~~~~~~~~~^~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +epson-usb.c:712:21: warning: variable 'retBufSize' set but not used [-Wunused-but-set-variable] + 712 | EPS_INT32 retBufSize; /* Size of buffer written */ + | ^~~~~~~~~~ +epson-net-snmp.c:3331:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3331 | } else if( memStrStr(name, "Gray", FALSE) ){ + | ^~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-protocol.c:1527:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1527 | strcpy(pFncs->address, EPSNET_UDP_BROADCAST_ADDR); | ~~~~~^~~~~~~~~ @@ -3554,14 +3857,7 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2177:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 2177 | strcmp(compName, (*printer)->modelName) ){ - | ^~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +epson-usb.c: In function 'usbMechCommand': epson-protocol.c:1529:56: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1529 | strcpy(pFncs->address, address); | ^~~~~~~ @@ -3570,32 +3866,14 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2177:52: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 2177 | strcmp(compName, (*printer)->modelName) ){ - | ~~~~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c: In function 'MakePrinterStructure': -epson-protocol.c:1691:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1691 | strcpy(dst->location, src->location); - | ~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:2216:44: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 2216 | strncpy( (*printer)->friendlyName, pdu.val.v_str, pdu.length); - | ~~~~~~~~~~^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -epson-usb.c: In function 'usbMechCommand': +epson-net-snmp.c:3333:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3333 | } else if( memStrStr(name, "Orange", FALSE) ){ + | ^~~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-usb.c:1212:16: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 1212 | if (strstr(Reply,"OK") == NULL){ | ^~~~~ @@ -3604,7 +3882,24 @@ /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ +epson-protocol.c: In function 'MakePrinterStructure': epson-usb.c: In function 'CreatePrinterInfo': +epson-protocol.c:1691:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1691 | strcpy(dst->location, src->location); + | ~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:3335:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3335 | } else if( memStrStr(name, "Green", FALSE) ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-usb.c:1466:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1466 | strcpy( (*printer)->location, EPS_USB_NAME ); | ~~~~~~~~~~^~~~~~~~~~ @@ -3613,27 +3908,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-usb.c:1467:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:1467:47: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); - | ^~~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:1468:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1468 | strcpy( (*printer)->modelName, modelName ); - | ~~~~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} epson-protocol.c:1691:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1691 | strcpy(dst->location, src->location); | ~~~^~~~~~~~~~ @@ -3642,14 +3916,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2216:67: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 2216 | strncpy( (*printer)->friendlyName, pdu.val.v_str, pdu.length); - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ epson-protocol.c:1692:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1692 | strcpy(dst->macAddress, src->macAddress); | ~~~^~~~~~~~~~~~ @@ -3658,6 +3924,14 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-usb.c:1467:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ epson-protocol.c:1692:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1692 | strcpy(dst->macAddress, src->macAddress); | ~~~^~~~~~~~~~~~ @@ -3666,13 +3940,13 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2218:44: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 2218 | strncpy( (*printer)->friendlyName, pdu.val.v_str, EPS_NAME_BUFFSIZE-2); - | ~~~~~~~~~~^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, +epson-usb.c:1467:47: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); + | ^~~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ epson-protocol.c:1693:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1693 | strcpy(dst->manufacturerName, src->manufacturerName); @@ -3682,13 +3956,13 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2218:67: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 2218 | strncpy( (*printer)->friendlyName, pdu.val.v_str, EPS_NAME_BUFFSIZE-2); - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, +epson-usb.c:1468:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1468 | strcpy( (*printer)->modelName, modelName ); + | ~~~~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ epson-protocol.c:1693:44: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1693 | strcpy(dst->manufacturerName, src->manufacturerName); @@ -3698,6 +3972,14 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-usb.c:1468:40: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1468 | strcpy( (*printer)->modelName, modelName ); + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ epson-protocol.c:1694:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1694 | strcpy(dst->modelName, src->modelName); | ~~~^~~~~~~~~~~ @@ -3706,15 +3988,22 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2224:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 2224 | sprintf(idString, EPS_NET_IDPRM_STR, (*printer)->modelName, (*printer)->macAddress); - | ^~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) +epson-usb.c:1469:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1469 | strcpy( (*printer)->serialNo, serialNo ); + | ~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c: In function 'CreateCommand': +epson-net-snmp.c:3339:34: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3339 | if( (p = memStrStr(name, "Light", TRUE)) != NULL ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-protocol.c:1694:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1694 | strcpy(dst->modelName, src->modelName); | ~~~^~~~~~~~~~~ @@ -3723,47 +4012,28 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-usb.c:1469:39: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1469 | strcpy( (*printer)->serialNo, serialNo ); + | ^~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} epson-protocol.c:1695:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1695 | strcpy(dst->friendlyName, src->friendlyName); | ~~~^~~~~~~~~~~~~~ | | | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:2309:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 2309 | pPos = snmpMakeStrField(community, (EPS_UINT32)strlen(community), pPos); - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:1468:40: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1468 | strcpy( (*printer)->modelName, modelName ); - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-usb.c:1469:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1469 | strcpy( (*printer)->serialNo, serialNo ); - | ~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-usb.c:1469:39: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1469 | strcpy( (*printer)->serialNo, serialNo ); - | ^~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} +epson-protocol.c:1695:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1695 | strcpy(dst->friendlyName, src->friendlyName); + | ~~~^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ epson-usb.c:1483:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] @@ -3771,34 +4041,18 @@ | ^~~~~~~~~~~ | | | EPS_INT8 * {aka signed char *} +epson-net-snmp.c:3347:42: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3347 | if( memStrStr(p, "Light", FALSE) ){ + | ^~~~~~~ + | | + | char * /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-usb.c: In function 'PortResolution': -epson-usb.c:1541:33: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1541 | if( 0 == strcmp(modelName, printer->modelName) ){ - | ^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-usb.c:1541:51: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1541 | if( 0 == strcmp(modelName, printer->modelName) ){ - | ~~~~~~~^~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1695:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1695 | strcpy(dst->friendlyName, src->friendlyName); - | ~~~^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-protocol.c:1696:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1696 | strcpy(dst->serialNo, src->serialNo); | ~~~^~~~~~~~~~ @@ -3807,8 +4061,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -In file included from epson-net-snmp.c:40: -epson-net-snmp.c: In function 'ParseResponse': epson-protocol.c:1696:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1696 | strcpy(dst->serialNo, src->serialNo); | ~~~^~~~~~~~~~ @@ -3817,6 +4069,22 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-usb.c:1541:33: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1541 | if( 0 == strcmp(modelName, printer->modelName) ){ + | ^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:3354:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3354 | } else if( memStrStr(name, "Matte", FALSE) ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-protocol.c:1697:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1697 | strcpy(dst->printerID, src->printerID); | ~~~^~~~~~~~~~~ @@ -3825,17 +4093,14 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2514:112: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 2514 | memcpy(pResObjID, response.var->identifire, Min(nResObjIDSize-1, (EPS_INT32)strlen(response.var->identifire))); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -epson-escpr-mem.h:101:28: note: in definition of macro 'Min' - 101 | #define Min(a,b) ( ((a) < (b)) ? (a) : (b)) - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +epson-usb.c:1541:51: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1541 | if( 0 == strcmp(modelName, printer->modelName) ){ + | ~~~~~~~^~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-protocol.c:1697:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1697 | strcpy(dst->printerID, src->printerID); | ~~~^~~~~~~~~~~ @@ -3845,6 +4110,15 @@ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ epson-protocol.c: In function 'IsValidAddress': +epson-usb.c: In function 'ProbePrinterByName': +epson-net-snmp.c:3358:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3358 | } else if( memStrStr(name, "Dark", FALSE) ){ + | ^~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-protocol.c:1730:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 1730 | sscanf(addr, "%d.%d.%d.%d", &nSeg[0], &nSeg[1], &nSeg[2], &nSeg[3]); | ^~~~ @@ -3853,18 +4127,6 @@ /usr/include/stdio.h:428:43: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 428 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -epson-net-snmp.c:2514:112: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 2514 | memcpy(pResObjID, response.var->identifire, Min(nResObjIDSize-1, (EPS_INT32)strlen(response.var->identifire))); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -epson-escpr-mem.h:101:41: note: in definition of macro 'Min' - 101 | #define Min(a,b) ( ((a) < (b)) ? (a) : (b)) - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-usb.c: In function 'ProbePrinterByName': epson-usb.c:1636:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ | ^~~~~~~~~~~~ @@ -3881,63 +4143,18 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:3362:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3362 | } else if( memStrStr(name, "Photo", FALSE) ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ epson-usb.c: In function 'RmtInfoCommand': epson-usb.c:1831:27: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] 1831 | const EPS_INT8 *rsp = "@BDC PI\x0D\x0A"; | ^~~~~~~~~~~~~~~~~ -epson-net-snmp.c: In function 'OidToStr': -epson-net-snmp.c:3063:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 3063 | sprintf(*pDst, "%d.%d.", *pSrc / 40, *pSrc % 40); - | ^~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-net-snmp.c:3067:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 3067 | nDstLen = (EPS_UINT16)strlen(*pDst); - | ^~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:3089:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 3089 | sprintf(&(*pDst)[nDstLen], "%d.", nElm); - | ^~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-net-snmp.c:3091:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 3091 | sprintf(&(*pDst)[nDstLen], "%d.", *(pSrc++)); - | ^~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-net-snmp.c:3095:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 3095 | nDstLen = (EPS_UINT16)strlen(*pDst) - 1; - | ^~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-snmp.c: In function 'StrToOid': -epson-net-snmp.c:3135:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 3135 | pTmp = (EPS_INT8*)EPS_ALLOC( strlen(pSrc)+1 ); - | ^~~~ - | | - | const EPS_INT8 * {aka const signed char *} -epson-escpr-mem.h:42:61: note: in definition of macro 'EPS_ALLOC' - 42 | #define EPS_ALLOC( s ) epsCmnFnc.memAlloc((EPS_UINT32)(s)) - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ epson-usb.c:1886:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1886 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); | ^~~~~~~~~~~~~~~~~~~ @@ -3999,30 +4216,6 @@ /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ -epson-net-snmp.c:3139:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 3139 | strcpy(pTmp, pSrc); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:3139:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 3139 | strcpy(pTmp, pSrc); - | ^~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:3141:20: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] - 3141 | p = strtok(pTmp, "."); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) - | ~~~~~~~~~~~~~~~~~^~~ epson-usb.c:2255:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 2255 | if((j = strstr(i, ";")) == NULL) { | ^ @@ -4046,167 +4239,10 @@ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ epson-usb.c: In function 'GetSerialNumber': -epson-net-snmp.c:3141:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 3141 | p = strtok(pTmp, "."); - | ^ -epson-net-snmp.c:3143:46: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 3143 | pDst[nCnt] = (EPS_INT8)(atoi(p) * 40); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ -epson-net-snmp.c:3148:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 3148 | p = strtok(NULL, "."); - | ^ -epson-net-snmp.c:3150:47: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 3150 | pDst[nCnt] += (EPS_INT8)(atoi(p)); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ epson-usb.c:2328:17: warning: pointer targets in assignment from 'EPS_INT8 *' {aka 'signed char *'} to 'EPS_UINT8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2328 | tmpBuff = (EPS_INT8*)EPS_ALLOC(tmpBuffSize); | ^ -epson-net-snmp.c:3157:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 3157 | p = strtok(NULL, "."); - | ^ -epson-net-snmp.c:3163:29: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 3163 | nElm = atoi(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 481 | __NTH (atoi (const char *__nptr)) - | ^~~~~ -epson-net-snmp.c:3182:19: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 3182 | p = strtok(NULL, "."); - | ^ -epson-net-snmp.c: In function 'GetColorID': -epson-net-snmp.c:3317:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3317 | if( memStrStr(name, "Black", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3319:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3319 | } else if( memStrStr(name, "Cyan", FALSE) ){ - | ^~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3321:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3321 | } else if( memStrStr(name, "Magenta", FALSE) ){ - | ^~~~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3323:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3323 | } else if( memStrStr(name, "Yellow", FALSE) ){ - | ^~~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3325:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3325 | } else if( memStrStr(name, "Red", FALSE) ){ - | ^~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3327:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3327 | } else if( memStrStr(name, "Violet", FALSE) ){ - | ^~~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3329:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3329 | } else if( memStrStr(name, "Clear", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3331:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3331 | } else if( memStrStr(name, "Gray", FALSE) ){ - | ^~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3333:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3333 | } else if( memStrStr(name, "Orange", FALSE) ){ - | ^~~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3335:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3335 | } else if( memStrStr(name, "Green", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3339:34: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3339 | if( (p = memStrStr(name, "Light", TRUE)) != NULL ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3347:42: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3347 | if( memStrStr(p, "Light", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3354:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3354 | } else if( memStrStr(name, "Matte", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3358:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3358 | } else if( memStrStr(name, "Dark", FALSE) ){ - | ^~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3362:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3362 | } else if( memStrStr(name, "Photo", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O2 -version-info 1:0:0 -Wl,-z,relro -Wl,-z,now -o libescpr.la -rpath /usr/lib/printer-driver-escpr libescpr_la-epson-cbt.lo libescpr_la-epson-escpage.lo libescpr_la-epson-escpage-color.lo libescpr_la-epson-escpage-comp.lo libescpr_la-epson-escpage-mono.lo libescpr_la-epson-escpr-api.lo libescpr_la-epson-escpr-dbg.lo libescpr_la-epson-escpr-mem.lo libescpr_la-epson-escpr-pm.lo libescpr_la-epson-escpr-services.lo libescpr_la-epson-layout.lo libescpr_la-epson-net-lpr.lo libescpr_la-epson-net-raw.lo libescpr_la-epson-net-snmp.lo libescpr_la-epson-protocol.lo libescpr_la-epson-usb.lo -lcupsimage -lcups +/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O2 -version-info 1:0:0 -Wl,-z,relro -Wl,-z,now -o libescpr.la -rpath /usr/lib/printer-driver-escpr libescpr_la-epson-cbt.lo libescpr_la-epson-escpage.lo libescpr_la-epson-escpage-color.lo libescpr_la-epson-escpage-comp.lo libescpr_la-epson-escpage-mono.lo libescpr_la-epson-escpr-api.lo libescpr_la-epson-escpr-dbg.lo libescpr_la-epson-escpr-mem.lo libescpr_la-epson-escpr-pm.lo libescpr_la-epson-escpr-services.lo libescpr_la-epson-layout.lo libescpr_la-epson-net-lpr.lo libescpr_la-epson-net-raw.lo libescpr_la-epson-net-snmp.lo libescpr_la-epson-protocol.lo libescpr_la-epson-usb.lo -lcupsimage -lcups libtool: link: gcc -shared -fPIC -DPIC .libs/libescpr_la-epson-cbt.o .libs/libescpr_la-epson-escpage.o .libs/libescpr_la-epson-escpage-color.o .libs/libescpr_la-epson-escpage-comp.o .libs/libescpr_la-epson-escpage-mono.o .libs/libescpr_la-epson-escpr-api.o .libs/libescpr_la-epson-escpr-dbg.o .libs/libescpr_la-epson-escpr-mem.o .libs/libescpr_la-epson-escpr-pm.o .libs/libescpr_la-epson-escpr-services.o .libs/libescpr_la-epson-layout.o .libs/libescpr_la-epson-net-lpr.o .libs/libescpr_la-epson-net-raw.o .libs/libescpr_la-epson-net-snmp.o .libs/libescpr_la-epson-protocol.o .libs/libescpr_la-epson-usb.o -lcupsimage -lcups -g -O2 -fstack-protector-strong -mbranch-protection=standard -O2 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libescpr.so.1 -o .libs/libescpr.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libescpr.so.1" && ln -s "libescpr.so.1.0.0" "libescpr.so.1") libtool: link: (cd ".libs" && rm -f "libescpr.so" && ln -s "libescpr.so.1.0.0" "libescpr.so") @@ -4293,9 +4329,9 @@ wrapper.c:182:15: note: 'page_raw_cache' was declared here 182 | char *page_raw_cache;//2ページ分のキャッシュ | ^~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -DCUPS_FILTER_NAME=\"epson-escpr\" -DCUPS_FILTER_PATH=\"/usr/lib/cups/filter\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -lpthread -Wl,-z,relro -Wl,-z,now -o epson-escpr-wrapper epson_escpr_wrapper-wrapper.o -lcupsimage -lcups -/bin/bash ../libtool --tag=CC --mode=link gcc -I../lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -lpthread -Wl,-z,relro -Wl,-z,now -o epson-escpr epson_escpr-filter.o epson_escpr-debug.o epson_escpr-str.o epson_escpr-err.o epson_escpr-mem.o epson_escpr-linux_cmn.o epson_escpr-xfifo.o ../lib/libescpr.la -lcupsimage -lcups +/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -DCUPS_FILTER_NAME=\"epson-escpr\" -DCUPS_FILTER_PATH=\"/usr/lib/cups/filter\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -lpthread -Wl,-z,relro -Wl,-z,now -o epson-escpr-wrapper epson_escpr_wrapper-wrapper.o -lcupsimage -lcups libtool: link: gcc -Wall -DCUPS_FILTER_NAME=\"epson-escpr\" -DCUPS_FILTER_PATH=\"/usr/lib/cups/filter\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,-z -Wl,now -o epson-escpr-wrapper epson_escpr_wrapper-wrapper.o -lpthread -lcupsimage -lcups +/bin/sh ../libtool --tag=CC --mode=link gcc -I../lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -lpthread -Wl,-z,relro -Wl,-z,now -o epson-escpr epson_escpr-filter.o epson_escpr-debug.o epson_escpr-str.o epson_escpr-err.o epson_escpr-mem.o epson_escpr-linux_cmn.o epson_escpr-xfifo.o ../lib/libescpr.la -lcupsimage -lcups libtool: link: gcc -I../lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/epson-escpr epson_escpr-filter.o epson_escpr-debug.o epson_escpr-str.o epson_escpr-err.o epson_escpr-mem.o epson_escpr-linux_cmn.o epson_escpr-xfifo.o -lpthread ../lib/.libs/libescpr.so -lcupsimage -lcups -Wl,-rpath -Wl,/usr/lib/printer-driver-escpr make[3]: Leaving directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/src' make[3]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17' @@ -4343,7 +4379,7 @@ make[3]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/lib' make[4]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/lib' /usr/bin/mkdir -p '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr' - /bin/bash ../libtool --mode=install /usr/bin/install -c libescpr.la '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr' + /bin/sh ../libtool --mode=install /usr/bin/install -c libescpr.la '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr' libtool: install: /usr/bin/install -c .libs/libescpr.so.1.0.0 /build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr/libescpr.so.1.0.0 libtool: install: (cd /build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr && { ln -s -f libescpr.so.1.0.0 libescpr.so.1 || { rm -f libescpr.so.1 && ln -s libescpr.so.1.0.0 libescpr.so.1; }; }) libtool: install: (cd /build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr && { ln -s -f libescpr.so.1.0.0 libescpr.so || { rm -f libescpr.so && ln -s libescpr.so.1.0.0 libescpr.so; }; }) @@ -4383,7 +4419,7 @@ make[4]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/src' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/cups/filter' - /bin/bash ../libtool --mode=install /usr/bin/install -c epson-escpr epson-escpr-wrapper '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/cups/filter' + /bin/sh ../libtool --mode=install /usr/bin/install -c epson-escpr epson-escpr-wrapper '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/cups/filter' libtool: warning: '../lib/libescpr.la' has not been installed in '/usr/lib/printer-driver-escpr' libtool: install: /usr/bin/install -c .libs/epson-escpr /build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/cups/filter/epson-escpr libtool: install: /usr/bin/install -c epson-escpr-wrapper /build/reproducible-path/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/cups/filter/epson-escpr-wrapper @@ -4424,8 +4460,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'printer-driver-escpr-dbgsym' in '../printer-driver-escpr-dbgsym_1.7.17-4_arm64.deb'. dpkg-deb: building package 'printer-driver-escpr' in '../printer-driver-escpr_1.7.17-4_arm64.deb'. +dpkg-deb: building package 'printer-driver-escpr-dbgsym' in '../printer-driver-escpr-dbgsym_1.7.17-4_arm64.deb'. dpkg-genbuildinfo --build=binary -O../epson-inkjet-printer-escpr_1.7.17-4_arm64.buildinfo dpkg-genchanges --build=binary -O../epson-inkjet-printer-escpr_1.7.17-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -4433,12 +4469,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/2814713/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2814713/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/2323268 and its subdirectories -I: Current time: Thu Jun 26 16:10:08 -12 2025 -I: pbuilder-time-stamp: 1750997408 +I: removing directory /srv/workspace/pbuilder/2814713 and its subdirectories +I: Current time: Sat May 25 11:48:13 +14 2024 +I: pbuilder-time-stamp: 1716587293