printf ' ' | fink --no-use-binary-dist --yes --build-as-nobody rebuild lv 2>&1 The package 'lv' will be built without being installed. Reading build dependency for lv-4.51-1101... Reading dependency for lv-4.51-1101... Reading build conflict for lv-4.51-1101... The package 'libncurses5' will be installed. Reading dependency for libncurses5-5.9-20110507-1... Reading runtime dependency for libncurses5-5.9-20110507-1... The following package will be rebuilt: lv The following additional package will be installed: libncurses5 Do you want to continue? [Y/n] (assuming default) curl --connect-timeout 30 -f -L -A 'fink/0.37.0' -O http://distfiles.master.finkmirrors.net/distfiles/lv451.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 590k 0 1206 0 0 1625 0 0:06:12 --:--:-- 0:06:12 1623 100 590k 100 590k 0 0 368k 0 0:00:01 0:00:01 --:--:-- 368k curl --connect-timeout 30 -f -L -A 'fink/0.37.0' -O http://distfiles.master.finkmirrors.net/distfiles/lv-4.51-xz.diff % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1445 100 1445 0 0 6069 0 --:--:-- --:--:-- --:--:-- 6097 Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/base/libncurses5_5.9-20110507-1_darwin-x86_64.deb Selecting previously deselected package libncurses5. (Reading database ... 4296 files and directories currently installed.) Unpacking libncurses5 (from .../libncurses5_5.9-20110507-1_darwin-x86_64.deb) ... Setting up libncurses5 (5.9-20110507-1) ... Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-lv-4.51-1101 /sw/build.build dpkg-deb: building package `fink-buildlock-lv-4.51-1101' in `/sw/build.build/fink-buildlock-lv-4.51-1101_2014.07.30-16.33.59_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-lv-4.51-1101_2014.07.30-16.33.59_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-lv-4.51-1101. (Reading database ... 4345 files and directories currently installed.) Unpacking fink-buildlock-lv-4.51-1101 (from .../fink-buildlock-lv-4.51-1101_2014.07.30-16.33.59_darwin-x86_64.deb) ... Setting up fink-buildlock-lv-4.51-1101 (2014.07.30-16.33.59) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.Wl0KK env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/lv451.tar.gz lv451/README lv451/GPL.txt lv451/index.html lv451/relnote.html lv451/lv.1 lv451/lv.hlp lv451/hello.sample lv451/hello.sample.gif lv451/build/README lv451/src/configure lv451/src/configure.in lv451/src/install-sh lv451/src/config.sub lv451/src/config.guess lv451/src/Makefile.in lv451/src/Makefile.dos lv451/src/ascii.h lv451/src/attr.h lv451/src/begin.h lv451/src/big5.h lv451/src/boolean.h lv451/src/command.h lv451/src/conf.h lv451/src/console.h lv451/src/conv.h lv451/src/ctable.h lv451/src/ctable_e.h lv451/src/ctable_t.h lv451/src/decode.h lv451/src/dfa.h lv451/src/display.h lv451/src/encode.h lv451/src/escape.h lv451/src/eucjapan.h lv451/src/fetch.h lv451/src/file.h lv451/src/find.h lv451/src/guess.h lv451/src/guesslocale.h lv451/src/hz.h lv451/src/ichar.h lv451/src/import.h lv451/src/iso2022.h lv451/src/iso2cn.h lv451/src/iso2jp.h lv451/src/iso2kr.h lv451/src/iso8859.h lv451/src/istr.h lv451/src/itable.h lv451/src/itable_e.h lv451/src/itable_t.h lv451/src/kana.h lv451/src/keybind.h lv451/src/nfa.h lv451/src/position.h lv451/src/raw.h lv451/src/re.h lv451/src/screen.h lv451/src/shiftjis.h lv451/src/str.h lv451/src/stream.h lv451/src/unimap.h lv451/src/unirev.h lv451/src/utf.h lv451/src/uty.h lv451/src/version.h lv451/src/big5.c lv451/src/command.c lv451/src/conf.c lv451/src/console.c lv451/src/conv.c lv451/src/ctable.c lv451/src/decode.c lv451/src/dfa.c lv451/src/display.c lv451/src/encode.c lv451/src/escape.c lv451/src/eucjapan.c lv451/src/fetch.c lv451/src/file.c lv451/src/find.c lv451/src/guess.c lv451/src/guesslocale.c lv451/src/hz.c lv451/src/iso2022.c lv451/src/iso2cn.c lv451/src/iso2jp.c lv451/src/iso2kr.c lv451/src/iso8859.c lv451/src/istr.c lv451/src/itable.c lv451/src/kana.c lv451/src/lv.c lv451/src/nfa.c lv451/src/raw.c lv451/src/re.c lv451/src/screen.c lv451/src/shiftjis.c lv451/src/stream.c lv451/src/unimap.c lv451/src/unirev.c lv451/src/utf.c lv451/src/uty.c lv451/src/version.c lv451/src/big5.map lv451/src/big5cns.map lv451/src/gb2312.map lv451/src/iso885910.map lv451/src/iso885911.map lv451/src/iso885913.map lv451/src/iso885914.map lv451/src/iso885915.map lv451/src/iso885916.map lv451/src/iso88592.map lv451/src/iso88593.map lv451/src/iso88594.map lv451/src/iso88595.map lv451/src/iso88596.map lv451/src/iso88597.map lv451/src/iso88598.map lv451/src/iso88599.map lv451/src/jis.map lv451/src/ksc5601.map lv451/src/big5.rev lv451/src/gb2312.rev lv451/src/iso885910.rev lv451/src/iso885911.rev lv451/src/iso885913.rev lv451/src/iso885914.rev lv451/src/iso885915.rev lv451/src/iso885916.rev lv451/src/iso88592.rev lv451/src/iso88593.rev lv451/src/iso88594.rev lv451/src/iso88595.rev lv451/src/iso88596.rev lv451/src/iso88597.rev lv451/src/iso88598.rev lv451/src/iso88599.rev lv451/src/jis0208.rev lv451/src/jis0212.rev lv451/src/ksc5601.rev lv451/src/big5cns.pl lv451/src/d2u.pl lv451/src/map8859.pl lv451/src/mapbig5.pl lv451/src/mapgb.pl lv451/src/mapjis.pl lv451/src/mapksc.pl lv451/src/rev0208.pl lv451/src/rev0212.pl lv451/src/rev8859.pl lv451/src/revbig5.pl lv451/src/revgb.pl lv451/src/revksc.pl lv451/src/d2uall.sh sudo -u fink-bld [ENV] sh -c /tmp/fink.ZgYn8 cp /sw/src/lv-4.51-xz.diff . sudo -u fink-bld [ENV] sh -c /tmp/fink.06gCW patch -p1 < ../lv-4.51-xz.diff patching file index.html patching file src/stream.c sed -i.bak -e 's|$(INSTALL) -s|strip lv; $(INSTALL)|' src/Makefile.in sudo -u fink-bld [ENV] sh -c /tmp/fink.0TX4h ( cd build && ../src/configure --prefix=/sw --mandir='${prefix}/share/man' ) creating cache ./config.cache checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler (gcc -L/sw/lib) works... yes checking whether the C compiler (gcc -L/sw/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking whether make sets ${MAKE}... yes checking for perl... /usr/bin/perl checking if --enable-purify is specified... no checking for tgetstr in -lterminfo... no checking for tgetstr in -ltermcap... yes checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for termio.h... no checking for unistd.h... yes checking for termios.h... yes checking for locale.h... yes checking for sigvec... yes checking for tgetnum... yes checking for setlocale... yes checking whether getpgrp takes no argument... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for nl_langinfo and CODESET... yes updating cache ./config.cache creating ./config.status creating Makefile ( cd build && make ) gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/itable.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/ctable.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/uty.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/istr.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/stream.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/file.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/guess.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/decode.c ../src/guess.c:150:12: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' if( !strncmp(language, "ja", 2) ) ^ ../src/guess.c:150:12: note: please include the header or explicitly provide a declaration for 'strncmp' ../src/guess.c:218:22: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' if (NULL == nl || !strcmp("C", nl)) ^ ../src/guess.c:218:22: note: please include the header or explicitly provide a declaration for 'strcmp' ../src/ctable.c:39:24: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] { AUTOSELECT, FALSE, "AUTO", ^~~~~~ ../src/ctable.c:45:19: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] { UTF_7, FALSE, "UTF-7", ^~~~~~~ ../src/ctable.c:47:19: warning: initializing 'unsigned char *' with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] { HZ_GB, FALSE, "HZ", ^~~~ ../src/ctable.c:53:23: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] { EUC_KOREA, FALSE, "EUC-KR", ^~~~~~~~ ../src/ctable.c:55:23: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] { EUC_JAPAN, FALSE, "EUC-JP", ^~~~~~~~ ../src/ctable.c:57:24: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] { EUC_TAIWAN, FALSE, "EUC-TW", ^~~~~~~~ ../src/ctable.c:59:23: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] { EUC_CHINA, FALSE, "EUC-CN", ^~~~~~~~ ../src/ctable.c:65:22: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] { BIG_FIVE, FALSE, "BIG5", ^~~~~~ ../src/ctable.c:67:23: warning: initializing 'unsigned char *' with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] { SHIFT_JIS, FALSE, "SHIFT-JIS", ^~~~~~~~~~~ ../src/ctable.c:69:19: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] { UTF_8, FALSE, "UTF-8", ^~~~~~~ ../src/ctable.c:75:23: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_1, TRUE, "ISO-8859-1", ^~~~~~~~~~~~ ../src/ctable.c:77:23: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_2, TRUE, "ISO-8859-2", ^~~~~~~~~~~~ ../src/ctable.c:79:23: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_3, TRUE, "ISO-8859-3", ^~~~~~~~~~~~ ../src/ctable.c:81:23: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_4, TRUE, "ISO-8859-4", ^~~~~~~~~~~~ ../src/ctable.c:83:23: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_5, TRUE, "ISO-8859-5", ^~~~~~~~~~~~ ../src/ctable.c:85:23: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_6, TRUE, "ISO-8859-6", ^~~~~~~~~~~~ ../src/ctable.c:87:23: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_7, TRUE, "ISO-8859-7", ^~~~~~~~~~~~ ../src/ctable.c:89:23: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_8, TRUE, "ISO-8859-8", ^~~~~~~~~~~~ ../src/ctable.c:91:23: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_9, TRUE, "ISO-8859-9", ^~~~~~~~~~~~ ../src/ctable.c:93:24: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_10, TRUE, "ISO-8859-10", ^~~~~~~~~~~~~ ../src/ctable.c:95:24: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_11, TRUE, "ISO-8859-11", ^~~~~~~~~~~~~ ../src/ctable.c:97:24: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_13, TRUE, "ISO-8859-13", ^~~~~~~~~~~~~ ../src/ctable.c:99:24: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_14, TRUE, "ISO-8859-14", ^~~~~~~~~~~~~ ../src/ctable.c:101:24: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_15, TRUE, "ISO-8859-15", ^~~~~~~~~~~~~ ../src/ctable.c:103:24: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_8859_16, TRUE, "ISO-8859-16", ^~~~~~~~~~~~~ ../src/ctable.c:109:25: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_2022_CN, FALSE, "ISO-2022-CN", ^~~~~~~~~~~~~ ../src/ctable.c:111:25: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_2022_JP, FALSE, "ISO-2022-JP", ^~~~~~~~~~~~~ ../src/ctable.c:113:25: warning: initializing 'unsigned char *' with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] { ISO_2022_KR, FALSE, "ISO-2022-KR", ^~~~~~~~~~~~~ ../src/ctable.c:119:17: warning: initializing 'unsigned char *' with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] { RAW, FALSE, "RAW", ^~~~~ ../src/uty.c:130:12: warning: returning 'char [1]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return ""; ^~ ../src/uty.c:225:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for( i = strlen( s ) - 1 ; i >= 0 ; i-- ){ ^ /usr/include/string.h:82:28: note: passing argument to parameter here size_t strlen(const char *); ^ ../src/stream.c:44:15: warning: initializing 'unsigned char *' with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] private byte *gz_filter = "zcat"; ^ ~~~~~~ ../src/stream.c:45:15: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] private byte *bz2_filter = "bzcat"; ^ ~~~~~~~ ../src/stream.c:46:15: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] private byte *lzma_filter = "lzcat"; ^ ~~~~~~~ ../src/stream.c:47:15: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] private byte *xz_filter = "xzcat"; ^ ~~~~~~~ ../src/stream.c:67:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( access( file, 0 ) ){ ^~~~ /usr/include/unistd.h:425:25: note: passing argument to parameter here int access(const char *, int); ^ ../src/stream.c:68:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] perror( file ); ^~~~ /usr/include/stdio.h:256:26: note: passing argument to parameter here void perror(const char *); ^ ../src/stream.c:75:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( !strcmp( "gz", exts ) || !strcmp( "GZ", exts ) ^~~~ /usr/include/string.h:77:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ ../src/stream.c:75:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( !strcmp( "gz", exts ) || !strcmp( "GZ", exts ) ^~~~ /usr/include/string.h:77:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ ../src/stream.c:76:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strcmp( "z", exts ) || !strcmp( "Z", exts ) ) ^~~~ /usr/include/string.h:77:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ ../src/stream.c:76:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strcmp( "z", exts ) || !strcmp( "Z", exts ) ) ^~~~ /usr/include/string.h:77:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ ../src/stream.c:78:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if( !strcmp( "bz2", exts ) || !strcmp( "BZ2", exts ) ) ^~~~ /usr/include/string.h:77:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ ../src/stream.c:78:56: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] 29 warnings generated. else if( !strcmp( "bz2", exts ) || !strcmp( "BZ2", exts ) ) ^~~~ /usr/include/string.h:77:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ ../src/stream.c:80:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if( !strcmp( "lzma", exts ) || !strcmp( "LZMA", exts ) ) ^~~~ /usr/include/string.h:77:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ ../src/stream.c:80:58: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if( !strcmp( "lzma", exts ) || !strcmp( "LZMA", exts ) ) ^~~~ /usr/include/string.h:77:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ ../src/stream.c:82:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if( !strcmp( "xz", exts ) || !strcmp( "XZ", exts ) ) ^~~~ /usr/include/string.h:77:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ ../src/stream.c:82:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if( !strcmp( "xz", exts ) || !strcmp( "XZ", exts ) ) ^~~~ /usr/include/string.h:77:39: note: passing argument to parameter here int strcmp(const char *, const char *); ^ ../src/file.c:146:9: warning: assigning to 'char *' from 'unsigned char [1024]' converts between pointers to integer types with different sign [-Wpointer-sign] str = short_str; ^ ~~~~~~~~~ gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/encode.c ../src/file.c:160:9: warning../src/stream.c:124:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( 0 > execlp( filter, filter, file, NULL ) ) ^~~~~~ /usr/include/unistd.h:437:25: note: passing argument to parameter here int execlp(const char *, const char *, ...); ^ ../src/stream.c str = long_str; ^ ~~~~~~~~ :124:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( 0 > execlp( filter, filter, file, NULL ) ) ^~~~~~ /usr/include/unistd.h:437:39: note: passing argument to parameter here int execlp(const char *, const char *, ...); ^ ../src/stream.c:125:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]../src/file.c:168:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] f->inputCodingSystem = GuessCodingSystem( str, len, ^~~ ../src/guess.h:15:38: note: passing argument to parameter 'str' here perror( filter ), exit( -1 );public byte GuessCodingSystem( byte *str, int length, byte defaultEuc ); ^ ^~~~~~ /usr/include/stdio.h:256:26: note: passing argument to parameter here void perror(const char *); ^ ../src/file.c:173:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( GuessHz( str, len ) ){ ^~~ ../src/guess.h:16:28: note: passing argument to parameter 'str' here public byte GuessHz( byte *str, int length ); ^ ../src/file.c:181:10: warning: returning 'char *' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return str; ^~~ ../src/stream.c:144:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( NULL == (st->fp = fopen( file, "rb" )) ){ ^~~~ /usr/include/stdio.h:240:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ ../src/stream.c:145:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] perror( file ); ^~~~ /usr/include/stdio.h:256:26: note: passing argument to parameter here void perror(const char *); ^ ../src/file.c:485:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] length = strlen( f->fileName ); ^~~~~~~~~~~ /usr/include/string.h:82:28: note: passing argument to parameter here size_t strlen(const char *); ^ ../src/file.c:505:12: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf( fileStatus, "%s %lu/%lu [%s|%s|%s|%s]", ^~~~~~~~~~ /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/escape.c 2 warnings generated. gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/iso2022.c 21 warnings generated. gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/iso8859.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/iso2cn.c 2 warnings generated. gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/iso2jp.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/iso2kr.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/kana.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/eucjapan.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/shiftjis.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/big5.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/hz.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/raw.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/fetch.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/screen.c 7 warnings generated. gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/command.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/display.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/find.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/re.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/nfa.c ../src/command.c:109:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((!(editor_program = getenv("VISUAL"))) && ^ ~~~~~~~~~~~~~~~~ ../src/command.c:110:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (!(editor_program = getenv("EDITOR")))) { ^ ~~~~~~~~~~~~~~~~ ../src/command.c:111:20: warning: assigning to 'unsigned char *' from 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] editor_program = "vi -c %d"; ^ ~~~~~~~~~~ ../src/command.c:339:16: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf( buf, "%u", n ); ^~~ /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ ../src/command.c:376:18: warning: passing 'char [17]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConsolePrints( "Wait a minute..." ); ^~~~~~~~~~~~~~~~~~ ../src/console.h:55:34: note: passing argument to parameter 'str' here public void ConsolePrints( byte *str ); ^ ../src/command.c:385:12: warning: returning 'char [10]' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return "not found"; ^~~~~~~~~~~ gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/dfa.c ../src/command.c:501:11: warning: assigning to 'unsigned char *' from 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] label = "cannot reload non-regular files"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/command.c:505:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( NULL == (fp = fopen( f->fileName, "rb" )) ){ ^~~~~~~~~~~ /usr/include/stdio.h:240:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ ../src/command.c:506:11: warning: assigning to 'unsigned char *' from 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign] label = "cannot reload current file"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/command.c:517:18: warning: passing 'char [17]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConsolePrints( "Now reloading..." ); ^~~~~~~~~~~~~~~~~~ ../src/console.h:55:34: note: passing argument to parameter 'str' here public void ConsolePrints( byte *str ); ^ ../src/command.c:561:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( strlen( editor ) + strlen( filename ) + 2 > COM_SIZE ) ^~~~~~ /usr/include/string.h:82:28: note: passing argument to parameter here size_t strlen(const char *); ^ ../src/command.c:561:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( strlen( editor ) + strlen( filename ) + 2 > COM_SIZE ) ^~~~~~~~ /usr/include/string.h:82:28: note: passing argument to parameter here size_t strlen(const char *); ^ ../src/command.c:564:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy( com, editor ); ^~~ /usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) ^ ../src/command.c:564:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy( com, editor ); ^~~~~~ /usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) ^ ../src/command.c:577:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( 0x00 != (nptr = strchr( argv[ argc ], '%' )) && 'd' == *(++nptr ) ){ ^~~~~~~~~~~~ /usr/include/string.h:76:26: note: passing argument to parameter here char *strchr(const char *, int); ^ ../src/command.c:577:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( 0x00 != (nptr = strchr( argv[ argc ], '%' )) && 'd' == *(++nptr ) ){ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/command.c:578:16: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf( num, argv[ argc ], line ); ^~~ /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ ../src/command.c:578:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf( num, argv[ argc ], line ); ^~~~~~~~~~~~ /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ ../src/command.c:602:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] execvp( argv[ 0 ], (char **)argv ); ^~~~~~~~~ /usr/include/unistd.h:440:25: note: passing argument to parameter here int execvp(const char *, char * const *); ^ ../src/command.c:622:11: warning: assigning to 'unsigned char *' from 'char [30]' converts between pointers to integer types with different sign [-Wpointer-sign] label = "cannot edit non-regular files"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/command.c:627:33: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( NULL == (editor_program = getenv( "EDITOR" )) ){ ^ ~~~~~~~~~~~~~~~~~~ ../src/command.c:628:13: warning: assigning to 'unsigned char *' from 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] label = "editor unknown"; ^ ~~~~~~~~~~~~~~~~ ../src/command.c:643:11: warning: assigning to 'unsigned char *' from 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] label = "editor failed"; ^ ~~~~~~~~~~~~~~~ ../src/command.c:665:20: warning: passing 'char [17]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConsolePrints( "Just a moment..." ); ^~~~~~~~~~~~~~~~~~ ../src/console.h:55:34: note: passing argument to parameter 'str' here public void ConsolePrints( byte *str ); ^ ../src/command.c:689:18: warning: passing 'char [17]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConsolePrints( "Just a moment..." ); ^~~~~~~~~~~~~~~~~~ ../src/console.h:55:34: note: passing argument to parameter 'str' here public void ConsolePrints( byte *str ); ^ ../src/command.c:702:11: warning: assigning to 'unsigned char *' from 'char [30]' converts between pointers to integer types with different sign [-Wpointer-sign] label = "cannot poll non-regular files"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/command.c:706:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( access( f->fileName, 0 ) ){ ^~~~~~~~~~~ /usr/include/unistd.h:425:25: note: passing argument to parameter here int access(const char *, int); ^ ../src/command.c:707:11: warning: assigning to 'unsigned char *' from 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign] label = "cannot access current file"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/command.c:717:20: warning: passing 'char [42]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConsolePrints( "Waiting for data, break (^C) to return..." ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/console.h:55:34: note: passing argument to parameter 'str' here public void ConsolePrints( byte *str ); ^ ../src/command.c:834:20: warning: passing 'char [17]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConsolePrints( "Just a moment..." ); ^~~~~~~~~~~~~~~~~~ ../src/console.h:55:34: note: passing argument to parameter 'str' here public void ConsolePrints( byte *str ); ^ ../src/command.c:849:9: warning: assigning to 'unsigned char *' from 'char [23]' converts between pointers to integer types with different sign [-Wpointer-sign] label = VERSION; ^ ~~~~~~~ ../src/command.c:986:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( NULL == (st = StreamOpen( files->name )) ){ ^~~~~~~~~~~ ../src/stream.h:19:36: note: passing argument to parameter 'file' here public stream_t *StreamOpen( byte *file ); ^ ../src/command.c:1001:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] files->file = FileAttach( files->name, st, ^~~~~~~~~~~ ../src/file.h:119:34: note: passing argument to parameter 'fileName' here public file_t *FileAttach( byte *fileName, stream_t *st, ^ ../src/command.c:1075:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( access( *argv, 0 ) ){ ^~~~~ /usr/include/unistd.h:425:25: note: passing argument to parameter here int access(const char *, int); ^ ../src/command.c:1076:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] perror( *argv ); ^~~~~ /usr/include/stdio.h:256:26: note: passing argument to parameter here void perror(const char *); ^ ../src/command.c:1081:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] list->name = *argv; ^ ~~~~~ ../src/command.c:1134:13: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] label = "Interrupted"; ^ ~~~~~~~~~~~~~ ../src/command.c:../src/re.c:157:15: warning: assigning to 'unsigned char *' from 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] 1148:13 reMessage = "unexpected eol"; ^ ~~~~~~~~~~~~~~~~: warning : assigning to 'unsigned char *' from 'char [31]' converts between pointers to integer types with different sign [-Wpointer-sign] label = "There are some truncated lines"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/command.c:1157:10: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] label = "(TRUNCATED)"; ^ ~~~~~~~~~~~~~ ../src/command.c:1159:10: warning: assigning to 'unsigned char *' from 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] label = "(END)"; ^ ~~~~~~~ ../src/re.c:223:17: warning: assigning to 'unsigned char *' from 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] reMessage = "miscomposed range"; ^ ~~~~~~~~~~~~~~~~~~~ ../src/re.c:229:17: warning: assigning to 'unsigned char *' from 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] reMessage = "overcrossing range"; ^ ~~~~~~~~~~~~~~~~~~~~ ../src/re.c:276:15: warning: assigning to 'unsigned char *' from 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] reMessage = "unexpected eol"; ^ ~~~~~~~~~~~~~~~~ ../src/re.c:306:16: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] reMessage = "unmatched ("; ^ ~~~~~~~~~~~~~ ../src/re.c:335:12: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] reMessage = "unmatched ["; ^ ~~~~~~~~~~~~~ gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/conv.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/version.c ../src/dfa.c:315:16: warning: assigning to 'unsigned char *' from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] reMessage = "too many states"; ^ ~~~~~~~~~~~~~~~~~ gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/conf.c gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/lv.c ../src/conf.c:265:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 'W': conf->width = atoi( s + 1 ); break; ^~~~~ /usr/include/stdlib.h:132:23: note: passing argument to parameter here int atoi(const char *); ^ ../src/conf.c:266:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 'H': conf->height = atoi( s + 1 ); break; ^~~~~ /usr/include/stdlib.h:132:23: note: passing argument to parameter here int atoi(const char *); ^ ../src/conf.c:275:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] editor_program = Malloc( strlen( s + 1 ) + 1 ); ^~~~~ /usr/include/string.h:82:28: note: passing argument to parameter here size_t strlen(const char *); ^ ../src/conf.c:276:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy( editor_program, s + 1 ); ^~~~~~~~~~~~~~ /usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) ^ ../src/conf.c:276:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy( editor_program, s + 1 ); ^~~~~ /usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) ^ ../src/conf.c:280:55: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] case 'T': unicode_width_threshold = (ic_t)atoi( s + 1 ); break; ^~~~~ /usr/include/stdlib.h:132:23: note: passing argument to parameter here int atoi(const char *); ^ ../src/conf.c:363:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( NULL == (fp = fopen( file, "r" )) ) ^~~~ /usr/include/stdio.h:240:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ ../src/conf.c:366:25: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while( NULL != fgets( buf, BUF_SIZE, fp ) ){ ^~~ /usr/include/stdio.h:236:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE *); ^ ../src/conf.c:369:22: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for( i = strlen( buf ) - 1 ; i >= 0 ; i-- ){ ^~~ /usr/include/string.h:82:28: note: passing argument to parameter here size_t strlen(const char *); ^ ../src/conf.c:388:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( NULL != (ptr = getenv( "HOME" )) ){ ^ ~~~~~~~~~~~~~~~~ ../src/conf.c:389:13: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy( buf, ptr ); ^~~ /usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) ^ ../src/conf.c:389:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy( buf, ptr ); ^~~ /usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) ^ ../src/conf.c:390:13: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat( buf, "/" LV_CONF ); ^~~ /usr/include/secure/_string.h:125:27: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, src, __darwin_obsz (dest)) ^ ../src/conf.c:398:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( NULL != (*argv = getenv( "LV" )) ) ^ ~~~~~~~~~~~~~~ ../src/conf.c:399:26: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConfArg( conf, argv, "environment" ); ^~~~~~~~~~~~~ ../src/conf.c:219:56: note: passing argument to parameter 'location' here private void ConfArg( conf_t *conf, byte **argv, byte *location ) ^ ../src/conf.c:405:26: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConfArg( conf, argv, "argument" ); ^~~~~~~~~~ ../src/conf.c:219:56: note: passing argument to parameter 'location' here private void ConfArg( conf_t *conf, byte **argv, byte *location ) ^ gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/console.c ../src/conf.c:431:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy( helpFile, LV_HELP_PATH "/" LV_HELP ); ^~~~~~~~ ../src/conf.c:410:18: note: expanded from macro 'helpFile' #define helpFile (*lvHelpFile) ^~~~~~~~~~~~~ /usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, src, __darwin_obsz (dest)) ^ ../src/conf.c:440:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( NULL != (env = getenv( "MAN_PN" )) ) ^ ~~~~~~~~~~~~~~~~~~ gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/guesslocale.c 6 warnings generated. gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/utf.c ../src/lv.c:78:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( NULL != (ptr = strrchr( argv[ 0 ], '/' )) ) ^~~~~~~~~ /usr/include/string.h:87:27: note: passing argument to parameter here char *strrchr(const char *, int); ^ ../src/lv.c:78:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( NULL != (ptr = strrchr( argv[ 0 ], '/' )) ) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lv.c:80:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if( NULL != (ptr = strrchr( argv[ 0 ], '\\' )) ) ^~~~~~~~~ /usr/include/string.h:87:27: note: passing argument to parameter here char *strrchr(const char *, int); ^ ../src/lv.c:80:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if( NULL != (ptr = strrchr( argv[ 0 ], '\\' )) ) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lv.c:85:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( !strncmp( ptr, GREP_COMMAND, strlen( GREP_COMMAND ) ) ^~~ /usr/include/string.h:84:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ ../src/lv.c:86:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] || !strncmp( ptr, GREP_COMMAND_DOS, strlen( GREP_COMMAND_DOS ) ) ) ^~~ /usr/include/string.h:84:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ ../src/lv.c:120:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] length = strlen( conf->pattern ); ^~~~~~~~~~~~~ /usr/include/string.h:82:28: note: passing argument to parameter here size_t strlen(const char *); ^ ../src/guesslocale.c:42:9: warning: implicit declaration of function 'toupper' is invalid in C99 [-Wimplicit-function-declaration] if( toupper(*str1) != toupper(*str2) ) return -1; ^ ../src/console.c:143:18: warning: assigning to 'unsigned char *' from 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] ansi_standout = "7"; ^ ~~~ ../src/console.c:144:17: warning: assigning to 'unsigned char *' from 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] ansi_reverse = "7"; ^ ~~~ ../src/console.c:145:15: warning: assigning to 'unsigned char *' from 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] ansi_blink = "5"; ^ ~~~ ../src/console.c:146:18: warning: assigning to 'unsigned char *' from 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] ansi_underline = "4"; ^ ~~~ ../src/console.c:147:17: warning: assigning to 'unsigned char *' from 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] ansi_hilight = "1"; ^ ~~~ gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/unimap.c ../src/console.c:308:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( NULL == (term = getenv( "TERM" )) ) ^ ~~~~~~~~~~~~~~~~ ../src/console.c:315:7: warning: assigning to 'unsigned char *' from 'char [1024]' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = func; ^ ~~~~ ../src/console.c:336:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cur_left = tgetstr( "kl", &ptr ); ^ ~~~~~~~~~~~~~~~~~~~~~ ../src/console.c:337:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cur_right = tgetstr( "kr", &ptr ); ^ ~~~~~~~~~~~~~~~~~~~~~ ../src/console.c:338:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cur_up = tgetstr( "ku", &ptr ); ^ ~~~~~~~~~~~~~~~~~~~~~ ../src/console.c:339:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cur_down = tgetstr( "kd", &ptr ); ^ ~~~~~~~~~~~~~~~~~~~~~ ../src/console.c:340:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cur_ppage = tgetstr( "kP", &ptr ); ^ ~~~~~~~~~~~~~~~~~~~~~ ../src/console.c:341:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cur_npage = tgetstr( "kN", &ptr ); ^ ~~~~~~~~~~~~~~~~~~~~~ ../src/console.c:637:20: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConsolePrints( "\x1b[0" ); ^~~~~~~~ ../src/console.c:545:34: note: passing argument to parameter 'str' here public void ConsolePrints( byte *str ) ^ ../src/console.c:645:21: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConsolePrints( ";30;4" ); ^~~~~~~ ../src/console.c:545:34: note: passing argument to parameter 'str' here public void ConsolePrints( byte *str ) ^ ../src/console.c:648:21: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConsolePrints( ";37;4" ); ^~~~~~~ ../src/console.c:545:34: note: passing argument to parameter 'str' here public void ConsolePrints( byte *str ) ^ ../src/console.c:652:19: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ConsolePrints( ";3" ); ^~~~ ../src/console.c:545:34: note: passing argument to parameter 'str' here public void ConsolePrints( byte *str ) ^ 18 warnings generated. 7 warnings generated. 1 warning generated. gcc -g -O2 -DLV_HELP_PATH=\"/sw/lib/lv\" -I../src -DUNIX=1 -DTERMCAP=1 -DHAVE_LIBTERMCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGVEC=1 -DHAVE_TGETNUM=1 -DHAVE_SETLOCALE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_LANGINFO_CODESET=1 -c ../src/unirev.c 17 warnings generated. 1 warning generated. 40 warnings generated. gcc -L/sw/lib -o lv itable.o ctable.o uty.o istr.o stream.o file.o guess.o decode.o encode.o escape.o iso2022.o iso8859.o iso2cn.o iso2jp.o iso2kr.o kana.o eucjapan.o shiftjis.o big5.o hz.o raw.o fetch.o screen.o command.o display.o find.o re.o nfa.o dfa.o conv.o version.o conf.o lv.o console.o guesslocale.o utf.o unimap.o unirev.o -ltermcap /bin/rm -rf /sw/build.build/root-lv-4.51-1101 /bin/mkdir -p /sw/build.build/root-lv-4.51-1101/sw /bin/mkdir -p /sw/build.build/root-lv-4.51-1101/DEBIAN /usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-lv-4.51-1101 sudo -u fink-bld [ENV] sh -c /tmp/fink.6YTwL install -d -m 755 /sw/build.build/root-lv-4.51-1101/sw/bin /sw/build.build/root-lv-4.51-1101/sw/share/man/man1 ( cd build && make install prefix=/sw/build.build/root-lv-4.51-1101/sw mandir=/sw/build.build/root-lv-4.51-1101/sw/share/man ) strip lv; /usr/bin/install -c -m 555 lv /sw/build.build/root-lv-4.51-1101/sw/bin if test -f /sw/build.build/root-lv-4.51-1101/sw/bin/lgrep; then \ /bin/rm -f /sw/build.build/root-lv-4.51-1101/sw/bin/lgrep; \ fi (cd /sw/build.build/root-lv-4.51-1101/sw/bin; ln lv lgrep) if test ! -d /sw/build.build/root-lv-4.51-1101/sw/lib/lv; then \ mkdir -p /sw/build.build/root-lv-4.51-1101/sw/lib/lv; \ fi /usr/bin/install -c -m 444 ../src/../lv.hlp /sw/build.build/root-lv-4.51-1101/sw/lib/lv if test -d /sw/build.build/root-lv-4.51-1101/sw/share/man -a -d /sw/build.build/root-lv-4.51-1101/sw/share/man/man1; then \ /usr/bin/install -c -m 444 ../src/../lv.1 /sw/build.build/root-lv-4.51-1101/sw/share/man/man1; \ fi sudo -u fink-bld [ENV] sh -c /tmp/fink.ZaG9m /usr/bin/install -d -m 700 /sw/build.build/root-lv-4.51-1101/sw/share/doc/lv /bin/cp -r GPL.txt /sw/build.build/root-lv-4.51-1101/sw/share/doc/lv/ /bin/cp -r README /sw/build.build/root-lv-4.51-1101/sw/share/doc/lv/ /bin/cp -r *.html /sw/build.build/root-lv-4.51-1101/sw/share/doc/lv/ /bin/cp -r hello.sample* /sw/build.build/root-lv-4.51-1101/sw/share/doc/lv/ /bin/chmod -R go=u-w /sw/build.build/root-lv-4.51-1101/sw/share/doc/lv /bin/rm -f /sw/build.build/root-lv-4.51-1101/sw/info/dir /sw/build.build/root-lv-4.51-1101/sw/info/dir.old /sw/build.build/root-lv-4.51-1101/sw/share/info/dir /sw/build.build/root-lv-4.51-1101/sw/share/info/dir.old Reverting ownership of install dir to root Writing control file... Writing md5sums file... env LANG=C LC_ALL=C dpkg-deb -b root-lv-4.51-1101 /sw/fink/10.9/stable/main/binary-darwin-x86_64/utils dpkg-deb: building package `lv' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/utils/lv_4.51-1101_darwin-x86_64.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-lv-4.51-1101 (Reading database ... 4346 files and directories currently installed.) Removing fink-buildlock-lv-4.51-1101 ...