Diff of the two buildlogs: -- --- b1/build.log 2024-08-01 11:58:49.728261752 +0000 +++ b2/build.log 2024-08-01 12:00:46.671296717 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Sep 3 06:20:47 -12 2025 -I: pbuilder-time-stamp: 1756923647 +I: Current time: Fri Aug 2 01:58:52 +14 2024 +I: pbuilder-time-stamp: 1722513532 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./epson-inkjet-printer-escpr_1.7.8-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.jG3YC2AF/trustedkeys.kbx': General error -gpgv: Signature made Tue Nov 24 19:32:26 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.44NnTED2/trustedkeys.kbx': General error +gpgv: Signature made Wed Nov 25 21:32:26 2020 +14 gpgv: using RSA key 27793BAC0D180A9964C78819A9C6FAC60D630169 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./epson-inkjet-printer-escpr_1.7.8-1.dsc @@ -31,135 +31,166 @@ dpkg-source: info: applying 0003-Fix-suc-c-essful-typo-in-debug-message.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2557489/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3650919/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Aug 2 01:59 /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/3650919/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3650919/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=42 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=20 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='cf1cc23894c04bf9a8eaa15002c3afca' - 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='2557489' - PS1='# ' - PS2='> ' + INVOCATION_ID=19d7d708601d4cbd9c765d3b970c2644 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3650919 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.1WMDIqYh/pbuilderrc_46cr --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1WMDIqYh/b1 --logfile b1/build.log epson-inkjet-printer-escpr_1.7.8-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.1WMDIqYh/pbuilderrc_7Gch --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1WMDIqYh/b2 --logfile b2/build.log epson-inkjet-printer-escpr_1.7.8-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.9.7+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.9.7-1~bpo12+1 (2024-07-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Mar 27 2024 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Mar 27 2024 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Mar 27 2024 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Mar 27 2024 more - -rwsr-xr-x 1 root root 55528 Mar 27 2024 mount - -rwxr-xr-x 1 root root 18664 Mar 27 2024 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 9 03:46 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Mar 27 2024 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 2024 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Mar 27 2024 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Mar 27 2024 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/2557489/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Mar 29 00:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Mar 29 00:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Mar 29 00:09 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Mar 29 00:09 more + -rwsr-xr-x 1 root root 55528 Mar 29 00:09 mount + -rwxr-xr-x 1 root root 18664 Mar 29 00:09 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Aug 2 01:59 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Mar 29 00:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 2024 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Mar 29 00:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Mar 29 00:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3650919/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -268,7 +299,7 @@ Get: 65 http://deb.debian.org/debian bullseye/main amd64 libcupsimage2-dev amd64 2.3.3op2-3+deb11u6 [6680 B] Get: 66 http://deb.debian.org/debian bullseye/main amd64 libcups2-dev amd64 2.3.3op2-3+deb11u6 [397 kB] Get: 67 http://deb.debian.org/debian bullseye/main amd64 pyppd all 1.1.0-1 [16.7 kB] -Fetched 27.9 MB in 4s (6965 kB/s) +Fetched 27.9 MB in 1s (36.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19711 files and directories currently installed.) @@ -559,7 +590,11 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/epson-inkjet-printer-escpr-1.7.8/ && 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.8-1_source.changes +I: user script /srv/workspace/pbuilder/3650919/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/3650919/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.8/ && 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.8-1_source.changes dpkg-buildpackage: info: source package epson-inkjet-printer-escpr dpkg-buildpackage: info: source version 1.7.8-1 dpkg-buildpackage: info: source distribution unstable @@ -748,7 +783,7 @@ config.status: executing libtool commands make[1]: Leaving directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8' dh_auto_build - make -j42 + make -j20 make[1]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8' echo M4_MACROS = `ls m4 | sed 's,^,m4/,'` > m4-macros.tmp cmp -s m4-macros.tmp m4-macros || cp m4-macros.tmp m4-macros @@ -760,67 +795,37 @@ rm m4-macros.tmp Making all in lib make[3]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8/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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-net-lpr.lo `test -f 'epson-net-lpr.c' || echo './'`epson-net-lpr.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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-net-raw.lo `test -f 'epson-net-raw.c' || echo './'`epson-net-raw.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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpage.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage.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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-net-lpr.lo `test -f 'epson-net-lpr.c' || echo './'`epson-net-lpr.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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-net-raw.lo `test -f 'epson-net-raw.c' || echo './'`epson-net-raw.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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-net-snmp.lo `test -f 'epson-net-snmp.c' || echo './'`epson-net-snmp.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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-protocol.lo `test -f 'epson-protocol.c' || echo './'`epson-protocol.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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-net-raw.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-raw.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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-usb.c -fPIC -DPIC -o .libs/libescpr_la-epson-usb.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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-protocol.c -fPIC -DPIC -o .libs/libescpr_la-epson-protocol.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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-layout.c -fPIC -DPIC -o .libs/libescpr_la-epson-layout.o -In file included from epson-escpage-mono.c:22: -epson-escpage.h:58:42: 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:42: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:42: 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:42: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:42: 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:42: note: (near initialization for 'pageMediaSize[2].name') -epson-escpage.h:61:42: 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:42: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:45: 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:45: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:44: 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:44: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:46: 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:46: 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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-protocol.c -fPIC -DPIC -o .libs/libescpr_la-epson-protocol.o In file included from epson-escpr-api.c:72: epson-escpage.h:58:42: 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" }, @@ -850,35 +855,6 @@ 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } | ^~~~ epson-escpage.h:64:46: note: (near initialization for 'pageMediaSize[6].name') -In file included from epson-escpage.c:29: -epson-escpage.h:58:42: 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:42: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:42: 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:42: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:42: 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:42: note: (near initialization for 'pageMediaSize[2].name') -epson-escpage.h:61:42: 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:42: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:45: 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:45: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:44: 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:44: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:46: 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:46: note: (near initialization for 'pageMediaSize[6].name') 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) { @@ -919,10 +895,6 @@ /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ -epson-escpage.c:69:22: 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:22: note: (near initialization for 'pageMediaType[0].name') epson-escpr-services.c:173:47: 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) ){ | ^ @@ -934,34 +906,22 @@ /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ -epson-escpage.c:74:23: 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:23: note: (near initialization for 'pagePaperSource[0].name') epson-escpr-services.c:180:13: 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-escpage.c:75:20: 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" }, - | ^~~~ In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpage.c:75:20: note: (near initialization for 'pagePaperSource[1].name') epson-escpr-services.c:181:11: 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 *} -epson-escpage.c:76:22: 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:22: note: (near initialization for 'pagePaperSource[2].name') In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -971,15 +931,11 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-escpage.c:77:22: 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-escpr-services.c:181:25: 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 *} -epson-escpage.c:77:22: note: (near initialization for 'pagePaperSource[3].name') In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -989,32 +945,20 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-escpage.c:78:22: 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:22: note: (near initialization for 'pagePaperSource[4].name') epson-escpr-services.c:196:18: 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 *} -epson-escpage.c:79:22: 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" }, - | ^~~~~ In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 330 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpage.c:79:22: note: (near initialization for 'pagePaperSource[5].name') epson-escpr-services.c:196:9: 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-escpage.c:80:22: 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:22: note: (near initialization for 'pagePaperSource[6].name') epson-escpr-services.c:198:25: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 198 | } else if((i = strstr(deviceIDString, "MODEL:")) != NULL) { | ^~~~~~~~~~~~~~ @@ -1034,17 +978,30 @@ | ^ | | | EPS_INT8 * {aka signed char *} +In file included from epson-escpage-color.c:22: +epson-escpage.h:58:42: 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:42: note: (near initialization for 'pageMediaSize[0].name') In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpage.h:59:42: 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:42: note: (near initialization for 'pageMediaSize[1].name') epson-escpr-services.c:224:11: 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 *} +epson-escpage.h:60:42: 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:42: note: (near initialization for 'pageMediaSize[2].name') In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -1054,11 +1011,23 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-escpage.h:61:42: 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:42: note: (near initialization for 'pageMediaSize[3].name') +epson-escpage.h:62:45: 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:45: note: (near initialization for 'pageMediaSize[4].name') epson-escpr-services.c:224:22: 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 *} +epson-escpage.h:63:44: 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:44: note: (near initialization for 'pageMediaSize[5].name') In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -1068,6 +1037,11 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-escpage.h:64:46: 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:46: 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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-usb.c -fPIC -DPIC -o .libs/libescpr_la-epson-usb.o 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) { | ^~~~~~~~~~~~~~ @@ -1179,7 +1153,6 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-usb.c: In function 'usbFind': epson-escpr-services.c:351:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 351 | sscanf(i, "%x", errorID); | ^ @@ -1203,358 +1176,33 @@ /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ -In file included from epson-escpage-color.c:22: -epson-escpage.h:58:42: 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: In function 'serAnalyzeStatus': -epson-escpage.h:58:42: note: (near initialization for 'pageMediaSize[0].name') epson-escpr-services.c:437:33: 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 *} -epson-escpage.h:59:42: 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" }, - | ^~~~ In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 330 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpage.h:59:42: note: (near initialization for 'pageMediaSize[1].name') -epson-usb.c:252:38: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); - | ^~ - | | - | char * -epson-usb.c:105:63: 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-escpage.h:60:42: 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:42: note: (near initialization for 'pageMediaSize[2].name') -epson-usb.c:252:42: warning: pointer targets in passing argument 3 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); - | ^~ - | | - | char * -epson-escpage.h:61:42: 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-usb.c:106:12: 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-escpage.h:61:42: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage-mono.c: In function 'BandEmit': -epson-usb.c:252:46: warning: pointer targets in passing argument 4 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); - | ^~ - | | - | char * -epson-usb.c:106:29: 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-escpage.h:62:45: 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-net-snmp.c: In function 'snmpFindStart': -epson-escpage.h:62:45: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage-mono.c:995:10: 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:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.h:63:44: 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:44: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:46: 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:46: note: (near initialization for 'pageMediaSize[6].name') -epson-escpage-mono.c:996:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 996 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-usb.c: In function 'usbProbePrinterByID': -epson-usb.c:311:16: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] - 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); - | ^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpage-mono.c:19: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:336:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 336 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) - | ~~~~~~~~~~~~~~~~~^~~ -epson-escpage-mono.c:1002:10: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-usb.c:311:7: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); - | ^ -epson-net-snmp.c:68:29: 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:417:73: note: in expansion of macro 'SNMP_COMMUNITY_STR' - 417 | if( EPS_ERR_NONE != (ret = CreateCommand(g_TrnBuff, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, - | ^~~~~~~~~~~~~~~~~~ -epson-escpage-mono.c:1002:13: 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 *} -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, - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-usb.c:316:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] - 316 | sscanf(pPos, "%x", &nTmp); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage-mono.c:1002:13: warning: format string is not an array of type 'char' [-Wformat=] - 1002 | sprintf(p, sbBID, iNByte, iNDot); - | ^~~~~ -In file included from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 399 | extern int sscanf (const char *__restrict __s, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -epson-escpage-mono.c:1003:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1003 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpage-mono.c:19: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-usb.c:324:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 324 | strcpy(modelNameTgt, pPos); - | ^~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:68:29: 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:450:73: note: in expansion of macro 'SNMP_COMMUNITY_STR' - 450 | if( EPS_ERR_NONE != (ret = CreateCommand(g_TrnBuff, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, - | ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -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-usb.c:324:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 324 | strcpy(modelNameTgt, pPos); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from epson-protocol.c:45: -epson-escpage.h:58:42: 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:42: note: (near initialization for 'pageMediaSize[0].name') -epson-usb.c:328:8: 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-escpage.h:59:42: 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:42: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:42: 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:42: note: (near initialization for 'pageMediaSize[2].name') -epson-escpage.h:61:42: 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:42: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:45: 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:45: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:44: 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:44: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:46: 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:46: note: (near initialization for 'pageMediaSize[6].name') -epson-usb.c:364:38: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); - | ^~ - | | - | char * -epson-usb.c:105:63: 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-usb.c:364:42: warning: pointer targets in passing argument 3 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); - | ^~ - | | - | char * -epson-usb.c:106:12: 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:364:46: warning: pointer targets in passing argument 4 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); - | ^~ - | | - | char * -epson-usb.c:106:29: 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-net-snmp.c: In function 'snmpProbeByID': -epson-net-snmp.c:643:16: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] - 643 | pPos = strtok(printerUUID, EPS_NETID_SEP); - | ^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:336:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 336 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) - | ~~~~~~~~~~~~~~~~~^~~ epson-escpr-services.c: In function 'serGetSerialNo': -epson-net-snmp.c:643:7: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 643 | pPos = strtok(printerUUID, EPS_NETID_SEP); - | ^ epson-escpr-services.c:803:13: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 803 | p = strstr(cdBuff, "cd:"); | ^~~~~~ | | | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:647:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 647 | strcpy(compName, pPos); - | ^~~~~~~~ - | | - | 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:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 330 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:647:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 647 | strcpy(compName, pPos); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-escpr-services.c:803:4: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 803 | p = strstr(cdBuff, "cd:"); | ^ -epson-net-snmp.c:650:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 650 | strcpy(compSysName, pPos); - | ^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:650:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 650 | strcpy(compSysName, pPos); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-escpr-services.c:809:19: 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)){ | ^ @@ -1566,10 +1214,6 @@ /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:654:8: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 654 | pPos = strtok(NULL, EPS_NETID_SEP); - | ^ -epson-net-lpr.c: In function 'StartDataSession': epson-escpr-services.c:809:47: 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)){ | ^ @@ -1581,18 +1225,15 @@ /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ -In file included from epson-net-snmp.c:42: -epson-protocol.h:49:35: warning: pointer targets in passing argument 2 of 'snmpFindStart' differ in signedness [-Wpointer-sign] - 49 | #define EPSNET_UDP_BROADCAST_ADDR "255.255.255.255" - | ^~~~~~~~~~~~~~~~~ - | | - | char * -epson-net-snmp.c:686:37: note: in expansion of macro 'EPSNET_UDP_BROADCAST_ADDR' - 686 | ret = snmpFindStart( socks+ifCnt, EPSNET_UDP_BROADCAST_ADDR, TRUE, ifBuf+(ifCnt*EPS_IFNAME_LEN) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -epson-net-snmp.c:351:19: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 351 | const EPS_INT8* address, - | ~~~~~~~~~~~~~~~~^~~~~~~ +epson-net-lpr.c: In function 'StartDataSession': +epson-escpr-services.c:788:12: 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:3: note: in expansion of macro 'EPS_GET_SERIAL' + 831 | EPS_GET_SERIAL(31, 10) + | ^~~~~~~~~~~~~~ epson-net-lpr.c:860:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 860 | sprintf(buffer, "\x02%s\n", pqueue); | ^~~~~~ @@ -1602,33 +1243,25 @@ from /usr/include/x86_64-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-escpr-services.c:30: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpr-services.c:788:12: 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:3: note: in expansion of macro 'EPS_GET_SERIAL' - 831 | EPS_GET_SERIAL(31, 10) - | ^~~~~~~~~~~~~~ epson-net-lpr.c:863:69: 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 /usr/include/features.h:461, - from /usr/include/x86_64-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-escpr-services.c:30: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-lpr.c:40: @@ -1640,25 +1273,12 @@ | ^~~~~~ | | | EPS_INT8 * {aka signed char *} -In file included from epson-net-snmp.c:42: -epson-protocol.h:49:35: warning: pointer targets in passing argument 2 of 'snmpFindStart' differ in signedness [-Wpointer-sign] - 49 | #define EPSNET_UDP_BROADCAST_ADDR "255.255.255.255" - | ^~~~~~~~~~~~~~~~~ - | | - | char * -epson-net-snmp.c:734:40: note: in expansion of macro 'EPSNET_UDP_BROADCAST_ADDR' - 734 | ret = snmpFindStart( socks+ifCnt, EPSNET_UDP_BROADCAST_ADDR, TRUE, ifBuf+(ifCnt*EPS_IFNAME_LEN) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-lpr.c:40: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpage.c: In function 'ejlStart': -epson-net-snmp.c:351:19: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 351 | const EPS_INT8* address, - | ~~~~~~~~~~~~~~~~^~~~~~~ epson-escpr-services.c:788:23: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 788 | strncpy(serialNo, p+POS, LEN); \ | ~^~~~~~~~~~~~~~ @@ -1762,7 +1382,6 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ -epson-usb.c: In function 'usbResetPrinter': epson-net-lpr.c:887:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 887 | sprintf(dname, "dfA%d%s", nJobID, LPR_HOST_NAME); | ^~~~~ @@ -1777,22 +1396,6 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-usb.c:804:14: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpage.c:1001:11: 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: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); | ^~~~~ @@ -1807,24 +1410,6 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpr-services.c:788:12: 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:3: note: in expansion of macro 'EPS_GET_SERIAL' - 836 | EPS_GET_SERIAL(46, 10) - | ^~~~~~~~~~~~~~ -epson-net-snmp.c: In function 'snmpGetStatus': epson-net-lpr.c:889:10: 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", | ^~~~~~~~~~~ @@ -1834,15 +1419,6 @@ from /usr/include/x86_64-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-escpr-services.c:30: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} @@ -1853,27 +1429,12 @@ | ^~~~~~~~~~~ | | | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] - 68 | #define SNMP_COMMUNITY_STR "public" - | ^~~~~~~~ - | | - | char * -epson-net-snmp.c:806:42: note: in expansion of macro 'SNMP_COMMUNITY_STR' - 806 | s_oidPrvStatus, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, - | ^~~~~~~~~~~~~~~~~~ In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-lpr.c:40: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-usb.c:712:21: warning: variable 'retBufSize' set but not used [-Wunused-but-set-variable] - 712 | EPS_INT32 retBufSize; /* Size of buffer written */ - | ^~~~~~~~~~ -In file included from epson-net-snmp.c:43: -epson-net-snmp.h:122:39: 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-lpr.c:891:10: 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); | ^~~~~~ @@ -1888,6 +1449,23 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:788:12: 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:3: note: in expansion of macro 'EPS_GET_SERIAL' + 836 | EPS_GET_SERIAL(46, 10) + | ^~~~~~~~~~~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-escpr-services.c:30: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ epson-net-lpr.c:894:69: 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) | ^~~~~~ @@ -1899,6 +1477,39 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-net-lpr.c:895:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 895 | != (EPS_INT32)strlen(buffer)){ + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-lpr.c:40: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-lpr.c:912:74: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-lpr.c:40: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-lpr.c:913:24: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-lpr.c:40: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-escpr-services.c:788:23: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 788 | strncpy(serialNo, p+POS, LEN); \ | ~^~~~~~~~~~~~~~ @@ -2003,6 +1614,11 @@ epson-escpr-services.c:836:3: note: in expansion of macro 'EPS_GET_SERIAL' 836 | EPS_GET_SERIAL(46, 10) | ^~~~~~~~~~~~~~ +epson-net-lpr.c:935:10: 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 *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -2012,94 +1628,6 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ -epson-escpage.c:1009:11: 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 *} -epson-net-lpr.c:895:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 895 | != (EPS_INT32)strlen(buffer)){ - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-lpr.c:40: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-protocol.c: In function 'prtProbePrinterByID': -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpr-services.c: In function 'serGetSerialNoFormST': -epson-escpr-services.c:863:33: 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 *} -epson-net-snmp.c: In function 'snmpGetStatus_Page': -epson-net-lpr.c:912:74: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-services.c:30: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-lpr.c:40: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] - 68 | #define SNMP_COMMUNITY_STR "public" - | ^~~~~~~~ - | | - | char * -epson-net-snmp.c:858:42: note: in expansion of macro 'SNMP_COMMUNITY_STR' - 858 | s_oidDevStatus, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, - | ^~~~~~~~~~~~~~~~~~ -epson-net-lpr.c:913:24: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-lpr.c:40: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1019:14: 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-net-snmp.c:43: -epson-net-snmp.h:122:39: 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-lpr.c:935:10: 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 *} -epson-protocol.c:542:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 542 | strcpy(sParse, probeParam->dsc.identify); - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -2109,47 +1637,18 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpage.c:19: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ epson-net-lpr.c:938:69: 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 *} -epson-escpr-services.c: In function 'serGetSupplyInfo': In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-lpr.c:40: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-protocol.c:542:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 542 | strcpy(sParse, probeParam->dsc.identify); - | ~~~~~~~~~~~~~~~^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ +epson-escpr-services.c: In function 'serGetSerialNoFormST': epson-net-lpr.c:939:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 939 | != (EPS_INT32)strlen(buffer)){ | ^~~~~~ @@ -2161,180 +1660,30 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-services.c:935:33: 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 ){ - | ^~~~~~~~~~~~~~~~~ +epson-escpr-services.c:863:33: 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 *} -epson-protocol.c:544:16: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] - 544 | pPos = strtok(sParse, EPS_PID_SEP); - | ^~~~~~ - | | - | 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:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 330 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ -epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] - 68 | #define SNMP_COMMUNITY_STR "public" - | ^~~~~~~~ - | | - | char * -epson-net-snmp.c:877:46: note: in expansion of macro 'SNMP_COMMUNITY_STR' - 877 | s_oidPrinterStatus, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, - | ^~~~~~~~~~~~~~~~~~ -In file included from epson-net-snmp.c:43: -epson-net-snmp.h:122:39: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, - | ^~~~~~~~~~~~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:336:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 336 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) - | ~~~~~~~~~~~~~~~~~^~~ -epson-protocol.c:544:7: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 544 | pPos = strtok(sParse, EPS_PID_SEP); - | ^ -epson-protocol.c:548:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 548 | if( 0 != strcmp(pPos, EPS_PID_PRT) ){ - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} +epson-escpr-services.c: In function 'serGetSupplyInfo': +epson-escpr-services.c:935:33: 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 *} In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:554:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] - 554 | sscanf(pPos, "%x", &nTmp); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 399 | extern int sscanf (const char *__restrict __s, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -epson-escpage.c:1022:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1022 | EJLStart_ADDSTR(p, "RS", - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-protocol.c:562:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 562 | if( 0 != strcmp(pPos, EPS_PID_DEF) ){ - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] - 68 | #define SNMP_COMMUNITY_STR "public" - | ^~~~~~~~ - | | - | char * -epson-net-snmp.c:939:46: note: in expansion of macro 'SNMP_COMMUNITY_STR' - 939 | s_oidPrinterError, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, - | ^~~~~~~~~~~~~~~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from epson-net-snmp.c:43: -epson-net-snmp.h:122:39: 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-protocol.c:568:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 568 | strcpy(defStr, pPos); - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:568:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 568 | strcpy(defStr, pPos); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:572:8: 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-usb.c: In function 'usbMechCommand': -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){ - | ^~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: + from epson-escpr-services.c:30: /usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 330 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpage.c:1022:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1022 | EJLStart_ADDSTR(p, "RS", - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpage.c:19: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ epson-escpr-services.c: In function 'obsGetPageMode': -epson-escpage.c:1031:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1031 | EJLStart_ADDSTR(p, "PS", pageMediaSize[i].name); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ epson-escpr-services.c:1324:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1324 | if( (strcmp(modelName, "EP-801A" ) == 0) || | ^~~~~~~~~ @@ -2346,7 +1695,6 @@ /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-usb.c: In function 'CreatePrinterInfo': epson-escpr-services.c:1325:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1325 | (strcmp(modelName, "Artisan 700" ) == 0) || | ^~~~~~~~~ @@ -2358,41 +1706,6 @@ /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-protocol.c: In function 'prtRegPrinter': -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 ); - | ~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-protocol.c:921:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 921 | if( 0 == strcmp(printer->location, current->printer->location)){ - | ~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpage.c:1031:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1031 | EJLStart_ADDSTR(p, "PS", pageMediaSize[i].name); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -epson-net-snmp.c: In function 'snmpInfoCommand': epson-escpr-services.c:1326:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1326 | (strcmp(modelName, "Stylus Photo TX700W" ) == 0) || | ^~~~~~~~~ @@ -2404,298 +1717,147 @@ /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpage.c:19: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-protocol.c:921:55: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 921 | if( 0 == strcmp(printer->location, current->printer->location)){ - | ~~~~~~~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1151:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1151 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 's', 't', 0x01, 0x00, 0x01); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-usb.c:1467:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:922:27: 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 *} epson-escpr-services.c:1327:15: 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 *} In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-cbt.c: In function 'commClose': -epson-protocol.c:922:56: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 922 | if(0 == strcmp(printer->modelName, current->printer->modelName)){ - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-cbt.c:654:15: warning: variable 'closePtlState' set but not used [-Wunused-but-set-variable] - 654 | EPS_INT32 closePtlState = 0; - | ^~~~~~~~~~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1154:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1154 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', 0x01, 0x00, 0x01); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-usb.c:1467:40: 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 *} epson-escpr-services.c:1328:15: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1157:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1157 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', 0x01, 0x00, 0x02); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ epson-escpr-services.c:1329:15: 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 *} -epson-usb.c:1468:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1468 | strcpy( (*printer)->modelName, modelName ); - | ~~~~~~~~~~^~~~~~~~~~~ - | | - | 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:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:1164:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1164 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'c', 'd', 0x01, 0x00, 0x00); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:1039:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1039 | EJLStart_ADDSTR(p, "PK", pageMediaType[i].name); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ epson-escpr-services.c:1330:15: 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 *} -epson-protocol.c: In function 'prtIsRegistered': In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-usb.c:1468:33: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:1167:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1167 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'v', 'i', 0x01, 0x00, 0x05); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-protocol.c:1021:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1021 | if( 0 == strcmp(current->printer->location, Address) ){ - | ~~~~~~~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ epson-escpr-services.c:1331:15: 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 *} -epson-protocol.c:1021:47: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1021 | if( 0 == strcmp(current->printer->location, Address) ){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const 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:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from epson-escpage.c:29: +epson-escpage.h:58:42: 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:42: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:59:42: 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:42: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:42: 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:42: note: (near initialization for 'pageMediaSize[2].name') +epson-escpage.h:61:42: 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:42: note: (near initialization for 'pageMediaSize[3].name') +epson-escpage.h:62:45: 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:45: note: (near initialization for 'pageMediaSize[4].name') +epson-escpr-services.c:1332:15: 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 *} +epson-escpage.h:63:44: 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:44: note: (near initialization for 'pageMediaSize[5].name') In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + from epson-escpr-err.h:29, + from epson-escpr-services.c:30: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-usb.c:1469:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1469 | strcpy( (*printer)->serialNo, serialNo ); - | ~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpage-color.c: In function 'RegisterPalette': -epson-protocol.c:1023:37: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1023 | if( 0 == strcmp(current->printer->modelName, modelName) ){ - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} + | ~~~~~~~~~~~~^~~~ +epson-escpage.h:64:46: 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:46: note: (near initialization for 'pageMediaSize[6].name') +epson-escpr-services.c: In function 'obsIsA3Model': +epson-escpr-services.c:1351:15: 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 *} In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + from epson-escpr-err.h:29, + from epson-escpr-services.c:30: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1332:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1332 | (strcmp(modelName, "Stylus Photo TX800FW") == 0) ) +epson-escpage.c:69:22: 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:22: note: (near initialization for 'pageMediaType[0].name') +epson-escpage.c:74:23: 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:23: note: (near initialization for 'pagePaperSource[0].name') +epson-escpage.c:75:20: 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:20: note: (near initialization for 'pagePaperSource[1].name') +epson-escpage.c:76:22: 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:22: note: (near initialization for 'pagePaperSource[2].name') +epson-escpage.c:77:22: 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:22: note: (near initialization for 'pagePaperSource[3].name') +epson-escpage.c:78:22: 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:22: note: (near initialization for 'pagePaperSource[4].name') +epson-escpage.c:79:22: 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:22: note: (near initialization for 'pagePaperSource[5].name') +epson-escpage.c:80:22: 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:22: note: (near initialization for 'pagePaperSource[6].name') +epson-escpr-services.c:1352:15: 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 *} @@ -2705,52 +1867,34 @@ /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1023:50: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1023 | if( 0 == strcmp(current->printer->modelName, modelName) ){ - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -epson-usb.c:1469:32: 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-escpage.c:1039:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1039 | EJLStart_ADDSTR(p, "PK", pageMediaType[i].name); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ +epson-escpr-services.c:1353:15: 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 *} In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + from epson-escpr-err.h:29, + from epson-escpr-services.c:30: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ + | ~~~~~~~~~~~~^~~~ +epson-escpage-color.c: In function 'RegisterPalette': +epson-escpr-services.c:1354:15: 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 *} In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, - from epson-escpage.c:19: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-services.c: In function 'obsIsA3Model': + from epson-escpr-services.c:30: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage-color.c:830:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ | ^ | | | EPS_INT8 * {aka signed char *} -epson-net-snmp.c: In function 'BlkInfoCommand': In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -2760,8 +1904,8 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpr-services.c:1351:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1351 | if( (strcmp(modelName, "PX-5V" ) == 0) || +epson-escpr-services.c:1355:15: 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 *} @@ -2771,11 +1915,6 @@ /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1234:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1234 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', 0x05, 0x00, 0x03, - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} epson-escpage-color.c:830:13: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ | ^~~~~~~ @@ -2785,147 +1924,49 @@ from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-color.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-usb.c:1483:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1483 | sprintf(usbIDString, EPS_USB_IDPRM_STR, usbInfo->dev.vid, usbInfo->dev.pid, modelName); - | ^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpr-services.c:1352:15: 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 *} epson-escpage-color.c:830:13: warning: format string is not an array of type 'char' [-Wformat=] 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ | ^~~~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-services.c:30: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ epson-escpage-color.c:831:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 831 | pCmdBuff->len += (EPS_UINT32)strlen(p); | ^ | | | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:1244:26: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] - 1244 | cOid, ASN_PDU_GET, "public", NULL, &pdu); - | ^~~~~~~~ - | | - | char * -In file included from epson-net-snmp.c:43: -epson-net-snmp.h:122:39: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, - | ^~~~~~~~~~~~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpage-color.c:19: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-usb.c: In function 'PortResolution': -epson-escpr-services.c:1353:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1353 | (strcmp(modelName, "PX-7V" ) == 0) || +epson-escpr-services.c:1356:15: 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 *} -epson-protocol.c: In function 'prtAddUsrPrinter': In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-escpage.c:1047:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1047 | EJLStart_ADDSTR(p, "PU", pagePaperSource[i].name); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-protocol.c:1100:43: 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 *} In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + from epson-escpr-err.h:29, + from epson-escpage-color.c:19: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-usb.c:1541:19: 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 *} -epson-escpr-services.c:1354:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1354 | (strcmp(modelName, "Epson Stylus Photo R2000") == 0) || +epson-escpr-services.c:1357:15: 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 *} In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1118:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1118 | strcpy(address, usrPrinter->location); - | ^~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpr-services.c:1355:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1355 | (strcmp(modelName, "EP-4004" ) == 0) || +epson-escpr-services.c:1358:15: 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 *} @@ -2935,74 +1976,37 @@ /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-usb.c:1541:37: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1118:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1118 | strcpy(address, usrPrinter->location); - | ~~~~~~~~~~^~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpage.c:1047:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1047 | EJLStart_ADDSTR(p, "PU", pagePaperSource[i].name); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ +In file included from epson-escpage-mono.c:22: +epson-escpage.h:58:42: 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:42: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:59:42: 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:42: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:42: 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:42: note: (near initialization for 'pageMediaSize[2].name') +epson-escpage.h:61:42: 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:42: note: (near initialization for 'pageMediaSize[3].name') epson-escpage-color.c: In function 'BandEmit': -epson-escpr-services.c:1356:15: 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 *} -epson-protocol.c:1119:13: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] - 1119 | p = strchr(address, ':'); - | ^~~~~~~ - | | - | 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:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:226:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 226 | extern char *strchr (const char *__s, int __c) - | ~~~~~~~~~~~~^~~ -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpage.c:19: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +epson-escpage.h:62:45: 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:45: note: (near initialization for 'pageMediaSize[4].name') epson-escpage-color.c:980:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 980 | strcpy(p, "\x1D""0X"); | ^ | | | EPS_INT8 * {aka signed char *} -epson-escpr-mem.c: In function 'memStrStr': +epson-escpage.h:63:44: 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:44: note: (near initialization for 'pageMediaSize[5].name') In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -3012,50 +2016,32 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-protocol.c:1119:4: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 1119 | p = strchr(address, ':'); - | ^ +epson-escpage.h:64:46: 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:46: note: (near initialization for 'pageMediaSize[6].name') epson-escpage-color.c:981:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 981 | p += strlen(p); | ^ | | | EPS_INT8 * {aka signed char *} +epson-escpr-services.c:1363:15: 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 *} In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage-color.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c:149:36: 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 *} -epson-net-snmp.c:1284:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1284 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-escpr-services.c:1357:15: 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 *} In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ epson-escpage-color.c:984:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 984 | sprintf(p, "\x1D%dY", emitRowCount); | ^ @@ -3070,23 +2056,6 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-escpr-mem.c:34: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-protocol.c:1123:10: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] - 1123 | sscanf(p, "%d", &nPort); - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 399 | extern int sscanf (const char *__restrict __s, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ epson-escpage-color.c:985:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 985 | p += strlen(p); | ^ @@ -3098,8 +2067,8 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-services.c:1358:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1358 | (strcmp(modelName, "Epson Stylus Photo 1500") == 0) ) +epson-escpr-services.c:1364:15: 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 *} @@ -3109,15 +2078,6 @@ /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1294:26: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] - 1294 | cOid, ASN_PDU_GET, "public", NULL, &pdu); - | ^~~~~~~~ - | | - | char * -In file included from epson-net-snmp.c:43: -epson-net-snmp.h:122:39: 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-escpage-color.c:989:10: 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 */ | ^ @@ -3146,29 +2106,6 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-protocol.c:1154:21: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1154 | strcpy(innerPrinter->location, address); - | ~~~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-usb.c: In function 'ProbePrinterByName': -epson-escpage.c:1051:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1051 | EJLStart_ADDSTR(p, "OU", "FD"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-escpage-color.c:993:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 993 | p += strlen(p); | ^ @@ -3180,42 +2117,17 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpr-services.c:1363:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1363 | if( (strcmp(modelName, "PX-5V" ) == 0) || +epson-escpr-services.c:1365:15: 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 *} -epson-escpr-mem.c:189:35: 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 *} In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-escpr-mem.c:34: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-protocol.c:1154:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1154 | strcpy(innerPrinter->location, address); - | ^~~~~~~ - | | - | EPS_INT8 * {aka signed char *} epson-escpage-color.c:997:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 997 | strcpy(p, "20;"); | ^ @@ -3225,47 +2137,16 @@ from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-color.c:19: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-escpr-mem.c:190:42: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-escpr-mem.c:34: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-usb.c:1636:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ - | ^~~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} epson-escpage-color.c:1001:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1001 | strcpy(p, "0;"); | ^ | | | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -3275,53 +2156,33 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-escpr-services.c:1364:15: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-services.c:30: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ epson-escpage-color.c:1004:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1004 | p += strlen(p); | ^ | | | EPS_INT8 * {aka signed char *} +epson-escpr-services.c:1366:15: 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 *} In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage-color.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-protocol.c:1160:21: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1160 | strcpy(innerPrinter->modelName, usrPrinter->modelName); - | ~~~~~~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpr-mem.c: In function 'memStrStrWithLen': +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-services.c:30: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-escpage-color.c:1006:10: 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, | ^ | | | EPS_INT8 * {aka signed char *} -epson-escpr-mem.c:234:36: 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 *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -3331,67 +2192,18 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-escpr-mem.c:34: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-protocol.c:1160:44: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1160 | strcpy(innerPrinter->modelName, usrPrinter->modelName); - | ~~~~~~~~~~^~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -epson-usb.c:1636:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ - | ^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} +epson-escpage.c: In function 'ejlStart': epson-escpage-color.c:1008:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1008 | p += strlen(p); | ^ | | | EPS_INT8 * {aka signed char *} -epson-escpr-services.c:1365:15: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage-color.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-services.c:30: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpage.c:1051:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1051 | EJLStart_ADDSTR(p, "OU", "FD"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ epson-escpage-color.c:1014:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); | ^ @@ -3406,13 +2218,11 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpage.c:19: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-protocol.c: In function 'prtGetInnerPrinter': +epson-escpage.c:1001:11: 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-escpage-color.c:1014:14: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); | ^~~~~ @@ -3427,65 +2237,55 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpr-services.c:1366:15: 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 *} -In file included from epson-typedefs.h:30, +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-escpr-services.c:30: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ + from epson-escpage.c:19: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpr-services.c: In function 'obsEnableDuplex': epson-escpage-color.c:1014:14: warning: format string is not an array of type 'char' [-Wformat=] 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); | ^~~~~ -epson-escpr-mem.c:273:42: 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 *} -epson-protocol.c:1202:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) - | ~~~~~~~^~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} epson-escpage-color.c:1015:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1015 | p += strlen(p); | ^ | | | EPS_INT8 * {aka 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:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage-color.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c: In function 'snmpInfoCommand_PagePM': -epson-protocol.c:1202:51: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) - | ~~~~~~~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} +epson-escpr-services.c:1399:15: 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 *} +epson-escpage.c:1009:11: 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, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + from epson-escpr-err.h:29, + from epson-escpr-services.c:30: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ + | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-escpage-color.c:1027:11: 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); | ^ @@ -3500,69 +2300,59 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:1418:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1418 | if( strncmp(pdu.val.v_str, "MP Tray", Min(pdu.length, 7)) == 0 || - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ epson-escpage-color.c:1028:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1028 | p += strlen(p); | ^ | | | EPS_INT8 * {aka signed char *} -epson-protocol.c:1203:27: 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 *} In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage-color.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-services.c: In function 'obsEnableDuplex': +epson-escpage.c:1019:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1019 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpr-services.c:1399:44: 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 *} In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: + from epson-escpr-err.h:29, + from epson-escpr-services.c:30: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpage.c:19: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-services.c: In function 'obsEnableAutoFeed': +epson-escpr-services.c:1418:14: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-services.c:30: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1203:52: 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 *} -epson-escpage.c:1057:18: 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"); +epson-escpage.c:1022:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1022 | EJLStart_ADDSTR(p, "RS", | ^ | | | EPS_INT8 * {aka signed char *} epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' 983 | sprintf(b, " %s=%s", p, v); \ | ^ -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1419:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1419 | strncmp(pdu.val.v_str, "MSI", Min(pdu.length, 3)) == 0) - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-escpr-services.c:1399:15: 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 *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -3572,148 +2362,105 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-services.c:30: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1399:44: 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 *} +epson-escpr-services.c:1418:43: 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 *} In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpr-services.c:30: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1422:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1422 | } else if( strncmp(pdu.val.v_str, "LC1", Min(pdu.length, 3)) == 0 || - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c: In function 'obsEnableAutoFeed': -epson-protocol.c: In function 'prtSetIdStr': -epson-usb.c: In function 'RmtInfoCommand': -epson-net-snmp.c:1423:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1423 | strncmp(pdu.val.v_str, "Tray 1", Min(pdu.length, 6)) == 0 || - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-escpage.c:1057:18: 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"); +epson-escpage.c:1022:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1022 | EJLStart_ADDSTR(p, "RS", | ^ | | | EPS_INT8 * {aka signed char *} epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' 984 | b += strlen(b); \ | ^ -epson-protocol.c:1334:17: 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 *} -epson-escpr-services.c:1418:14: 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 *} In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpage.c:1031:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1031 | EJLStart_ADDSTR(p, "PS", pageMediaSize[i].name); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpage.c:1031:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1031 | EJLStart_ADDSTR(p, "PS", pageMediaSize[i].name); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, - from epson-escpr-services.c:30: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ + from epson-escpage.c:19: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage.c:1039:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1039 | EJLStart_ADDSTR(p, "PK", pageMediaType[i].name); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: + from epson-escpr-err.h:29, + from epson-escpage.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:1424:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1424 | strncmp(pdu.val.v_str, "TRAY 1", Min(pdu.length, 6)) == 0) - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -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"; - | ^~~~~~~~~~~~~~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1418:43: 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 *} +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-escpage.c:1039:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1039 | EJLStart_ADDSTR(p, "PK", pageMediaType[i].name); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, - from epson-escpr-services.c:30: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1427:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1427 | } else if( strncmp(pdu.val.v_str, "LC2", Min(pdu.length, 3)) == 0 || - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:1428:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1428 | strncmp(pdu.val.v_str, "Tray 2", Min(pdu.length, 6)) == 0 || - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:1061:19: 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"); - | ^ - | | - | EPS_INT8 * {aka signed char *} + from epson-escpage.c:19: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage.c:1047:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1047 | EJLStart_ADDSTR(p, "PU", pagePaperSource[i].name); + | ^ + | | + | EPS_INT8 * {aka signed char *} epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' 983 | sprintf(b, " %s=%s", p, v); \ | ^ -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -3723,71 +2470,100 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-usb.c:1886:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1886 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); - | ^~~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} +epson-escpage.c:1047:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1047 | EJLStart_ADDSTR(p, "PU", pagePaperSource[i].name); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpage.c:19: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage.c:1051:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1051 | EJLStart_ADDSTR(p, "OU", "FD"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + from epson-escpr-err.h:29, + from epson-escpage.c:19: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:1429:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1429 | strncmp(pdu.val.v_str, "TRAY 2", Min(pdu.length, 6)) == 0) - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c: In function 'FindNetPrinter': -epson-net-snmp.c:1432:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1432 | } else if( strncmp(pdu.val.v_str, "LC3", Min(pdu.length, 3)) == 0 || - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-protocol.c:1510:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1510 | strcpy(pFncs->address, EPSNET_UDP_BROADCAST_ADDR); - | ~~~~~^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} +epson-escpage.c:1051:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1051 | EJLStart_ADDSTR(p, "OU", "FD"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ + from epson-escpr-err.h:29, + from epson-escpage.c:19: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage.c:1057:18: 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"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + from epson-escpr-err.h:29, + from epson-escpage.c:19: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-usb.c:1891:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1891 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); - | ^~~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} +epson-escpage.c:1057:18: 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"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpage.c:19: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage.c:1061:19: 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"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + from epson-escpr-err.h:29, + from epson-escpage.c:19: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage-mono.c: In function 'BandEmit': epson-escpage.c:1061:19: 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"); | ^ @@ -3796,97 +2572,64 @@ epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' 984 | b += strlen(b); \ | ^ -epson-net-snmp.c:1433:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1433 | strncmp(pdu.val.v_str, "Tray 3", Min(pdu.length, 6)) == 0 || - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-protocol.c:1512:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1512 | strcpy(pFncs->address, address); - | ~~~~~^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ +epson-escpage-mono.c:995:10: 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:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + from epson-escpr-err.h:29, + from epson-escpage-mono.c:19: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-protocol.c:1512:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1512 | strcpy(pFncs->address, address); - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -epson-net-snmp.c:1434:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1434 | strncmp(pdu.val.v_str, "TRAY 3", Min(pdu.length, 6)) == 0) - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} +epson-escpage-mono.c:996:14: 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, + from epson-escpr-err.h:29, + from epson-escpage-mono.c:19: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage-mono.c:1002:10: 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 *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + from epson-escpr-err.h:29, + from epson-escpage-mono.c:19: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-usb.c:1920:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1920 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ - | ^~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:1437:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1437 | } else if( strncmp(pdu.val.v_str, "LC4", Min(pdu.length, 3)) == 0 || - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1527:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1527 | strcpy(pFncs->address, EPSNET_UDP_BROADCAST_ADDR); - | ~~~~~^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} +epson-escpage-mono.c:1002:13: 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 *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + from epson-escpr-err.h:29, + from epson-escpage-mono.c:19: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ epson-escpage.c:1064:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1064 | EJLStart_ADDSTR(p, "TB", "0"); @@ -3905,65 +2648,18 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:1438:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1438 | strncmp(pdu.val.v_str, "Tray 4", Min(pdu.length, 6)) == 0 || - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-protocol.c:1529:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1529 | strcpy(pFncs->address, address); - | ~~~~~^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:1439:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 1439 | strncmp(pdu.val.v_str, "TRAY 4", Min(pdu.length, 6)) == 0) - | ~~~~~~~^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-protocol.c:1529:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1529 | strcpy(pFncs->address, address); - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:1962:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1962 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ - | ^~~ - | | - | const EPS_INT8 * {aka const signed char *} +epson-escpage-mono.c:1002:13: warning: format string is not an array of type 'char' [-Wformat=] + 1002 | sprintf(p, sbBID, iNByte, iNDot); + | ^~~~~ +epson-escpage-mono.c:1003:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1003 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + from epson-escpr-err.h:29, + from epson-escpage-mono.c:19: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ epson-escpage.c:1064:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] @@ -3980,21 +2676,6 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c: In function 'snmpMechCommand': -epson-net-snmp.c:1507:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1507 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'e', 0x01, 0x00, 0x01); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ epson-escpage.c:1065:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1065 | EJLStart_ADDSTR(p, "LB", "0"); | ^ @@ -4003,7 +2684,6 @@ epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' 983 | sprintf(b, " %s=%s", p, v); \ | ^ -epson-usb.c: In function 'nd4ReadPortal': In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -4013,57 +2693,6 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:1510:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1510 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d", - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-usb.c:2095:42: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 2095 | if( (dataSizePos = (EPS_UINT8*)strstr((EPS_INT8*)buff, "\x0D\x0A")) != NULL ){ - | ^~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-protocol.c: In function 'MakePrinterStructure': -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-net-snmp.c:1524:25: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 1524 | (strstr(pdu.val.v_str+1,"OK") != NULL) ){ - | ~~~~~~~~~~~~~^~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-protocol.c:1691:12: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-escpage.c:1065:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1065 | EJLStart_ADDSTR(p, "LB", "0"); | ^ @@ -4078,48 +2707,6 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-protocol.c:1691:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1691 | strcpy(dst->location, src->location); - | ~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-net-snmp.c: In function 'SnmpTransact': -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c: In function 'ParseUsbProtocol': -epson-protocol.c:1692:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1692 | strcpy(dst->macAddress, src->macAddress); - | ~~~^~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] - 68 | #define SNMP_COMMUNITY_STR "public" - | ^~~~~~~~ - | | - | char * -epson-net-snmp.c:1601:63: note: in expansion of macro 'SNMP_COMMUNITY_STR' - 1601 | ret = snmpTransactS(soc, address, recvtimeout, oid, request, SNMP_COMMUNITY_STR, NULL, pdu); - | ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from epson-net-snmp.c:43: -epson-net-snmp.h:122:39: 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-escpage.c:1069:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1069 | EJLStart_ADDSTR(p, "ZO", "OFF"); | ^ @@ -4128,11 +2715,6 @@ epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' 983 | sprintf(b, " %s=%s", p, v); \ | ^ -epson-usb.c:2250:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 2250 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { - | ^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -4142,58 +2724,6 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-protocol.c:1692:31: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1692 | strcpy(dst->macAddress, src->macAddress); - | ~~~^~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1693:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1693 | strcpy(dst->manufacturerName, src->manufacturerName); - | ~~~^~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:2250:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 2250 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { - | ^ -epson-net-snmp.c: In function 'SnmpWalkMib': -epson-protocol.c:1693:35: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1693 | strcpy(dst->manufacturerName, src->manufacturerName); - | ~~~^~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-escpage.c:1069:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1069 | EJLStart_ADDSTR(p, "ZO", "OFF"); | ^ @@ -4208,83 +2738,6 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:1721:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1721 | strcpy(orgObjID, oid); - | ^~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1694:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1694 | strcpy(dst->modelName, src->modelName); - | ~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:2255:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 2255 | if((j = strstr(i, ";")) == NULL) { - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-net-snmp.c:1721:20: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1694:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1694 | strcpy(dst->modelName, src->modelName); - | ~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:1722:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1722 | strcpy(nextObjID, oid); - | ^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-protocol.c:1695:12: 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 *} epson-escpage.c:1072:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1072 | EJLStart_ADDSTR(p, "EC", "ON" ); | ^ @@ -4297,93 +2750,11 @@ from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -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) { - | ^ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-protocol.c:1695:32: 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 *} -epson-net-snmp.c:1722:21: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:2261:18: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 2261 | if((k = strstr(i, ",")) != NULL) { - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-protocol.c:1696:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1696 | strcpy(dst->serialNo, src->serialNo); - | ~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:68:29: 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:51: 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-escpage.c:1072:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1072 | EJLStart_ADDSTR(p, "EC", "ON" ); | ^ @@ -4392,72 +2763,24 @@ epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' 984 | b += strlen(b); \ | ^ -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 'snmpFindStart': In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-protocol.c:1696:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1696 | strcpy(dst->serialNo, src->serialNo); - | ~~~^~~~~~~~~~ +epson-net-snmp.c:68:29: warning: pointer targets in passing argument 3 of 'CreateCommand' differ in signedness [-Wpointer-sign] + 68 | #define SNMP_COMMUNITY_STR "public" + | ^~~~~~~~ | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:2261:9: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 2261 | if((k = strstr(i, ",")) != NULL) { - | ^ -epson-protocol.c:1697:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1697 | strcpy(dst->printerID, src->printerID); - | ~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1697:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1697 | strcpy(dst->printerID, src->printerID); - | ~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -epson-usb.c:2270:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 2270 | if( strncmp(i, "END4", 4) == 0 ){ - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c: In function 'IsValidAddress': + | char * +epson-net-snmp.c:417:73: note: in expansion of macro 'SNMP_COMMUNITY_STR' + 417 | if( EPS_ERR_NONE != (ret = CreateCommand(g_TrnBuff, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, + | ^~~~~~~~~~~~~~~~~~ +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-escpage.c:1076:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1076 | EJLStart_ADDSTR(p, "RI", "ON"); | ^ @@ -4475,21 +2798,17 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-protocol.c:1730:9: 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]); - | ^~~~ - | | - | const EPS_INT8 * {aka const signed char *} -epson-usb.c: In function 'GetSerialNumber': -In file included from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-protocol.c:39: -/usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 399 | extern int sscanf (const char *__restrict __s, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -epson-usb.c:2328:10: 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:68:29: 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:450:73: note: in expansion of macro 'SNMP_COMMUNITY_STR' + 450 | if( EPS_ERR_NONE != (ret = CreateCommand(g_TrnBuff, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, + | ^~~~~~~~~~~~~~~~~~ +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-escpage.c:1076:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1076 | EJLStart_ADDSTR(p, "RI", "ON"); | ^ @@ -4504,7 +2823,12 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c: In function 'SnmpFindRecv': +epson-net-snmp.c: In function 'snmpProbeByID': +epson-net-snmp.c:643:16: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] + 643 | pPos = strtok(printerUUID, EPS_NETID_SEP); + | ^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} epson-escpage.c:1085:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1085 | EJLStart_ADDSTR(p, "SN", "OFF"); | ^ @@ -4513,6 +2837,12 @@ epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' 983 | sprintf(b, " %s=%s", p, v); \ | ^ +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:336:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 336 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) + | ~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -4522,34 +2852,42 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:2103:10: 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 *} +epson-net-snmp.c:643:7: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 643 | pPos = strtok(printerUUID, EPS_NETID_SEP); + | ^ +epson-net-snmp.c:647:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 647 | strcpy(compName, pPos); + | ^~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:2103:26: 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 *} +epson-net-snmp.c:647:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 647 | strcpy(compName, pPos); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-net-snmp.c:650:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 650 | strcpy(compSysName, pPos); + | ^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} epson-escpage.c:1085:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1085 | EJLStart_ADDSTR(p, "SN", "OFF"); | ^ @@ -4558,23 +2896,38 @@ epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' 984 | b += strlen(b); \ | ^ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:2114:57: 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 *} -In file included from epson-typedefs.h:30, +epson-net-snmp.c:650:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 650 | strcpy(compSysName, pPos); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:654:8: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 654 | pPos = strtok(NULL, EPS_NETID_SEP); + | ^ epson-escpage.c:1098:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1098 | EJLStart_ADDINT(p, "CO", printJob.attr.copies); | ^ @@ -4583,6 +2936,19 @@ epson-escpage.c:988:11: note: in definition of macro 'EJLStart_ADDINT' 988 | sprintf(b, " %s=%d", p, v); \ | ^ +In file included from epson-net-snmp.c:42: +epson-protocol.h:49:35: warning: pointer targets in passing argument 2 of 'snmpFindStart' differ in signedness [-Wpointer-sign] + 49 | #define EPSNET_UDP_BROADCAST_ADDR "255.255.255.255" + | ^~~~~~~~~~~~~~~~~ + | | + | char * +epson-net-snmp.c:686:37: note: in expansion of macro 'EPSNET_UDP_BROADCAST_ADDR' + 686 | ret = snmpFindStart( socks+ifCnt, EPSNET_UDP_BROADCAST_ADDR, TRUE, ifBuf+(ifCnt*EPS_IFNAME_LEN) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +epson-escpr-mem.c: In function 'memStrStr': +epson-net-snmp.c:351:19: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 351 | const EPS_INT8* address, + | ~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -4592,20 +2958,42 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:2146:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 2146 | strcpy( (*printer)->location, sFromAdder ); - | ~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, +epson-escpr-mem.c:149:36: 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-net-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ + from epson-escpr-mem.c:34: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-mem.c:189:35: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-escpr-mem.c:34: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from epson-net-snmp.c:42: +epson-protocol.h:49:35: warning: pointer targets in passing argument 2 of 'snmpFindStart' differ in signedness [-Wpointer-sign] + 49 | #define EPSNET_UDP_BROADCAST_ADDR "255.255.255.255" + | ^~~~~~~~~~~~~~~~~ + | | + | char * +epson-net-snmp.c:734:40: note: in expansion of macro 'EPSNET_UDP_BROADCAST_ADDR' + 734 | ret = snmpFindStart( socks+ifCnt, EPSNET_UDP_BROADCAST_ADDR, TRUE, ifBuf+(ifCnt*EPS_IFNAME_LEN) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +epson-escpr-mem.c:190:42: 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 *} epson-escpage.c:1098:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1098 | EJLStart_ADDINT(p, "CO", printJob.attr.copies); | ^ @@ -4614,31 +3002,45 @@ epson-escpage.c:989:15: note: in definition of macro 'EJLStart_ADDINT' 989 | b += strlen(b); \ | ^ +epson-net-snmp.c:351:19: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 351 | const EPS_INT8* address, + | ~~~~~~~~~~~~~~~~^~~~~~~ +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-escpr-mem.c:34: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:2146:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 2146 | strcpy( (*printer)->location, sFromAdder ); - | ^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, +epson-escpr-mem.c: In function 'memStrStrWithLen': +epson-escpr-mem.c:234:36: 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 *} +In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:2176:14: 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 *} + from epson-escpr-mem.c:34: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-snmp.c: In function 'snmpGetStatus': +epson-escpr-mem.c:273:42: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-escpr-mem.c:34: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-escpage.c:1100:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1100 | EJLStart_ADDINT(p, "QT", 1); | ^ @@ -4647,12 +3049,14 @@ epson-escpage.c:988:11: note: in definition of macro 'EJLStart_ADDINT' 988 | sprintf(b, " %s=%d", p, v); \ | ^ -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] + 68 | #define SNMP_COMMUNITY_STR "public" + | ^~~~~~~~ + | | + | char * +epson-net-snmp.c:806:42: note: in expansion of macro 'SNMP_COMMUNITY_STR' + 806 | s_oidPrvStatus, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, + | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -4662,17 +3066,10 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:2176:37: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +In file included from epson-net-snmp.c:43: +epson-net-snmp.h:122:39: 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-escpage.c:1100:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1100 | EJLStart_ADDINT(p, "QT", 1); | ^ @@ -4687,28 +3084,19 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:2177:11: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:2177:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 2177 | strcmp(compName, (*printer)->modelName) ){ - | ~~~~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c: In function 'snmpGetStatus_Page': +epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] + 68 | #define SNMP_COMMUNITY_STR "public" + | ^~~~~~~~ + | | + | char * +epson-net-snmp.c:858:42: note: in expansion of macro 'SNMP_COMMUNITY_STR' + 858 | s_oidDevStatus, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, + | ^~~~~~~~~~~~~~~~~~ +In file included from epson-net-snmp.c:43: +epson-net-snmp.h:122:39: 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-escpage.c:1105:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1105 | EJLStart_ADDSTR(p, "FE", "SE"); | ^ @@ -4726,6 +3114,27 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-api.c:4477:16: warning: 'MakePageNumCmd' defined but not used [-Wunused-function] + 4477 | static void MakePageNumCmd ( + | ^~~~~~~~~~~~~~ +epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] + 68 | #define SNMP_COMMUNITY_STR "public" + | ^~~~~~~~ + | | + | char * +epson-net-snmp.c:877:46: note: in expansion of macro 'SNMP_COMMUNITY_STR' + 877 | s_oidPrinterStatus, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, + | ^~~~~~~~~~~~~~~~~~ +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[] = { + | ^~~~~~~~~~~ +In file included from epson-net-snmp.c:43: +epson-net-snmp.h:122:39: 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-escpage.c:1105:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1105 | EJLStart_ADDSTR(p, "FE", "SE"); | ^ @@ -4740,32 +3149,18 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-pm.c: In function '_SP_ChangeSpec_UpdatePMReply': -epson-net-snmp.c:2216:23: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -epson-escpr-pm.c:957:28: 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:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] + 68 | #define SNMP_COMMUNITY_STR "public" + | ^~~~~~~~ + | | + | char * +epson-net-snmp.c:939:46: note: in expansion of macro 'SNMP_COMMUNITY_STR' + 939 | s_oidPrinterError, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, + | ^~~~~~~~~~~~~~~~~~ +In file included from epson-net-snmp.c:43: +epson-net-snmp.h:122:39: 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-escpage.c:1111:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1111 | EJLStart_ADDSTR(p, "SZ", "OFF"); | ^ @@ -4774,31 +3169,6 @@ epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' 983 | sprintf(b, " %s=%s", p, v); \ | ^ -epson-escpr-pm.c:960:28: 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 *} -epson-net-snmp.c:2216:46: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-pm.c:24: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -4808,53 +3178,6 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpr-pm.c:961:25: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-pm.c:24: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:2218:23: 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 *} -epson-escpr-pm.c:964:28: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-pm.c:24: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -epson-escpr-pm.c:965:25: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-pm.c:24: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ epson-escpage.c:1111:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1111 | EJLStart_ADDSTR(p, "SZ", "OFF"); | ^ @@ -4869,67 +3192,6 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-pm.c:968:28: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-pm.c:24: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:2218:46: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -epson-escpr-pm.c:969:25: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-pm.c:24: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:970:22: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-pm.c:24: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:2224:10: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ epson-escpage.c:1114:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1114 | EJLStart_ADDSTR(p, "GAMMAMODE", "NORMAL"); | ^ @@ -4947,40 +3209,6 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c: In function 'CreateCommand': -epson-escpr-pm.c:1075:21: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-pm.c:24: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-pm.c:24: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:2309:56: 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 *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ epson-escpage.c:1114:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1114 | EJLStart_ADDSTR(p, "GAMMAMODE", "NORMAL"); | ^ @@ -4995,6 +3223,21 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-net-snmp.c: In function 'snmpInfoCommand': +epson-net-snmp.c:1151:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1151 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 's', 't', 0x01, 0x00, 0x01); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-escpage.c:1117:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1117 | EJLStart_ADDSTR(p, "SL", "YES"); | ^ @@ -5012,6 +3255,34 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-net-snmp.c:1154:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1154 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', 0x01, 0x00, 0x01); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:1157:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1157 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', 0x01, 0x00, 0x02); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-escpage.c:1117:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1117 | EJLStart_ADDSTR(p, "SL", "YES"); | ^ @@ -5026,8 +3297,34 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | 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:1164:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1164 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'c', 'd', 0x01, 0x00, 0x00); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:1167:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1167 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'v', 'i', 0x01, 0x00, 0x05); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-escpage.c:1120:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1120 | EJLStart_ADDSTR(p, "TO", "0"); | ^ @@ -5045,20 +3342,21 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:2514:98: 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)) - | ^ -In file included from epson-typedefs.h:30, +epson-net-snmp.c: In function 'BlkInfoCommand': +epson-net-snmp.c:1234:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1234 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', 0x05, 0x00, 0x03, + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-escpage.c:1120:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1120 | EJLStart_ADDSTR(p, "TO", "0"); | ^ @@ -5067,27 +3365,21 @@ epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' 984 | b += strlen(b); \ | ^ -In file included from epson-net-snmp.c:40: -epson-net-snmp.c:2514:98: 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)) - | ^ In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-net-snmp.c:38: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +epson-net-snmp.c:1244:26: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] + 1244 | cOid, ASN_PDU_GET, "public", NULL, &pdu); + | ^~~~~~~~ + | | + | char * +In file included from epson-net-snmp.c:43: +epson-net-snmp.h:122:39: 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-escpage.c:1123:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1123 | EJLStart_ADDSTR(p, "LO", "0"); | ^ @@ -5119,6 +3411,29 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-net-snmp.c:1284:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1284 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:1294:26: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] + 1294 | cOid, ASN_PDU_GET, "public", NULL, &pdu); + | ^~~~~~~~ + | | + | char * +In file included from epson-net-snmp.c:43: +epson-net-snmp.h:122:39: 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-escpage.c:1126:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1126 | EJLStart_ADDSTR(p, "OR", "PO"); | ^ @@ -5144,7 +3459,6 @@ epson-escpage.c:984:15: note: in definition of macro 'EJLStart_ADDSTR' 984 | b += strlen(b); \ | ^ -epson-net-snmp.c: In function 'OidToStr': In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage.c:19: @@ -5165,20 +3479,29 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:3063:10: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, +epson-net-snmp.c: In function 'snmpInfoCommand_PagePM': +epson-net-snmp.c:1418:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1418 | if( strncmp(pdu.val.v_str, "MP Tray", Min(pdu.length, 7)) == 0 || + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:1419:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1419 | strncmp(pdu.val.v_str, "MSI", Min(pdu.length, 3)) == 0) + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1132:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1132 | EJLStart_ADDSTR(p, "FO", "OFF"); | ^ @@ -5196,17 +3519,28 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:3067:32: 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 *} +epson-net-snmp.c:1422:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1422 | } else if( strncmp(pdu.val.v_str, "LC1", Min(pdu.length, 3)) == 0 || + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-snmp.c:38: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:1423:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1423 | strncmp(pdu.val.v_str, "Tray 1", Min(pdu.length, 6)) == 0 || + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1132:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1132 | EJLStart_ADDSTR(p, "FO", "OFF"); | ^ @@ -5221,20 +3555,17 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:3089:12: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, +epson-net-snmp.c:1424:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1424 | strncmp(pdu.val.v_str, "TRAY 1", Min(pdu.length, 6)) == 0) + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1135:11: 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); | ^ @@ -5249,43 +3580,40 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-net-snmp.c:1427:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1427 | } else if( strncmp(pdu.val.v_str, "LC2", Min(pdu.length, 3)) == 0 || + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} epson-escpage.c:1138:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1138 | p += strlen(p); | ^ | | | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:3091:12: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-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-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ epson-escpage.c: In function 'ejlEnd': -epson-net-snmp.c:3095:31: 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 *} +epson-net-snmp.c:1428:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1428 | strncmp(pdu.val.v_str, "Tray 2", Min(pdu.length, 6)) == 0 || + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-snmp.c:38: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1165:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1165 | sprintf(p, "%s%s ", | ^ @@ -5300,8 +3628,17 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -In file included from epson-net-snmp.c:40: -epson-net-snmp.c: In function 'StrToOid': +epson-net-snmp.c:1429:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1429 | strncmp(pdu.val.v_str, "TRAY 2", Min(pdu.length, 6)) == 0) + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1168:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1168 | p += strlen(p); | ^ @@ -5313,20 +3650,17 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:3135:38: 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:60: note: in definition of macro 'EPS_ALLOC' - 42 | #define EPS_ALLOC( s ) epsCmnFnc.memAlloc((EPS_UINT32)(s)) - | ^ +epson-net-snmp.c:1432:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1432 | } else if( strncmp(pdu.val.v_str, "LC3", Min(pdu.length, 3)) == 0 || + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-snmp.c:38: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1174:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1174 | sprintf(p, "JI PAGES=\"%d\"", dwPaperNum); | ^ @@ -5341,20 +3675,17 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:3139:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 3139 | strcpy(pTmp, pSrc); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, +epson-net-snmp.c:1433:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1433 | strncmp(pdu.val.v_str, "Tray 3", Min(pdu.length, 6)) == 0 || + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1175:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1175 | p += strlen(p); | ^ @@ -5366,25 +3697,50 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-net-snmp.c:1434:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1434 | strncmp(pdu.val.v_str, "TRAY 3", Min(pdu.length, 6)) == 0) + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +In file included from epson-protocol.c:45: +epson-escpage.h:58:42: 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:42: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:59:42: 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:42: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:42: 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:42: note: (near initialization for 'pageMediaSize[2].name') +epson-net-snmp.c:1437:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1437 | } else if( strncmp(pdu.val.v_str, "LC4", Min(pdu.length, 3)) == 0 || + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.h:61:42: 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.c:1178:10: 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); | ^ | | | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:3139:15: 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 *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, +epson-escpage.h:61:42: note: (near initialization for 'pageMediaSize[3].name') +In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-snmp.c:38: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -5394,37 +3750,57 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage.h:62:45: 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:45: note: (near initialization for 'pageMediaSize[4].name') +epson-escpage.h:63:44: 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:44: note: (near initialization for 'pageMediaSize[5].name') +epson-escpage.h:64:46: 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:46: note: (near initialization for 'pageMediaSize[6].name') +epson-net-snmp.c:1438:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1438 | strncmp(pdu.val.v_str, "Tray 4", Min(pdu.length, 6)) == 0 || + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} epson-escpage.c:1179:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1179 | p += strlen(p); | ^ | | | EPS_INT8 * {aka signed char *} In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +In file included from epson-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:3141:13: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] - 3141 | p = strtok(pTmp, "."); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} +epson-escpage.c: In function 'ejlPageEsc': +epson-net-snmp.c:1439:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 1439 | strncmp(pdu.val.v_str, "TRAY 4", Min(pdu.length, 6)) == 0) + | ~~~~~~~^~~~~~ + | | + | EPS_INT8 * {aka signed char *} In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-snmp.c:38: -/usr/include/string.h:336:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 336 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) - | ~~~~~~~~~~~~~~~~~^~~ -epson-escpage.c: In function 'ejlPageEsc': +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ epson-escpage.c:1210:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); | ^ | | | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:3141:4: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 3141 | p = strtok(pTmp, "."); - | ^ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -5448,65 +3824,54 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:3143:32: 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 *} +epson-net-snmp.c: In function 'snmpMechCommand': +epson-escpage.c:1210:13: warning: format string is not an array of type 'char' [-Wformat=] + 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); + | ^~~~~ +epson-net-snmp.c:1507:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1507 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'e', 0x01, 0x00, 0x01); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-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-snmp.c:38: -/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 361 | __NTH (atoi (const char *__nptr)) +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpage.c:1210:13: warning: format string is not an array of type 'char' [-Wformat=] - 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); - | ^~~~~ -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-escpage.c:1211:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1211 | p += strlen(p); | ^ | | | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:3148:4: 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-typedefs.h:30, from epson-escpr-err.h:29, from epson-escpage.c:19: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:3150:33: 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 *} -epson-escpage.c:1218:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); - | ^ - | | - | EPS_INT8 * {aka signed char *} +epson-net-snmp.c:1510:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1510 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d", + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-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-snmp.c:38: -/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 361 | __NTH (atoi (const char *__nptr)) +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage.c:1218:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); + | ^ + | | + | EPS_INT8 * {aka signed char *} In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -5516,6 +3881,17 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-net-snmp.c:1524:25: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 1524 | (strstr(pdu.val.v_str+1,"OK") != NULL) ){ + | ~~~~~~~~~~~~~^~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ epson-escpage.c:1218:13: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); | ^~~~ @@ -5530,12 +3906,1617 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-net-snmp.c:3157:4: 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: In function 'SnmpTransact': epson-escpage.c:1218:13: warning: format string is not an array of type 'char' [-Wformat=] 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); | ^~~~ +epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] + 68 | #define SNMP_COMMUNITY_STR "public" + | ^~~~~~~~ + | | + | char * +epson-net-snmp.c:1601:63: note: in expansion of macro 'SNMP_COMMUNITY_STR' + 1601 | ret = snmpTransactS(soc, address, recvtimeout, oid, request, SNMP_COMMUNITY_STR, NULL, pdu); + | ^~~~~~~~~~~~~~~~~~ +In file included from epson-net-snmp.c:43: +epson-net-snmp.h:122:39: 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-escpage.c:1219:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1219 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpage.c:19: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-protocol.c: In function 'prtProbePrinterByID': +epson-protocol.c:542:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 542 | strcpy(sParse, probeParam->dsc.identify); + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c: In function 'SnmpWalkMib': +epson-protocol.c:542:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 542 | strcpy(sParse, probeParam->dsc.identify); + | ~~~~~~~~~~~~~~~^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:544:16: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] + 544 | pPos = strtok(sParse, EPS_PID_SEP); + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:336:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 336 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) + | ~~~~~~~~~~~~~~~~~^~~ +epson-protocol.c:544:7: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 544 | pPos = strtok(sParse, EPS_PID_SEP); + | ^ +epson-net-snmp.c:1721:10: 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:548:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 548 | if( 0 != strcmp(pPos, EPS_PID_PRT) ){ + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:554:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] + 554 | sscanf(pPos, "%x", &nTmp); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 399 | extern int sscanf (const char *__restrict __s, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +epson-protocol.c:562:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 562 | if( 0 != strcmp(pPos, EPS_PID_DEF) ){ + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:1721:20: 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 *} +epson-protocol.c:568:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 568 | strcpy(defStr, pPos); + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:568:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 568 | strcpy(defStr, pPos); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:572:8: 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:1722:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1722 | strcpy(nextObjID, oid); + | ^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:1722:21: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:68:29: 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:51: 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-protocol.c: In function 'prtRegPrinter': +epson-protocol.c:921:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 921 | if( 0 == strcmp(printer->location, current->printer->location)){ + | ~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:921:55: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 921 | if( 0 == strcmp(printer->location, current->printer->location)){ + | ~~~~~~~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:922:27: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:922:56: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 922 | if(0 == strcmp(printer->modelName, current->printer->modelName)){ + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c: In function 'prtIsRegistered': +epson-protocol.c:1021:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1021 | if( 0 == strcmp(current->printer->location, Address) ){ + | ~~~~~~~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:1021:47: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1021 | if( 0 == strcmp(current->printer->location, Address) ){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:1023:37: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1023 | if( 0 == strcmp(current->printer->modelName, modelName) ){ + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c: In function 'SnmpFindRecv': +epson-protocol.c:1023:50: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1023 | if( 0 == strcmp(current->printer->modelName, modelName) ){ + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-usb.c: In function 'usbFind': +epson-net-snmp.c:2103:10: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-protocol.c: In function 'prtAddUsrPrinter': +epson-usb.c:252:38: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); + | ^~ + | | + | char * +epson-protocol.c:1100:43: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-usb.c:105:63: 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:2103:26: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-usb.c:252:42: warning: pointer targets in passing argument 3 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); + | ^~ + | | + | char * +epson-usb.c:106:12: 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:252:46: warning: pointer targets in passing argument 4 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); + | ^~ + | | + | char * +epson-usb.c:106:29: 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:1118:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1118 | strcpy(address, usrPrinter->location); + | ^~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1118:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1118 | strcpy(address, usrPrinter->location); + | ~~~~~~~~~~^~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +epson-usb.c: In function 'usbProbePrinterByID': +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:311:16: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] + 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); + | ^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-net-snmp.c:2114:57: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:336:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 336 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) + | ~~~~~~~~~~~~~~~~~^~~ +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-usb.c:311:7: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); + | ^ +epson-protocol.c:1119:13: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] + 1119 | p = strchr(address, ':'); + | ^~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:226:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 226 | extern char *strchr (const char *__s, int __c) + | ~~~~~~~~~~~~^~~ +epson-usb.c:316:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] + 316 | sscanf(pPos, "%x", &nTmp); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-protocol.c:1119:4: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 1119 | p = strchr(address, ':'); + | ^ +In file included from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 399 | extern int sscanf (const char *__restrict __s, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +epson-usb.c:324:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 324 | strcpy(modelNameTgt, pPos); + | ^~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1123:10: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] + 1123 | sscanf(p, "%d", &nPort); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-usb.c:324:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 324 | strcpy(modelNameTgt, pPos); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 399 | extern int sscanf (const char *__restrict __s, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:328:8: 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-net-snmp.c:2146:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 2146 | strcpy( (*printer)->location, sFromAdder ); + | ~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:364:38: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); + | ^~ + | | + | char * +epson-usb.c:105:63: 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-protocol.c:1154:21: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1154 | strcpy(innerPrinter->location, address); + | ~~~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-usb.c:364:42: warning: pointer targets in passing argument 3 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); + | ^~ + | | + | char * +epson-usb.c:106:12: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:364:46: warning: pointer targets in passing argument 4 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); + | ^~ + | | + | char * +epson-usb.c:106:29: 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:1154:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1154 | strcpy(innerPrinter->location, address); + | ^~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:2146:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 2146 | strcpy( (*printer)->location, sFromAdder ); + | ^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1160:21: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1160 | strcpy(innerPrinter->modelName, usrPrinter->modelName); + | ~~~~~~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1160:44: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1160 | strcpy(innerPrinter->modelName, usrPrinter->modelName); + | ~~~~~~~~~~^~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c: In function 'prtGetInnerPrinter': +epson-protocol.c:1202:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) + | ~~~~~~~^~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +epson-net-snmp.c:2176:14: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:1202:51: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) + | ~~~~~~~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:1203:27: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:2176:37: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:1203:52: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:2177:11: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c: In function 'prtSetIdStr': +epson-protocol.c:1334:17: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:2177:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 2177 | strcmp(compName, (*printer)->modelName) ){ + | ~~~~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-usb.c: In function 'usbResetPrinter': +epson-usb.c:804:14: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | 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:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1510 | strcpy(pFncs->address, EPSNET_UDP_BROADCAST_ADDR); + | ~~~~~^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-net-snmp.c:2216:23: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-protocol.c:1512:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1512 | strcpy(pFncs->address, address); + | ~~~~~^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1512:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1512 | strcpy(pFncs->address, address); + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +epson-net-snmp.c:2216:46: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-protocol.c:1527:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1527 | strcpy(pFncs->address, EPSNET_UDP_BROADCAST_ADDR); + | ~~~~~^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:2218:23: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +epson-protocol.c:1529:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1529 | strcpy(pFncs->address, address); + | ~~~~~^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1529:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1529 | strcpy(pFncs->address, address); + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:2218:46: 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 *} +epson-usb.c: In function 'usbMechCommand': +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +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){ + | ^~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-net-snmp.c:2224:10: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c: In function 'CreateCommand': +epson-protocol.c: In function 'MakePrinterStructure': +epson-net-snmp.c:2309:56: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-usb.c: In function 'CreatePrinterInfo': +epson-protocol.c:1691:12: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +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 ); + | ~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1691:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1691 | strcpy(dst->location, src->location); + | ~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1467:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-protocol.c:1692:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1692 | strcpy(dst->macAddress, src->macAddress); + | ~~~^~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1692:31: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1692 | strcpy(dst->macAddress, src->macAddress); + | ~~~^~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-usb.c:1467:40: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1693:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1693 | strcpy(dst->manufacturerName, src->manufacturerName); + | ~~~^~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1468:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1468 | strcpy( (*printer)->modelName, modelName ); + | ~~~~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1693:35: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1693 | strcpy(dst->manufacturerName, src->manufacturerName); + | ~~~^~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1468:33: 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 *} +In file included from epson-net-snmp.c:40: +epson-net-snmp.c: In function 'ParseResponse': +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1694:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1694 | strcpy(dst->modelName, src->modelName); + | ~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1469:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1469 | strcpy( (*printer)->serialNo, serialNo ); + | ~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:2514:98: 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)) + | ^ +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-protocol.c:1694:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1694 | strcpy(dst->modelName, src->modelName); + | ~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1469:32: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1695:12: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from epson-net-snmp.c:40: +epson-net-snmp.c:2514:98: 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)) + | ^ +epson-protocol.c:1695:32: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1483:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1483 | sprintf(usbIDString, EPS_USB_IDPRM_STR, usbInfo->dev.vid, usbInfo->dev.pid, modelName); + | ^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-protocol.c:1696:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1696 | strcpy(dst->serialNo, src->serialNo); + | ~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1696:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1696 | strcpy(dst->serialNo, src->serialNo); + | ~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c: In function 'PortResolution': +epson-protocol.c:1697:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1697 | strcpy(dst->printerID, src->printerID); + | ~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1541:19: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:1697:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1697 | strcpy(dst->printerID, src->printerID); + | ~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c: In function 'IsValidAddress': +epson-usb.c:1541:37: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:1730:9: 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]); + | ^~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-protocol.c:39: +/usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 399 | extern int sscanf (const char *__restrict __s, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +epson-usb.c: In function 'ProbePrinterByName': +epson-net-snmp.c: In function 'OidToStr': +epson-usb.c:1636:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ + | ^~~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-usb.c:1636:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ + | ^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:3063:10: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:3067:32: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-snmp.c:3089:12: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:3091:12: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:3095:31: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from epson-net-snmp.c:40: +epson-net-snmp.c: In function 'StrToOid': +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:3135:38: 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:60: note: in definition of macro 'EPS_ALLOC' + 42 | #define EPS_ALLOC( s ) epsCmnFnc.memAlloc((EPS_UINT32)(s)) + | ^ +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-usb.c:1886:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1886 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); + | ^~~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-net-snmp.c:3139:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 3139 | strcpy(pTmp, pSrc); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1891:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1891 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); + | ^~~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:3139:15: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1920:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1920 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ + | ^~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-pm.c: In function '_SP_ChangeSpec_UpdatePMReply': +epson-net-snmp.c:3141:13: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] + 3141 | p = strtok(pTmp, "."); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-net-snmp.c:38: +/usr/include/string.h:336:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 336 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) + | ~~~~~~~~~~~~~~~~~^~~ +epson-escpr-pm.c:957:28: 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:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-pm.c:960:28: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-pm.c:24: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-pm.c:961:25: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-pm.c:24: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-pm.c:964:28: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-pm.c:24: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-usb.c:1962:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1962 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ + | ^~~ + | | + | const EPS_INT8 * {aka const signed char *} +epson-net-snmp.c:3141:4: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 3141 | p = strtok(pTmp, "."); + | ^ +epson-escpr-pm.c:965:25: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-pm.c:24: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-pm.c:968:28: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-pm.c:24: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-pm.c:969:25: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-pm.c:24: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-pm.c:970:22: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-pm.c:24: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:3143:32: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 361 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +epson-usb.c: In function 'nd4ReadPortal': +epson-usb.c:2095:42: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 2095 | if( (dataSizePos = (EPS_UINT8*)strstr((EPS_INT8*)buff, "\x0D\x0A")) != NULL ){ + | ^~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-net-snmp.c:3148:4: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 3148 | p = strtok(NULL, "."); + | ^ +epson-usb.c: In function 'ParseUsbProtocol': +epson-net-snmp.c:3150:33: 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 *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-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-snmp.c:38: +/usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 361 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +epson-usb.c:2250:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 2250 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { + | ^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-net-snmp.c:3157:4: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 3157 | p = strtok(NULL, "."); + | ^ +epson-usb.c:2250:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 2250 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { + | ^ epson-net-snmp.c:3163:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3163 | nElm = atoi(p); | ^ @@ -5550,21 +5531,49 @@ /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ -epson-escpage.c:1219:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1219 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} +epson-usb.c:2255:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 2255 | if((j = strstr(i, ";")) == NULL) { + | ^ + | | + | EPS_INT8 * {aka signed char *} In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpage.c:19: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +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) { + | ^ epson-net-snmp.c:3182:5: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 3182 | p = strtok(NULL, "."); | ^ +epson-usb.c:2261:18: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 2261 | if((k = strstr(i, ",")) != NULL) { + | ^ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ epson-net-snmp.c: In function 'GetColorID': +epson-usb.c:2261:9: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 2261 | if((k = strstr(i, ",")) != NULL) { + | ^ +epson-usb.c:2270:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 2270 | if( strncmp(i, "END4", 4) == 0 ){ + | ^ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ epson-net-snmp.c:3317:22: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] 3317 | if( memStrStr(name, "Black", FALSE) ){ | ^~~~~~~ @@ -5574,6 +5583,7 @@ epson-escpr-mem.h:112:42: 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 'GetSerialNumber': epson-net-snmp.c:3319:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] 3319 | } else if( memStrStr(name, "Cyan", FALSE) ){ | ^~~~~~ @@ -5583,6 +5593,9 @@ epson-escpr-mem.h:112:42: 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:2328:10: 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:3321:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] 3321 | } else if( memStrStr(name, "Magenta", FALSE) ){ | ^~~~~~~~~ @@ -5601,6 +5614,28 @@ epson-escpr-mem.h:112:42: 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-escpr-pm.c:1075:21: 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-pm.c:24: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | 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 *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-pm.c:24: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-net-snmp.c:3325:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] 3325 | } else if( memStrStr(name, "Red", FALSE) ){ | ^~~~~ @@ -5700,7 +5735,7 @@ epson-escpr-mem.h:112:42: 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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -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") @@ -5801,9 +5836,9 @@ wrapper.c:357:2: warning: 'page_raw' may be used uninitialized in this function [-Wmaybe-uninitialized] 357 | free (page_raw); | ^~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -DCUPS_FILTER_NAME=\"epson-escpr\" -DCUPS_FILTER_PATH=\"/usr/lib/cups/filter\" -g -O2 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -lpthread -Wl,-z,relro -Wl,-z,now -o epson-escpr-wrapper epson_escpr_wrapper-wrapper.o -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o epson-escpr-wrapper epson_escpr_wrapper-wrapper.o -lpthread -lcupsimage -lcups -/bin/bash ../libtool --tag=CC --mode=link gcc -I../lib -g -O2 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -I../lib -g -O2 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fdebug-prefix-map=/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -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.8/src' make[3]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8' @@ -5814,7 +5849,7 @@ make[2]: Leaving directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8' make[1]: Leaving directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8' dh_auto_test - make -j42 check VERBOSE=1 + make -j20 check VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8' echo M4_MACROS = `ls m4 | sed 's,^,m4/,'` > m4-macros.tmp cmp -s m4-macros.tmp m4-macros || cp m4-macros.tmp m4-macros @@ -5854,7 +5889,7 @@ make[3]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8/lib' make[4]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8/lib' /bin/mkdir -p '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8/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.8/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.8/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.8/debian/tmp/usr/lib/printer-driver-escpr/libescpr.so.1.0.0 libtool: install: (cd /build/reproducible-path/epson-inkjet-printer-escpr-1.7.8/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.8/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; }; }) @@ -5894,7 +5929,7 @@ make[4]: Entering directory '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8/src' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/reproducible-path/epson-inkjet-printer-escpr-1.7.8/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.8/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.8/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.8/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.8/debian/tmp/usr/lib/cups/filter/epson-escpr-wrapper @@ -5935,8 +5970,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'printer-driver-escpr-dbgsym' in '../printer-driver-escpr-dbgsym_1.7.8-1_amd64.deb'. dpkg-deb: building package 'printer-driver-escpr' in '../printer-driver-escpr_1.7.8-1_amd64.deb'. +dpkg-deb: building package 'printer-driver-escpr-dbgsym' in '../printer-driver-escpr-dbgsym_1.7.8-1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../epson-inkjet-printer-escpr_1.7.8-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -5944,12 +5979,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3650919/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3650919/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/2557489 and its subdirectories -I: Current time: Wed Sep 3 06:21:48 -12 2025 -I: pbuilder-time-stamp: 1756923708 +I: removing directory /srv/workspace/pbuilder/3650919 and its subdirectories +I: Current time: Fri Aug 2 02:00:45 +14 2024 +I: pbuilder-time-stamp: 1722513645