version:1 :msg:main ---> Computing dependencies for barcode:info:main .:debug:main Searching for dependency: libpaper :debug:main Found Dependency: receipt exists for libpaper :msg:main :debug:main Executing org.macports.main (barcode) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 14507 :debug:archivefetch archivefetch phase started at Fri Feb 3 08:10:43 EST 2012 :msg:archivefetch ---> Fetching archive for barcode :debug:archivefetch Executing org.macports.archivefetch (barcode) :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/software/barcode to macports :debug:archivefetch euid/egid changed to: 14507/501 :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports :debug:archivefetch euid/egid changed to: 14507/501 :info:archivefetch ---> barcode-0.98_1+universal.darwin_11.i386-x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/barcode :msg:archivefetch ---> Attempting to fetch barcode-0.98_1+universal.darwin_11.i386-x86_64.tbz2 from http://packages.macports.org/barcode :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:fetch fetch phase started at Fri Feb 3 08:10:44 EST 2012 :notice:fetch ---> Fetching barcode :debug:fetch euid/egid changed to: 0/0 :debug:fetch chowned /opt/local/var/macports/distfiles/barcode to macports :debug:fetch euid/egid changed to: 14507/501 :debug:fetch Executing org.macports.fetch (barcode) :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Fri Feb 3 08:10:44 EST 2012 :notice:checksum ---> Verifying checksum(s) for barcode :debug:checksum Executing org.macports.checksum (barcode) :info:checksum ---> Checksumming barcode-0.98.tar.gz :debug:checksum Correct (md5) checksum for barcode-0.98.tar.gz :debug:checksum Privilege de-escalation not attempted as not running as root. :debug:extract extract phase started at Fri Feb 3 08:10:44 EST 2012 :notice:extract ---> Extracting barcode :debug:extract Executing org.macports.extract (barcode) :info:extract ---> Extracting barcode-0.98.tar.gz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/barcode/barcode-0.98.tar.gz' :debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' :debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/barcode/barcode-0.98.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -' :debug:extract Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/barcode/barcode-0.98.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - :debug:extract euid/egid changed to: 0/0 :debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work to macports :debug:extract euid/egid changed to: 14507/501 :debug:extract Privilege de-escalation not attempted as not running as root. :debug:patch patch phase started at Fri Feb 3 08:10:44 EST 2012 :debug:patch Executing org.macports.patch (barcode) :debug:patch Privilege de-escalation not attempted as not running as root. :debug:configure configure phase started at Fri Feb 3 08:10:44 EST 2012 :notice:configure ---> Configuring barcode :debug:configure Using compiler 'Mac OS X clang' :debug:configure Executing org.macports.configure (barcode) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64 -arch i386' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/Developer/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib -arch x86_64 -arch i386' OBJC='/Developer/usr/bin/clang' FCFLAGS='-pipe -O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64 -arch i386' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES' CC='/Developer/usr/bin/clang' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/barcode-0.98" && ./configure --prefix=/opt/local --disable-dependency-tracking' :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/barcode-0.98" && ./configure --prefix=/opt/local --disable-dependency-tracking :info:configure creating cache ./config.cache :info:configure checking for gcc... /Developer/usr/bin/clang :info:configure checking whether the C compiler (/Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -L/opt/local/lib -arch x86_64 -arch i386) works... yes :info:configure checking whether the C compiler (/Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -L/opt/local/lib -arch x86_64 -arch i386) is a cross-compiler... no :info:configure checking whether we are using GNU C... yes :info:configure checking whether /Developer/usr/bin/clang accepts -g... yes :info:configure checking for ranlib... ranlib :info:configure checking for a BSD compatible install... /usr/bin/install -c :info:configure checking how to run the C preprocessor... /Developer/usr/bin/clang -E :info:configure checking for getopt.h... yes :info:configure checking for paper.h... yes :info:configure checking for unistd.h... yes :info:configure checking for strerror... yes :info:configure checking for strcasecmp... yes :info:configure checking for gmake... yes :info:configure checking if makeinfo can output html... yes :info:configure updating cache ./config.cache :info:configure creating ./config.status :info:configure creating Makefile :info:configure sed: confdefs.h: No such file or directory :info:configure creating ./config.status :info:configure creating doc/Makefile :debug:configure Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Fri Feb 3 08:10:46 EST 2012 :notice:build ---> Building barcode :debug:build Executing org.macports.build (barcode) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/barcode-0.98" && /usr/bin/make -j4 -w all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/barcode-0.98" && /usr/bin/make -j4 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/barcode-0.98' :info:build /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -c -o library.o library.c :info:build /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -c -o ean.o ean.c :info:build /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -c -o code128.o code128.c :info:build /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -c -o code39.o code39.c :info:build ean.c:139:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build len = strlen(text); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build ean.c:140:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build spc = strchr(text, ' '); :info:build ^~~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build ean.c:140:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build spc = strchr(text, ' '); :info:build ^ ~~~~~~~~~~~~~~~~~ :info:build ean.c:158:2: warning: passing 'unsigned char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 7); :info:build ^~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:124:31: note: instantiated from: :info:build ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:158:10: note: instantiated from: :info:build strncpy(tmp, text, 7); :info:build ^~~ :info:build ean.c:158:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 7); :info:build ^~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:124:37: note: instantiated from: :info:build ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:158:15: note: instantiated from: :info:build strncpy(tmp, text, 7); :info:build ^~~~ :info:build ean.c:158:2: warning: passing 'unsigned char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 7); :info:build ^~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:125:28: note: instantiated from: :info:build : __inline_strncpy_chk (dest, src, len)) :info:build ^ :info:build ean.c:158:10: note: instantiated from: :info:build strncpy(tmp, text, 7); :info:build ^~~ :info:build /usr/include/secure/_string.h:128:40: note: passing argument to parameter '__dest' here :info:build __inline_strncpy_chk (char *__restrict __dest, const char *__restrict __src, :info:build ^ :info:build ean.c:158:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 7); :info:build ^~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:125:34: note: instantiated from: :info:build : __inline_strncpy_chk (dest, src, len)) :info:build ^ :info:build ean.c:158:15: note: instantiated from: :info:build strncpy(tmp, text, 7); :info:build ^~~~ :info:build /usr/include/secure/_string.h:128:71: note: passing argument to parameter '__src' here :info:build __inline_strncpy_chk (char *__restrict __dest, const char *__restrict __src, :info:build ^ :info:build ean.c:160:36: warning: passing 'unsigned char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (text[7] != (ean_make_checksum(tmp, 0) + '0')) :info:build ^~~ :info:build ean.c:101:36: note: passing argument to parameter 'text' here :info:build static int ean_make_checksum(char *text, int mode) :info:build ^ :info:build ean.c:165:2: warning: passing 'unsigned char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 12); :info:build ^~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:124:31: note: instantiated from: :info:build ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:165:10: note: instantiated from: :info:build strncpy(tmp, text, 12); :info:build ^~~ :info:build ean.c:165:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 12); :info:build ^~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:124:37: note: instantiated from: :info:build ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:165:15: note: instantiated from: :info:build strncpy(tmp, text, 12); :info:build ^~~~ :info:build ean.c:165:2: warning: passing 'unsigned char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 12); :info:build ^~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:125:28: note: instantiated from: :info:build : __inline_strncpy_chk (dest, src, len)) :info:build ^ :info:build ean.c:165:10: note: instantiated from: :info:build strncpy(tmp, text, 12); :info:build ^~~ :info:build /usr/include/secure/_string.h:128:40: note: passing argument to parameter '__dest' here :info:build __inline_strncpy_chk (char *__restrict __dest, const char *__restrict __src, :info:build ^ :info:build ean.c:165:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 12); :info:build ^~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:125:34: note: instantiated from: :info:build : __inline_strncpy_chk (dest, src, len)) :info:build ^ :info:build ean.c:165:15: note: instantiated from: :info:build strncpy(tmp, text, 12); :info:build ^~~~ :info:build /usr/include/secure/_string.h:128:71: note: passing argument to parameter '__src' here :info:build __inline_strncpy_chk (char *__restrict __dest, const char *__restrict __src, :info:build ^ :info:build ean.c:167:37: warning: passing 'unsigned char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (text[12] != (ean_make_checksum(tmp, 0) + '0')) :info:build ^~~ :info:build ean.c:101:36: note: passing argument to parameter 'text' here :info:build static int ean_make_checksum(char *text, int mode) :info:build ^ :info:build code128.c:166:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (strlen(text)%2) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build library.c:161:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (cptr->verify(bc->ascii) != 0) { :info:build ^~~~~~~~~ :info:build code128.c:323:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build s = bc->ascii; :info:build ^ ~~~~~~~~~ :info:build ean.c:185:6: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(result+1, text, 2); result[3]=text[5]; /* Manuf. */ :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:124:37: note: instantiated from: :info:build ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:185:24: note: instantiated from: :info:build strncpy(result+1, text, 2); result[3]=text[5]; /* Manuf. */ :info:build ^~~~ :info:build ean.c:185code128.c:336:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build :6: for (s = bc->ascii; *s; /* increments are in the loop */) { warning: :info:build ^ ~~~~~~~~~ :info:build passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(result+1, text, 2); result[3]=text[5]; /* Manuf. */ :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:125:34: note: instantiated from: :info:build : __inline_strncpy_chk (dest, src, len)) :info:build ^ :info:build ean.c:185:24: note: instantiated from: :info:build strncpy(result+1, text, 2); result[3]=text[5]; /* Manuf. */ :info:build ^~~~ :info:build /usr/include/secure/_string.h:128:71: note: passing argument to parameter '__src' here :info:build __inline_strncpy_chk (char *__restrict __dest, const char *__restrict __src, :info:build ^ :info:build ean.c:222:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build spc = strchr(text, ' '); :info:build ^~~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build ean.c:222:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build spc = strchr(text, ' '); :info:build ^ ~~~~~~~~~~~~~~~~~ :info:build ean.c:226:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build len = strlen(text); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build ean.c:230:2: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(result, upc_e_to_a0(text)); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:230:9: note: instantiated from: :info:build strcpy(result, upc_e_to_a0(text)); :info:build ^~~~~~ :info:build ean.c:230:2: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(result, upc_e_to_a0(text)); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:230:9: note: instantiated from: :info:build strcpy(result, upc_e_to_a0(text)); :info:build ^~~~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:231:9: warning: returning 'unsigned char [16]' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build return result; :info:build ^~~~~~ :info:build ean.c:237:3: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(result, upc_e_to_a0(text+1)); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:237:10: note: instantiated from: :info:build strcpy(result, upc_e_to_a0(text+1)); :info:build ^~~~~~ :info:build ean.c:237:3: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(result, upc_e_to_a0(text+1)); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:237:10: note: instantiated from: :info:build strcpy(result, upc_e_to_a0(text+1)); :info:build ^~~~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:239:10: warning: returning 'unsigned char [16]' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build return result; :info:build ^~~~~~ :info:build ean.c:243:2: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(result, upc_e_to_a0(text)); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:243:9: note: instantiated from: :info:build strcpy(result, upc_e_to_a0(text)); :info:build ^~~~~~ :info:build ean.c:243:2: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(result, upc_e_to_a0(text)); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:243:9: note: instantiated from: :info:build strcpy(result, upc_e_to_a0(text)); :info:build ^~~~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:244:26: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build chk = ean_make_checksum(result, 0); :info:build ^~~~~~ :info:build ean.c:101:36: note: passing argument to parameter 'text' here :info:build static int ean_make_checksum(char *text, int mode) :info:build ^ :info:build ean.c:247:10: warning: returning 'unsigned char [16]' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build return result; :info:build ^~~~~~ :info:build ean.c:252:3: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(result, upc_e_to_a0(text+1)); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:252:10: note: instantiated from: :info:build strcpy(result, upc_e_to_a0(text+1)); :info:build ^~~~~~ :info:build ean.c:252:3: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(result, upc_e_to_a0(text+1)); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:252:10: note: instantiated from: :info:build strcpy(result, upc_e_to_a0(text+1)); :info:build ^~~~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:254:27: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build chk = ean_make_checksum(result, 0); :info:build ^~~~~~ :info:build ean.c:101:36: note: passing argument to parameter 'text' here :info:build static int ean_make_checksum(char *text, int mode) :info:build ^ :info:build ean.c:256:11: warning: returning 'unsigned char [16]' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build return result; :info:build ^~~~~~ :info:build ean.c:274:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build len = strlen(text); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build ean.c:277:2: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build code128.c:512 strcpy(result, text);: :info:build 17 ^~~~~~~~~~~~~~~~~~~~: :info:build warning: /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:277:9: note: instantiated from: :info:build strcpy(result, text); :info:build ^~~~~~ :info:build ean.c:277:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(result, text); :info:build ^~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:36: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:277:17: note: instantiated from: :info:build strcpy(result, text); :info:build ^~~~ :info:build passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build ean.c:277:2 if (!strlen(text)) :info:build ^~~~ :info:build /usr/include/string.h:92:: warning: 28: note: passing argument to parameter here :info:build passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build size_t strlen(const char *); :info:build ^ :info:build strcpy(result, text); :info:build ^~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:277:9: note: instantiated from: :info:build strcpy(result, text); :info:build ^~~~~~code128.c:515:13: warning: :info:build /usr/include/secure/_string.h:92:39: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]note: :info:build passing argument to parameter '__dest' here :info:build if (sscanf(text, "%u%n", &val, &n) < 1) :info:build ^~~~ :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:277:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build /usr/include/stdio.h:278:36: note: strcpy(result, text); :info:build ^~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.hpassing argument to parameter here :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __DARWIN_LDBL_COMPAT(sscanf) __scanflike(2, 3); :info:build ^ :info:build :89:33: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:277:17: note: instantiated from: :info:build strcpy(result, text); :info:build ^~~~ :info:build /usr/include/secure/_string.h:92:70: note: passing argument to parameter '__src' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:279:29: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build chksum = ean_make_checksum(result, 0); :info:build ^~~~~~ :info:build ean.c:101:36: note: passing argument to parameter 'text' here :info:build static int ean_make_checksum(char *text, int mode) :info:build ^ :info:build ean.c:284:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build chksum = ean_make_checksum(text, 0); :info:build ^~~~ :info:build ean.c:101:36: note: passing argument to parameter 'text' here :info:build static int ean_make_checksum(char *text, int mode) :info:build ^ :info:build ean.c:290:5: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(result, "00000000"); /* 8 0's*/ :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:290:12: note: instantiated from: :info:build strcpy(result, "00000000"); /* 8 0's*/ :info:build ^~~~~~ :info:build ean.c:290:5: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(result, "00000000"); /* 8 0's*/ :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:290:12: note: instantiated from: :info:build strcpy(result, "00000000"); /* 8 0's*/ :info:build ^~~~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:299:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build && !strncmp(text+4, "0000", 4)) { :info:build ^~~~~~ :info:build /usr/include/string.h:94:26: note: passing argument to parameter here :info:build int strncmp(const char *, const char *, size_t); :info:build ^ :info:build ean.c:303:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build } else if (!strncmp(text+4, "00000", 5)) { :info:build ^~~~~~ :info:build /usr/include/string.h:94:26: note: passing argument to parameter here :info:build int strncmp(const char *, const char *, size_t); :info:build ^ :info:build ean.c:307:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build } else if (!strncmp(text+5, "00000", 5)) { :info:build ^~~~~~ :info:build /usr/include/string.h:94:26: note: passing argument to parameter here :info:build int strncmp(const char *, const char *, size_t); :info:build ^ :info:build ean.c:311:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build } else if ((text[5] != '0') && !strncmp(text+6, "0000", 4) :info:build ^~~~~~ :info:build /usr/include/string.h:94:26: note: passing argument to parameter here :info:build int strncmp(const char *, const char *, size_t); :info:build ^ :info:build ean.c:337:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build len = strlen(text); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build ean.c:338:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build spc = strchr(text, ' '); :info:build ^~~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build ean.c:338:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build spc = strchr(text, ' '); :info:build ^ ~~~~~~~~~~~~~~~~~ :info:build ean.c:356:2: warning: passing 'unsigned char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, len0); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:124:31: note: instantiated from: :info:build ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:356:10: note: instantiated from: :info:build strncpy(tmp, text, len0); :info:build ^~~ :info:build ean.c:356:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, len0); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:124:37: note: instantiated from: :info:build ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:356:15: note: instantiated from: :info:build strncpy(tmp, text, len0); :info:build ^~~~ :info:build ean.c:356:2: warning: passing 'unsigned char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, len0); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:125:28: note: instantiated from: :info:build : __inline_strncpy_chk (dest, src, len)) :info:build ^ :info:build ean.c:356:10: note: instantiated from: :info:build strncpy(tmp, text, len0); :info:build ^~~ :info:build /usr/include/secure/_string.h:128:40: note: passing argument to parameter '__dest' here :info:build __inline_strncpy_chk (char *__restrict __dest, const char *__restrict __src, :info:build ^ :info:build ean.c:356:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, len0); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:125:34: note: instantiated from: :info:build : __inline_strncpy_chk (dest, src, len)) :info:build ^ :info:build ean.c:356:15: note: instantiated from: :info:build strncpy(tmp, text, len0); :info:build ^~~~ :info:build /usr/include/secure/_string.h:128:71: note: passing argument to parameter '__src' here :info:build __inline_strncpy_chk (char *__restrict __dest, const char *__restrict __src, :info:build ^ :info:build ean.c:362:2: warning: passing 'unsigned char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 11); :info:build ^~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:124:31: note: instantiated from: :info:build ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:362:10: note: instantiated from: :info:build strncpy(tmp, text, 11); :info:build ^~~ :info:build ean.c:362:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 11); :info:build ^~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:124:37: note: instantiated from: :info:build ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:362:15: note: instantiated from: :info:build strncpy(tmp, text, 11); :info:build ^~~~ :info:build ean.c:362:2: warning: passing 'unsigned char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 11); :info:build ^~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:125:28: note: instantiated from: :info:build : __inline_strncpy_chk (dest, src, len)) :info:build ^ :info:build ean.c:362:10: note: instantiated from: :info:build strncpy(tmp, text, 11); :info:build ^~~ :info:build /usr/include/secure/_string.h:128:40: note: passing argument to parameter '__dest' here :info:build __inline_strncpy_chk (char *__restrict __dest, const char *__restrict __src, :info:build ^ :info:build ean.c:362:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(tmp, text, 11); :info:build ^~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:125:34: note: instantiated from: :info:build : __inline_strncpy_chk (dest, src, len)) :info:build ^ :info:build ean.c:362:15: note: instantiated from: :info:build strncpy(tmp, text, 11); :info:build ^~~~ :info:build /usr/include/secure/_string.h:128:71: note: passing argument to parameter '__src' here :info:build __inline_strncpy_chk (char *__restrict __dest, const char *__restrict __src, :info:build ^ :info:build ean.c:364:37: warning: passing 'unsigned char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (text[11] != (ean_make_checksum(tmp, 0) + '0')) :info:build ^~~ :info:build ean.c:101:36: note: passing argument to parameter 'text' here :info:build static int ean_make_checksum(char *text, int mode) :info:build ^ :info:build ean.c:407:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (strlen(text+i) != 6) :info:build ^~~~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build ean.c:525:2: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:36: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:525:37: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~ :info:build ean.c:217:40: note: passing argument to parameter 'text' here :info:build static char *upc_e_to_a(unsigned char *text) :info:build ^ :info:build ean.c:525:2: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:36: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:525:26: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~ :info:build ean.c:269:49: note: passing argument to parameter 'text' here :info:build static unsigned char *upc_a_to_e(unsigned char *text) :info:build ^ :info:build ean.c:525:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:36: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:525:15: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build ean.c:525:2: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:33: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:525:37: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~ :info:build ean.c:217:40: note: passing argument to parameter 'text' here :info:build static char *upc_e_to_a(unsigned char *text) :info:build ^ :info:build ean.c:525:2: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:33: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:525:26: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~ :info:build ean.c:269:49: note: passing argument to parameter 'text' here :info:build static unsigned char *upc_a_to_e(unsigned char *text) :info:build ^ :info:build ean.c:525:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:33: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:525:15: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:92:70: note: passing argument to parameter '__src' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:548:26: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos = width_of_partial(partial); :info:build ^~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:581:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos += width_of_partial(guard[1]); :info:build ^~~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:605:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos += width_of_partial(guard[2]); :info:build ^~~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:612:26: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos = width_of_partial(partial); :info:build ^~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:656:26: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos = width_of_partial(partial); :info:build ^~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:666:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos += width_of_partial(guard[1]); :info:build ^~~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:698:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos += width_of_partial(guardS[0]); :info:build ^~~~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:701:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos += width_of_partial(guardS[1]); :info:build ^~~~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:734:31: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build bc->width = width_of_partial(partial); :info:build ^~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:755:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, "978"); j=3; :info:build ^~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:755:12: note: instantiated from: :info:build strcpy(text, "978"); j=3; :info:build ^~~~ :info:build ean.c:755:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, "978"); j=3; :info:build ^~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:755:12: note: instantiated from: :info:build strcpy(text, "978"); j=3; :info:build ^~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:757:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build otext = bc->ascii; :info:build ^ ~~~~~~~~~ :info:build ean.c:765:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (strchr(otext, ' ')) :info:build ^~~~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build ean.c:766:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:136:36: note: instantiated from: :info:build ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:766:22: note: instantiated from: :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build ean.c:766:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:136:30: note: instantiated from: :info:build ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:766:9: note: instantiated from: :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~ :info:build ean.c:766:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:137:33: note: instantiated from: :info:build : __inline_strcat_chk (dest, src)) :info:build ^ :info:build ean.c:766:22: note: instantiated from: :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build ean.c:766:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:137:27: note: instantiated from: :info:build : __inline_strcat_chk (dest, src)) :info:build ^ :info:build ean.c:766:9: note: instantiated from: :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~ :info:build /usr/include/secure/_string.h:140:39: note: passing argument to parameter '__dest' here :info:build __inline_strcat_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:767:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build bc->ascii = text; :info:build ^ ~~~~ :info:build ean.c:770:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build bc->ascii = otext; /* restore ascii for the ps comments */ :info:build ^ ~~~~~ :info:build 1 warning generated. :info:build library.c:161:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (cptr->verify(bc->ascii) != 0) { :info:build ^~~~~~~~~ :info:build 1 warning generated. :info:build /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -c -o code93.o code93.c :info:build /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -c -o i25.o i25.c :info:build 5 warnings generated. :info:build code93.c:72:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (!strlen(text)) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:65:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build text = bc->ascii; :info:build ^ ~~~~~~~~~ :info:build i25.c:84:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text+1, bc->ascii); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build i25.c:84:9: note: instantiated from: :info:build strcpy(text+1, bc->ascii); :info:build ^~~~~~ :info:build i25.c:84:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text+1, bc->ascii); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build i25.c:84:9: note: instantiated from: :info:build strcpy(text+1, bc->ascii); :info:build ^~~~~~ :info:build /usr/include/secure/_string.h:92:39: note: code93.c:107:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:86:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, bc->ascii); :info:build ^~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build i25.c:86:9: note: instantiated from: :info:build strcpy(text, bc->ascii); :info:build ^~~~ :info:build i25.c:86:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, bc->ascii); :info:build ^~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build i25.c:86:9: note: instantiated from: :info:build strcpy(text, bc->ascii); :info:build ^~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:100:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, "0"); :info:build ^~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:136:30: note: instantiated from: :info:build ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build i25.c:100:9: note: instantiated from: :info:build strcat(text, "0"); :info:build ^~~~ :info:build i25.c:100:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, "0"); :info:build ^~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:137:27: note: instantiated from: :info:build : __inline_strcat_chk (dest, src)) :info:build ^ :info:build i25.c:100:9: note: instantiated from: :info:build strcat(text, "0"); :info:build ^~~~ :info:build /usr/include/secure/_string.h:140:39: note: passing argument to parameter '__dest' here :info:build __inline_strcat_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:101:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build text[strlen(text)-1] += (10 - (i%10)) % 10; :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:105:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build partial = malloc( (strlen(text) + 3) * 5 +2); /* be large... */ :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:113:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build textinfo = malloc(10*(strlen(text)+1) + 2); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:122:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(partial, "0"); /* the first space */ :info:build ^~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build i25.c:122:12: note: instantiated from: :info:build strcpy(partial, "0"); /* the first space */ :info:build ^~~~~~~ :info:build i25.c:122:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(partial, "0"); /* the first space */ :info:build ^~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build i25.c:122:12: note: instantiated from: :info:build strcpy(partial, "0"); /* the first space */ :info:build ^~~~~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:123:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(partial, guard[0]); /* start */ :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:136:30: note: instantiated from: :info:build ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build i25.c:123:12: note: instantiated from: :info:build strcat(partial, guard[0]); /* start */ :info:build ^~~~~~~ :info:build i25.c:123:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(partial, guard[0]); /* start */ :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:137:27: note: instantiated from: :info:build : __inline_strcat_chk (dest, src)) :info:build ^ :info:build i25.c:123:12: note: instantiated from: :info:build strcat(partial, guard[0]); /* start */ :info:build ^~~~~~~ :info:build /usr/include/secure/_string.h:140:39: note: passing argument to parameter '__dest' here :info:build __inline_strcat_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:127:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build len = strlen(text); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:137:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build p1 = codes[text[i]-'0']; :info:build ^ ~~~~~~~~~~~~~~~~~~ :info:build i25.c:138:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build p2 = codes[text[i+1]-'0']; :info:build ^ ~~~~~~~~~~~~~~~~~~~~ :info:build i25.c:139:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build pd = partial + strlen(partial); /* destination */ :info:build ^~~~~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:146:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (usesum && strlen(text+i)==2) { :info:build ^~~~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:148:6: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build sprintf(textptr, "%i:12:%c ", textpos, text[i]); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_stdio.h:50:28: note: instantiated from: :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) :info:build ^ :info:build i25.c:148:14: note: instantiated from: :info:build sprintf(textptr, "%i:12:%c ", textpos, text[i]); :info:build ^~~~~~~ :info:build i25.c:150:6: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build sprintf(textptr, "%i:12:%c %i:12:%c ", textpos, text[i], :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_stdio.h:50:28: note: instantiated from: :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) :info:build ^ :info:build i25.c:150:14: note: instantiated from: :info:build sprintf(textptr, "%i:12:%c %i:12:%c ", textpos, text[i], :info:build ^~~~~~~ :info:build i25.c:154:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build textptr += strlen(textptr); :info:build ^~~~~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:156:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(partial, guard[1]); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:136:30: note: instantiated from: :info:build ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build i25.c:156:12: note: instantiated from: :info:build strcat(partial, guard[1]); :info:build ^~~~~~~ :info:build i25.c:156:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(partial, guard[1]); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:137:27: note: instantiated from: :info:build : __inline_strcat_chk (dest, src)) :info:build ^ :info:build i25.c:156:12: note: instantiated from: :info:build strcat(partial, guard[1]); :info:build ^~~~~~~ :info:build /usr/include/secure/_string.h:140:39: note: passing argument to parameter '__dest' here :info:build __inline_strcat_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:158:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build bc->partial = partial; :info:build ^ ~~~~~~~ :info:build i25.c:159:18: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build bc->textinfo = textinfo; :info:build ^ ~~~~~~~~ :info:build text = bc->ascii; :info:build ^ ~~~~~~~~~ :info:build code93.c:114:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build partial = malloc( (strlen(text) *2 + 4) * 6 +2); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build code93.c:120:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build checksum_str = (int *)malloc( (strlen(text) + 3) * 2 * sizeof(int)); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build code93.c:128:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build textinfo = malloc(10*strlen(text) + 2); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build code93.c:141:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (i=0; iascii; :info:build ^ ~~~~~~~~~ :info:build code128.c:336:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (s = bc->ascii; *s; /* increments are in the loop */) { :info:build ^ ~~~~~~~~~ :info:build code128.c:512:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (!strlen(text)) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build code128.c:515:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (sscanf(text, "%u%n", &val, &n) < 1) :info:build ^~~~ :info:build /usr/include/stdio.h:278:36: note: passing argument to parameter here :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __DARWIN_LDBL_COMPAT(sscanf) __scanflike(2, 3); :info:build ^ :info:build 26 warnings generated. :info:build 6 warnings generated. :info:build i25.c:65:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build text = bc->ascii; :info:build ^ ~~~~~~~~~ :info:build i25.c:84:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text+1, bc->ascii); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build i25.c:84:9: note: instantiated from: :info:build strcpy(text+1, bc->ascii); :info:build ^~~~~~ :info:build i25.c:84:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text+1, bc->ascii); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build i25.c:84:9: note: instantiated from: :info:build strcpy(text+1, bc->ascii); :info:build ^~~~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:86:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, bc->ascii); :info:build ^~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build code93.c:72:17: warning: i25.c:passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (!strlen(text)) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build 86:9: note: instantiated from: :info:build strcpy(text, bc->ascii); :info:build ^~~~ :info:build i25.c:86:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, bc->ascii); :info:build code93.c:107:10: ^~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build i25.c:86:9: note: instantiated from: :info:build strcpy(text, bc->ascii); :info:build ^~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:100:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, "0"); :info:build ^~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:136:30: note: instantiated from: :info:build ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build i25.c:100:9: note: instantiated from: :info:build strcat(text, "0"); :info:build ^~~~ :info:build i25.c:100:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, "0"); :info:build ^~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:137:27: note: instantiated from: :info:build : __inline_strcat_chk (dest, src)) :info:build ^ :info:build i25.c:100:9: note: instantiated from: :info:build strcat(text, "0"); :info:build ^~~~ :info:build /usr/include/secure/_string.h:140:39: note: passing argument to parameter '__dest' here :info:build __inline_strcat_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:101:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build text[strlen(text)-1] += (10 - (i%10)) % 10; :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:105:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build partial = malloc( (strlen(text) + 3) * 5 +2); /* be large... */ :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:113:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build textinfo = malloc(10*(strlen(text)+1) + 2); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:122:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(partial, "0"); /* the first space */ :info:build ^~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build i25.c:122:12: note: instantiated from: :info:build strcpy(partial, "0"); /* the first space */ :info:build ^~~~~~~ :info:build i25.c:122:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(partial, "0"); /* the first space */ :info:build ^~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build i25.c:122:12: note: instantiated from: :info:build strcpy(partial, "0"); /* the first space */ :info:build ^~~~~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:123:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(partial, guard[0]); /* start */ :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:136:30: note: instantiated from: :info:build ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build i25.c:123:12: note: instantiated from: :info:build strcat(partial, guard[0]); /* start */ :info:build ^~~~~~~ :info:build i25.c:123:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(partial, guard[0]); /* start */ :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:137:27: note: instantiated from: :info:build : __inline_strcat_chk (dest, src)) :info:build ^ :info:build i25.c:123:12: note: instantiated from: :info:build strcat(partial, guard[0]); /* start */ :info:build ^~~~~~~ :info:build /usr/include/secure/_string.h:140:39: note: passing argument to parameter '__dest' here :info:build __inline_strcat_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:127:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build len = strlen(text); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:137:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build p1 = codes[text[i]-'0']; :info:build ^ ~~~~~~~~~~~~~~~~~~ :info:build i25.c:138:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build p2 = codes[text[i+1]-'0']; :info:build ^ ~~~~~~~~~~~~~~~~~~~~ :info:build i25.c:139:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build pd = partial + strlen(partial); /* destination */ :info:build ^~~~~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:146:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (usesum && strlen(text+i)==2) { :info:build ^~~~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:148:6: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build sprintf(textptr, "%i:12:%c ", textpos, text[i]); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_stdio.h:50:28: note: instantiated from: :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) :info:build ^ :info:build i25.c:148:14: note: instantiated from: :info:build sprintf(textptr, "%i:12:%c ", textpos, text[i]); :info:build ^~~~~~~ :info:build i25.c:150:6: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build sprintf(textptr, "%i:12:%c %i:12:%c ", textpos, text[i], :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_stdio.h:50:28: note: instantiated from: :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) :info:build ^ :info:build i25.c:150:14: note: instantiated from: :info:build sprintf(textptr, "%i:12:%c %i:12:%c ", textpos, text[i], :info:build ^~~~~~~ :info:build warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build text = bc->ascii; :info:build ^ ~~~~~~~~~ :info:build code93.c:114:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build partial = malloc( (strlen(text) *2 + 4) * 6 +2); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build code93.c:120:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build checksum_str = (int *)malloc( (strlen(text) + 3) * 2 * sizeof(int)); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:154:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build textptr += strlen(textptr); :info:build ^~~~~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build i25.c:156:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(partial, guard[1]); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:136:30: note: instantiated from: :info:build ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build i25.c:156:12: note: instantiated from: :info:build strcat(partial, guard[1]); :info:build ^~~~~~~ :info:build i25.c:156:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(partial, guard[1]); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:137:27: note: instantiated from: :info:build : __inline_strcat_chk (dest, src)) :info:build ^ :info:build i25.c:156:12: note: instantiated from: :info:build strcat(partial, guard[1]); :info:build ^~~~~~~ :info:build /usr/include/secure/_string.h:140:39: note: passing argument to parameter '__dest' here :info:build __inline_strcat_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build i25.c:158:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build bc->partial = partial; :info:build ^ ~~~~~~~ :info:build i25.c:159:18: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build bc->textinfo = textinfo; :info:build ^ ~~~~~~~~ :info:build code93.c:128:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build textinfo = malloc(10*strlen(text) + 2); :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build code93.c:141:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (i=0; iascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:36: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:525:37: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~ :info:build ean.c:217:40: note: passing argument to parameter 'text' here :info:build static char *upc_e_to_a(unsigned char *text) :info:build ^ :info:build ean.c:525:2: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:36: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:525:26: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~ :info:build ean.c:269:49: note: passing argument to parameter 'text' here :info:build static unsigned char *upc_a_to_e(unsigned char *text) :info:build ^ :info:build ean.c:525:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:36: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:525:15: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build ean.c:525:2: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:33: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:525:37: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~ :info:build ean.c:217:40: note: passing argument to parameter 'text' here :info:build static char *upc_e_to_a(unsigned char *text) :info:build ^ :info:build ean.c:525:2: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:33: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:525:26: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~ :info:build ean.c:269:49: note: passing argument to parameter 'text' here :info:build static unsigned char *upc_a_to_e(unsigned char *text) :info:build ^ :info:build ean.c:525:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:33: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:525:15: note: instantiated from: :info:build strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii))); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:92:70: note: passing argument to parameter '__src' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:548:26: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos = width_of_partial(partial); :info:build ^~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:581:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos += width_of_partial(guard[1]); :info:build ^~~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:605:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos += width_of_partial(guard[2]); :info:build ^~~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:612:26: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos = width_of_partial(partial); :info:build ^~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:656:26: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos = width_of_partial(partial); :info:build ^~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:666:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos += width_of_partial(guard[1]); :info:build ^~~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:698:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos += width_of_partial(guardS[0]); :info:build ^~~~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:701:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build xpos += width_of_partial(guardS[1]); :info:build ^~~~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:734:31: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build bc->width = width_of_partial(partial); :info:build ^~~~~~~ :info:build ean.c:420:44: note: passing argument to parameter 'partial' here :info:build static int width_of_partial(unsigned char *partial) :info:build ^ :info:build ean.c:755:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, "978"); j=3; :info:build ^~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:88:30: note: instantiated from: :info:build ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:755:12: note: instantiated from: :info:build strcpy(text, "978"); j=3; :info:build ^~~~ :info:build ean.c:755:5: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcpy(text, "978"); j=3; :info:build ^~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:89:27: note: instantiated from: :info:build : __inline_strcpy_chk (dest, src)) :info:build ^ :info:build ean.c:755:12: note: instantiated from: :info:build strcpy(text, "978"); j=3; :info:build ^~~~ :info:build /usr/include/secure/_string.h:92:39: note: passing argument to parameter '__dest' here :info:build __inline_strcpy_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:757:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build otext = bc->ascii; :info:build ^ ~~~~~~~~~ :info:build ean.c:765:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (strchr(otext, ' ')) :info:build ^~~~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build ean.c:766:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:136:36: note: instantiated from: :info:build ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:766:22: note: instantiated from: :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build ean.c:766:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:136:30: note: instantiated from: :info:build ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) \ :info:build ^ :info:build ean.c:766:9: note: instantiated from: :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~ :info:build ean.c:766:2: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:137:33: note: instantiated from: :info:build : __inline_strcat_chk (dest, src)) :info:build ^ :info:build ean.c:766:22: note: instantiated from: :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build ean.c:766:2: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:137:27: note: instantiated from: :info:build : __inline_strcat_chk (dest, src)) :info:build ^ :info:build ean.c:766:9: note: instantiated from: :info:build strcat(text, strchr(otext, ' ')); :info:build ^~~~ :info:build /usr/include/secure/_string.h:140:39: note: passing argument to parameter '__dest' here :info:build __inline_strcat_chk (char *__restrict __dest, const char *__restrict __src) :info:build ^ :info:build ean.c:767:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build bc->ascii = text; :info:build ^ ~~~~ :info:build ean.c:770:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build bc->ascii = otext; /* restore ascii for the ps comments */ :info:build ^ ~~~~~ :info:build msi.c:45:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (!strlen(text)) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build plessey.c:48:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (!strlen(text)) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build plessey.c:151:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] :info:build sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_stdio.h:50:56: note: instantiated from: :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) :info:build ^ :info:build plessey.c:151:22: note: instantiated from: :info:build sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build 5 warnings generated. :info:build 1 warning generated. :info:build /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -c -o codabar.o codabar.c :info:build msi.c:45:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (!strlen(text)) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build 2 warnings generated. :info:build codabar.c:58:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (!strlen(text)) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build codabar.c:70:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build (!startpresent || i != strlen(text) - 1)) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build plessey.c:48:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (!strlen(text)) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build plessey.c:151:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] :info:build 1 warning generated. :info:build sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_stdio.h:50:56: note: instantiated from: :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) :info:build ^ :info:build plessey.c:151:22: note: instantiated from: :info:build sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -c -o ps.o ps.c :info:build 2 warnings generated. :info:build ps.c:84:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->partial+1; *ptr; ptr++) :info:build ^ ~~~~~~~~~~~~~ :info:build ps.c:186:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { :info:build ^ ~~~~~~~~~~~~~ :info:build ps.c:225:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^ ~~~~~~~~~~~~ :info:build ps.c:225:52: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build ps.c:225:43: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^ ~~~~~~~~~~~~~~~~ :info:build ps.c:231:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { :info:build ^~~ :info:build /usr/include/stdio.h:278:36: note: passing argument to parameter here :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __DARWIN_LDBL_COMPAT(sscanf) __scanflike(2, 3); :info:build ^ :info:build codabar.c:58:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (!strlen(text)) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build codabar.c:70:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build (!startpresent || i != strlen(text) - 1)) :info:build ^~~~ :info:build /usr/include/string.h:92:28: note: passing argument to parameter here :info:build size_t strlen(const char *); :info:build ^ :info:build 2 warnings generated. :info:build /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -c -o pcl.o pcl.c :info:build pcl.c:65:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->partial+1; *ptr; ptr++) :info:build ^ ~~~~~~~~~~~~~ :info:build pcl.c:124:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { :info:build ^ ~~~~~~~~~~~~~ :info:build pcl.c:162:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^ ~~~~~~~~~~~~ :info:build pcl.c:162:52: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build pcl.c:162:43: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^ ~~~~~~~~~~~~~~~~ :info:build pcl.c:168:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { :info:build ^~~ :info:build /usr/include/stdio.h:278:36: note: passing argument to parameter here :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __DARWIN_LDBL_COMPAT(sscanf) __scanflike(2, 3); :info:build ^ :info:build 2 warnings generated. :info:build /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -c -o main.o main.c :info:build 6 warnings generated. :info:build ps.c:84:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->partial+1; *ptr; ptr++) :info:build ^ ~~~~~~~~~~~~~ :info:build ps.c:186:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { :info:build ^ ~~~~~~~~~~~~~ :info:build ps.c:225:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^ ~~~~~~~~~~~~ :info:build ps.c:225:52: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build ps.c:225:43: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^ ~~~~~~~~~~~~~~~~ :info:build ps.c:231:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { :info:build ^~~ :info:build /usr/include/stdio.h:278:36: note: passing argument to parameter here :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __DARWIN_LDBL_COMPAT(sscanf) __scanflike(2, 3); :info:build ^ :info:build main.c:32:10: fatal error: 'paper.h' file not found :info:build #include :info:build ^ :info:build 6 warnings generated. :info:build 83 warnings generated. :info:build /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1 -c -o cmdline.o cmdline.c :info:build 1 error generated. :info:build make: *** [main.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build pcl.c:65:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->partial+1; *ptr; ptr++) :info:build ^ ~~~~~~~~~~~~~ :info:build pcl.c:124:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) { :info:build ^ ~~~~~~~~~~~~~ :info:build pcl.c:162:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^ ~~~~~~~~~~~~ :info:build pcl.c:162:52: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^~~ :info:build /usr/include/string.h:86:26: note: passing argument to parameter here :info:build char *strchr(const char *, int); :info:build ^ :info:build pcl.c:162:43: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) { :info:build ^ ~~~~~~~~~~~~~~~~ :info:build pcl.c:168:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) { :info:build ^~~ :info:build /usr/include/stdio.h:278:36: note: passing argument to parameter here :info:build int sscanf(const char * __restrict, const char * __restrict, ...) __DARWIN_LDBL_COMPAT(sscanf) __scanflike(2, 3); :info:build ^ :info:build 6 warnings generated. :info:build 6 warnings generated. :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/barcode-0.98' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/barcode-0.98" && /usr/bin/make -j4 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for barcode): org.macports.install org.macports.build org.macports.destroot :notice:build Log for barcode is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/main.log