Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 608184 Details for
Bug 707248
net-print/epson-inkjet-printer-escpr-1.7.2 : fails to build with -fno-common or gcc-10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-print:epson-inkjet-printer-escpr-1.7.2:20200129-141509.log
net-print:epson-inkjet-printer-escpr-1.7.2:20200129-141509.log (text/plain), 322.10 KB, created by
Toralf Förster
on 2020-01-29 18:13:26 UTC
(
hide
)
Description:
net-print:epson-inkjet-printer-escpr-1.7.2:20200129-141509.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-01-29 18:13:26 UTC
Size:
322.10 KB
patch
obsolete
> * Package: net-print/epson-inkjet-printer-escpr-1.7.2 > * Repository: gentoo > * Maintainer: asturm@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking epson-inkjet-printer-escpr-1.7.2-1lsb3.2.tar.gz to /var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work >>>> Source unpacked in /var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work >>>> Preparing source in /var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2 ... > * Applying 1.6.5-warnings.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2 ... > * econf: updating epson-inkjet-printer-escpr-1.7.2/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating epson-inkjet-printer-escpr-1.7.2/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/epson-inkjet-printer-escpr-1.7.2 --htmldir=/usr/share/doc/epson-inkjet-printer-escpr-1.7.2/html --with-sysroot=/ --libdir=/usr/lib64 --disable-shared >checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking for style of include used by make... GNU >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for an ANSI C-conforming const... yes >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking whether ln -s works... yes >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-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 ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok >checking for sysroot... / >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... mt >checking if mt is a manifest tool... no >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... no >checking whether to build static libraries... yes >checking for cups-config... yes >checking for ANSI C header files... (cached) yes >checking whether stat file-mode macros are broken... no >checking whether time.h and sys/time.h may both be included... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking for pid_t... yes >checking for size_t... yes >checking cups/cups.h usability... yes >checking cups/cups.h presence... yes >checking for cups/cups.h... yes >checking cups/ppd.h usability... yes >checking cups/ppd.h presence... yes >checking for cups/ppd.h... yes >checking cups/raster.h usability... yes >checking cups/raster.h presence... yes >checking for cups/raster.h... yes >checking ctype.h usability... yes >checking ctype.h presence... yes >checking for ctype.h... yes >checking errno.h usability... yes >checking errno.h presence... yes >checking for errno.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking malloc.h usability... yes >checking malloc.h presence... yes >checking for malloc.h... yes >checking signal.h usability... yes >checking signal.h presence... yes >checking for signal.h... yes >checking stdarg.h usability... yes >checking stdarg.h presence... yes >checking for stdarg.h... yes >checking stddef.h usability... yes >checking stddef.h presence... yes >checking for stddef.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for sys/stat.h... (cached) yes >checking for sys/types.h... (cached) yes >checking time.h usability... yes >checking time.h presence... yes >checking for time.h... yes >checking for unistd.h... (cached) yes >checking for ppdOpenFile in -lcups... yes >checking for cupsRasterOpen in -lcupsimage... yes >checking for working memcmp... yes >checking return type of signal handlers... void >checking for memset... yes >checking for strcspn... yes >checking for strerror... yes >checking for strrchr... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating epson-inkjet-printer-escpr.spec >config.status: creating lsb/lsb-rpm.spec >config.status: creating lib/Makefile >config.status: creating ppd/Makefile >config.status: creating src/Makefile >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2 ... >make -j1 >echo M4_MACROS = `ls m4 | sed 's,^,m4/,'` > m4-macros.tmp >cmp -s m4-macros.tmp m4-macros || cp m4-macros.tmp m4-macros >rm m4-macros.tmp >make all-recursive >make[1]: Entering directory '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2' >echo M4_MACROS = `ls m4 | sed 's,^,m4/,'` > m4-macros.tmp >cmp -s m4-macros.tmp m4-macros || cp m4-macros.tmp m4-macros >rm m4-macros.tmp >Making all in lib >make[2]: Entering directory '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2/lib' >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-cbt.lo `test -f 'epson-cbt.c' || echo './'`epson-cbt.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-cbt.c -o libescpr_la-epson-cbt.o >epson-cbt.c: In function âcommCloseâ: >epson-cbt.c:654:15: warning: variable âclosePtlStateâ set but not used [-Wunused-but-set-variable] > 654 | EPS_INT32 closePtlState = 0; > | ^~~~~~~~~~~~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-escpage.lo `test -f 'epson-escpage.c' || echo './'`epson-escpage.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-escpage.c -o libescpr_la-epson-escpage.o >In file included from epson-escpage.c:29: >epson-escpage.h:58:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, > | ^~~~ >epson-escpage.h:58:42: note: (near initialization for âpageMediaSize[0].nameâ) >epson-escpage.h:59:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, > | ^~~~ >epson-escpage.h:59:42: note: (near initialization for âpageMediaSize[1].nameâ) >epson-escpage.h:60:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, > | ^~~~ >epson-escpage.h:60:42: note: (near initialization for âpageMediaSize[2].nameâ) >epson-escpage.h:61:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, > | ^~~~ >epson-escpage.h:61:42: note: (near initialization for âpageMediaSize[3].nameâ) >epson-escpage.h:62:45: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, > | ^~~~ >epson-escpage.h:62:45: note: (near initialization for âpageMediaSize[4].nameâ) >epson-escpage.h:63:44: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, > | ^~~~~ >epson-escpage.h:63:44: note: (near initialization for âpageMediaSize[5].nameâ) >epson-escpage.h:64:46: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } > | ^~~~ >epson-escpage.h:64:46: note: (near initialization for âpageMediaSize[6].nameâ) >epson-escpage.c:69:22: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 69 | { EPS_MTID_PLAIN, "NM" } > | ^~~~ >epson-escpage.c:69:22: note: (near initialization for âpageMediaType[0].nameâ) >epson-escpage.c:74:23: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 74 | { EPS_MPID_NOT_SPEC, "AU" }, > | ^~~~ >epson-escpage.c:74:23: note: (near initialization for âpagePaperSource[0].nameâ) >epson-escpage.c:75:20: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 75 | { EPS_MPID_AUTO, "AU" }, > | ^~~~ >epson-escpage.c:75:20: note: (near initialization for âpagePaperSource[1].nameâ) >epson-escpage.c:76:22: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 76 | { EPS_MPID_MPTRAY, "MP" }, > | ^~~~ >epson-escpage.c:76:22: note: (near initialization for âpagePaperSource[2].nameâ) >epson-escpage.c:77:22: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 77 | { EPS_MPID_FRONT1, "LC1" }, > | ^~~~~ >epson-escpage.c:77:22: note: (near initialization for âpagePaperSource[3].nameâ) >epson-escpage.c:78:22: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 78 | { EPS_MPID_FRONT2, "LC2" }, > | ^~~~~ >epson-escpage.c:78:22: note: (near initialization for âpagePaperSource[4].nameâ) >epson-escpage.c:79:22: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 79 | { EPS_MPID_FRONT3, "LC3" }, > | ^~~~~ >epson-escpage.c:79:22: note: (near initialization for âpagePaperSource[5].nameâ) >epson-escpage.c:80:22: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 80 | { EPS_MPID_FRONT4, "LC4" } > | ^~~~~ >epson-escpage.c:80:22: note: (near initialization for âpagePaperSource[6].nameâ) >epson-escpage.c: In function âejlStartâ: >epson-escpage.c:1001:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1001 | sprintf(p, "%s%s \x0A%s\x0A%s %s", > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1009:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1009 | sprintf(p, "%s%s \x0A%s\x0A%s%s \x0A%s\x0A%s %s", > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1019:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1019 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1022:18: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1022 | EJLStart_ADDSTR(p, "RS", > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1022:18: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1022 | EJLStart_ADDSTR(p, "RS", > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:984:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1031:18: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1031 | EJLStart_ADDSTR(p, "PS", pageMediaSize[i].name); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1031:18: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1031 | EJLStart_ADDSTR(p, "PS", pageMediaSize[i].name); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:984:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1039:18: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1039 | EJLStart_ADDSTR(p, "PK", pageMediaType[i].name); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1039:18: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1039 | EJLStart_ADDSTR(p, "PK", pageMediaType[i].name); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:984:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1047:18: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1047 | EJLStart_ADDSTR(p, "PU", pagePaperSource[i].name); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1047:18: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1047 | EJLStart_ADDSTR(p, "PU", pagePaperSource[i].name); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:984:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1051:18: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1051 | EJLStart_ADDSTR(p, "OU", "FD"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1051:18: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1051 | EJLStart_ADDSTR(p, "OU", "FD"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:984:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1057:18: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1057 | EJLStart_ADDSTR(p, "DX", ( printJob.attr.duplex != EPS_DUPLEX_NONE )?"ON":"OFF"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1057:18: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1057 | EJLStart_ADDSTR(p, "DX", ( printJob.attr.duplex != EPS_DUPLEX_NONE )?"ON":"OFF"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:984:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1061:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1061 | EJLStart_ADDSTR(p, "BD", ( printJob.attr.duplex == EPS_DUPLEX_LONG )?"LE":"SE"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1061:19: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1061 | EJLStart_ADDSTR(p, "BD", ( printJob.attr.duplex == EPS_DUPLEX_LONG )?"LE":"SE"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:984:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1064:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1064 | EJLStart_ADDSTR(p, "TB", "0"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1064:19: 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:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1065:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1065 | EJLStart_ADDSTR(p, "LB", "0"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1065:19: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1065 | EJLStart_ADDSTR(p, "LB", "0"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:984:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1069:18: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1069 | EJLStart_ADDSTR(p, "ZO", "OFF"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1069:18: 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:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1072:18: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1072 | EJLStart_ADDSTR(p, "EC", "ON" ); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1072:18: 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:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1076:18: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1076 | EJLStart_ADDSTR(p, "RI", "ON"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1076:18: 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:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1085:18: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1085 | EJLStart_ADDSTR(p, "SN", "OFF"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1085:18: 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:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1098:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1098 | EJLStart_ADDINT(p, "CO", printJob.attr.copies); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:988:11: note: in definition of macro âEJLStart_ADDINTâ > 988 | sprintf(b, " %s=%d", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1098:19: 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:15: note: in definition of macro âEJLStart_ADDINTâ > 989 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1100:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1100 | EJLStart_ADDINT(p, "QT", 1); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:988:11: note: in definition of macro âEJLStart_ADDINTâ > 988 | sprintf(b, " %s=%d", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1100:19: 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:15: note: in definition of macro âEJLStart_ADDINTâ > 989 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1105:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1105 | EJLStart_ADDSTR(p, "FE", "SE"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1105:19: 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:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1111:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1111 | EJLStart_ADDSTR(p, "SZ", "OFF"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1111:19: 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:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1114:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1114 | EJLStart_ADDSTR(p, "GAMMAMODE", "NORMAL"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1114:19: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1114 | EJLStart_ADDSTR(p, "GAMMAMODE", "NORMAL"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:984:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1117:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1117 | EJLStart_ADDSTR(p, "SL", "YES"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1117:19: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1117 | EJLStart_ADDSTR(p, "SL", "YES"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:984:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1120:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1120 | EJLStart_ADDSTR(p, "TO", "0"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1120:19: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1120 | EJLStart_ADDSTR(p, "TO", "0"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:984:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1123:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1123 | EJLStart_ADDSTR(p, "LO", "0"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1123:19: 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:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1126:19: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1126 | EJLStart_ADDSTR(p, "OR", "PO"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >epson-escpage.c:983:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1126:19: 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:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1129:11: 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 *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1132:19: 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:11: note: in definition of macro âEJLStart_ADDSTRâ > 983 | sprintf(b, " %s=%s", p, v); \ > | ^ >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1132:19: 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:15: note: in definition of macro âEJLStart_ADDSTRâ > 984 | b += strlen(b); \ > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1135:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1135 | sprintf(p, " %s%s%s", sbEJL_LF, sbEJL_EN, sbEJL_LF); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1138:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1138 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c: In function âejlEndâ: >epson-escpage.c:1165:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1165 | sprintf(p, "%s%s ", > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1168:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1168 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1174:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1174 | sprintf(p, "JI PAGES=\"%d\"", dwPaperNum); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1175:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1175 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1178:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1178 | sprintf(p, " %s%s %s", sbEJL_LF, sbEJL, sbEJL_LF); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1179:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1179 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c: In function âejlPageEscâ: >epson-escpage.c:1210:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1210:13: warning: 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 *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1210:13: warning: format string is not an array of type âcharâ [-Wformat=] > 1210 | sprintf(p, sbLOS, printJob.leftMargin, printJob.topMargin); > | ^~~~~ >epson-escpage.c:1211:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1211 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage.c:1218:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1218:13: 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 *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage.c:1218:13: warning: format string is not an array of type âcharâ [-Wformat=] > 1218 | sprintf(p, sbCA, printJob.printableAreaWidth, printJob.printableAreaHeight); > | ^~~~ >epson-escpage.c:1219:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1219 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-escpage-color.lo `test -f 'epson-escpage-color.c' || echo './'`epson-escpage-color.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-escpage-color.c -o libescpr_la-epson-escpage-color.o >In file included from epson-escpage-color.c:22: >epson-escpage.h:58:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, > | ^~~~ >epson-escpage.h:58:42: note: (near initialization for âpageMediaSize[0].nameâ) >epson-escpage.h:59:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, > | ^~~~ >epson-escpage.h:59:42: note: (near initialization for âpageMediaSize[1].nameâ) >epson-escpage.h:60:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, > | ^~~~ >epson-escpage.h:60:42: note: (near initialization for âpageMediaSize[2].nameâ) >epson-escpage.h:61:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, > | ^~~~ >epson-escpage.h:61:42: note: (near initialization for âpageMediaSize[3].nameâ) >epson-escpage.h:62:45: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, > | ^~~~ >epson-escpage.h:62:45: note: (near initialization for âpageMediaSize[4].nameâ) >epson-escpage.h:63:44: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, > | ^~~~~ >epson-escpage.h:63:44: note: (near initialization for âpageMediaSize[5].nameâ) >epson-escpage.h:64:46: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } > | ^~~~ >epson-escpage.h:64:46: note: (near initialization for âpageMediaSize[6].nameâ) >epson-escpage-color.c: In function âRegisterPaletteâ: >epson-escpage-color.c:830:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage-color.c:830:13: 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 *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage-color.c:830:13: warning: format string is not an array of type âcharâ [-Wformat=] > 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ > | ^~~~~~~ >epson-escpage-color.c:831:38: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 831 | pCmdBuff->len += (EPS_UINT32)strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage-color.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage-color.c: In function âBandEmitâ: >epson-escpage-color.c:980:9: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 980 | strcpy(p, "\x1D""0X"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-escpage-color.c:981:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 981 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage-color.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage-color.c:984:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 984 | sprintf(p, "\x1D%dY", emitRowCount); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage-color.c:985:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 985 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage-color.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage-color.c:989:10: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 989 | strcpy(p, "\x1D""2;204;0;"); /* Indirectly RGB8, palett=0 */ > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-escpage-color.c:991:10: 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 *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-escpage-color.c:993:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 993 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage-color.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage-color.c:997:10: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 997 | strcpy(p, "20;"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-escpage-color.c:1001:10: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1001 | strcpy(p, "0;"); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-escpage-color.c:1004:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1004 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage-color.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage-color.c:1006:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1006 | sprintf(p, "%d;%d;%d;%d;0%s", pBand->currentWidthInPixels, pBand->rasterRow, > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage-color.c:1008:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1008 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage-color.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage-color.c:1014:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage-color.c:1014:14: 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 *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage-color.c:1014:14: warning: format string is not an array of type âcharâ [-Wformat=] > 1014 | sprintf(p, sbCRI, pBand->encDataSize, pBand->rasterRow); > | ^~~~~ >epson-escpage-color.c:1015:15: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1015 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage-color.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage-color.c:1027:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1027 | sprintf(p, "\x1D""%d;%d%s", pBand->scanDataSize, pBand->rasterRow, sbCUI); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage-color.c:1028:15: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1028 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage-color.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-escpage-comp.lo `test -f 'epson-escpage-comp.c' || echo './'`epson-escpage-comp.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-escpage-comp.c -o libescpr_la-epson-escpage-comp.o >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-escpage-mono.lo `test -f 'epson-escpage-mono.c' || echo './'`epson-escpage-mono.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-escpage-mono.c -o libescpr_la-epson-escpage-mono.o >In file included from epson-escpage-mono.c:22: >epson-escpage.h:58:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, > | ^~~~ >epson-escpage.h:58:42: note: (near initialization for âpageMediaSize[0].nameâ) >epson-escpage.h:59:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, > | ^~~~ >epson-escpage.h:59:42: note: (near initialization for âpageMediaSize[1].nameâ) >epson-escpage.h:60:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, > | ^~~~ >epson-escpage.h:60:42: note: (near initialization for âpageMediaSize[2].nameâ) >epson-escpage.h:61:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, > | ^~~~ >epson-escpage.h:61:42: note: (near initialization for âpageMediaSize[3].nameâ) >epson-escpage.h:62:45: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, > | ^~~~ >epson-escpage.h:62:45: note: (near initialization for âpageMediaSize[4].nameâ) >epson-escpage.h:63:44: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, > | ^~~~~ >epson-escpage.h:63:44: note: (near initialization for âpageMediaSize[5].nameâ) >epson-escpage.h:64:46: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } > | ^~~~ >epson-escpage.h:64:46: note: (near initialization for âpageMediaSize[6].nameâ) >epson-escpage-mono.c: In function âBandEmitâ: >epson-escpage-mono.c:995:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 995 | sprintf(p, "\x1D%dY", iRow); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage-mono.c:996:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 996 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage-mono.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpage-mono.c:1002:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1002 | sprintf(p, sbBID, iNByte, iNDot); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage-mono.c:1002:13: warning: pointer targets in passing argument 2 of âsprintfâ differ in signedness [-Wpointer-sign] > 1002 | sprintf(p, sbBID, iNByte, iNDot); > | ^~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-escpage-mono.c:1002:13: warning: format string is not an array of type âcharâ [-Wformat=] > 1002 | sprintf(p, sbBID, iNByte, iNDot); > | ^~~~~ >epson-escpage-mono.c:1003:14: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1003 | p += strlen(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpage-mono.c:19: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-escpr-api.lo `test -f 'epson-escpr-api.c' || echo './'`epson-escpr-api.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-escpr-api.c -o libescpr_la-epson-escpr-api.o >In file included from epson-escpr-api.c:72: >epson-escpage.h:58:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, > | ^~~~ >epson-escpage.h:58:42: note: (near initialization for âpageMediaSize[0].nameâ) >epson-escpage.h:59:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, > | ^~~~ >epson-escpage.h:59:42: note: (near initialization for âpageMediaSize[1].nameâ) >epson-escpage.h:60:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, > | ^~~~ >epson-escpage.h:60:42: note: (near initialization for âpageMediaSize[2].nameâ) >epson-escpage.h:61:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, > | ^~~~ >epson-escpage.h:61:42: note: (near initialization for âpageMediaSize[3].nameâ) >epson-escpage.h:62:45: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, > | ^~~~ >epson-escpage.h:62:45: note: (near initialization for âpageMediaSize[4].nameâ) >epson-escpage.h:63:44: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, > | ^~~~~ >epson-escpage.h:63:44: note: (near initialization for âpageMediaSize[5].nameâ) >epson-escpage.h:64:46: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } > | ^~~~ >epson-escpage.h:64:46: note: (near initialization for âpageMediaSize[6].nameâ) >epson-escpr-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[] = { > | ^~~~~~~~~~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-escpr-dbg.lo `test -f 'epson-escpr-dbg.c' || echo './'`epson-escpr-dbg.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-escpr-dbg.c -o libescpr_la-epson-escpr-dbg.o >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-escpr-mem.lo `test -f 'epson-escpr-mem.c' || echo './'`epson-escpr-mem.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-escpr-mem.c -o libescpr_la-epson-escpr-mem.o >epson-escpr-mem.c: In function âmemStrStrâ: >epson-escpr-mem.c:149:36: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 149 | if(NULL == strSrc || 64 <= strlen(strFind)){ > | ^~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-escpr-mem.c:34: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpr-mem.c:189:35: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 189 | nFindStrLen = (EPS_UINT32)strlen(strFind); > | ^~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-escpr-mem.c:34: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpr-mem.c:190:42: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 190 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ > | ^~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-escpr-mem.c:34: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpr-mem.c: In function âmemStrStrWithLenâ: >epson-escpr-mem.c:234:36: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 234 | if(NULL == strSrc || 64 <= strlen(strFind)){ > | ^~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-escpr-mem.c:34: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpr-mem.c:273:42: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 273 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ > | ^~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-escpr-mem.c:34: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-escpr-pm.lo `test -f 'epson-escpr-pm.c' || echo './'`epson-escpr-pm.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-escpr-pm.c -o libescpr_la-epson-escpr-pm.o >epson-escpr-pm.c: In function â_SP_ChangeSpec_UpdatePMReplyâ: >epson-escpr-pm.c:957:28: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 957 | if( (strcmp(printer->modelName, "E-300" ) == 0) ){ > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-pm.c:24: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-pm.c:960:28: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 960 | } else if( (strcmp(printer->modelName, "E-500" ) == 0) || > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-pm.c:24: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-pm.c:961:25: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 961 | (strcmp(printer->modelName, "E-700" ) == 0) ) { > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-pm.c:24: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-pm.c:964:28: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 964 | } else if( (strcmp(printer->modelName, "PictureMate PM 200" ) == 0) || > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-pm.c:24: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-pm.c:965:25: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 965 | (strcmp(printer->modelName, "PictureMate PM 210" ) == 0) ){ > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-pm.c:24: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-pm.c:968:28: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 968 | } else if( (strcmp(printer->modelName, "PictureMate PM 240" ) == 0) || > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-pm.c:24: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-pm.c:969:25: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 969 | (strcmp(printer->modelName, "PictureMate PM 250" ) == 0) || > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-pm.c:24: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-pm.c:970:22: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 970 | (strcmp(printer->modelName, "PictureMate PM 280" ) == 0) ){ > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-pm.c:24: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-pm.c:1075:21: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1075 | if ((strcmp(printer->modelName, "Stylus Photo R380" ) == 0) || > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-pm.c:24: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-pm.c:1076:24: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1076 | (strcmp(printer->modelName, "Stylus Photo RX580") == 0) ) { > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-pm.c:24: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-escpr-services.lo `test -f 'epson-escpr-services.c' || echo './'`epson-escpr-services.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-escpr-services.c -o libescpr_la-epson-escpr-services.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) { > | ^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:149:11: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 149 | if((i = strstr(deviceIDString, "MFG:")) != NULL) { > | ^ >epson-escpr-services.c:151:24: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 151 | } else if((i = strstr(deviceIDString, "MANUFACTURER:")) != NULL) { > | ^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:151:15: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 151 | } else if((i = strstr(deviceIDString, "MANUFACTURER:")) != NULL) { > | ^ >epson-escpr-services.c:173:14: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 173 | if((strncmp(i, "EPSON", 5) != 0) && (strncmp(i, "Epson", 5) != 0) ){ > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:173:47: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 173 | if((strncmp(i, "EPSON", 5) != 0) && (strncmp(i, "Epson", 5) != 0) ){ > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:180:13: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 180 | if(strlen(i) < 64) { > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpr-services.c:181:11: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 181 | strcpy(manufacturer, i); /* If the name is OK, copy the whole string as-is */ > | ^~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-escpr-services.c:181:25: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 181 | strcpy(manufacturer, i); /* If the name is OK, copy the whole string as-is */ > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-escpr-services.c:196:18: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 196 | if((i = strstr(deviceIDString, "MDL:")) != NULL) { > | ^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:196:9: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 196 | if((i = strstr(deviceIDString, "MDL:")) != NULL) { > | ^ >epson-escpr-services.c:198:25: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 198 | } else if((i = strstr(deviceIDString, "MODEL:")) != NULL) { > | ^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:198:16: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 198 | } else if((i = strstr(deviceIDString, "MODEL:")) != NULL) { > | ^ >epson-escpr-services.c:223:13: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 223 | if(strlen(i) < 64) { > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpr-services.c:224:11: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 224 | strcpy(modelName, i); /* If the name is OK, copy the whole string as-is */ > | ^~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-escpr-services.c:224:22: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 224 | strcpy(modelName, i); /* If the name is OK, copy the whole string as-is */ > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-escpr-services.c:238:20: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 238 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { > | ^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:238:11: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 238 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { > | ^ >epson-escpr-services.c:259:18: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 259 | if((k = strstr(i, ",")) != NULL) { > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:259:9: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 259 | if((k = strstr(i, ",")) != NULL) { > | ^ >epson-escpr-services.c:263:18: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 263 | if((p = strstr(i, "ESCPR")) != NULL) { > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:263:9: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 263 | if((p = strstr(i, "ESCPR")) != NULL) { > | ^ >epson-escpr-services.c:266:13: warning: pointer targets in passing argument 1 of âsscanfâ differ in signedness [-Wpointer-sign] > 266 | sscanf(p+5, "%d", cmdLevel); > | ~^~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:29, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/stdio.h:399:43: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 399 | extern int sscanf (const char *__restrict __s, > | ~~~~~~~~~~~~~~~~~~~~~~~^~~ >epson-escpr-services.c:271:20: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 271 | } else if(strstr(i, "ESCPAGECOLOR") != NULL) { > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:278:20: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 278 | } else if(strstr(i, "ESCPAGE") != NULL) { > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:279:14: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 279 | if(strstr(i, "ESCPAGES") == NULL) { > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:332:18: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 332 | if((i = strstr(deviceIDString, "ELG:")) != NULL) { > | ^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:332:9: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 332 | if((i = strstr(deviceIDString, "ELG:")) != NULL) { > | ^ >epson-escpr-services.c:350:13: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 350 | if(strlen(i) <= 4) { > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-escpr-services.c:351:11: warning: pointer targets in passing argument 1 of âsscanfâ differ in signedness [-Wpointer-sign] > 351 | sscanf(i, "%x", errorID); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:29, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/stdio.h:399:43: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 399 | extern int sscanf (const char *__restrict __s, > | ~~~~~~~~~~~~~~~~~~~~~~~^~~ >epson-escpr-services.c: In function âserCheckLangâ: >epson-escpr-services.c:383:15: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 383 | if( (strncmp(langString, "ESC-P/R", 7) == 0) ){ > | ^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c: In function âserAnalyzeStatusâ: >epson-escpr-services.c:437:33: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 437 | if((Field = (EPS_UINT8*)strstr(Status,"ST2")) == NULL ){ > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c: In function âserGetSerialNoâ: >epson-escpr-services.c:803:13: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 803 | p = strstr(cdBuff, "cd:"); > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c:803:4: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 803 | p = strstr(cdBuff, "cd:"); > | ^ >epson-escpr-services.c:809:19: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 809 | if( 0 == strncmp(p, "NA", 2) || 0 == strncmp(p, "BUSY", 4)){ > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:809:47: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 809 | if( 0 == strncmp(p, "NA", 2) || 0 == strncmp(p, "BUSY", 4)){ > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:788:12: warning: pointer targets in passing argument 1 of âstrncpyâ differ in signedness [-Wpointer-sign] > 788 | strncpy(serialNo, p+POS, LEN); \ > | ^~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >epson-escpr-services.c:831:3: note: in expansion of macro âEPS_GET_SERIALâ > 831 | EPS_GET_SERIAL(31, 10) > | ^~~~~~~~~~~~~~ >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/bits/string_fortified.h:103:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, > | ^~~~~ >epson-escpr-services.c:788:23: warning: pointer targets in passing argument 2 of âstrncpyâ differ in signedness [-Wpointer-sign] > 788 | strncpy(serialNo, p+POS, LEN); \ > | ~^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} > 789 | } else{ \ > | ~~~~~~~~~~~~~~~~~ > 790 | ret = EPS_ERR_COMM_ERROR; \ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 791 | } > | ~ > 792 | > | > 793 | EPS_LOG_FUNCIN > | ~~~~~~~~~~~~~~ > 794 | > | > 795 | /* verify */ > | ~~~~~~~~~~~~ > 796 | if( buflen < 14 ){ > | ~~~~~~~~~~~~~~~~~~ > 797 | EPS_RETURN( EPS_ERR_COMM_ERROR) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 798 | } > | ~ > 799 | if( 0 != memcmp(cdBuff+buflen-2, ";\x0C", 2) ){ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 800 | EPS_RETURN( EPS_ERR_COMM_ERROR) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 801 | } > | ~ > 802 | > | > 803 | p = strstr(cdBuff, "cd:"); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~ > 804 | if( NULL == p || buflen-(p-cdBuff) < 6 ){ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 805 | EPS_RETURN( EPS_ERR_COMM_ERROR) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 806 | } > | ~ > 807 | p += 5; /* skip head */ > | ~~~~~~~~~~~~~~~~~~~~~~~ > 808 | > | > 809 | if( 0 == strncmp(p, "NA", 2) || 0 == strncmp(p, "BUSY", 4)){ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 810 | EPS_RETURN( EPS_ERR_COMM_ERROR) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 811 | } > | ~ > 812 | > | > 813 | datalen = (EPS_INT32)*p + ((EPS_INT32)*(p+1) << 8); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 814 | p += 2; /* skip lenght field */ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 815 | > | > 816 | /* get version */ > | ~~~~~~~~~~~~~~~~~ > 817 | formVer = 0x07; > | ~~~~~~~~~~~~~~~ > 818 | if( buflen-(EPS_INT32)(p-cdBuff) > datalen+2 && /* 2 = ";\x0C" */ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 819 | *(cdBuff+buflen-4) == '/'){ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 820 | formVer = *(cdBuff+buflen-3); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 821 | } > | ~ > 822 | > | > 823 | /* get serial number */ > | ~~~~~~~~~~~~~~~~~~~~~~~ > 824 | /* serialNo buffer size is EPS_ADDR_BUFFSIZE */ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 825 | switch(formVer){ > | ~~~~~~~~~~~~~~~~ > 826 | case 0x07: > | ~~~~~~~~~~ > 827 | /* EPS_GET_SERIAL(31, 18) not product serial */ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 828 | break; > | ~~~~~~ > 829 | case 0x08: > | ~~~~~~~~~~ > 830 | case 0x10: > | ~~~~~~~~~~ > 831 | EPS_GET_SERIAL(31, 10) > | ~~~~~~~~~~~~~~~~~ >epson-escpr-services.c:831:3: note: in expansion of macro âEPS_GET_SERIALâ > 831 | EPS_GET_SERIAL(31, 10) > | ^~~~~~~~~~~~~~ >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/bits/string_fortified.h:103:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, > | ^~~~~ >epson-escpr-services.c:788:12: warning: pointer targets in passing argument 1 of âstrncpyâ differ in signedness [-Wpointer-sign] > 788 | strncpy(serialNo, p+POS, LEN); \ > | ^~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >epson-escpr-services.c:836:3: note: in expansion of macro âEPS_GET_SERIALâ > 836 | EPS_GET_SERIAL(46, 10) > | ^~~~~~~~~~~~~~ >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/bits/string_fortified.h:103:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, > | ^~~~~ >epson-escpr-services.c:788:23: warning: pointer targets in passing argument 2 of âstrncpyâ differ in signedness [-Wpointer-sign] > 788 | strncpy(serialNo, p+POS, LEN); \ > | ~^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} > 789 | } else{ \ > | ~~~~~~~~~~~~~~~~~ > 790 | ret = EPS_ERR_COMM_ERROR; \ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 791 | } > | ~ > 792 | > | > 793 | EPS_LOG_FUNCIN > | ~~~~~~~~~~~~~~ > 794 | > | > 795 | /* verify */ > | ~~~~~~~~~~~~ > 796 | if( buflen < 14 ){ > | ~~~~~~~~~~~~~~~~~~ > 797 | EPS_RETURN( EPS_ERR_COMM_ERROR) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 798 | } > | ~ > 799 | if( 0 != memcmp(cdBuff+buflen-2, ";\x0C", 2) ){ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 800 | EPS_RETURN( EPS_ERR_COMM_ERROR) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 801 | } > | ~ > 802 | > | > 803 | p = strstr(cdBuff, "cd:"); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~ > 804 | if( NULL == p || buflen-(p-cdBuff) < 6 ){ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 805 | EPS_RETURN( EPS_ERR_COMM_ERROR) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 806 | } > | ~ > 807 | p += 5; /* skip head */ > | ~~~~~~~~~~~~~~~~~~~~~~~ > 808 | > | > 809 | if( 0 == strncmp(p, "NA", 2) || 0 == strncmp(p, "BUSY", 4)){ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 810 | EPS_RETURN( EPS_ERR_COMM_ERROR) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 811 | } > | ~ > 812 | > | > 813 | datalen = (EPS_INT32)*p + ((EPS_INT32)*(p+1) << 8); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 814 | p += 2; /* skip lenght field */ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 815 | > | > 816 | /* get version */ > | ~~~~~~~~~~~~~~~~~ > 817 | formVer = 0x07; > | ~~~~~~~~~~~~~~~ > 818 | if( buflen-(EPS_INT32)(p-cdBuff) > datalen+2 && /* 2 = ";\x0C" */ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 819 | *(cdBuff+buflen-4) == '/'){ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 820 | formVer = *(cdBuff+buflen-3); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 821 | } > | ~ > 822 | > | > 823 | /* get serial number */ > | ~~~~~~~~~~~~~~~~~~~~~~~ > 824 | /* serialNo buffer size is EPS_ADDR_BUFFSIZE */ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 825 | switch(formVer){ > | ~~~~~~~~~~~~~~~~ > 826 | case 0x07: > | ~~~~~~~~~~ > 827 | /* EPS_GET_SERIAL(31, 18) not product serial */ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 828 | break; > | ~~~~~~ > 829 | case 0x08: > | ~~~~~~~~~~ > 830 | case 0x10: > | ~~~~~~~~~~ > 831 | EPS_GET_SERIAL(31, 10) > | ~~~~~~~~~~~~~~~~~~~~~~ > 832 | break; > | ~~~~~~ > 833 | > | > 834 | case 0x11: > | ~~~~~~~~~~ > 835 | default: > | ~~~~~~~~ > 836 | EPS_GET_SERIAL(46, 10) > | ~~~~~~~~~~~~~~~~~ >epson-escpr-services.c:836:3: note: in expansion of macro âEPS_GET_SERIALâ > 836 | EPS_GET_SERIAL(46, 10) > | ^~~~~~~~~~~~~~ >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/bits/string_fortified.h:103:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, > | ^~~~~ >epson-escpr-services.c: In function âserGetSerialNoFormSTâ: >epson-escpr-services.c:863:33: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 863 | if((Field = (EPS_UINT8*)strstr(Status,"ST2")) == NULL ){ > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c: In function âserGetSupplyInfoâ: >epson-escpr-services.c:935:33: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 935 | if((Field = (EPS_UINT8*)strstr((EPS_INT8*)Status, "ST2")) == NULL ){ > | ^~~~~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-escpr-services.c: In function âobsGetPageModeâ: >epson-escpr-services.c:1324:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1324 | if( (strcmp(modelName, "EP-801A" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1325:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1325 | (strcmp(modelName, "Artisan 700" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1326:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1326 | (strcmp(modelName, "Stylus Photo TX700W" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1327:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1327 | (strcmp(modelName, "Stylus Photo PX700W" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1328:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1328 | (strcmp(modelName, "EP-901F" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1329:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1329 | (strcmp(modelName, "EP-901A" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1330:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1330 | (strcmp(modelName, "Artisan 800" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1331:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1331 | (strcmp(modelName, "Stylus Photo PX800FW") == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1332:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1332 | (strcmp(modelName, "Stylus Photo TX800FW") == 0) ) > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c: In function âobsIsA3Modelâ: >epson-escpr-services.c:1351:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1351 | if( (strcmp(modelName, "PX-5V" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1352:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1352 | (strcmp(modelName, "Epson Stylus Photo R3000") == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1353:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1353 | (strcmp(modelName, "PX-7V" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1354:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1354 | (strcmp(modelName, "Epson Stylus Photo R2000") == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1355:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1355 | (strcmp(modelName, "EP-4004" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1356:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1356 | (strcmp(modelName, "Artisan 1430" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1357:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1357 | (strcmp(modelName, "Epson Stylus Photo 1430") == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1358:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1358 | (strcmp(modelName, "Epson Stylus Photo 1500") == 0) ) > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1363:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1363 | if( (strcmp(modelName, "PX-5V" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1364:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1364 | (strcmp(modelName, "Epson Stylus Photo R3000") == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1365:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1365 | (strcmp(modelName, "PX-7V" ) == 0) || > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1366:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1366 | (strcmp(modelName, "Epson Stylus Photo R2000") == 0) ) > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c: In function âobsEnableDuplexâ: >epson-escpr-services.c:1399:15: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1399 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1399:44: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1399 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ > | ~~~~~~~~~~~~~~~~~~^~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c: In function âobsEnableAutoFeedâ: >epson-escpr-services.c:1418:14: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1418 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-escpr-services.c:1418:43: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1418 | if( strcmp(modelName, modelFY11Bussiness[i]) == 0){ > | ~~~~~~~~~~~~~~~~~~^~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-err.h:29, > from epson-escpr-services.c:30: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-layout.lo `test -f 'epson-layout.c' || echo './'`epson-layout.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-layout.c -o libescpr_la-epson-layout.o >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-net-lpr.lo `test -f 'epson-net-lpr.c' || echo './'`epson-net-lpr.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-net-lpr.c -o libescpr_la-epson-net-lpr.o >epson-net-lpr.c: In function âStartDataSessionâ: >epson-net-lpr.c:860:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 860 | sprintf(buffer, "\x02%s\n", pqueue); > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-lpr.c:863:69: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 863 | sNetFnc.send(lprPrintJob->socData, buffer, (EPS_INT32)strlen(buffer), EPSNET_SEND_TIMEOUT) > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} > >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-lpr.c:864:24: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 864 | != (EPS_INT32)strlen(buffer)){ > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-lpr.c:887:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 887 | sprintf(dname, "dfA%d%s", nJobID, LPR_HOST_NAME); > | ^~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-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 /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-lpr.c:889:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 889 | sprintf(controlfile, "H%s\nP%s\nv%s\nU%s\nN%s\n", > | ^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-lpr.c:891:52: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 891 | sprintf(buffer, "\x02%d %s\n", (EPS_UINT32)strlen(controlfile), cname); > | ^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-lpr.c:891:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 891 | sprintf(buffer, "\x02%d %s\n", (EPS_UINT32)strlen(controlfile), cname); > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-lpr.c:894:69: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 894 | sNetFnc.send(lprPrintJob->socData, buffer, (EPS_INT32)strlen(buffer), EPSNET_SEND_TIMEOUT) > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} > >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-lpr.c:895:24: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 895 | != (EPS_INT32)strlen(buffer)){ > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-lpr.c:912:74: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 912 | nc.send(lprPrintJob->socData, controlfile, (EPS_INT32)strlen(controlfile) + 1, EPSNET_SEND_TIMEOUT) > | ^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} > >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-lpr.c:913:24: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 913 | != (EPS_INT32)strlen(controlfile)+1){ /* Send '\0' */ > | ^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-lpr.c:935:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 935 | sprintf(buffer, "\x03%s %s\n", LPR_DUMMY_DATA_SIZE, dname); > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-lpr.c:938:69: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 938 | sNetFnc.send(lprPrintJob->socData, buffer, (EPS_INT32)strlen(buffer), EPSNET_SEND_TIMEOUT) > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} > >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-lpr.c:939:24: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 939 | != (EPS_INT32)strlen(buffer)){ > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-lpr.c:40: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-net-raw.lo `test -f 'epson-net-raw.c' || echo './'`epson-net-raw.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-net-raw.c -o libescpr_la-epson-net-raw.o >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-net-snmp.lo `test -f 'epson-net-snmp.c' || echo './'`epson-net-snmp.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-net-snmp.c -o libescpr_la-epson-net-snmp.o >epson-net-snmp.c: In function âsnmpFindStartâ: >epson-net-snmp.c:68:29: warning: pointer targets in passing argument 3 of âCreateCommandâ differ in signedness [-Wpointer-sign] > 68 | #define SNMP_COMMUNITY_STR "public" > | ^~~~~~~~ > | | > | char * >epson-net-snmp.c:417:73: note: in expansion of macro âSNMP_COMMUNITY_STRâ > 417 | RR_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:29: warning: pointer targets in passing argument 3 of âCreateCommandâ differ in signedness [-Wpointer-sign] > 68 | #define SNMP_COMMUNITY_STR "public" > | ^~~~~~~~ > | | > | char * >epson-net-snmp.c:450:73: note: in expansion of macro âSNMP_COMMUNITY_STRâ > 450 | RR_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: In function âsnmpProbeByIDâ: >epson-net-snmp.c:643:16: warning: pointer targets in passing argument 1 of âstrtokâ differ in signedness [-Wpointer-sign] > 643 | pPos = strtok(printerUUID, EPS_NETID_SEP); > | ^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:335:14: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 335 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) > | ^~~~~~ >epson-net-snmp.c:643:7: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 643 | pPos = strtok(printerUUID, EPS_NETID_SEP); > | ^ >epson-net-snmp.c:647:11: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 647 | strcpy(compName, pPos); > | ^~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:647:21: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 647 | strcpy(compName, pPos); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:650:11: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 650 | strcpy(compSysName, pPos); > | ^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:650:24: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 650 | strcpy(compSysName, pPos); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:654:8: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 654 | pPos = strtok(NULL, EPS_NETID_SEP); > | ^ >In file included from epson-net-snmp.c:42: >epson-protocol.h:49:35: warning: pointer targets in passing argument 2 of âsnmpFindStartâ differ in signedness [-Wpointer-sign] > 49 | #define EPSNET_UDP_BROADCAST_ADDR "255.255.255.255" > | ^~~~~~~~~~~~~~~~~ > | | > | char * >epson-net-snmp.c:686:37: note: in expansion of macro âEPSNET_UDP_BROADCAST_ADDRâ > 686 | ret = snmpFindStart( socks+ifCnt, EPSNET_UDP_BROADCAST_ADDR, TRUE, ifBuf+(ifCnt*EPS_IFNAME_LEN) ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >epson-net-snmp.c:351:19: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 351 | const EPS_INT8* address, > | ~~~~~~~~~~~~~~~~^~~~~~~ >In file included from epson-net-snmp.c:42: >epson-protocol.h:49:35: warning: pointer targets in passing argument 2 of âsnmpFindStartâ differ in signedness [-Wpointer-sign] > 49 | #define EPSNET_UDP_BROADCAST_ADDR "255.255.255.255" > | ^~~~~~~~~~~~~~~~~ > | | > | char * >epson-net-snmp.c:734:40: note: in expansion of macro âEPSNET_UDP_BROADCAST_ADDRâ > 734 | ret = snmpFindStart( socks+ifCnt, EPSNET_UDP_BROADCAST_ADDR, TRUE, ifBuf+(ifCnt*EPS_IFNAME_LEN) ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >epson-net-snmp.c:351:19: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 351 | const EPS_INT8* address, > | ~~~~~~~~~~~~~~~~^~~~~~~ >epson-net-snmp.c: In function âsnmpGetStatusâ: >epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of âsnmpTransactSâ differ in signedness [-Wpointer-sign] > 68 | #define SNMP_COMMUNITY_STR "public" > | ^~~~~~~~ > | | > | char * >epson-net-snmp.c:806:42: note: in expansion of macro âSNMP_COMMUNITY_STRâ > 806 | s_oidPrvStatus, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, > | ^~~~~~~~~~~~~~~~~~ >In file included from epson-net-snmp.c:43: >epson-net-snmp.h:122:39: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, > | ^~~~~~~~~~~~~~~ >epson-net-snmp.c: In function âsnmpGetStatus_Pageâ: >epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of âsnmpTransactSâ differ in signedness [-Wpointer-sign] > 68 | #define SNMP_COMMUNITY_STR "public" > | ^~~~~~~~ > | | > | char * >epson-net-snmp.c:858:42: note: in expansion of macro âSNMP_COMMUNITY_STRâ > 858 | s_oidDevStatus, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, > | ^~~~~~~~~~~~~~~~~~ >In file included from epson-net-snmp.c:43: >epson-net-snmp.h:122:39: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, > | ^~~~~~~~~~~~~~~ >epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of âsnmpTransactSâ differ in signedness [-Wpointer-sign] > 68 | #define SNMP_COMMUNITY_STR "public" > | ^~~~~~~~ > | | > | char * >epson-net-snmp.c:877:46: note: in expansion of macro âSNMP_COMMUNITY_STRâ > 877 | s_oidPrinterStatus, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, > | ^~~~~~~~~~~~~~~~~~ >In file included from epson-net-snmp.c:43: >epson-net-snmp.h:122:39: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, > | ^~~~~~~~~~~~~~~ >epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of âsnmpTransactSâ differ in signedness [-Wpointer-sign] > 68 | #define SNMP_COMMUNITY_STR "public" > | ^~~~~~~~ > | | > | char * >epson-net-snmp.c:939:46: note: in expansion of macro âSNMP_COMMUNITY_STRâ > 939 | s_oidPrinterError, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, > | ^~~~~~~~~~~~~~~~~~ >In file included from epson-net-snmp.c:43: >epson-net-snmp.h:122:39: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, > | ^~~~~~~~~~~~~~~ >epson-net-snmp.c: In function âsnmpInfoCommandâ: >epson-net-snmp.c:1151:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1151 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 's', 't', 0x01, 0x00, 0x01); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c:1154:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1154 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', 0x01, 0x00, 0x01); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c:1157:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1157 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', 0x01, 0x00, 0x02); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c:1164:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1164 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'c', 'd', 0x01, 0x00, 0x00); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c:1167:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1167 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'v', 'i', 0x01, 0x00, 0x05); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c: In function âBlkInfoCommandâ: >epson-net-snmp.c:1234:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1234 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', 0x05, 0x00, 0x03, > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c:1244:26: warning: pointer targets in passing argument 6 of âsnmpTransactSâ differ in signedness [-Wpointer-sign] > 1244 | cOid, ASN_PDU_GET, "public", NULL, &pdu); > | ^~~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:43: >epson-net-snmp.h:122:39: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, > | ^~~~~~~~~~~~~~~ >epson-net-snmp.c:1284:12: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1284 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'm', > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c:1294:26: warning: pointer targets in passing argument 6 of âsnmpTransactSâ differ in signedness [-Wpointer-sign] > 1294 | cOid, ASN_PDU_GET, "public", NULL, &pdu); > | ^~~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:43: >epson-net-snmp.h:122:39: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, > | ^~~~~~~~~~~~~~~ >epson-net-snmp.c: In function âsnmpInfoCommand_PagePMâ: >epson-net-snmp.c:1418:23: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1418 | if( strncmp(pdu.val.v_str, "MP Tray", Min(pdu.length, 7)) == 0 || > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1419:20: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1419 | strncmp(pdu.val.v_str, "MSI", Min(pdu.length, 3)) == 0) > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1422:30: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1422 | } else if( strncmp(pdu.val.v_str, "LC1", Min(pdu.length, 3)) == 0 || > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1423:22: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1423 | strncmp(pdu.val.v_str, "Tray 1", Min(pdu.length, 6)) == 0 || > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1424:22: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1424 | strncmp(pdu.val.v_str, "TRAY 1", Min(pdu.length, 6)) == 0) > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1427:30: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1427 | } else if( strncmp(pdu.val.v_str, "LC2", Min(pdu.length, 3)) == 0 || > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1428:22: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1428 | strncmp(pdu.val.v_str, "Tray 2", Min(pdu.length, 6)) == 0 || > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1429:22: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1429 | strncmp(pdu.val.v_str, "TRAY 2", Min(pdu.length, 6)) == 0) > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1432:30: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1432 | } else if( strncmp(pdu.val.v_str, "LC3", Min(pdu.length, 3)) == 0 || > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1433:22: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1433 | strncmp(pdu.val.v_str, "Tray 3", Min(pdu.length, 6)) == 0 || > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1434:22: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1434 | strncmp(pdu.val.v_str, "TRAY 3", Min(pdu.length, 6)) == 0) > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1437:30: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1437 | } else if( strncmp(pdu.val.v_str, "LC4", Min(pdu.length, 3)) == 0 || > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1438:22: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1438 | strncmp(pdu.val.v_str, "Tray 4", Min(pdu.length, 6)) == 0 || > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:1439:22: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 1439 | strncmp(pdu.val.v_str, "TRAY 4", Min(pdu.length, 6)) == 0) > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c: In function âsnmpMechCommandâ: >epson-net-snmp.c:1507:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1507 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'e', 0x01, 0x00, 0x01); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c:1510:11: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1510 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d.%d", > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c:1524:25: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 1524 | (strstr(pdu.val.v_str+1,"OK") != NULL) ){ > | ~~~~~~~~~~~~~^~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-net-snmp.c: In function âSnmpTransactâ: >epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of âsnmpTransactSâ differ in signedness [-Wpointer-sign] > 68 | #define SNMP_COMMUNITY_STR "public" > | ^~~~~~~~ > | | > | char * >epson-net-snmp.c:1601:63: note: in expansion of macro âSNMP_COMMUNITY_STRâ > 1601 | ret = snmpTransactS(soc, address, recvtimeout, oid, request, SNMP_COMMUNITY_STR, NULL, pdu); > | ^~~~~~~~~~~~~~~~~~ > >In file included from epson-net-snmp.c:43: >epson-net-snmp.h:122:39: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, > | ^~~~~~~~~~~~~~~ >epson-net-snmp.c: In function âSnmpWalkMibâ: >epson-net-snmp.c:1721:10: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1721 | strcpy(orgObjID, oid); > | ^~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:1721:20: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1721 | strcpy(orgObjID, oid); > | ^~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:1722:10: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1722 | strcpy(nextObjID, oid); > | ^~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:1722:21: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1722 | strcpy(nextObjID, oid); > | ^~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:68:29: warning: pointer targets in passing argument 3 of âCreateCommandâ differ in signedness [-Wpointer-sign] > 68 | #define SNMP_COMMUNITY_STR "public" > | ^~~~~~~~ > | | > | char * >epson-net-snmp.c:1726:51: note: in expansion of macro âSNMP_COMMUNITY_STRâ > 1726 | ret = CreateCommand(g_TrnBuff, ASN_PDU_GET_NEXT, SNMP_COMMUNITY_STR, nRqID, &request, 1, &nSize); > | ^~~~~~~~~~~~~~~~~~ >epson-net-snmp.c:204:60: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 204 | static EPS_ERR_CODE CreateCommand (EPS_INT8*, EPS_UINT8, const EPS_INT8*, EPS_INT32, > | ^~~~~~~~~~~~~~~ >epson-net-snmp.c: In function âSnmpFindRecvâ: >epson-net-snmp.c:2103:10: warning: pointer targets in passing argument 1 of âstrncpyâ differ in signedness [-Wpointer-sign] > 2103 | strncpy(infoBuf, pdu.val.v_str, Min(pdu.length, SNMP_MAX_BUF-1)); > | ^~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:103:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, > | ^~~~~ >epson-net-snmp.c:2103:26: warning: pointer targets in passing argument 2 of âstrncpyâ differ in signedness [-Wpointer-sign] > 2103 | strncpy(infoBuf, pdu.val.v_str, Min(pdu.length, SNMP_MAX_BUF-1)); > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:103:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, > | ^~~~~ >epson-net-snmp.c:2114:57: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 2114 | devIdRes = serParseDeviceID(infoBuf, (EPS_INT32)strlen(infoBuf), > | ^~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-snmp.c:2146:20: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 2146 | strcpy( (*printer)->location, sFromAdder ); > | ~~~~~~~~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:2146:32: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 2146 | strcpy( (*printer)->location, sFromAdder ); > | ^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:2176:14: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 2176 | if( strcmp(compSysName, (*printer)->macAddress) || > | ^~~~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:2176:37: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 2176 | if( strcmp(compSysName, (*printer)->macAddress) || > | ~~~~~~~~~~^~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:2177:11: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 2177 | strcmp(compName, (*printer)->modelName) ){ > | ^~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:2177:31: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 2177 | strcmp(compName, (*printer)->modelName) ){ > | ~~~~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-net-snmp.c:2216:23: warning: pointer targets in passing argument 1 of âstrncpyâ differ in signedness [-Wpointer-sign] > 2216 | strncpy( (*printer)->friendlyName, pdu.val.v_str, pdu.length); > | ~~~~~~~~~~^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:103:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, > | ^~~~~ >epson-net-snmp.c:2216:46: warning: pointer targets in passing argument 2 of âstrncpyâ differ in signedness [-Wpointer-sign] > 2216 | strncpy( (*printer)->friendlyName, pdu.val.v_str, pdu.length); > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:103:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, > | ^~~~~ >epson-net-snmp.c:2218:23: warning: pointer targets in passing argument 1 of âstrncpyâ differ in signedness [-Wpointer-sign] > 2218 | strncpy( (*printer)->friendlyName, pdu.val.v_str, EPS_NAME_BUFFSIZE-2); > | ~~~~~~~~~~^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:103:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, > | ^~~~~ >epson-net-snmp.c:2218:46: warning: pointer targets in passing argument 2 of âstrncpyâ differ in signedness [-Wpointer-sign] > 2218 | strncpy( (*printer)->friendlyName, pdu.val.v_str, EPS_NAME_BUFFSIZE-2); > | ~~~~~~~^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:103:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, > | ^~~~~ >epson-net-snmp.c:2224:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 2224 | sprintf(idString, EPS_NET_IDPRM_STR, (*printer)->modelName, (*printer)->macAddress); > | ^~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c: In function âCreateCommandâ: >epson-net-snmp.c:2309:56: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 2309 | pPos = snmpMakeStrField(community, (EPS_UINT32)strlen(community), pPos); > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >In file included from epson-net-snmp.c:40: >epson-net-snmp.c: In function âParseResponseâ: >epson-net-snmp.c:2514:98: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 2514 | dentifire, Min(nResObjIDSize-1, (EPS_INT32)strlen(response.var->identifire))); > | ~~~~~~~~~~~~^~~~~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} > >epson-escpr-mem.h:101:28: note: in definition of macro âMinâ > 101 | #define Min(a,b) ( ((a) < (b)) ? (a) : (b)) > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >In file included from epson-net-snmp.c:40: >epson-net-snmp.c:2514:98: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 2514 | dentifire, Min(nResObjIDSize-1, (EPS_INT32)strlen(response.var->identifire))); > | ~~~~~~~~~~~~^~~~~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} > >epson-escpr-mem.h:101:41: note: in definition of macro âMinâ > 101 | #define Min(a,b) ( ((a) < (b)) ? (a) : (b)) > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-snmp.c: In function âOidToStrâ: >epson-net-snmp.c:3063:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 3063 | sprintf(*pDst, "%d.%d.", *pSrc / 40, *pSrc % 40); > | ^~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c:3067:32: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 3067 | nDstLen = (EPS_UINT16)strlen(*pDst); > | ^~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-snmp.c:3089:12: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 3089 | sprintf(&(*pDst)[nDstLen], "%d.", nElm); > | ^~~~~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c:3091:12: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 3091 | sprintf(&(*pDst)[nDstLen], "%d.", *(pSrc++)); > | ^~~~~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-net-snmp.c:3095:31: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 3095 | nDstLen = (EPS_UINT16)strlen(*pDst) - 1; > | ^~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >In file included from epson-net-snmp.c:40: >epson-net-snmp.c: In function âStrToOidâ: >epson-net-snmp.c:3135:38: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 3135 | pTmp = (EPS_INT8*)EPS_ALLOC( strlen(pSrc)+1 ); > | ^~~~ > | | > | const EPS_INT8 * {aka const signed char *} >epson-escpr-mem.h:42:60: note: in definition of macro âEPS_ALLOCâ > 42 | #define EPS_ALLOC( s ) epsCmnFnc.memAlloc((EPS_UINT32)(s)) > | ^ >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-net-snmp.c:3139:9: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 3139 | strcpy(pTmp, pSrc); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:3139:15: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 3139 | strcpy(pTmp, pSrc); > | ^~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-net-snmp.c:3141:13: warning: pointer targets in passing argument 1 of âstrtokâ differ in signedness [-Wpointer-sign] > 3141 | p = strtok(pTmp, "."); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/string.h:335:14: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 335 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) > | ^~~~~~ >epson-net-snmp.c:3141:4: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 3141 | p = strtok(pTmp, "."); > | ^ >epson-net-snmp.c:3143:32: warning: pointer targets in passing argument 1 of âatoiâ differ in signedness [-Wpointer-sign] > 3143 | pDst[nCnt] = (EPS_INT8)(atoi(p) * 40); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/stdlib.h:361:1: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 361 | __NTH (atoi (const char *__nptr)) > | ^~~~~ >epson-net-snmp.c:3148:4: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 3148 | p = strtok(NULL, "."); > | ^ >epson-net-snmp.c:3150:33: warning: pointer targets in passing argument 1 of âatoiâ differ in signedness [-Wpointer-sign] > 3150 | pDst[nCnt] += (EPS_INT8)(atoi(p)); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/stdlib.h:361:1: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 361 | __NTH (atoi (const char *__nptr)) > | ^~~~~ >epson-net-snmp.c:3157:4: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 3157 | p = strtok(NULL, "."); > | ^ >epson-net-snmp.c:3163:15: warning: pointer targets in passing argument 1 of âatoiâ differ in signedness [-Wpointer-sign] > 3163 | nElm = atoi(p); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-def.h:29, > from epson-net-snmp.c:38: >/usr/include/stdlib.h:361:1: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 361 | __NTH (atoi (const char *__nptr)) > | ^~~~~ >epson-net-snmp.c:3182:5: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 3182 | p = strtok(NULL, "."); > | ^ >epson-net-snmp.c: In function âGetColorIDâ: >epson-net-snmp.c:3317:22: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3317 | if( memStrStr(name, "Black", FALSE) ){ > | ^~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3319 | } else if( memStrStr(name, "Cyan", FALSE) ){ > | ^~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3321 | } else if( memStrStr(name, "Magenta", FALSE) ){ > | ^~~~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3323 | } else if( memStrStr(name, "Yellow", FALSE) ){ > | ^~~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3325 | } else if( memStrStr(name, "Red", FALSE) ){ > | ^~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3327 | } else if( memStrStr(name, "Violet", FALSE) ){ > | ^~~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3329 | } else if( memStrStr(name, "Clear", FALSE) ){ > | ^~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3331 | } else if( memStrStr(name, "Gray", FALSE) ){ > | ^~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3333 | } else if( memStrStr(name, "Orange", FALSE) ){ > | ^~~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3335 | } else if( memStrStr(name, "Green", FALSE) ){ > | ^~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:27: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3339 | if( (p = memStrStr(name, "Light", TRUE)) != NULL ){ > | ^~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:21: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3347 | if( memStrStr(p, "Light", FALSE) ){ > | ^~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3354 | } else if( memStrStr(name, "Matte", FALSE) ){ > | ^~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3358 | } else if( memStrStr(name, "Dark", FALSE) ){ > | ^~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: 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:29: warning: pointer targets in passing argument 2 of âmemStrStrâ differ in signedness [-Wpointer-sign] > 3362 | } else if( memStrStr(name, "Photo", FALSE) ){ > | ^~~~~~~ > | | > | char * >In file included from epson-net-snmp.c:40: >epson-escpr-mem.h:112:18: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); > | ^~~~~~~~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-protocol.lo `test -f 'epson-protocol.c' || echo './'`epson-protocol.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-protocol.c -o libescpr_la-epson-protocol.o >In file included from epson-protocol.c:45: >epson-escpage.h:58:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, > | ^~~~ >epson-escpage.h:58:42: note: (near initialization for âpageMediaSize[0].nameâ) >epson-escpage.h:59:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, > | ^~~~ >epson-escpage.h:59:42: note: (near initialization for âpageMediaSize[1].nameâ) >epson-escpage.h:60:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, > | ^~~~ >epson-escpage.h:60:42: note: (near initialization for âpageMediaSize[2].nameâ) >epson-escpage.h:61:42: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, > | ^~~~ >epson-escpage.h:61:42: note: (near initialization for âpageMediaSize[3].nameâ) >epson-escpage.h:62:45: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, > | ^~~~ >epson-escpage.h:62:45: note: (near initialization for âpageMediaSize[4].nameâ) >epson-escpage.h:63:44: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, > | ^~~~~ >epson-escpage.h:63:44: note: (near initialization for âpageMediaSize[5].nameâ) >epson-escpage.h:64:46: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } > | ^~~~ >epson-escpage.h:64:46: note: (near initialization for âpageMediaSize[6].nameâ) >epson-protocol.c: In function âprtProbePrinterByIDâ: >epson-protocol.c:542:9: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 542 | strcpy(sParse, probeParam->dsc.identify); > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:542:32: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 542 | strcpy(sParse, probeParam->dsc.identify); > | ~~~~~~~~~~~~~~~^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:544:16: warning: pointer targets in passing argument 1 of âstrtokâ differ in signedness [-Wpointer-sign] > 544 | pPos = strtok(sParse, EPS_PID_SEP); > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:335:14: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 335 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) > | ^~~~~~ >epson-protocol.c:544:7: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 544 | pPos = strtok(sParse, EPS_PID_SEP); > | ^ >epson-protocol.c:548:20: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 548 | if( 0 != strcmp(pPos, EPS_PID_PRT) ){ > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c:554:11: warning: pointer targets in passing argument 1 of âsscanfâ differ in signedness [-Wpointer-sign] > 554 | sscanf(pPos, "%x", &nTmp); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/stdio.h:399:43: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 399 | extern int sscanf (const char *__restrict __s, > | ~~~~~~~~~~~~~~~~~~~~~~~^~~ >epson-protocol.c:562:20: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 562 | if( 0 != strcmp(pPos, EPS_PID_DEF) ){ > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c:568:11: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 568 | strcpy(defStr, pPos); > | ^~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:568:19: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 568 | strcpy(defStr, pPos); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:572:8: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 572 | pPos = strtok(NULL, EPS_PID_SEP); > | ^ >epson-protocol.c: In function âprtRegPrinterâ: >epson-protocol.c:921:27: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 921 | if( 0 == strcmp(printer->location, current->printer->location)){ > | ~~~~~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c:921:55: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 921 | if( 0 == strcmp(printer->location, current->printer->location)){ > | ~~~~~~~~~~~~~~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c:922:27: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 922 | if(0 == strcmp(printer->modelName, current->printer->modelName)){ > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c:922:56: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 922 | if(0 == strcmp(printer->modelName, current->printer->modelName)){ > | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c: In function âprtIsRegisteredâ: >epson-protocol.c:1021:35: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1021 | if( 0 == strcmp(current->printer->location, Address) ){ > | ~~~~~~~~~~~~~~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c:1021:47: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1021 | if( 0 == strcmp(current->printer->location, Address) ){ > | ^~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c:1023:37: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1023 | if( 0 == strcmp(current->printer->modelName, modelName) ){ > | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c:1023:50: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1023 | if( 0 == strcmp(current->printer->modelName, modelName) ){ > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c: In function âprtAddUsrPrinterâ: >epson-protocol.c:1100:43: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1100 | if( EPS_ADDR_BUFFSIZE < strlen(usrPrinter->location) ){ > | ~~~~~~~~~~^~~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-protocol.c:1118:9: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1118 | strcpy(address, usrPrinter->location); > | ^~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1118:28: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1118 | strcpy(address, usrPrinter->location); > | ~~~~~~~~~~^~~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1119:13: warning: pointer targets in passing argument 1 of âstrchrâ differ in signedness [-Wpointer-sign] > 1119 | p = strchr(address, ':'); > | ^~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:225:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 225 | extern char *strchr (const char *__s, int __c) > | ^~~~~~ >epson-protocol.c:1119:4: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 1119 | p = strchr(address, ':'); > | ^ >epson-protocol.c:1123:10: warning: pointer targets in passing argument 1 of âsscanfâ differ in signedness [-Wpointer-sign] > 1123 | sscanf(p, "%d", &nPort); > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/stdio.h:399:43: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 399 | extern int sscanf (const char *__restrict __s, > | ~~~~~~~~~~~~~~~~~~~~~~~^~~ >epson-protocol.c:1154:21: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1154 | strcpy(innerPrinter->location, address); > | ~~~~~~~~~~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1154:33: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1154 | strcpy(innerPrinter->location, address); > | ^~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1160:21: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1160 | strcpy(innerPrinter->modelName, usrPrinter->modelName); > | ~~~~~~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1160:44: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1160 | strcpy(innerPrinter->modelName, usrPrinter->modelName); > | ~~~~~~~~~~^~~~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c: In function âprtGetInnerPrinterâ: >epson-protocol.c:1202:25: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) > | ~~~~~~~^~~~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c:1202:51: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) > | ~~~~~~~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c:1203:27: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1203 | && 0 == strcmp(printer->location, pCur->printer->location) ){ > | ~~~~~~~^~~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c:1203:52: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1203 | && 0 == strcmp(printer->location, pCur->printer->location) ){ > | ~~~~~~~~~~~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-protocol.c: In function âprtSetIdStrâ: >epson-protocol.c:1334:17: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1334 | sprintf(printer->printerID, EPS_PRINTER_ID_STR, > | ~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-protocol.c: In function âFindNetPrinterâ: >epson-protocol.c:1510:17: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1510 | strcpy(pFncs->address, EPSNET_UDP_BROADCAST_ADDR); > | ~~~~~^~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1512:17: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1512 | strcpy(pFncs->address, address); > | ~~~~~^~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1512:28: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1512 | strcpy(pFncs->address, address); > | ^~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1527:17: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1527 | strcpy(pFncs->address, EPSNET_UDP_BROADCAST_ADDR); > | ~~~~~^~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1529:17: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1529 | strcpy(pFncs->address, address); > | ~~~~~^~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1529:28: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1529 | strcpy(pFncs->address, address); > | ^~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c: In function âMakePrinterStructureâ: >epson-protocol.c:1691:12: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1691 | strcpy(dst->location, src->location); > | ~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1691:29: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1691 | strcpy(dst->location, src->location); > | ~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1692:12: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1692 | strcpy(dst->macAddress, src->macAddress); > | ~~~^~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1692:31: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1692 | strcpy(dst->macAddress, src->macAddress); > | ~~~^~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1693:12: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1693 | strcpy(dst->manufacturerName, src->manufacturerName); > | ~~~^~~~~~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1693:35: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1693 | strcpy(dst->manufacturerName, src->manufacturerName); > | ~~~^~~~~~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1694:12: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1694 | strcpy(dst->modelName, src->modelName); > | ~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1694:30: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1694 | strcpy(dst->modelName, src->modelName); > | ~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1695:12: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1695 | strcpy(dst->friendlyName, src->friendlyName); > | ~~~^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1695:32: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1695 | strcpy(dst->friendlyName, src->friendlyName); > | ~~~^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1696:12: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1696 | strcpy(dst->serialNo, src->serialNo); > | ~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1696:29: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1696 | strcpy(dst->serialNo, src->serialNo); > | ~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1697:12: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1697 | strcpy(dst->printerID, src->printerID); > | ~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c:1697:30: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1697 | strcpy(dst->printerID, src->printerID); > | ~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/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/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-protocol.c: In function âIsValidAddressâ: >epson-protocol.c:1730:9: warning: pointer targets in passing argument 1 of âsscanfâ differ in signedness [-Wpointer-sign] > 1730 | sscanf(addr, "%d.%d.%d.%d", &nSeg[0], &nSeg[1], &nSeg[2], &nSeg[3]); > | ^~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-protocol.c:39: >/usr/include/stdio.h:399:43: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 399 | extern int sscanf (const char *__restrict __s, > | ~~~~~~~~~~~~~~~~~~~~~~~^~~ >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c -o libescpr_la-epson-usb.lo `test -f 'epson-usb.c' || echo './'`epson-usb.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -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 -O2 -pipe -march=native -fno-common -c epson-usb.c -o libescpr_la-epson-usb.o >epson-usb.c: In function âusbFindâ: >epson-usb.c:252:38: warning: pointer targets in passing argument 2 of âCreatePrinterInfoâ differ in signedness [-Wpointer-sign] > 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); > | ^~ > | | > | char * >epson-usb.c:105:63: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 105 | tatic EPS_ERR_CODE CreatePrinterInfo (EPS_USB_PRINTER_INFO*, const EPS_INT8*, > | ^~~~~~~~~~~~~~~ > >epson-usb.c:252:42: warning: pointer targets in passing argument 3 of âCreatePrinterInfoâ differ in signedness [-Wpointer-sign] > 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); > | ^~ > | | > | char * >epson-usb.c:106:12: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, > | ^~~~~~~~~~~~~~~ >epson-usb.c:252:46: warning: pointer targets in passing argument 4 of âCreatePrinterInfoâ differ in signedness [-Wpointer-sign] > 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); > | ^~ > | | > | char * >epson-usb.c:106:29: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, > | ^~~~~~~~~~~~~~~ >epson-usb.c: In function âusbProbePrinterByIDâ: >epson-usb.c:311:16: warning: pointer targets in passing argument 1 of âstrtokâ differ in signedness [-Wpointer-sign] > 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); > | ^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:335:14: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 335 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) > | ^~~~~~ >epson-usb.c:311:7: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); > | ^ >epson-usb.c:316:11: warning: pointer targets in passing argument 1 of âsscanfâ differ in signedness [-Wpointer-sign] > 316 | sscanf(pPos, "%x", &nTmp); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/stdio.h:399:43: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 399 | extern int sscanf (const char *__restrict __s, > | ~~~~~~~~~~~~~~~~~~~~~~~^~~ >epson-usb.c:324:11: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 324 | strcpy(modelNameTgt, pPos); > | ^~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-usb.c:324:25: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 324 | strcpy(modelNameTgt, pPos); > | ^~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-usb.c:328:8: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 328 | pPos = strtok(NULL, EPS_USBID_SEP); > | ^ >epson-usb.c:364:38: warning: pointer targets in passing argument 2 of âCreatePrinterInfoâ differ in signedness [-Wpointer-sign] > 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); > | ^~ > | | > | char * >epson-usb.c:105:63: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 105 | tatic EPS_ERR_CODE CreatePrinterInfo (EPS_USB_PRINTER_INFO*, const EPS_INT8*, > | ^~~~~~~~~~~~~~~ > >epson-usb.c:364:42: warning: pointer targets in passing argument 3 of âCreatePrinterInfoâ differ in signedness [-Wpointer-sign] > 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); > | ^~ > | | > | char * >epson-usb.c:106:12: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, > | ^~~~~~~~~~~~~~~ >epson-usb.c:364:46: warning: pointer targets in passing argument 4 of âCreatePrinterInfoâ differ in signedness [-Wpointer-sign] > 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); > | ^~ > | | > | char * >epson-usb.c:106:29: note: expected âconst EPS_INT8 *â {aka âconst signed char *â} but argument is of type âchar *â > 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, > | ^~~~~~~~~~~~~~~ >epson-usb.c: In function âusbResetPrinterâ: >epson-usb.c:804:14: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 804 | if (strstr((EPS_INT8*)pResult, "rj:OK;") == NULL) { > | ^~~~~~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-usb.c:712:21: warning: variable âretBufSizeâ set but not used [-Wunused-but-set-variable] > 712 | EPS_INT32 retBufSize; /* Size of buffer written */ > | ^~~~~~~~~~ >epson-usb.c: In function âusbMechCommandâ: >epson-usb.c:1212:16: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 1212 | if (strstr(Reply,"OK") == NULL){ > | ^~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-usb.c: In function âCreatePrinterInfoâ: >epson-usb.c:1466:23: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1466 | strcpy( (*printer)->location, EPS_USB_NAME ); > | ~~~~~~~~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-usb.c:1467:20: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); > | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-usb.c:1467:40: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); > | ^~~~~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-usb.c:1468:20: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1468 | strcpy( (*printer)->modelName, modelName ); > | ~~~~~~~~~~^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-usb.c:1468:33: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1468 | strcpy( (*printer)->modelName, modelName ); > | ^~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-usb.c:1469:20: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1469 | strcpy( (*printer)->serialNo, serialNo ); > | ~~~~~~~~~~^~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-usb.c:1469:32: warning: pointer targets in passing argument 2 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1469 | strcpy( (*printer)->serialNo, serialNo ); > | ^~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/string_fortified.h:88:1: note: expected âconst char * restrictâ but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-usb.c:1483:10: warning: pointer targets in passing argument 1 of âsprintfâ differ in signedness [-Wpointer-sign] > 1483 | sprintf(usbIDString, EPS_USB_IDPRM_STR, usbInfo->dev.vid, usbInfo->dev.pid, modelName); > | ^~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/stdio2.h:34:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) > | ^~~~~ >epson-usb.c: In function âPortResolutionâ: >epson-usb.c:1541:19: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1541 | if( 0 == strcmp(modelName, printer->modelName) ){ > | ^~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-usb.c:1541:37: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1541 | if( 0 == strcmp(modelName, printer->modelName) ){ > | ~~~~~~~^~~~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-usb.c: In function âProbePrinterByNameâ: >epson-usb.c:1636:21: warning: pointer targets in passing argument 1 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ > | ^~~~~~~~~~~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:136:32: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-usb.c:1636:35: warning: pointer targets in passing argument 2 of âstrcmpâ differ in signedness [-Wpointer-sign] > 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ > | ^~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:136:50: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 136 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >epson-usb.c: In function âRmtInfoCommandâ: >epson-usb.c:1831:27: warning: pointer targets in initialization of âconst EPS_INT8 *â {aka âconst signed char *â} from âchar *â differ in signedness [-Wpointer-sign] > 1831 | const EPS_INT8 *rsp = "@BDC PI\x0D\x0A"; > | ^~~~~~~~~~~~~~~~~ >epson-usb.c:1886:10: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1886 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); > | ^~~~~~~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-usb.c:1891:10: warning: pointer targets in passing argument 1 of âstrcpyâ differ in signedness [-Wpointer-sign] > 1891 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); > | ^~~~~~~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from /usr/include/features.h:450, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from epson-typedefs.h:29, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/bits/string_fortified.h:88:1: note: expected âchar * restrictâ but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) > | ^~~~~ >epson-usb.c:1920:40: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1920 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ > | ^~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-usb.c:1962:41: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness [-Wpointer-sign] > 1962 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ > | ^~~ > | | > | const EPS_INT8 * {aka const signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:384:35: note: expected âconst char *â but argument is of type âconst EPS_INT8 *â {aka âconst signed char *â} > 384 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ >epson-usb.c: In function ând4ReadPortalâ: >epson-usb.c:2095:42: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 2095 | if( (dataSizePos = (EPS_UINT8*)strstr((EPS_INT8*)buff, "\x0D\x0A")) != NULL ){ > | ^~~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-usb.c: In function âParseUsbProtocolâ: >epson-usb.c:2250:20: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 2250 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { > | ^~~~~~~~~~~~~~ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-usb.c:2250:11: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 2250 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { > | ^ >epson-usb.c:2255:20: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 2255 | if((j = strstr(i, ";")) == NULL) { > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-usb.c:2255:11: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 2255 | if((j = strstr(i, ";")) == NULL) { > | ^ >epson-usb.c:2261:18: warning: pointer targets in passing argument 1 of âstrstrâ differ in signedness [-Wpointer-sign] > 2261 | if((k = strstr(i, ",")) != NULL) { > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:329:14: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 329 | extern char *strstr (const char *__haystack, const char *__needle) > | ^~~~~~ >epson-usb.c:2261:9: warning: pointer targets in assignment from âchar *â to âEPS_INT8 *â {aka âsigned char *â} differ in signedness [-Wpointer-sign] > 2261 | if((k = strstr(i, ",")) != NULL) { > | ^ >epson-usb.c:2270:15: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness [-Wpointer-sign] > 2270 | if( strncmp(i, "END4", 4) == 0 ){ > | ^ > | | > | EPS_INT8 * {aka signed char *} >In file included from epson-typedefs.h:30, > from epson-escpr-pvt.h:32, > from epson-usb.c:37: >/usr/include/string.h:139:33: note: expected âconst char *â but argument is of type âEPS_INT8 *â {aka âsigned char *â} > 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) > | ~~~~~~~~~~~~^~~~ >epson-usb.c: In function âGetSerialNumberâ: >epson-usb.c:2328:10: warning: pointer targets in assignment from âEPS_INT8 *â {aka âsigned char *â} to âEPS_UINT8 *â {aka âunsigned char *â} differ in signedness [-Wpointer-sign] > 2328 | tmpBuff = (EPS_INT8*)EPS_ALLOC(tmpBuffSize); > | ^ >/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-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 -O2 -pipe -march=native -fno-common -O2 -version-info 1:0:0 -Wl,-O1 -Wl,--as-needed -o libescpr.la -rpath /usr/lib64 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: x86_64-pc-linux-gnu-ar cru .libs/libescpr.a libescpr_la-epson-cbt.o libescpr_la-epson-escpage.o libescpr_la-epson-escpage-color.o libescpr_la-epson-escpage-comp.o libescpr_la-epson-escpage-mono.o libescpr_la-epson-escpr-api.o libescpr_la-epson-escpr-dbg.o libescpr_la-epson-escpr-mem.o libescpr_la-epson-escpr-pm.o libescpr_la-epson-escpr-services.o libescpr_la-epson-layout.o libescpr_la-epson-net-lpr.o libescpr_la-epson-net-raw.o libescpr_la-epson-net-snmp.o libescpr_la-epson-protocol.o libescpr_la-epson-usb.o >libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libescpr.a >libtool: link: ( cd ".libs" && rm -f "libescpr.la" && ln -s "../libescpr.la" "libescpr.la" ) >make[2]: Leaving directory '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2/lib' >Making all in ppd >make[2]: Entering directory '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2/ppd' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2/ppd' >Making all in src >make[2]: Entering directory '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -pipe -march=native -fno-common -c -o epson_escpr-filter.o `test -f 'filter.c' || echo './'`filter.c >filter.c: In function âprint_spool_fncâ: >filter.c:885:22: warning: passing argument 2 of âXFIFOWriteâ discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 885 | XFIFOWrite(context, pBuf, cbBuf); > | ^~~~ >In file included from filter.c:46: >xfifo.h:11:39: note: expected âchar *â but argument is of type âconst EPS_UINT8 *â {aka âconst unsigned char *â} > 11 | int XFIFOWrite(void* instance, char* buffer, int requestSize); > | ~~~~~~^~~~~~ >filter.c: In function âset_pips_parameterâ: >filter.c:835:2: warning: ignoring return value of âreadâ, declared with attribute warn_unused_result [-Wunused-result] > 835 | read (STDIN_FILENO, &page_num, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -pipe -march=native -fno-common -c -o epson_escpr-debug.o `test -f 'debug.c' || echo './'`debug.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -pipe -march=native -fno-common -c -o epson_escpr-str.o `test -f 'str.c' || echo './'`str.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -pipe -march=native -fno-common -c -o epson_escpr-err.o `test -f 'err.c' || echo './'`err.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -pipe -march=native -fno-common -c -o epson_escpr-mem.o `test -f 'mem.c' || echo './'`mem.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -pipe -march=native -fno-common -c -o epson_escpr-linux_cmn.o `test -f 'linux_cmn.c' || echo './'`linux_cmn.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -pipe -march=native -fno-common -c -o epson_escpr-xfifo.o `test -f 'xfifo.c' || echo './'`xfifo.c >/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../lib -O2 -pipe -march=native -fno-common -lpthread -Wl,-O1 -Wl,--as-needed -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: x86_64-pc-linux-gnu-gcc -I../lib -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -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 -lpthread ../lib/.libs/libescpr.a -lcupsimage -lcups >/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/.libs/libescpr.a(libescpr_la-epson-escpr-api.o):(.bss+0x40): multiple definition of `jobFnc'; epson_escpr-filter.o:(.bss+0x80): first defined here >collect2: error: ld returned 1 exit status >make[2]: *** [Makefile:429: epson-escpr] Error 1 >make[2]: Leaving directory '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2/src' >make[1]: *** [Makefile:445: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2' >make: *** [Makefile:372: all] Error 2 > * ERROR: net-print/epson-inkjet-printer-escpr-1.7.2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-print/epson-inkjet-printer-escpr-1.7.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-print/epson-inkjet-printer-escpr-1.7.2::gentoo'`. > * The complete build log is located at '/var/log/portage/net-print:epson-inkjet-printer-escpr-1.7.2:20200129-141509.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/temp/environment'. > * Working directory: '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2' > * S: '/var/tmp/portage/net-print/epson-inkjet-printer-escpr-1.7.2/work/epson-inkjet-printer-escpr-1.7.2'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 707248
:
608174
|
608176
|
608178
|
608180
|
608182
| 608184 |
608186