Diff of the two buildlogs: -- --- b1/build.log 2023-05-07 14:49:45.581261454 +0000 +++ b2/build.log 2023-05-07 14:50:35.995049610 +0000 @@ -1,7 +1,6 @@ -W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Sun May 7 02:48:33 -12 2023 -I: pbuilder-time-stamp: 1683470913 +I: Current time: Sun Jun 9 11:12:46 +14 2024 +I: pbuilder-time-stamp: 1717881166 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -18,7 +17,7 @@ I: copying [./epson-inkjet-printer-escpr_1.7.17.orig.tar.gz] I: copying [./epson-inkjet-printer-escpr_1.7.17-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Apr 1 22:17:55 2022 -12 +gpgv: Signature made Sun Apr 3 00:17:55 2022 +14 gpgv: using RSA key 6201FBFFDBBDE07822EABB9696FCAC0D387B5847 gpgv: issuer "debian@alteholz.de" gpgv: Can't check signature: No public key @@ -32,136 +31,169 @@ dpkg-source: info: applying 0003-Fix-suc-c-essful-typo-in-debug-message.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/23948/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/41571/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +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 Jun 9 11:12 /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/41571/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/41571/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='23948' - PS1='# ' - PS2='> ' + INVOCATION_ID=8b028b0adace400c8f103d98cb725c74 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=41571 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.BGLZbBk6/pbuilderrc_wPma --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.BGLZbBk6/b1 --logfile b1/build.log epson-inkjet-printer-escpr_1.7.17-3.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/sbin/chroot' - http_proxy='http://78.137.99.97: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.BGLZbBk6/pbuilderrc_c99O --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.BGLZbBk6/b2 --logfile b2/build.log --extrapackages usrmerge epson-inkjet-printer-escpr_1.7.17-3.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 5.10.0-22-686-pae #1 SMP Debian 5.10.178-3 (2023-04-22) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 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 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 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 6460 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 8103 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/23948/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 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 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 9 11:12 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 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 6460 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 8103 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/41571/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -274,7 +306,7 @@ Get: 69 http://deb.debian.org/debian bookworm/main i386 libcupsimage2-dev i386 2.4.2-3 [6976 B] Get: 70 http://deb.debian.org/debian bookworm/main i386 libcups2-dev i386 2.4.2-3 [322 kB] Get: 71 http://deb.debian.org/debian bookworm/main i386 pyppd all 1.1.0-2 [16.8 kB] -Fetched 30.9 MB in 1s (24.6 MB/s) +Fetched 30.9 MB in 0s (81.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19604 files and directories currently installed.) @@ -574,8 +606,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/epson-inkjet-printer-escpr-1.7.17/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../epson-inkjet-printer-escpr_1.7.17-3_source.changes +I: user script /srv/workspace/pbuilder/41571/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/41571/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/epson-inkjet-printer-escpr-1.7.17/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../epson-inkjet-printer-escpr_1.7.17-3_source.changes dpkg-buildpackage: info: source package epson-inkjet-printer-escpr dpkg-buildpackage: info: source version 1.7.17-3 dpkg-buildpackage: info: source distribution unstable @@ -643,7 +686,7 @@ ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --libdir=/usr/lib/printer-driver-escpr/ --enable-static=no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -666,10 +709,10 @@ checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf -checking for a sed that does not truncate output... /bin/sed -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E -checking for fgrep... /bin/grep -F +checking for a sed that does not truncate output... /usr/bin/sed +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E +checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B @@ -689,8 +732,8 @@ checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no -checking for a working dd... /bin/dd -checking how to truncate binary pipes... /bin/dd bs=4096 count=1 +checking for a working dd... /usr/bin/dd +checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes @@ -720,7 +763,7 @@ checking whether to build shared libraries... yes checking whether to build static libraries... no checking for cups-config... yes -checking for egrep... (cached) /bin/grep -E +checking for egrep... (cached) /usr/bin/grep -E checking whether stat file-mode macros are broken... no checking whether struct tm is in sys/time.h or time.h... time.h checking for pid_t... yes @@ -762,7 +805,7 @@ config.status: executing libtool commands make[1]: Leaving directory '/build/epson-inkjet-printer-escpr-1.7.17' dh_auto_build - make -j8 + make -j15 make[1]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.17' echo M4_MACROS = `ls m4 | sed 's,^,m4/,'` > m4-macros.tmp cmp -s m4-macros.tmp m4-macros || cp m4-macros.tmp m4-macros @@ -774,1211 +817,37 @@ rm m4-macros.tmp Making all in lib make[3]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.17/lib' -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpage-comp.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage-comp.o -In file included from epson-escpage.c:29: -epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, - | ^~~~ -epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, - | ^~~~ -epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, - | ^~~~ -epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') -epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, - | ^~~~ -epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, - | ^~~~ -epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, - | ^~~~~ -epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } - | ^~~~ -epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') -epson-escpage.c:69:49: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 69 | { EPS_MTID_PLAIN, "NM" } - | ^~~~ -epson-escpage.c:69:49: note: (near initialization for 'pageMediaType[0].name') -epson-escpage.c:74:33: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 74 | { EPS_MPID_NOT_SPEC, "AU" }, - | ^~~~ -epson-escpage.c:74:33: note: (near initialization for 'pagePaperSource[0].name') -epson-escpage.c:75:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 75 | { EPS_MPID_AUTO, "AU" }, - | ^~~~ -epson-escpage.c:75:41: note: (near initialization for 'pagePaperSource[1].name') -epson-escpage.c:76:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 76 | { EPS_MPID_MPTRAY, "MP" }, - | ^~~~ -epson-escpage.c:76:41: note: (near initialization for 'pagePaperSource[2].name') -epson-escpage.c:77:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 77 | { EPS_MPID_FRONT1, "LC1" }, - | ^~~~~ -epson-escpage.c:77:41: note: (near initialization for 'pagePaperSource[3].name') -epson-escpage.c:78:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 78 | { EPS_MPID_FRONT2, "LC2" }, - | ^~~~~ -epson-escpage.c:78:41: note: (near initialization for 'pagePaperSource[4].name') -epson-escpage.c:79:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 79 | { EPS_MPID_FRONT3, "LC3" }, - | ^~~~~ -epson-escpage.c:79:41: note: (near initialization for 'pagePaperSource[5].name') -epson-escpage.c:80:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 80 | { EPS_MPID_FRONT4, "LC4" } - | ^~~~~ -epson-escpage.c:80:41: note: (near initialization for 'pagePaperSource[6].name') -epson-escpage.c: In function 'ejlStart': -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpage-mono.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage-mono.o -epson-escpage.c:1001:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1001 | sprintf(p, "%s%s \x0A%s\x0A%s %s", - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:489, - from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -In file included from epson-escpage-color.c:22: -epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, - | ^~~~ -epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, - | ^~~~ -epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, - | ^~~~ -epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') -epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, - | ^~~~ -epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, - | ^~~~ -epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.c:1009:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1009 | sprintf(p, "%s%s \x0A%s\x0A%s%s \x0A%s\x0A%s %s", - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, - | ^~~~~ -epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } - | ^~~~ -epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') +/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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-protocol.lo `test -f 'epson-protocol.c' || echo './'`epson-protocol.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-cbt.c -fPIC -DPIC -o .libs/libescpr_la-epson-cbt.o -epson-escpage.c:1019:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1019 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1022:25: 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:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1022:25: 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:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1031:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1031 | EJLStart_ADDSTR(p, "PS", pageMediaSize[i].name); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1031:25: 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:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1039:25: 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:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1039:25: 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:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1047:25: 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:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1047:25: 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:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1051:25: 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:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1051:25: 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:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage-color.c: In function 'RegisterPalette': -epson-escpage-color.c:830:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:1057:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1057 | EJLStart_ADDSTR(p, "DX", ( printJob.attr.duplex != EPS_DUPLEX_NONE )?"ON":"OFF"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -In file included from /usr/include/features.h:489, - from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-color.c:830:20: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] - 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-color.c:830:20: warning: format string is not an array of type 'char' [-Wformat=] - 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ - | ^~~~~~~ -epson-escpage.c:1057:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1057 | EJLStart_ADDSTR(p, "DX", ( printJob.attr.duplex != EPS_DUPLEX_NONE )?"ON":"OFF"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage-color.c:831:45: 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 *} -In file included from epson-typedefs.h:30: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1061:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1061 | EJLStart_ADDSTR(p, "BD", ( printJob.attr.duplex == EPS_DUPLEX_LONG )?"LE":"SE"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-color.c: In function 'BandEmit': -epson-escpage-color.c:980:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 980 | strcpy(p, "\x1D""0X"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpage.c:1061:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1061 | EJLStart_ADDSTR(p, "BD", ( printJob.attr.duplex == EPS_DUPLEX_LONG )?"LE":"SE"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage-color.c:981:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 981 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage-color.c:984:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 984 | sprintf(p, "\x1D%dY", emitRowCount); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1064:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1064 | EJLStart_ADDSTR(p, "TB", "0"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-color.c:985:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 985 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1064:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1064 | EJLStart_ADDSTR(p, "TB", "0"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage-color.c:989:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 989 | strcpy(p, "\x1D""2;204;0;"); /* Indirectly RGB8, palett=0 */ - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpage-color.c:991:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 991 | strcpy(p, "\x1D""2;102;0;"); /* RGB888 */ - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpage.c:1065:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1065 | EJLStart_ADDSTR(p, "LB", "0"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-color.c:993:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 993 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage-color.c:997:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 997 | strcpy(p, "20;"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpage.c:1065:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1065 | EJLStart_ADDSTR(p, "LB", "0"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage-color.c:1001:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1001 | strcpy(p, "0;"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-escpage-color.c:1004:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1004 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1069:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1069 | EJLStart_ADDSTR(p, "ZO", "OFF"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-color.c:1006:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1006 | sprintf(p, "%d;%d;%d;%d;0%s", pBand->currentWidthInPixels, pBand->rasterRow, - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-color.c:1008:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1008 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1069:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1069 | EJLStart_ADDSTR(p, "ZO", "OFF"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage-color.c:1014:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-color.c:1014:28: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] - 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); - | ^~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1072:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1072 | EJLStart_ADDSTR(p, "EC", "ON" ); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-color.c:1014:28: warning: format string is not an array of type 'char' [-Wformat=] - 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); - | ^~~~~ -epson-escpage-color.c:1015:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1015 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1072:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1072 | EJLStart_ADDSTR(p, "EC", "ON" ); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage-color.c:1027:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1027 | sprintf(p, "\x1D""%d;%d%s", pBand->scanDataSize, pBand->rasterRow, sbCUI); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-color.c:1028:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1028 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1076:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1076 | EJLStart_ADDSTR(p, "RI", "ON"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1076:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1076 | EJLStart_ADDSTR(p, "RI", "ON"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1085:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1085 | EJLStart_ADDSTR(p, "SN", "OFF"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1085:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1085 | EJLStart_ADDSTR(p, "SN", "OFF"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1098:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1098 | EJLStart_ADDINT(p, "CO", printJob.attr.copies); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:988:25: note: in definition of macro 'EJLStart_ADDINT' - 988 | sprintf(b, " %s=%d", p, v); \ - | ^ -In file included from epson-escpr-api.c:72: -epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, - | ^~~~ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, - | ^~~~ -epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, - | ^~~~ -epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') -epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, - | ^~~~ -epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, - | ^~~~ -epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, - | ^~~~~ -epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } - | ^~~~ -epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') -epson-escpage.c:1098:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1098 | EJLStart_ADDINT(p, "CO", printJob.attr.copies); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:989:29: note: in definition of macro 'EJLStart_ADDINT' - 989 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1100:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1100 | EJLStart_ADDINT(p, "QT", 1); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:988:25: note: in definition of macro 'EJLStart_ADDINT' - 988 | sprintf(b, " %s=%d", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1100:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1100 | EJLStart_ADDINT(p, "QT", 1); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:989:29: note: in definition of macro 'EJLStart_ADDINT' - 989 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1105:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1105 | EJLStart_ADDSTR(p, "FE", "SE"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1105:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1105 | EJLStart_ADDSTR(p, "FE", "SE"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1111:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1111 | EJLStart_ADDSTR(p, "SZ", "OFF"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1111:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1111 | EJLStart_ADDSTR(p, "SZ", "OFF"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1114:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1114 | EJLStart_ADDSTR(p, "GAMMAMODE", "NORMAL"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1114:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1114 | EJLStart_ADDSTR(p, "GAMMAMODE", "NORMAL"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1117:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1117 | EJLStart_ADDSTR(p, "SL", "YES"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1117:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1117 | EJLStart_ADDSTR(p, "SL", "YES"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1120:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1120 | EJLStart_ADDSTR(p, "TO", "0"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1120:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1120 | EJLStart_ADDSTR(p, "TO", "0"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1123:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1123 | EJLStart_ADDSTR(p, "LO", "0"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1123:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1123 | EJLStart_ADDSTR(p, "LO", "0"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1126:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1126 | EJLStart_ADDSTR(p, "OR", "PO"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1126:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1126 | EJLStart_ADDSTR(p, "OR", "PO"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1129:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1129 | sprintf(p, " %s%s%s", sbEJL_LF, sbEJL_EN_C, sbEJL_LF); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1132:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1132 | EJLStart_ADDSTR(p, "FO", "OFF"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' - 983 | sprintf(b, " %s=%s", p, v); \ - | ^ -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1132:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1132 | EJLStart_ADDSTR(p, "FO", "OFF"); - | ^ - | | - | EPS_INT8 * {aka signed char *} -epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' - 984 | b += strlen(b); \ - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1135:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1135 | sprintf(p, " %s%s%s", sbEJL_LF, sbEJL_EN, sbEJL_LF); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1138:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1138 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c: In function 'ejlEnd': -epson-escpage.c:1165:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1165 | sprintf(p, "%s%s ", - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1168:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1168 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1174:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1174 | sprintf(p, "JI PAGES=\"%d\"", dwPaperNum); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1175:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1175 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1178:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1178 | sprintf(p, " %s%s %s", sbEJL_LF, sbEJL, sbEJL_LF); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1179:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1179 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c: In function 'ejlPageEsc': -epson-escpage.c:1210:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1210:20: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] - 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); - | ^~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1210:20: warning: format string is not an array of type 'char' [-Wformat=] - 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); - | ^~~~~ -epson-escpage.c:1211:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1211 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage.c:1218:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1218:20: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] - 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); - | ^~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage.c:1218:20: warning: format string is not an array of type 'char' [-Wformat=] - 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); - | ^~~~ -epson-escpage.c:1219:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1219 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -/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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -In file included from epson-escpage-mono.c:22: -epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, - | ^~~~ -epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, - | ^~~~ -epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, - | ^~~~ -epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') -epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, - | ^~~~ -epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, - | ^~~~ -epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, - | ^~~~~ -epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } - | ^~~~ -epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') -epson-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-mono.c: In function 'BandEmit': -epson-escpage-mono.c:995:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 995 | sprintf(p, "\x1D%dY", iRow); - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:489, - from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-mono.c:996:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 996 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpage-mono.c:1002:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1002 | sprintf(p, sbBID, iNByte, iNDot); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-mono.c:1002:20: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] - 1002 | sprintf(p, sbBID, iNByte, iNDot); - | ^~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-escpage-mono.c:1002:20: warning: format string is not an array of type 'char' [-Wformat=] - 1002 | sprintf(p, sbBID, iNByte, iNDot); - | ^~~~~ -epson-escpage-mono.c:1003:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1003 | p += strlen(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-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[] = { - | ^~~~~~~~~~~ +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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpr-mem.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-mem.o -epson-escpr-mem.c: In function 'memStrStr': -epson-escpr-mem.c:149:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 149 | if(NULL == strSrc || 64 <= strlen(strFind)){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-escpr-mem.c:34: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c:189:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 189 | nFindStrLen = (EPS_UINT32)strlen(strFind); - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c:190:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 190 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c: In function 'memStrStrWithLen': -epson-escpr-mem.c:234:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 234 | if(NULL == strSrc || 64 <= strlen(strFind)){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c:273:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 273 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ +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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpr-pm.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-pm.o -epson-escpr-pm.c: In function '_SP_ChangeSpec_UpdatePMReply': -epson-escpr-pm.c:957:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 957 | if( (strcmp(printer->modelName, "E-300" ) == 0) ){ - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-err.h:29, - from epson-escpr-pm.c:24: -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:960:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 960 | } else if( (strcmp(printer->modelName, "E-500" ) == 0) || - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:961:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 961 | (strcmp(printer->modelName, "E-700" ) == 0) ) { - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:964:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 964 | } else if( (strcmp(printer->modelName, "PictureMate PM 200" ) == 0) || - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:965:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 965 | (strcmp(printer->modelName, "PictureMate PM 210" ) == 0) ){ - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:968:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 968 | } else if( (strcmp(printer->modelName, "PictureMate PM 240" ) == 0) || - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:969:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 969 | (strcmp(printer->modelName, "PictureMate PM 250" ) == 0) || - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:970:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 970 | (strcmp(printer->modelName, "PictureMate PM 280" ) == 0) ){ - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:1075:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1075 | if ((strcmp(printer->modelName, "Stylus Photo R380" ) == 0) || - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-pm.c:1076:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1076 | (strcmp(printer->modelName, "Stylus Photo RX580") == 0) ) { - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -/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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 +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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-layout.c -fPIC -DPIC -o .libs/libescpr_la-epson-layout.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpr-services.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-services.o -/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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 +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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-net-raw.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-raw.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-protocol.c -fPIC -DPIC -o .libs/libescpr_la-epson-protocol.o 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) { @@ -2049,6 +918,7 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-escpr-mem.c: In function 'memStrStr': epson-escpr-services.c:196:32: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 196 | if((i = strstr(deviceIDString, "MDL:")) != NULL) { | ^~~~~~~~~~~~~~ @@ -2060,15 +930,25 @@ epson-escpr-services.c:196:23: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 196 | if((i = strstr(deviceIDString, "MDL:")) != NULL) { | ^ +epson-escpr-mem.c:149:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 149 | if(NULL == strSrc || 64 <= strlen(strFind)){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} epson-escpr-services.c:198:39: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 198 | } else if((i = strstr(deviceIDString, "MODEL:")) != NULL) { | ^~~~~~~~~~~~~~ | | | EPS_INT8 * {aka signed char *} -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-net-lpr.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-lpr.o /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-escpr-mem.c:34: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-escpr-services.c:198:30: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 198 | } else if((i = strstr(deviceIDString, "MODEL:")) != NULL) { | ^ @@ -2107,6 +987,14 @@ epson-escpr-services.c:238:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 238 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { | ^ +epson-escpr-mem.c:189:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 189 | nFindStrLen = (EPS_UINT32)strlen(strFind); + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-escpr-services.c:259:32: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 259 | if((k = strstr(i, ",")) != NULL) { | ^ @@ -2115,9 +1003,17 @@ /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ +epson-escpr-mem.c:190:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 190 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} epson-escpr-services.c:259:23: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 259 | if((k = strstr(i, ",")) != NULL) { | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-escpr-services.c:263:32: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 263 | if((p = strstr(i, "ESCPR")) != NULL) { | ^ @@ -2134,9 +1030,18 @@ | ~^~ | | | EPS_INT8 * {aka signed char *} +epson-escpr-mem.c: In function 'memStrStrWithLen': /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +epson-escpr-mem.c:234:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 234 | if(NULL == strSrc || 64 <= strlen(strFind)){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-escpr-services.c:271:34: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 271 | } else if(strstr(i, "ESCPAGECOLOR") != NULL) { | ^ @@ -2172,6 +1077,14 @@ epson-escpr-services.c:332:23: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 332 | if((i = strstr(deviceIDString, "ELG:")) != NULL) { | ^ +epson-escpr-mem.c:273:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 273 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-escpr-services.c:350:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 350 | if(strlen(i) <= 4) { | ^ @@ -2267,6 +1180,10 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ +epson-cbt.c: In function 'commClose': +epson-cbt.c:654:15: warning: variable 'closePtlState' set but not used [-Wunused-but-set-variable] + 654 | EPS_INT32 closePtlState = 0; + | ^~~~~~~~~~~~~ epson-escpr-services.c:788:44: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 788 | strncpy(serialNo, p+POS, LEN); \ | ^ @@ -2296,7 +1213,36 @@ /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ +In file included from epson-escpr-api.c:72: +epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, + | ^~~~ +epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, + | ^~~~ +epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, + | ^~~~ +epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') epson-escpr-services.c: In function 'obsGetPageMode': +epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, + | ^~~~ +epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') +epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, + | ^~~~ +epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') +epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, + | ^~~~~ +epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') +epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } + | ^~~~ +epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') epson-escpr-services.c:1324:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1324 | if( (strcmp(modelName, "EP-801A" ) == 0) || | ^~~~~~~~~ @@ -2353,6 +1299,27 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from epson-escpage.c:29: +epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, + | ^~~~ +epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, + | ^~~~ +epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, + | ^~~~ +epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') +epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, + | ^~~~ +epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') +epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, + | ^~~~ +epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') epson-escpr-services.c:1331:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1331 | (strcmp(modelName, "Stylus Photo PX800FW") == 0) || | ^~~~~~~~~ @@ -2361,6 +1328,31 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, + | ^~~~~ +epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') +In file included from epson-escpage-mono.c:22: +epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, + | ^~~~ +epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } + | ^~~~ +epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') +epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, + | ^~~~ +epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, + | ^~~~ +epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') +epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, + | ^~~~ +epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') epson-escpr-services.c:1332:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1332 | (strcmp(modelName, "Stylus Photo TX800FW") == 0) ) | ^~~~~~~~~ @@ -2369,6 +1361,18 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, + | ^~~~ +epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') +epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, + | ^~~~~ +epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') +epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } + | ^~~~ +epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') epson-escpr-services.c: In function 'obsIsA3Model': epson-escpr-services.c:1351:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1351 | if( (strcmp(modelName, "PX-5V" ) == 0) || @@ -2378,15 +1382,46 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-layout.c -fPIC -DPIC -o .libs/libescpr_la-epson-layout.o +epson-escpage.c:69:49: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 69 | { EPS_MTID_PLAIN, "NM" } + | ^~~~ +epson-escpage.c:69:49: note: (near initialization for 'pageMediaType[0].name') +epson-escpage.c:74:33: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 74 | { EPS_MPID_NOT_SPEC, "AU" }, + | ^~~~ +epson-escpage.c:74:33: note: (near initialization for 'pagePaperSource[0].name') +epson-escpage.c:75:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 75 | { EPS_MPID_AUTO, "AU" }, + | ^~~~ epson-escpr-services.c:1352:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1352 | (strcmp(modelName, "Epson Stylus Photo R3000") == 0) || | ^~~~~~~~~ | | | const EPS_INT8 * {aka const signed char *} +epson-escpage.c:75:41: note: (near initialization for 'pagePaperSource[1].name') /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-escpage.c:76:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 76 | { EPS_MPID_MPTRAY, "MP" }, + | ^~~~ +epson-escpage.c:76:41: note: (near initialization for 'pagePaperSource[2].name') +epson-escpage.c:77:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 77 | { EPS_MPID_FRONT1, "LC1" }, + | ^~~~~ +epson-escpage.c:77:41: note: (near initialization for 'pagePaperSource[3].name') +epson-escpage.c:78:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 78 | { EPS_MPID_FRONT2, "LC2" }, + | ^~~~~ +epson-escpage.c:78:41: note: (near initialization for 'pagePaperSource[4].name') +epson-escpage.c:79:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 79 | { EPS_MPID_FRONT3, "LC3" }, + | ^~~~~ +epson-escpage.c:79:41: note: (near initialization for 'pagePaperSource[5].name') +epson-escpage.c:80:41: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 80 | { EPS_MPID_FRONT4, "LC4" } + | ^~~~~ +epson-escpage.c:80:41: note: (near initialization for 'pagePaperSource[6].name') epson-escpr-services.c:1353:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1353 | (strcmp(modelName, "PX-7V" ) == 0) || | ^~~~~~~~~ @@ -2403,14 +1438,35 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +In file included from epson-escpage-color.c:22: +epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, + | ^~~~ epson-escpr-services.c:1355:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1355 | (strcmp(modelName, "EP-4004" ) == 0) || | ^~~~~~~~~ | | | const EPS_INT8 * {aka const signed char *} +epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, + | ^~~~ +epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, + | ^~~~ +epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') +epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, + | ^~~~ +epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') +epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, + | ^~~~ +epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') epson-escpr-services.c:1356:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1356 | (strcmp(modelName, "Artisan 1430" ) == 0) || | ^~~~~~~~~ @@ -2419,6 +1475,14 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, + | ^~~~~ +epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') +epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } + | ^~~~ +epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') epson-escpr-services.c:1357:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1357 | (strcmp(modelName, "Epson Stylus Photo 1430") == 0) || | ^~~~~~~~~ @@ -2468,39 +1532,6 @@ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ epson-escpr-services.c: In function 'obsEnableDuplex': -epson-escpr-services.c:1399:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1399 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1399:65: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1399 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ - | ~~~~~~~~~~~~~~~~~~^~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c: In function 'obsEnableAutoFeed': -epson-escpr-services.c:1418:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1418 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-escpr-services.c:1418:57: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1418 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ - | ~~~~~~~~~~~~~~~~~~^~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ epson-net-lpr.c: In function 'StartDataSession': epson-net-lpr.c:860:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 860 | sprintf(buffer, "\x02%s\n", pqueue); @@ -2516,6 +1547,14 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-services.c:1399:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1399 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-net-lpr.c:863:76: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 863 | if( epsNetFnc.send(lprPrintJob->socData, buffer, (EPS_INT32)strlen(buffer), EPSNET_SEND_TIMEOUT) | ^~~~~~ @@ -2525,6 +1564,16 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:1399:65: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1399 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ + | ~~~~~~~~~~~~~~~~~~^~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpr-services.c: In function 'obsEnableAutoFeed': +epson-escpage.c: In function 'ejlStart': epson-net-lpr.c:864:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 864 | != (EPS_INT32)strlen(buffer)){ | ^~~~~~ @@ -2533,6 +1582,29 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-services.c:1418:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1418 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +epson-escpr-pm.c: In function '_SP_ChangeSpec_UpdatePMReply': +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1001:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1001 | sprintf(p, "%s%s \x0A%s\x0A%s %s", + | ^ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:489, + from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-lpr.c:887:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 887 | sprintf(dname, "dfA%d%s", nJobID, LPR_HOST_NAME); | ^~~~~ @@ -2541,11 +1613,38 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-pm.c:957:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 957 | if( (strcmp(printer->modelName, "E-300" ) == 0) ){ + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-escpr-services.c:1418:57: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1418 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ + | ~~~~~~~~~~~~~~~~~~^~~ + | | + | EPS_INT8 * {aka signed char *} epson-net-lpr.c:888:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 888 | sprintf(cname, "cfA%d%s", nJobID, LPR_HOST_NAME); | ^~~~~ | | | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-err.h:29, + from epson-escpr-pm.c:24: +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpage.c:1009:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1009 | sprintf(p, "%s%s \x0A%s\x0A%s%s \x0A%s\x0A%s %s", + | ^ + | | + | EPS_INT8 * {aka signed char *} /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ @@ -2557,6 +1656,14 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-pm.c:960:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 960 | } else if( (strcmp(printer->modelName, "E-500" ) == 0) || + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-net-lpr.c:891:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 891 | sprintf(buffer, "\x02%d %s\n", (EPS_UINT32)strlen(controlfile), cname); | ^~~~~~~~~~~ @@ -2565,6 +1672,23 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpage.c:1019:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1019 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpr-pm.c:961:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 961 | (strcmp(printer->modelName, "E-700" ) == 0) ) { + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +In file included from epson-typedefs.h:30: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-lpr.c:891:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 891 | sprintf(buffer, "\x02%d %s\n", (EPS_UINT32)strlen(controlfile), cname); | ^~~~~~ @@ -2581,6 +1705,14 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-pm.c:964:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 964 | } else if( (strcmp(printer->modelName, "PictureMate PM 200" ) == 0) || + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-net-lpr.c:895:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 895 | != (EPS_INT32)strlen(buffer)){ | ^~~~~~ @@ -2589,6 +1721,26 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-pm.c:965:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 965 | (strcmp(printer->modelName, "PictureMate PM 210" ) == 0) ){ + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c: In function 'snmpFindStart': +epson-escpage.c:1022:25: 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:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-lpr.c:912:81: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 912 | if( epsNetFnc.send(lprPrintJob->socData, controlfile, (EPS_INT32)strlen(controlfile) + 1, EPSNET_SEND_TIMEOUT) | ^~~~~~~~~~~ @@ -2597,22 +1749,79 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-pm.c:968:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 968 | } else if( (strcmp(printer->modelName, "PictureMate PM 240" ) == 0) || + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:68:41: warning: pointer targets in passing argument 3 of 'CreateCommand' differ in signedness [-Wpointer-sign] + 68 | #define SNMP_COMMUNITY_STR "public" + | ^~~~~~~~ + | | + | char * +epson-net-snmp.c:417:87: 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-lpr.c:913:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 913 | != (EPS_INT32)strlen(controlfile)+1){ /* Send '\0' */ | ^~~~~~~~~~~ | | | EPS_INT8 * {aka signed char *} +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, + | ^~~~~~~~~~~~~~~ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-pm.c:969:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 969 | (strcmp(printer->modelName, "PictureMate PM 250" ) == 0) || + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-net-snmp.c:68:41: warning: pointer targets in passing argument 3 of 'CreateCommand' differ in signedness [-Wpointer-sign] + 68 | #define SNMP_COMMUNITY_STR "public" + | ^~~~~~~~ + | | + | char * +epson-net-snmp.c:450:87: 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-lpr.c:935:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 935 | sprintf(buffer, "\x03%s %s\n", LPR_DUMMY_DATA_SIZE, dname); | ^~~~~~ | | | EPS_INT8 * {aka signed char *} +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, + | ^~~~~~~~~~~~~~~ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpr-pm.c:970:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 970 | (strcmp(printer->modelName, "PictureMate PM 280" ) == 0) ){ + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:1022:25: 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:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-lpr.c:938:76: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 938 | if( epsNetFnc.send(lprPrintJob->socData, buffer, (EPS_INT32)strlen(buffer), EPSNET_SEND_TIMEOUT) | ^~~~~~ @@ -2621,6 +1830,7 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpage-mono.c: In function 'BandEmit': epson-net-lpr.c:939:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 939 | != (EPS_INT32)strlen(buffer)){ | ^~~~~~ @@ -2629,55 +1839,76 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-net-raw.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-raw.o -/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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-net-snmp.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-snmp.o -epson-net-snmp.c: In function 'snmpFindStart': -epson-net-snmp.c:68:41: warning: pointer targets in passing argument 3 of 'CreateCommand' differ in signedness [-Wpointer-sign] - 68 | #define SNMP_COMMUNITY_STR "public" - | ^~~~~~~~ - | | - | char * -epson-net-snmp.c:417:87: 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-net-snmp.c:68:41: warning: pointer targets in passing argument 3 of 'CreateCommand' differ in signedness [-Wpointer-sign] - 68 | #define SNMP_COMMUNITY_STR "public" - | ^~~~~~~~ - | | - | char * -epson-net-snmp.c:450:87: 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, - | ^~~~~~~~~~~~~~~ -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-usb.c -fPIC -DPIC -o .libs/libescpr_la-epson-usb.o +epson-escpage-mono.c:995:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 995 | sprintf(p, "\x1D%dY", iRow); + | ^ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:489, + from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c: In function 'snmpProbeByID': +epson-escpr-pm.c:1075:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1075 | if ((strcmp(printer->modelName, "Stylus Photo R380" ) == 0) || + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1031:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1031 | EJLStart_ADDSTR(p, "PS", pageMediaSize[i].name); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:643:23: 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-mono.c:996:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 996 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} In file included from epson-typedefs.h:30, from epson-escpr-def.h:29, from epson-net-snmp.c:38: /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ +In file included from epson-typedefs.h:30: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:643:14: 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-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 *} epson-net-snmp.c:647:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 647 | strcpy(compName, pPos); | ^~~~~~~~ | | | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:489, from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -2685,6 +1916,14 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-escpage-mono.c:1002:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1002 | sprintf(p, sbBID, iNByte, iNDot); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:647:42: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 647 | strcpy(compName, pPos); | ^~~~ @@ -2693,6 +1932,17 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-escpage.c:1031:25: 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:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:650:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 650 | strcpy(compSysName, pPos); | ^~~~~~~~~~~ @@ -2701,6 +1951,14 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-escpage-mono.c:1002:20: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] + 1002 | sprintf(p, sbBID, iNByte, iNDot); + | ^~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:650:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 650 | strcpy(compSysName, pPos); | ^~~~ @@ -2712,6 +1970,18 @@ epson-net-snmp.c:654:22: 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-mono.c:1002:20: warning: format string is not an array of type 'char' [-Wformat=] + 1002 | sprintf(p, sbBID, iNByte, iNDot); + | ^~~~~ +epson-escpage-color.c: In function 'RegisterPalette': +epson-escpage-mono.c:1003:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1003 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ In file included from epson-net-snmp.c:42: epson-protocol.h:49:41: warning: pointer targets in passing argument 2 of 'snmpFindStart' differ in signedness [-Wpointer-sign] 49 | #define EPSNET_UDP_BROADCAST_ADDR "255.255.255.255" @@ -2724,6 +1994,42 @@ epson-net-snmp.c:351:33: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 351 | const EPS_INT8* address, | ~~~~~~~~~~~~~~~~^~~~~~~ +epson-escpage-color.c:830:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:1039:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1039 | EJLStart_ADDSTR(p, "PK", pageMediaType[i].name); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +In file included from /usr/include/features.h:489, + from /usr/include/i386-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/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpage-color.c:830:20: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] + 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpage-color.c:830:20: warning: format string is not an array of type 'char' [-Wformat=] + 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ + | ^~~~~~~ epson-protocol.h:49:41: warning: pointer targets in passing argument 2 of 'snmpFindStart' differ in signedness [-Wpointer-sign] 49 | #define EPSNET_UDP_BROADCAST_ADDR "255.255.255.255" | ^~~~~~~~~~~~~~~~~ @@ -2735,6 +2041,26 @@ epson-net-snmp.c:351:33: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 351 | const EPS_INT8* address, | ~~~~~~~~~~~~~~~~^~~~~~~ +epson-escpage-color.c:831:45: 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-escpage.c:1039:25: 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:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from epson-typedefs.h:30: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c: In function 'snmpGetStatus': epson-net-snmp.c:68:41: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] 68 | #define SNMP_COMMUNITY_STR "public" @@ -2748,7 +2074,27 @@ epson-net-snmp.h:122:102: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, | ^~~~~~~~~~~~~~~ +epson-escpage.c:1047:25: 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:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpage-color.c: In function 'BandEmit': epson-net-snmp.c: In function 'snmpGetStatus_Page': +epson-escpage-color.c:980:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 980 | strcpy(p, "\x1D""0X"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ epson-net-snmp.c:68:41: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] 68 | #define SNMP_COMMUNITY_STR "public" | ^~~~~~~~ @@ -2760,6 +2106,33 @@ epson-net-snmp.h:122:102: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, | ^~~~~~~~~~~~~~~ +epson-escpage.c:1047:25: 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:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +epson-escpage-color.c:981:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 981 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage-color.c:984:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 984 | sprintf(p, "\x1D%dY", emitRowCount); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:68:41: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] 68 | #define SNMP_COMMUNITY_STR "public" | ^~~~~~~~ @@ -2771,6 +2144,33 @@ epson-net-snmp.h:122:102: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, | ^~~~~~~~~~~~~~~ +epson-escpage-color.c:985:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 985 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage.c:1051:25: 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:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpage-color.c:989:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 989 | strcpy(p, "\x1D""2;204;0;"); /* Indirectly RGB8, palett=0 */ + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ epson-net-snmp.c:68:41: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] 68 | #define SNMP_COMMUNITY_STR "public" | ^~~~~~~~ @@ -2779,18 +2179,137 @@ epson-net-snmp.c:939:102: note: in expansion of macro 'SNMP_COMMUNITY_STR' 939 | s_oidPrinterError, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, | ^~~~~~~~~~~~~~~~~~ +epson-escpage-color.c:991:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 991 | strcpy(p, "\x1D""2;102;0;"); /* RGB888 */ + | ^ + | | + | EPS_INT8 * {aka signed char *} epson-net-snmp.h:122:102: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, | ^~~~~~~~~~~~~~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1051:25: 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:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +epson-escpage-color.c:993:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 993 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage-color.c:997:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 997 | strcpy(p, "20;"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage-color.c:1001:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1001 | strcpy(p, "0;"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1057:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1057 | EJLStart_ADDSTR(p, "DX", ( printJob.attr.duplex != EPS_DUPLEX_NONE )?"ON":"OFF"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpage-color.c:1004:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1004 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage-color.c:1006:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1006 | sprintf(p, "%d;%d;%d;%d;0%s", pBand->currentWidthInPixels, pBand->rasterRow, + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpage.c:1057:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1057 | EJLStart_ADDSTR(p, "DX", ( printJob.attr.duplex != EPS_DUPLEX_NONE )?"ON":"OFF"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage-color.c:1008:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1008 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage-color.c:1014:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c: In function 'snmpInfoCommand': +epson-escpage-color.c:1014:28: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] + 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); + | ^~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:1151:25: 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 *} +epson-escpage.c:1061:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1061 | EJLStart_ADDSTR(p, "BD", ( printJob.attr.duplex == EPS_DUPLEX_LONG )?"LE":"SE"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage-color.c:1014:28: warning: format string is not an array of type 'char' [-Wformat=] + 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); + | ^~~~~ epson-net-snmp.c:1154:25: 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); | ^~~~ @@ -2799,6 +2318,14 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage-color.c:1015:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1015 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:1157:25: 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); | ^~~~ @@ -2807,6 +2334,25 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage.c:1061:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1061 | EJLStart_ADDSTR(p, "BD", ( printJob.attr.duplex == EPS_DUPLEX_LONG )?"LE":"SE"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage-color.c:1027:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1027 | sprintf(p, "\x1D""%d;%d%s", pBand->scanDataSize, pBand->rasterRow, sbCUI); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:1164:25: 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); | ^~~~ @@ -2815,15 +2361,45 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage-color.c:1028:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1028 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:1167:25: 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-escpage.c:1064:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1064 | EJLStart_ADDSTR(p, "TB", "0"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage.c:1064:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1064 | EJLStart_ADDSTR(p, "TB", "0"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ epson-net-snmp.c: In function 'BlkInfoCommand': +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:1234:25: 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, | ^~~~ @@ -2832,14 +2408,36 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage.c:1065:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1065 | EJLStart_ADDSTR(p, "LB", "0"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ epson-net-snmp.c:1244:68: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] 1244 | cOid, ASN_PDU_GET, "public", NULL, &pdu); | ^~~~~~~~ | | | char * +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.h:122:102: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, | ^~~~~~~~~~~~~~~ +epson-escpage.c:1065:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1065 | EJLStart_ADDSTR(p, "LB", "0"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:1284:33: 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', | ^~~~ @@ -2848,6 +2446,17 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage.c:1069:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1069 | EJLStart_ADDSTR(p, "ZO", "OFF"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:1294:68: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] 1294 | cOid, ASN_PDU_GET, "public", NULL, &pdu); | ^~~~~~~~ @@ -2856,6 +2465,28 @@ epson-net-snmp.h:122:102: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, | ^~~~~~~~~~~~~~~ +epson-escpage.c:1069:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1069 | EJLStart_ADDSTR(p, "ZO", "OFF"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpage.c:1072:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1072 | EJLStart_ADDSTR(p, "EC", "ON" ); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c: In function 'snmpInfoCommand_PagePM': epson-net-snmp.c:1418:44: 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 || @@ -2865,6 +2496,17 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1072:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1072 | EJLStart_ADDSTR(p, "EC", "ON" ); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:1419:48: 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) | ~~~~~~~^~~~~~ @@ -2873,11 +2515,22 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1076:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1076 | EJLStart_ADDSTR(p, "RI", "ON"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ epson-net-snmp.c:1422:51: 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 *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ @@ -2889,6 +2542,17 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1076:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1076 | EJLStart_ADDSTR(p, "RI", "ON"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:1424:64: 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) | ~~~~~~~^~~~~~ @@ -2905,6 +2569,17 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1085:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1085 | EJLStart_ADDSTR(p, "SN", "OFF"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:1428:64: 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 || | ~~~~~~~^~~~~~ @@ -2913,6 +2588,17 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1085:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1085 | EJLStart_ADDSTR(p, "SN", "OFF"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:1429:64: 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) | ~~~~~~~^~~~~~ @@ -2929,6 +2615,17 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1098:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1098 | EJLStart_ADDINT(p, "CO", printJob.attr.copies); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:988:25: note: in definition of macro 'EJLStart_ADDINT' + 988 | sprintf(b, " %s=%d", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:1433:64: 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 || | ~~~~~~~^~~~~~ @@ -2945,6 +2642,42 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1098:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1098 | EJLStart_ADDINT(p, "CO", printJob.attr.copies); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:989:29: note: in definition of macro 'EJLStart_ADDINT' + 989 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +In file included from epson-protocol.c:45: +epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, + | ^~~~ +epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, + | ^~~~ +epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, + | ^~~~ +epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') +epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, + | ^~~~ +epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') +epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, + | ^~~~ +epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') +epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, + | ^~~~~ +epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') epson-net-snmp.c:1437:51: 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 || | ~~~~~~~^~~~~~ @@ -2953,6 +2686,21 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ +epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } + | ^~~~ +epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') +epson-escpage.c:1100:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1100 | EJLStart_ADDINT(p, "QT", 1); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:988:25: note: in definition of macro 'EJLStart_ADDINT' + 988 | sprintf(b, " %s=%d", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:1438:64: 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 || | ~~~~~~~^~~~~~ @@ -2969,7 +2717,29 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1100:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1100 | EJLStart_ADDINT(p, "QT", 1); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:989:29: note: in definition of macro 'EJLStart_ADDINT' + 989 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c: In function 'snmpMechCommand': +epson-escpage.c:1105:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1105 | EJLStart_ADDSTR(p, "FE", "SE"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:1507:25: 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); | ^~~~ @@ -2978,6 +2748,17 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-escpage.c:1105:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1105 | EJLStart_ADDSTR(p, "FE", "SE"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:1510:25: 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", | ^~~~ @@ -2994,7 +2775,30 @@ /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ +epson-escpage.c:1111:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1111 | EJLStart_ADDSTR(p, "SZ", "OFF"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c: In function 'SnmpTransact': +epson-protocol.c: In function 'prtProbePrinterByID': +epson-escpage.c:1111:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1111 | EJLStart_ADDSTR(p, "SZ", "OFF"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:68:41: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] 68 | #define SNMP_COMMUNITY_STR "public" | ^~~~~~~~ @@ -3003,10 +2807,84 @@ epson-net-snmp.c:1601:70: note: in expansion of macro 'SNMP_COMMUNITY_STR' 1601 | ret = snmpTransactS(soc, address, recvtimeout, oid, request, SNMP_COMMUNITY_STR, NULL, pdu); | ^~~~~~~~~~~~~~~~~~ +epson-protocol.c:542:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 542 | strcpy(sParse, probeParam->dsc.identify); + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} epson-net-snmp.h:122:102: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, | ^~~~~~~~~~~~~~~ +In file included from /usr/include/features.h:489, + from /usr/include/i386-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/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:542:39: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:544:23: 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: +/usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) + | ~~~~~~~~~~~~~~~~~^~~ +epson-protocol.c:544:14: 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-escpage.c:1114:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1114 | EJLStart_ADDSTR(p, "GAMMAMODE", "NORMAL"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-protocol.c:548:41: 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 *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-net-snmp.c: In function 'SnmpWalkMib': +epson-protocol.c:554:32: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] + 554 | sscanf(pPos, "%x", &nTmp); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 423 | extern int sscanf (const char *__restrict __s, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +epson-protocol.c:562:41: 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 *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:568:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 568 | strcpy(defStr, pPos); + | ^~~~~~ + | | + | EPS_INT8 * {aka signed char *} epson-net-snmp.c:1721:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1721 | strcpy(orgObjID, oid); | ^~~~~~~~ @@ -3015,6 +2893,31 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-escpage.c:1114:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1114 | EJLStart_ADDSTR(p, "GAMMAMODE", "NORMAL"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:568:40: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 568 | strcpy(defStr, pPos); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-protocol.c:572:22: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 572 | pPos = strtok(NULL, EPS_PID_SEP); + | ^ epson-net-snmp.c:1721:34: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1721 | strcpy(orgObjID, oid); | ^~~ @@ -3023,6 +2926,17 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-escpage.c:1117:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1117 | EJLStart_ADDSTR(p, "SL", "YES"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:1722:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1722 | strcpy(nextObjID, oid); | ^~~~~~~~~ @@ -3036,9 +2950,20 @@ | ^~~ | | | const EPS_INT8 * {aka const signed char *} +epson-escpage.c:1117:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1117 | EJLStart_ADDSTR(p, "SL", "YES"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:68:41: warning: pointer targets in passing argument 3 of 'CreateCommand' differ in signedness [-Wpointer-sign] 68 | #define SNMP_COMMUNITY_STR "public" | ^~~~~~~~ @@ -3047,18 +2972,175 @@ epson-net-snmp.c:1726:58: note: in expansion of macro 'SNMP_COMMUNITY_STR' 1726 | ret = CreateCommand(g_TrnBuff, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, nRqID, &request, 1, &nSize); | ^~~~~~~~~~~~~~~~~~ +epson-escpage.c:1120:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1120 | EJLStart_ADDSTR(p, "TO", "0"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ 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': +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-protocol.c:921:48: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 921 | if( 0 == strcmp(printer->location, current->printer->location)){ + | ~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:921:76: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 921 | if( 0 == strcmp(printer->location, current->printer->location)){ + | ~~~~~~~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:922:55: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 922 | if(0 == strcmp(printer->modelName, current->printer->modelName)){ + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1120:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1120 | EJLStart_ADDSTR(p, "TO", "0"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-protocol.c:922:84: 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 *} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1123:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1123 | EJLStart_ADDSTR(p, "LO", "0"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-protocol.c: In function 'prtIsRegistered': +epson-protocol.c:1021:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1021 | if( 0 == strcmp(current->printer->location, Address) ){ + | ~~~~~~~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:1021:61: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1021 | if( 0 == strcmp(current->printer->location, Address) ){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:1023:65: 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.c:1123:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1123 | EJLStart_ADDSTR(p, "LO", "0"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-protocol.c:1023:78: 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-net-snmp.c: In function 'SnmpFindRecv': +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c: In function 'prtAddUsrPrinter': +epson-escpage.c:1126:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1126 | EJLStart_ADDSTR(p, "OR", "PO"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:2103:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2103 | strncpy(infoBuf, pdu.val.v_str, Min(pdu.length, SNMP_MAX_BUF-1)); | ^~~~~~~ | | | EPS_INT8 * {aka signed char *} +epson-protocol.c:1100:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1100 | if( EPS_ADDR_BUFFSIZE < strlen(usrPrinter->location) ){ + | ~~~~~~~~~~^~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} /usr/include/i386-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-protocol.c:1118:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1118 | strcpy(address, usrPrinter->location); + | ^~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1126:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1126 | EJLStart_ADDSTR(p, "OR", "PO"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-protocol.c:1118:35: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ epson-net-snmp.c:2103:33: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 2103 | strncpy(infoBuf, pdu.val.v_str, Min(pdu.length, SNMP_MAX_BUF-1)); | ~~~~~~~^~~~~~ @@ -3067,6 +3149,33 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ +epson-protocol.c:1119:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] + 1119 | p = strchr(address, ':'); + | ^~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 246 | extern char *strchr (const char *__s, int __c) + | ~~~~~~~~~~~~^~~ +epson-escpage.c:1129:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1129 | sprintf(p, " %s%s%s", sbEJL_LF, sbEJL_EN_C, sbEJL_LF); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-protocol.c:1119:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 1119 | p = strchr(address, ':'); + | ^ +epson-protocol.c:1123:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] + 1123 | sscanf(p, "%d", &nPort); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 423 | extern int sscanf (const char *__restrict __s, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ epson-net-snmp.c:2114:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2114 | devIdRes = serParseDeviceID(infoBuf, (EPS_INT32)strlen(infoBuf), | ^~~~~~~ @@ -3075,6 +3184,44 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpage.c:1132:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1132 | EJLStart_ADDSTR(p, "FO", "OFF"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:983:25: note: in definition of macro 'EJLStart_ADDSTR' + 983 | sprintf(b, " %s=%s", p, v); \ + | ^ +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-protocol.c:1154:28: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1154 | strcpy(innerPrinter->location, address); + | ~~~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1154:40: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1154 | strcpy(innerPrinter->location, address); + | ^~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1132:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1132 | EJLStart_ADDSTR(p, "FO", "OFF"); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-escpage.c:984:29: note: in definition of macro 'EJLStart_ADDSTR' + 984 | b += strlen(b); \ + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:2146:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2146 | strcpy( (*printer)->location, sFromAdder ); | ~~~~~~~~~~^~~~~~~~~~ @@ -3083,14 +3230,80 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-protocol.c:1160:28: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1135:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1135 | sprintf(p, " %s%s%s", sbEJL_LF, sbEJL_EN, sbEJL_LF); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-protocol.c:1160:51: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1138:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1138 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +epson-protocol.c: In function 'prtGetInnerPrinter': epson-net-snmp.c:2146:39: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2146 | strcpy( (*printer)->location, sFromAdder ); | ^~~~~~~~~~ | | | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +epson-protocol.c:1202:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) + | ~~~~~~~^~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +epson-escpage.c: In function 'ejlEnd': +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-protocol.c:1202:65: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) + | ~~~~~~~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1165:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1165 | sprintf(p, "%s%s ", + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-protocol.c:1203:48: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1203 | && 0 == strcmp(printer->location, pCur->printer->location) ){ + | ~~~~~~~^~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ epson-net-snmp.c:2176:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2176 | if( strcmp(compSysName, (*printer)->macAddress) || | ^~~~~~~~~~~ @@ -3099,6 +3312,30 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1168:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1168 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-protocol.c:1203:73: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1203 | && 0 == strcmp(printer->location, pCur->printer->location) ){ + | ~~~~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 156 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1174:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1174 | sprintf(p, "JI PAGES=\"%d\"", dwPaperNum); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:2176:51: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 2176 | if( strcmp(compSysName, (*printer)->macAddress) || | ~~~~~~~~~~^~~~~~~~~~~~ @@ -3107,6 +3344,23 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-protocol.c: In function 'prtSetIdStr': +epson-escpage.c:1175:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1175 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-protocol.c:1334:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1334 | sprintf(printer->printerID, EPS_PRINTER_ID_STR, + | ~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:2177:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2177 | strcmp(compName, (*printer)->modelName) ){ | ^~~~~~~~ @@ -3115,6 +3369,22 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-escpage.c:1178:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1178 | sprintf(p, " %s%s %s", sbEJL_LF, sbEJL, sbEJL_LF); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-escpage.c:1179:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1179 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:2177:52: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 2177 | strcmp(compName, (*printer)->modelName) ){ | ~~~~~~~~~~^~~~~~~~~~~ @@ -3123,14 +3393,67 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +epson-escpage.c: In function 'ejlPageEsc': +epson-protocol.c: In function 'FindNetPrinter': +epson-escpage.c:1210:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-protocol.c:1510:45: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1210:20: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] + 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); + | ^~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ epson-net-snmp.c:2216:44: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2216 | strncpy( (*printer)->friendlyName, pdu.val.v_str, pdu.length); | ~~~~~~~~~~^~~~~~~~~~~~~~ | | | EPS_INT8 * {aka signed char *} +epson-protocol.c:1512:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1512 | strcpy(pFncs->address, address); + | ~~~~~^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} /usr/include/i386-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1210:20: warning: format string is not an array of type 'char' [-Wformat=] + 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); + | ^~~~~ +epson-protocol.c:1512:56: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1211:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1211 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:2216:67: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 2216 | strncpy( (*printer)->friendlyName, pdu.val.v_str, pdu.length); | ~~~~~~~^~~~~~ @@ -3139,6 +3462,27 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ +epson-protocol.c:1527:45: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1218:17: 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 *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-protocol.c:1529:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1529 | strcpy(pFncs->address, address); + | ~~~~~^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} epson-net-snmp.c:2218:44: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2218 | strncpy( (*printer)->friendlyName, pdu.val.v_str, EPS_NAME_BUFFSIZE-2); | ~~~~~~~~~~^~~~~~~~~~~~~~ @@ -3147,6 +3491,28 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1218:20: warning: pointer targets in passing argument 2 of 'sprintf' differ in signedness [-Wpointer-sign] + 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); + | ^~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-protocol.c:1529:56: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-escpage.c:1218:20: warning: format string is not an array of type 'char' [-Wformat=] + 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); + | ^~~~ epson-net-snmp.c:2218:67: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 2218 | strncpy( (*printer)->friendlyName, pdu.val.v_str, EPS_NAME_BUFFSIZE-2); | ~~~~~~~^~~~~~ @@ -3155,6 +3521,14 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ +epson-escpage.c:1219:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1219 | p += strlen(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-net-snmp.c:2224:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2224 | sprintf(idString, EPS_NET_IDPRM_STR, (*printer)->modelName, (*printer)->macAddress); | ^~~~~~~~ @@ -3163,17 +3537,83 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-protocol.c: In function 'MakePrinterStructure': epson-net-snmp.c: In function 'CreateCommand': +epson-protocol.c:1691:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1691 | strcpy(dst->location, src->location); + | ~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ epson-net-snmp.c:2309:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2309 | pPos = snmpMakeStrField(community, (EPS_UINT32)strlen(community), pPos); | ^~~~~~~~~ | | | const EPS_INT8 * {aka const signed char *} +epson-protocol.c:1691:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1691 | strcpy(dst->location, src->location); + | ~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-escpr-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-protocol.c:1692:19: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1692:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1692 | strcpy(dst->macAddress, src->macAddress); + | ~~~^~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1693:19: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1693:44: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1693 | strcpy(dst->manufacturerName, src->manufacturerName); + | ~~~^~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ In file included from epson-net-snmp.c:40: epson-net-snmp.c: In function 'ParseResponse': +epson-protocol.c:1694:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1694 | strcpy(dst->modelName, src->modelName); + | ~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ epson-net-snmp.c:2514:112: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2514 | memcpy(pResObjID, response.var->identifire, Min(nResObjIDSize-1, (EPS_INT32)strlen(response.var->identifire))); | ~~~~~~~~~~~~^~~~~~~~~~~~ @@ -3185,6 +3625,22 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +epson-protocol.c:1694:52: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1695:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1695 | strcpy(dst->friendlyName, src->friendlyName); + | ~~~^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ epson-net-snmp.c:2514:112: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2514 | memcpy(pResObjID, response.var->identifire, Min(nResObjIDSize-1, (EPS_INT32)strlen(response.var->identifire))); | ~~~~~~~~~~~~^~~~~~~~~~~~ @@ -3196,7 +3652,55 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-protocol.c -fPIC -DPIC -o .libs/libescpr_la-epson-protocol.o +epson-protocol.c:1695:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1695 | strcpy(dst->friendlyName, src->friendlyName); + | ~~~^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1696:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1696 | strcpy(dst->serialNo, src->serialNo); + | ~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1696:52: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1697:19: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c:1697:52: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-protocol.c: In function 'IsValidAddress': +epson-protocol.c:1730:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] + 1730 | sscanf(addr, "%d.%d.%d.%d", &nSeg[0], &nSeg[1], &nSeg[2], &nSeg[3]); + | ^~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 423 | extern int sscanf (const char *__restrict __s, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ epson-net-snmp.c: In function 'OidToStr': epson-net-snmp.c:3063:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3063 | sprintf(*pDst, "%d.%d.", *pSrc / 40, *pSrc % 40); @@ -3214,7 +3718,6 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-usb.c: In function 'usbFind': epson-net-snmp.c:3089:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3089 | sprintf(&(*pDst)[nDstLen], "%d.", nElm); | ^~~~~~~~~~~~~~~~~ @@ -3223,6 +3726,217 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +epson-net-snmp.c:3091:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 3091 | sprintf(&(*pDst)[nDstLen], "%d.", *(pSrc++)); + | ^~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-net-snmp.c:3095:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 3095 | nDstLen = (EPS_UINT16)strlen(*pDst) - 1; + | ^~~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-snmp.c: In function 'StrToOid': +epson-net-snmp.c:3135:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 3135 | pTmp = (EPS_INT8*)EPS_ALLOC( strlen(pSrc)+1 ); + | ^~~~ + | | + | const EPS_INT8 * {aka const signed char *} +epson-escpr-mem.h:42:61: note: in definition of macro 'EPS_ALLOC' + 42 | #define EPS_ALLOC( s ) epsCmnFnc.memAlloc((EPS_UINT32)(s)) + | ^ +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-net-snmp.c:3139:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 3139 | strcpy(pTmp, pSrc); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:3139:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 3139 | strcpy(pTmp, pSrc); + | ^~~~ + | | + | const EPS_INT8 * {aka const signed char *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-net-snmp.c:3141:20: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] + 3141 | p = strtok(pTmp, "."); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) + | ~~~~~~~~~~~~~~~~~^~~ +epson-net-snmp.c:3141:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 3141 | p = strtok(pTmp, "."); + | ^ +epson-net-snmp.c:3143:46: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 3143 | pDst[nCnt] = (EPS_INT8)(atoi(p) * 40); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 362 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +epson-net-snmp.c:3148:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 3148 | p = strtok(NULL, "."); + | ^ +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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-usb.c -fPIC -DPIC -o .libs/libescpr_la-epson-usb.o +epson-net-snmp.c:3150:47: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 3150 | pDst[nCnt] += (EPS_INT8)(atoi(p)); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 362 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +epson-net-snmp.c:3157:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 3157 | p = strtok(NULL, "."); + | ^ +epson-net-snmp.c:3163:29: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] + 3163 | nElm = atoi(p); + | ^ + | | + | EPS_INT8 * {aka signed char *} +/usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 362 | __NTH (atoi (const char *__nptr)) + | ^~~~~ +epson-net-snmp.c:3182:19: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 3182 | p = strtok(NULL, "."); + | ^ +epson-net-snmp.c: In function 'GetColorID': +epson-net-snmp.c:3317:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3317 | if( memStrStr(name, "Black", FALSE) ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3319:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3319 | } else if( memStrStr(name, "Cyan", FALSE) ){ + | ^~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3321:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3321 | } else if( memStrStr(name, "Magenta", FALSE) ){ + | ^~~~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3323:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3323 | } else if( memStrStr(name, "Yellow", FALSE) ){ + | ^~~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3325:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3325 | } else if( memStrStr(name, "Red", FALSE) ){ + | ^~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3327:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3327 | } else if( memStrStr(name, "Violet", FALSE) ){ + | ^~~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3329:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3329 | } else if( memStrStr(name, "Clear", FALSE) ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3331:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3331 | } else if( memStrStr(name, "Gray", FALSE) ){ + | ^~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3333:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3333 | } else if( memStrStr(name, "Orange", FALSE) ){ + | ^~~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3335:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3335 | } else if( memStrStr(name, "Green", FALSE) ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3339:34: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3339 | if( (p = memStrStr(name, "Light", TRUE)) != NULL ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3347:42: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3347 | if( memStrStr(p, "Light", FALSE) ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3354:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3354 | } else if( memStrStr(name, "Matte", FALSE) ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3358:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3358 | } else if( memStrStr(name, "Dark", FALSE) ){ + | ^~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3362:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3362 | } else if( memStrStr(name, "Photo", FALSE) ){ + | ^~~~~~~ + | | + | char * +epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-usb.c: In function 'usbFind': epson-usb.c:252:59: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); | ^~ @@ -3247,14 +3961,6 @@ epson-usb.c:106:99: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3091:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 3091 | sprintf(&(*pDst)[nDstLen], "%d.", *(pSrc++)); - | ^~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ epson-usb.c: In function 'usbProbePrinterByID': epson-usb.c:311:23: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); @@ -3301,14 +4007,6 @@ epson-usb.c:328:22: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 328 | pPos = strtok(NULL, EPS_USBID_SEP); | ^ -epson-net-snmp.c:3095:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 3095 | nDstLen = (EPS_UINT16)strlen(*pDst) - 1; - | ^~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ epson-usb.c:364:59: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); | ^~ @@ -3317,7 +4015,6 @@ epson-usb.c:105:65: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 105 | static EPS_ERR_CODE CreatePrinterInfo (EPS_USB_PRINTER_INFO*, const EPS_INT8*, | ^~~~~~~~~~~~~~~ -epson-net-snmp.c: In function 'StrToOid': epson-usb.c:364:63: warning: pointer targets in passing argument 3 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); | ^~ @@ -3334,26 +4031,7 @@ epson-usb.c:106:99: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3135:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 3135 | pTmp = (EPS_INT8*)EPS_ALLOC( strlen(pSrc)+1 ); - | ^~~~ - | | - | const EPS_INT8 * {aka const signed char *} -epson-escpr-mem.h:42:61: note: in definition of macro 'EPS_ALLOC' - 42 | #define EPS_ALLOC( s ) epsCmnFnc.memAlloc((EPS_UINT32)(s)) - | ^ -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ epson-usb.c: In function 'usbResetPrinter': -epson-net-snmp.c:3139:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 3139 | strcpy(pTmp, pSrc); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-usb.c:804:28: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 804 | if (strstr((EPS_INT8*)pResult, "rj:OK;") == NULL) { | ^~~~~~~~~~~~~~~~~~ @@ -3365,26 +4043,7 @@ epson-usb.c:712:21: warning: variable 'retBufSize' set but not used [-Wunused-but-set-variable] 712 | EPS_INT32 retBufSize; /* Size of buffer written */ | ^~~~~~~~~~ -epson-net-snmp.c:3139:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 3139 | strcpy(pTmp, pSrc); - | ^~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-net-snmp.c:3141:20: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] - 3141 | p = strtok(pTmp, "."); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) - | ~~~~~~~~~~~~~~~~~^~~ epson-usb.c: In function 'usbMechCommand': -epson-net-snmp.c:3141:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 3141 | p = strtok(pTmp, "."); - | ^ epson-usb.c:1212:16: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 1212 | if (strstr(Reply,"OK") == NULL){ | ^~~~~ @@ -3393,15 +4052,7 @@ /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ -epson-net-snmp.c:3143:46: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 3143 | pDst[nCnt] = (EPS_INT8)(atoi(p) * 40); - | ^ - | | - | EPS_INT8 * {aka signed char *} epson-usb.c: In function 'CreatePrinterInfo': -/usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 362 | __NTH (atoi (const char *__nptr)) - | ^~~~~ 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 ); | ~~~~~~~~~~^~~~~~~~~~ @@ -3418,9 +4069,6 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:3148:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 3148 | p = strtok(NULL, "."); - | ^ epson-usb.c:1467:47: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); | ^~~~~~~~~~~~ @@ -3429,14 +4077,6 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:3150:47: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 3150 | pDst[nCnt] += (EPS_INT8)(atoi(p)); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 362 | __NTH (atoi (const char *__nptr)) - | ^~~~~ epson-usb.c:1468:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1468 | strcpy( (*printer)->modelName, modelName ); | ~~~~~~~~~~^~~~~~~~~~~ @@ -3461,9 +4101,6 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:3157:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 3157 | p = strtok(NULL, "."); - | ^ epson-usb.c:1469:39: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1469 | strcpy( (*printer)->serialNo, serialNo ); | ^~~~~~~~ @@ -3472,14 +4109,6 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:3163:29: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] - 3163 | nElm = atoi(p); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 362 | __NTH (atoi (const char *__nptr)) - | ^~~~~ epson-usb.c:1483:17: 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); | ^~~~~~~~~~~ @@ -3497,9 +4126,6 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:3182:19: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 3182 | p = strtok(NULL, "."); - | ^ epson-usb.c:1541:51: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1541 | if( 0 == strcmp(modelName, printer->modelName) ){ | ~~~~~~~^~~~~~~~~~~ @@ -3508,7 +4134,6 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c: In function 'GetColorID': epson-usb.c: In function 'ProbePrinterByName': epson-usb.c:1636:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ @@ -3518,14 +4143,6 @@ /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:3317:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3317 | if( memStrStr(name, "Black", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c:1636:63: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ | ^~~~~~~~~ @@ -3534,34 +4151,10 @@ /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-net-snmp.c:3319:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3319 | } else if( memStrStr(name, "Cyan", FALSE) ){ - | ^~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c: In function 'RmtInfoCommand': -epson-net-snmp.c:3321:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3321 | } else if( memStrStr(name, "Magenta", FALSE) ){ - | ^~~~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-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:3323:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3323 | } else if( memStrStr(name, "Yellow", FALSE) ){ - | ^~~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c:1886:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1886 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); | ^~~~~~~~~~~~~~~~~~~ @@ -3578,14 +4171,6 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:3325:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3325 | } else if( memStrStr(name, "Red", FALSE) ){ - | ^~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c:1920:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1920 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ | ^~~ @@ -3594,14 +4179,6 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:3327:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3327 | } else if( memStrStr(name, "Violet", FALSE) ){ - | ^~~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c:1962:62: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1962 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ | ^~~ @@ -3610,23 +4187,7 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-net-snmp.c:3329:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3329 | } else if( memStrStr(name, "Clear", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c: In function 'nd4ReadPortal': -epson-net-snmp.c:3331:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3331 | } else if( memStrStr(name, "Gray", FALSE) ){ - | ^~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c:2095:63: 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 ){ | ^~~~~~~~~~~~~~~ @@ -3636,14 +4197,6 @@ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ epson-usb.c: In function 'ParseUsbProtocol': -epson-net-snmp.c:3333:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3333 | } else if( memStrStr(name, "Orange", FALSE) ){ - | ^~~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c:2250:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 2250 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { | ^~~~~~~~~~~~~~ @@ -3652,14 +4205,6 @@ /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ -epson-net-snmp.c:3335:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3335 | } else if( memStrStr(name, "Green", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c: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) { | ^ @@ -3682,25 +4227,9 @@ /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ -epson-net-snmp.c:3339:34: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3339 | if( (p = memStrStr(name, "Light", TRUE)) != NULL ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c:2261:23: 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-net-snmp.c:3347:42: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3347 | if( memStrStr(p, "Light", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c:2270:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2270 | if( strncmp(i, "END4", 4) == 0 ){ | ^ @@ -3710,496 +4239,10 @@ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ epson-usb.c: In function 'GetSerialNumber': -epson-net-snmp.c:3354:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3354 | } else if( memStrStr(name, "Matte", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-usb.c:2328:17: warning: pointer targets in assignment from 'EPS_INT8 *' {aka 'signed char *'} to 'EPS_UINT8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2328 | tmpBuff = (EPS_INT8*)EPS_ALLOC(tmpBuffSize); | ^ -epson-net-snmp.c:3358:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3358 | } else if( memStrStr(name, "Dark", FALSE) ){ - | ^~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3362:36: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3362 | } else if( memStrStr(name, "Photo", FALSE) ){ - | ^~~~~~~ - | | - | char * -epson-escpr-mem.h:112:69: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -In file included from epson-protocol.c:45: -epson-escpage.h:58:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, - | ^~~~ -epson-escpage.h:58:57: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, - | ^~~~ -epson-escpage.h:59:57: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, - | ^~~~ -epson-escpage.h:60:57: note: (near initialization for 'pageMediaSize[2].name') -epson-escpage.h:61:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, - | ^~~~ -epson-escpage.h:61:57: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, - | ^~~~ -epson-escpage.h:62:57: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:57: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, - | ^~~~~ -epson-escpage.h:63:57: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:53: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } - | ^~~~ -epson-escpage.h:64:53: note: (near initialization for 'pageMediaSize[6].name') -epson-protocol.c: In function 'prtProbePrinterByID': -epson-protocol.c:542:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 542 | strcpy(sParse, probeParam->dsc.identify); - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:489, - from /usr/include/i386-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/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:542:39: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:544:23: 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: -/usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) - | ~~~~~~~~~~~~~~~~~^~~ -epson-protocol.c:544:14: 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:41: 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 *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:554:32: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] - 554 | sscanf(pPos, "%x", &nTmp); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 423 | extern int sscanf (const char *__restrict __s, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -epson-protocol.c:562:41: 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 *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:568:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 568 | strcpy(defStr, pPos); - | ^~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:568:40: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 568 | strcpy(defStr, pPos); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:572:22: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 572 | pPos = strtok(NULL, EPS_PID_SEP); - | ^ -epson-protocol.c: In function 'prtRegPrinter': -epson-protocol.c:921:48: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 921 | if( 0 == strcmp(printer->location, current->printer->location)){ - | ~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:921:76: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 921 | if( 0 == strcmp(printer->location, current->printer->location)){ - | ~~~~~~~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:922:55: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 922 | if(0 == strcmp(printer->modelName, current->printer->modelName)){ - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:922:84: 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 *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c: In function 'prtIsRegistered': -epson-protocol.c:1021:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1021 | if( 0 == strcmp(current->printer->location, Address) ){ - | ~~~~~~~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1021:61: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1021 | if( 0 == strcmp(current->printer->location, Address) ){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1023:65: 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 *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1023:78: 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 *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c: In function 'prtAddUsrPrinter': -epson-protocol.c:1100:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1100 | if( EPS_ADDR_BUFFSIZE < strlen(usrPrinter->location) ){ - | ~~~~~~~~~~^~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-protocol.c:1118:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1118 | strcpy(address, usrPrinter->location); - | ^~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1118:35: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1119:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] - 1119 | p = strchr(address, ':'); - | ^~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 246 | extern char *strchr (const char *__s, int __c) - | ~~~~~~~~~~~~^~~ -epson-protocol.c:1119:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 1119 | p = strchr(address, ':'); - | ^ -epson-protocol.c:1123:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] - 1123 | sscanf(p, "%d", &nPort); - | ^ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 423 | extern int sscanf (const char *__restrict __s, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -epson-protocol.c:1154:28: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1154 | strcpy(innerPrinter->location, address); - | ~~~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1154:40: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1154 | strcpy(innerPrinter->location, address); - | ^~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1160:28: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1160:51: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c: In function 'prtGetInnerPrinter': -epson-protocol.c:1202:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) - | ~~~~~~~^~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1202:65: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) - | ~~~~~~~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1203:48: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1203 | && 0 == strcmp(printer->location, pCur->printer->location) ){ - | ~~~~~~~^~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c:1203:73: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1203 | && 0 == strcmp(printer->location, pCur->printer->location) ){ - | ~~~~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 156 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-protocol.c: In function 'prtSetIdStr': -epson-protocol.c:1334:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1334 | sprintf(printer->printerID, EPS_PRINTER_ID_STR, - | ~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-protocol.c: In function 'FindNetPrinter': -epson-protocol.c:1510:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1510 | strcpy(pFncs->address, EPSNET_UDP_BROADCAST_ADDR); - | ~~~~~^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1512:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1512 | strcpy(pFncs->address, address); - | ~~~~~^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1512:56: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1527:45: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1529:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1529 | strcpy(pFncs->address, address); - | ~~~~~^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1529:56: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c: In function 'MakePrinterStructure': -epson-protocol.c:1691:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1691 | strcpy(dst->location, src->location); - | ~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1691:52: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1692:19: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1692:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1692 | strcpy(dst->macAddress, src->macAddress); - | ~~~^~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1693:19: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1693:44: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1693 | strcpy(dst->manufacturerName, src->manufacturerName); - | ~~~^~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1694:19: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1694:52: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1695:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1695 | strcpy(dst->friendlyName, src->friendlyName); - | ~~~^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1695:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1695 | strcpy(dst->friendlyName, src->friendlyName); - | ~~~^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1696:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1696 | strcpy(dst->serialNo, src->serialNo); - | ~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1696:52: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1697:19: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c:1697:52: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-protocol.c: In function 'IsValidAddress': -epson-protocol.c:1730:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] - 1730 | sscanf(addr, "%d.%d.%d.%d", &nSeg[0], &nSeg[1], &nSeg[2], &nSeg[3]); - | ^~~~ - | | - | const EPS_INT8 * {aka const signed char *} -/usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 423 | extern int sscanf (const char *__restrict __s, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -/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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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") @@ -4301,9 +4344,9 @@ wrapper.c:181:15: note: 'page_raw' was declared here 181 | char *page_raw; //2ページ分のバッファ | ^~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -DCUPS_FILTER_NAME=\"epson-escpr\" -DCUPS_FILTER_PATH=\"/usr/lib/cups/filter\" -g -O2 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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 -ffile-prefix-map=/build/epson-inkjet-printer-escpr-1.7.17=. -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/epson-inkjet-printer-escpr-1.7.17/src' make[3]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.17' @@ -4314,7 +4357,7 @@ make[2]: Leaving directory '/build/epson-inkjet-printer-escpr-1.7.17' make[1]: Leaving directory '/build/epson-inkjet-printer-escpr-1.7.17' dh_auto_test - make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 + make -j15 check "TESTSUITEFLAGS=-j15 --verbose" VERBOSE=1 make[1]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.17' echo M4_MACROS = `ls m4 | sed 's,^,m4/,'` > m4-macros.tmp cmp -s m4-macros.tmp m4-macros || cp m4-macros.tmp m4-macros @@ -4350,8 +4393,8 @@ Making install in lib make[3]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.17/lib' make[4]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.17/lib' - /bin/mkdir -p '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr' - /bin/bash ../libtool --mode=install /usr/bin/install -c libescpr.la '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr' + /usr/bin/mkdir -p '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr' + /bin/sh ../libtool --mode=install /usr/bin/install -c libescpr.la '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr' libtool: install: /usr/bin/install -c .libs/libescpr.so.1.0.0 /build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr/libescpr.so.1.0.0 libtool: install: (cd /build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr && { ln -s -f libescpr.so.1.0.0 libescpr.so.1 || { rm -f libescpr.so.1 && ln -s libescpr.so.1.0.0 libescpr.so.1; }; }) libtool: install: (cd /build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/printer-driver-escpr && { ln -s -f libescpr.so.1.0.0 libescpr.so || { rm -f libescpr.so && ln -s libescpr.so.1.0.0 libescpr.so; }; }) @@ -4364,7 +4407,7 @@ make[3]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.17/ppd' make[4]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.17/ppd' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/share/cups/model/epson-inkjet-printer-escpr' + /usr/bin/mkdir -p '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/share/cups/model/epson-inkjet-printer-escpr' /usr/bin/install -c -m 644 Epson-Artisan_630-epson-escpr-en.ppd Epson-Artisan_700-epson-escpr-en.ppd Epson-Artisan_710-epson-escpr-en.ppd Epson-Artisan_720-epson-escpr-en.ppd Epson-Artisan_730-epson-escpr-en.ppd Epson-Artisan_800-epson-escpr-en.ppd Epson-Artisan_810-epson-escpr-en.ppd Epson-Artisan_830-epson-escpr-en.ppd Epson-Artisan_837-epson-escpr-en.ppd Epson-Artisan_1430-epson-escpr-en.ppd Epson-E-150-epson-escpr-en.ppd Epson-E-200-epson-escpr-en.ppd Epson-E-300-epson-escpr-en.ppd Epson-E-330-epson-escpr-en.ppd Epson-E-330S-epson-escpr-en.ppd Epson-E-340-epson-escpr-en.ppd Epson-E-350-epson-escpr-en.ppd Epson-E-360_Series-epson-escpr-en.ppd Epson-E-370_Series-epson-escpr-en.ppd Epson-E-500-epson-escpr-en.ppd Epson-E-520-epson-escpr-en.ppd Epson-E-530-epson-escpr-en.ppd Epson-E-600-epson-escpr-en.ppd Epson-E-700-epson-escpr-en.ppd Epson-E-720-epson-escpr-en.ppd Epson-E-800-epson-escpr-en.ppd Epson-E-810-epson-escpr-en.ppd Epson-E-820-epson-escpr-en.ppd Epson-E-830_Series-epson-escpr-en.ppd Epson-E-840_Series-epson-escpr-en.ppd Epson-E-850_Series-epson-escpr-en.ppd Epson-EC-C110_Series-epson-escpr-en.ppd Epson-EP-10VA_Series-epson-escpr-en.ppd Epson-EP-30VA_Series-epson-escpr-en.ppd Epson-EP-306_Series-epson-escpr-en.ppd Epson-EP-702A-epson-escpr-en.ppd Epson-EP-703A-epson-escpr-en.ppd Epson-EP-704A-epson-escpr-en.ppd Epson-EP-705A_Series-epson-escpr-en.ppd Epson-EP-706A_Series-epson-escpr-en.ppd '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/share/cups/model/epson-inkjet-printer-escpr' /usr/bin/install -c -m 644 Epson-EP-707A_Series-epson-escpr-en.ppd Epson-EP-708A_Series-epson-escpr-en.ppd Epson-EP-709A_Series-epson-escpr-en.ppd Epson-EP-710A_Series-epson-escpr-en.ppd Epson-EP-711A_Series-epson-escpr-en.ppd Epson-EP-712A_Series-epson-escpr-en.ppd Epson-EP-713A_Series-epson-escpr-en.ppd Epson-EP-774A-epson-escpr-en.ppd Epson-EP-775A_Series-epson-escpr-en.ppd Epson-EP-776A_Series-epson-escpr-en.ppd Epson-EP-777A_Series-epson-escpr-en.ppd Epson-EP-801A-epson-escpr-en.ppd Epson-EP-802A-epson-escpr-en.ppd Epson-EP-803A-epson-escpr-en.ppd Epson-EP-804A-epson-escpr-en.ppd Epson-EP-805A_Series-epson-escpr-en.ppd Epson-EP-806A_Series-epson-escpr-en.ppd Epson-EP-807A_Series-epson-escpr-en.ppd Epson-EP-808A_Series-epson-escpr-en.ppd Epson-EP-810A_Series-epson-escpr-en.ppd Epson-EP-811A_Series-epson-escpr-en.ppd Epson-EP-812A_Series-epson-escpr-en.ppd Epson-EP-813A_Series-epson-escpr-en.ppd Epson-EP-901A-epson-escpr-en.ppd Epson-EP-901F-epson-escpr-en.ppd Epson-EP-902A-epson-escpr-en.ppd Epson-EP-903A-epson-escpr-en.ppd Epson-EP-903F-epson-escpr-en.ppd Epson-EP-904A-epson-escpr-en.ppd Epson-EP-904F-epson-escpr-en.ppd Epson-EP-905A_Series-epson-escpr-en.ppd Epson-EP-905F_Series-epson-escpr-en.ppd Epson-EP-906F_Series-epson-escpr-en.ppd Epson-EP-907F_Series-epson-escpr-en.ppd Epson-EP-976A3_Series-epson-escpr-en.ppd Epson-EP-977A3_Series-epson-escpr-en.ppd Epson-EP-978A3_Series-epson-escpr-en.ppd Epson-EP-979A3_Series-epson-escpr-en.ppd Epson-EP-4004-epson-escpr-en.ppd Epson-EP-M552T_Series-epson-escpr-en.ppd '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/share/cups/model/epson-inkjet-printer-escpr' /usr/bin/install -c -m 644 Epson-EP-M553T_Series-epson-escpr-en.ppd Epson-EP-M570T_Series-epson-escpr-en.ppd Epson-ET-1110_Series-epson-escpr-en.ppd Epson-ET-1810_Series-epson-escpr-en.ppd Epson-ET-2500_Series-epson-escpr-en.ppd Epson-ET-2550_Series-epson-escpr-en.ppd Epson-ET-2600_Series-epson-escpr-en.ppd Epson-ET-2610_Series-epson-escpr-en.ppd Epson-ET-2650_Series-epson-escpr-en.ppd Epson-ET-2700_Series-epson-escpr-en.ppd Epson-ET-2710_Series-epson-escpr-en.ppd Epson-ET-2720_Series-epson-escpr-en.ppd Epson-ET-2750_Series-epson-escpr-en.ppd Epson-ET-2760_Series-epson-escpr-en.ppd Epson-ET-2800_Series-epson-escpr-en.ppd Epson-ET-2810_Series-epson-escpr-en.ppd Epson-ET-2820_Series-epson-escpr-en.ppd Epson-ET-2850_Series-epson-escpr-en.ppd Epson-ET-4500_Series-epson-escpr-en.ppd Epson-ET-4550_Series-epson-escpr-en.ppd Epson-ET-4700_Series-epson-escpr-en.ppd Epson-ET-4800_Series-epson-escpr-en.ppd Epson-ET-7700_Series-epson-escpr-en.ppd Epson-ET-7750_Series-epson-escpr-en.ppd Epson-ET-16500_Series-epson-escpr-en.ppd Epson-ET-M1100_Series-epson-escpr-en.ppd Epson-ET-M1120_Series-epson-escpr-en.ppd Epson-ET-M2120_Series-epson-escpr-en.ppd Epson-EW-052A_Series-epson-escpr-en.ppd Epson-EW-M571T_Series-epson-escpr-en.ppd Epson-EW-M5071FT_Series-epson-escpr-en.ppd Epson-EW-M660FT_Series-epson-escpr-en.ppd Epson-EW-M770T_Series-epson-escpr-en.ppd Epson-EW-M970A3T_Series-epson-escpr-en.ppd Epson-K200-epson-escpr-en.ppd Epson-K300-epson-escpr-en.ppd Epson-L364_Series-epson-escpr-en.ppd Epson-L375_Series-epson-escpr-en.ppd Epson-L385_Series-epson-escpr-en.ppd Epson-L386_Series-epson-escpr-en.ppd '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/share/cups/model/epson-inkjet-printer-escpr' @@ -4390,8 +4433,8 @@ make[3]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.17/src' make[4]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.17/src' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/cups/filter' - /bin/bash ../libtool --mode=install /usr/bin/install -c epson-escpr epson-escpr-wrapper '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/cups/filter' + /usr/bin/mkdir -p '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/cups/filter' + /bin/sh ../libtool --mode=install /usr/bin/install -c epson-escpr epson-escpr-wrapper '/build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/cups/filter' libtool: warning: '../lib/libescpr.la' has not been installed in '/usr/lib/printer-driver-escpr' libtool: install: /usr/bin/install -c .libs/epson-escpr /build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/cups/filter/epson-escpr libtool: install: /usr/bin/install -c epson-escpr-wrapper /build/epson-inkjet-printer-escpr-1.7.17/debian/tmp/usr/lib/cups/filter/epson-escpr-wrapper @@ -4441,12 +4484,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/41571/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/41571/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/23948 and its subdirectories -I: Current time: Sun May 7 02:49:45 -12 2023 -I: pbuilder-time-stamp: 1683470985 +I: removing directory /srv/workspace/pbuilder/41571 and its subdirectories +I: Current time: Sun Jun 9 11:13:35 +14 2024 +I: pbuilder-time-stamp: 1717881215