=> Building science/szip Started : Tuesday, 5 MAR 2019 at 01:35:55 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/science/szip XDG_CONFIG_HOME=/construction/science/szip HOME=/construction/science/szip TMPDIR="/tmp" PATH=/construction/science/szip/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/science/szip XDG_CONFIG_HOME=/construction/science/szip HOME=/construction/science/szip TMPDIR="/tmp" PATH=/construction/science/szip/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="-lm" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/science/szip/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/szip" EXAMPLESDIR="share/examples/szip" DATADIR="share/szip" WWWDIR="www/szip" ETCDIR="etc/szip" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/szip DOCSDIR=/usr/local/share/doc/szip EXAMPLESDIR=/usr/local/share/examples/szip WWWDIR=/usr/local/www/szip ETCDIR=/usr/local/etc/szip -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License SZIP accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> hdf-szip-2.1.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> hdf-szip-2.1.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of hdf-szip-2.1.1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License SZIP accepted by the user => szip-2.1.1.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch https://support.hdfgroup.org/ftp/lib-external/szip/2.1.1/src/szip-2.1.1.tar.gz szip-2.1.1.tar.gz 406 kB 0 Bps ===> Fetching all distfiles required by hdf-szip-2.1.1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License SZIP accepted by the user ===> Fetching all distfiles required by hdf-szip-2.1.1 for building => SHA256 Checksum OK for szip-2.1.1.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License SZIP accepted by the user ===> Fetching all distfiles required by hdf-szip-2.1.1 for building ===> Extracting for hdf-szip-2.1.1 => SHA256 Checksum OK for szip-2.1.1.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for hdf-szip-2.1.1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for hdf-szip-2.1.1 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-portbld-dragonfly5.5 checking host system type... x86_64-portbld-dragonfly5.5 checking for config x86_64-portbld-dragonfly5.5... no checking for config x86_64-portbld-freebsd... no checking for config portbld-dragonfly5.5... no checking for config portbld-freebsd... no checking for config x86_64-dragonfly5.5... no checking for config x86_64-freebsd... no checking for config x86_64-portbld... no checking for config dragonfly5.5... no checking for config freebsd... found compiler 'cc' is GNU gcc-8.1 checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking how to run the C preprocessor... cpp checking for ar... ar checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking how to convert x86_64-portbld-dragonfly5.5 file names to x86_64-portbld-dragonfly5.5 format... func_convert_file_noop checking how to convert x86_64-portbld-dragonfly5.5 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly5.5 ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... (cached) yes checking whether a program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for build mode... production checking for math library support... no checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... (cached) yes checking for error_at_line... no checking for working memcmp... yes checking for vprintf... (cached) yes checking for _doprnt... no checking for memset... (cached) yes checking if encoding enabled... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating src/SZconfig.h config.status: executing depfiles commands config.status: executing libtool commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for hdf-szip-2.1.1 --- all-recursive --- Making all in src --- all --- /usr/bin/make all-am --- rice.lo --- --- sz_api.lo --- --- encoding.lo --- --- rice.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -D_POSIX_C_SOURCE=1 -pipe -O2 -fno-strict-aliasing -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -MT rice.lo -MD -MP -MF .deps/rice.Tpo -c -o rice.lo rice.c --- sz_api.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -D_POSIX_C_SOURCE=1 -pipe -O2 -fno-strict-aliasing -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -MT sz_api.lo -MD -MP -MF .deps/sz_api.Tpo -c -o sz_api.lo sz_api.c --- encoding.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -D_POSIX_C_SOURCE=1 -pipe -O2 -fno-strict-aliasing -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -MT encoding.lo -MD -MP -MF .deps/encoding.Tpo -c -o encoding.lo encoding.c --- sz_api.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -D_POSIX_C_SOURCE=1 -pipe -O2 -fno-strict-aliasing -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -MT sz_api.lo -MD -MP -MF .deps/sz_api.Tpo -c sz_api.c -fPIC -DPIC -o .libs/sz_api.o --- encoding.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -D_POSIX_C_SOURCE=1 -pipe -O2 -fno-strict-aliasing -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -MT encoding.lo -MD -MP -MF .deps/encoding.Tpo -c encoding.c -fPIC -DPIC -o .libs/encoding.o encoding.c:16:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char * szip_encoder_status = "SZIP ENCODER ENABLED"; ^~~~~~~~~~~~~~~~~~~~~~ --- rice.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -D_POSIX_C_SOURCE=1 -pipe -O2 -fno-strict-aliasing -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -MT rice.lo -MD -MP -MF .deps/rice.Tpo -c rice.c -fPIC -DPIC -o .libs/rice.o --- encoding.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -D_POSIX_C_SOURCE=1 -pipe -O2 -fno-strict-aliasing -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -MT encoding.lo -MD -MP -MF .deps/encoding.Tpo -c encoding.c -o encoding.o >/dev/null 2>&1 --- rice.lo --- rice.c:106:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] static int (*winner_function)(); ^~~~~~ rice.c:107:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] static int (*winner_ref_function)(); ^~~~~~ rice.c: In function 'warning': rice.c:252:21: warning: unused parameter 'fmt' [-Wunused-parameter] warning(const char *fmt, ...) ~~~~~~~~~~~~^~~ rice.c: In function 'error': rice.c:267:19: warning: unused parameter 'fmt' [-Wunused-parameter] error(const char *fmt, ...) ~~~~~~~~~~~~^~~ rice.c: At top level: rice.c:301:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] getch() ^~~~~ rice.c:333:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] read_header() ^~~~~~~~~~~ rice.c: In function 'read_header': rice.c:340:13: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = getch(); ^~~~~ rice.c:341:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (value << 8) | getch(); ^ rice.c:355:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (value << 8) | getch(); ^ rice.c:356:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (value << 8) | getch(); ^ rice.c:359:26: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] bits_per_pixel = ((value >> 22) & 0xf) + 1; ^ rice.c:360:28: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] pixels_per_block = ((value >> 17) & 0x1f) * 2 + 2; ^ rice.c:361:31: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] pixels_per_scanline = ((value >> 3) & 0x3fff) + 1; ^ rice.c:366:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (value << 8) | getch(); ^ rice.c:367:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (value << 8) | getch(); ^ rice.c:370:26: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] bits_per_pixel = ((value >> 19) & 0x3f) + 1; ^ rice.c:371:28: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] pixels_per_block = ((value >> 14) & 0x1f) * 2 + 2; ^ rice.c:372:31: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] pixels_per_scanline = (value & 0x3fff) + 1; ^ rice.c:380:13: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = getch(); ^~~~~ rice.c:392:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (value << 8) | getch(); ^ rice.c:393:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (value << 8) | getch(); ^ rice.c:394:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (value << 8) | getch(); ^ rice.c: At top level: rice.c:423:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] write_header() ^~~~~~~~~~~~ rice.c: In function 'write_header': rice.c:455:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (msb_first == 1) << 14; ^~ rice.c:456:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (compression_mode == NN_MODE) << 12; ^~ rice.c:457:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= n << 9; ^~ rice.c:458:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= j << 6; ^~ rice.c:459:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= m << 2; ^~ rice.c:467:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (msb_first == 1) << 29; ^~ rice.c:468:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (compression_mode == NN_MODE) << 26; ^~ rice.c:469:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (bits_per_pixel - 1) << 22; ^~ rice.c:470:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (pixels_per_block/2 - 1) << 17; ^~ rice.c:471:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (pixels_per_scanline - 1) << 3; ^~ rice.c:482:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (msb_first == 1) << 28; ^~ rice.c:483:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (compression_mode == NN_MODE) << 25; ^~ rice.c:484:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (bits_per_pixel - 1) << 19; ^~ rice.c:485:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (pixels_per_block/2 - 1) << 14; ^~ rice.c:486:15: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= (pixels_per_scanline - 1); ^~ rice.c:500:26: warning: conversion from 'long int' to 'int' may change value [-Wconversion] scanline_count = input_pixel_count / pixels_per_scanline; ^~~~~~~~~~~~~~~~~ rice.c:509:19: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value |= i; ^~ rice.c:516:19: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] value |= input_pixel_count; ^~ rice.c: At top level: rice.c:537:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] fix_last_scanline(byte_buffer, n) ^~~~~~~~~~~~~~~~~ rice.c: In function 'fix_last_scanline': rice.c:554:57: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memset(byte_buffer + n, ch, pixels_per_scanline - n); ~~~~~~~~~~~~~~~~~~~~^~~ rice.c:565:20: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] *p++ = ch1; ^~~ rice.c:566:20: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] *p++ = ch2; ^~~ rice.c:580:20: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] *p++ = ch1; ^~~ rice.c:581:20: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] *p++ = ch2; ^~~ rice.c:582:20: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] *p++ = ch3; ^~~ rice.c:583:20: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] *p++ = ch4; ^~~ rice.c: At top level: rice.c:604:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] encode_scanline() ^~~~~~~~~~~~~~~ rice.c: In function 'encode_scanline': rice.c:606:11: warning: declaration of 'bptr' shadows a global declaration [-Wshadow] char *bptr; ^~~~ rice.c:163:14: note: shadowed declaration is here static char *bptr; ^~~~ rice.c:638:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = masknot[bits_per_pixel]; ^~~~~~~ rice.c:656:17: warning: conversion from 'long int' to 'int' may change value [-Wconversion] n = input_pixel_count >= pixels_per_scanline ? pixels_per_scanline : input_pixel_count; ^~~~~~~~~~~~~~~~~ rice.c:658:51: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(byte_buffer, input_byte_data, 2*n); ~^~ rice.c:679:55: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x1 = ((*(b+0) << 8) + *(b+1)) & mask; ^ rice.c:679:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x1 = ((*(b+0) << 8) + *(b+1)) & mask; ^ rice.c:680:55: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x2 = ((*(b+2) << 8) + *(b+3)) & mask; ^ rice.c:680:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x2 = ((*(b+2) << 8) + *(b+3)) & mask; ^ rice.c:681:55: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x3 = ((*(b+4) << 8) + *(b+5)) & mask; ^ rice.c:681:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x3 = ((*(b+4) << 8) + *(b+5)) & mask; ^ rice.c:682:55: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x4 = ((*(b+6) << 8) + *(b+7)) & mask; ^ rice.c:682:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x4 = ((*(b+6) << 8) + *(b+7)) & mask; ^ rice.c:688:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:690:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x1; ^~ rice.c:695:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:697:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x1; ^~~~ rice.c:704:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:706:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x2; ^~ rice.c:711:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:713:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x2; ^~~~ rice.c:720:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:722:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x3; ^~ rice.c:727:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:729:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x3; ^~~~ rice.c:736:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:738:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x4; ^~ rice.c:743:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:745:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x4; ^~~~ rice.c:753:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x = ((*b << 8) + *(b+1)) & mask; ^ rice.c:753:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = ((*b << 8) + *(b+1)) & mask; ^ rice.c:759:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:761:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x; ^ rice.c:766:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:768:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x; ^~~~ rice.c:778:49: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((*b << 8) + *(b+1)) & mask; ^ rice.c:791:55: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x1 = ((*(b+1) << 8) + *(b+0)) & mask; ^ rice.c:791:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x1 = ((*(b+1) << 8) + *(b+0)) & mask; ^ rice.c:792:55: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x2 = ((*(b+3) << 8) + *(b+2)) & mask; ^ rice.c:792:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x2 = ((*(b+3) << 8) + *(b+2)) & mask; ^ rice.c:793:55: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x3 = ((*(b+5) << 8) + *(b+4)) & mask; ^ rice.c:793:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x3 = ((*(b+5) << 8) + *(b+4)) & mask; ^ rice.c:794:55: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x4 = ((*(b+7) << 8) + *(b+6)) & mask; ^ rice.c:794:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x4 = ((*(b+7) << 8) + *(b+6)) & mask; ^ rice.c:800:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:802:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x1; ^~ rice.c:807:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:809:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x1; ^~~~ rice.c:816:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:818:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x2; ^~ rice.c:823:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:825:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x2; ^~~~ rice.c:832:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:834:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x3; ^~ rice.c:839:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:841:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x3; ^~~~ rice.c:848:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:850:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x4; ^~ rice.c:855:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:857:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x4; ^~~~ rice.c:865:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x = ((*(b+1) << 8) + *b) & mask; ^ rice.c:865:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = ((*(b+1) << 8) + *b) & mask; ^ rice.c:871:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:873:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x; ^ rice.c:878:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:880:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x; ^~~~ rice.c:890:48: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ =((*(b+1) << 8) + *b) & mask; ^ rice.c:916:17: warning: conversion from 'long int' to 'int' may change value [-Wconversion] n = input_pixel_count >= pixels_per_scanline ? pixels_per_scanline : input_pixel_count; ^~~~~~~~~~~~~~~~~ rice.c:918:50: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(byte_buffer, input_byte_data, n); ^ rice.c:937:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x1 = *b++ & mask; ^ rice.c:938:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x2 = *b++ & mask; ^ rice.c:939:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x3 = *b++ & mask; ^ rice.c:940:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x4 = *b++ & mask; ^ rice.c:945:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:947:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x1; ^~ rice.c:952:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:954:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x1; ^~~~ rice.c:961:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:963:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x2; ^~ rice.c:968:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:970:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x2; ^~~~ rice.c:977:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:979:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x3; ^~ rice.c:984:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:986:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x3; ^~~~ rice.c:993:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:995:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x4; ^~ rice.c:1000:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1002:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x4; ^~~~ rice.c:1010:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = *b++ & mask; ^ rice.c:1015:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:1017:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x; ^ rice.c:1022:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1024:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x; ^~~~ rice.c:1062:17: warning: conversion from 'long int' to 'int' may change value [-Wconversion] n = input_pixel_count >= pixels_per_scanline ? pixels_per_scanline : input_pixel_count; ^~~~~~~~~~~~~~~~~ --- encoding.lo --- mv -f .deps/encoding.Tpo .deps/encoding.Plo --- rice.lo --- rice.c:1064:51: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(byte_buffer, input_byte_data, 4*n); ~^~ rice.c:1085:75: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x1 = ((*(b+1) << 16) | (*(b+2) << 8) | *(b+3)) & mask; ^ rice.c:1085:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x1 = ((*(b+1) << 16) | (*(b+2) << 8) | *(b+3)) & mask; ^ rice.c:1086:75: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x2 = ((*(b+5) << 16) | (*(b+6) << 8) | *(b+7)) & mask; ^ rice.c:1086:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x2 = ((*(b+5) << 16) | (*(b+6) << 8) | *(b+7)) & mask; ^ rice.c:1087:75: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x3 = ((*(b+9) << 16) | (*(b+10) << 8) | *(b+11)) & mask; ^ rice.c:1087:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x3 = ((*(b+9) << 16) | (*(b+10) << 8) | *(b+11)) & mask; ^ rice.c:1088:75: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x4 = ((*(b+13) << 16) | (*(b+14) << 8) | *(b+15)) & mask; ^ rice.c:1088:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x4 = ((*(b+13) << 16) | (*(b+14) << 8) | *(b+15)) & mask; ^ rice.c:1094:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:1096:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x1; ^~ rice.c:1101:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1103:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x1; ^~~~ rice.c:1110:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:1112:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x2; ^~ rice.c:1117:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1119:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x2; ^~~~ rice.c:1126:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:1128:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x3; ^~ rice.c:1133:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1135:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x3; ^~~~ rice.c:1142:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:1144:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x4; ^~ rice.c:1149:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1151:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x4; ^~~~ rice.c:1159:71: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x = ((*(b+1) << 16) | (*(b+2) << 8) | *(b+3)) & mask; ^ rice.c:1159:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = ((*(b+1) << 16) | (*(b+2) << 8) | *(b+3)) & mask; ^ rice.c:1165:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:1167:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x; ^ rice.c:1172:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1174:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x; ^~~~ rice.c:1184:70: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((*(b+1) << 16) | (*(b+2) << 8) | *(b+3)) & mask; ^ rice.c:1197:75: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x1 = ((*(b+2) << 16) | (*(b+1) << 8) | *(b+0)) & mask; ^ rice.c:1197:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x1 = ((*(b+2) << 16) | (*(b+1) << 8) | *(b+0)) & mask; ^ rice.c:1198:75: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x2 = ((*(b+6) << 16) | (*(b+5) << 8) | *(b+4)) & mask; ^ rice.c:1198:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x2 = ((*(b+6) << 16) | (*(b+5) << 8) | *(b+4)) & mask; ^ rice.c:1199:75: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x3 = ((*(b+10) << 16) | (*(b+9) << 8) | *(b+8)) & mask; ^ rice.c:1199:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x3 = ((*(b+10) << 16) | (*(b+9) << 8) | *(b+8)) & mask; ^ rice.c:1200:75: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x4 = ((*(b+14) << 16) | (*(b+13) << 8) | *(b+12)) & mask; ^ rice.c:1200:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x4 = ((*(b+14) << 16) | (*(b+13) << 8) | *(b+12)) & mask; ^ rice.c:1206:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:1208:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x1; ^~ rice.c:1213:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1215:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x1; ^~~~ rice.c:1222:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:1224:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x2; ^~ rice.c:1229:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1231:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x2; ^~~~ rice.c:1238:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:1240:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x3; ^~ rice.c:1245:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1247:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x3; ^~~~ rice.c:1254:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:1256:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x4; ^~ rice.c:1261:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1263:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x4; ^~~~ rice.c:1271:67: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x = ((*(b+2) << 16) | (*(b+1) << 8) | *b) & mask; ^ rice.c:1271:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = ((*(b+2) << 16) | (*(b+1) << 8) | *b) & mask; ^ rice.c:1277:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = del << 1; ^~~ rice.c:1279:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = x; ^ rice.c:1284:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = ((-del)<<1) - 1; ^ rice.c:1286:40: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = xmax-x; ^~~~ rice.c:1296:65: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ =((*(b+2) << 16) | (*(b+1) << 8) | *b) & mask; ^ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1326:13: note: in expansion of macro 'pack1' pack1(0, id_bits+1); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:1326:13: note: in expansion of macro 'pack1' pack1(0, id_bits+1); ^~~~~ rice.c:220:19: warning: declaration of 'value' shadows a previous local [-Wshadow] unsigned long value; \ ^~~~~ rice.c:1327:13: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:632:19: note: shadowed declaration is here unsigned long value; ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1327:13: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:209:23: warning: declaration of 'v16' shadows a previous local [-Wshadow] unsigned long v16; \ ^~~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1327:13: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:227:23: note: shadowed declaration is here unsigned long v16; \ ^~~ rice.c:1327:13: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:235:5: note: in expansion of macro 'pack1' pack1(value, pbits); \ ^~~~~ rice.c:1327:13: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:1331:17: note: in expansion of macro 'pack1' pack1(1, 1); ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1344:17: note: in expansion of macro 'pack1' pack1(id, id_bits); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:1344:17: note: in expansion of macro 'pack1' pack1(id, id_bits); ^~~~~ rice.c:220:19: warning: declaration of 'value' shadows a previous local [-Wshadow] unsigned long value; \ ^~~~~ rice.c:1345:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:632:19: note: shadowed declaration is here unsigned long value; ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1345:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:209:23: warning: declaration of 'v16' shadows a previous local [-Wshadow] unsigned long v16; \ ^~~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1345:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:227:23: note: shadowed declaration is here unsigned long v16; \ ^~~ rice.c:1345:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:235:5: note: in expansion of macro 'pack1' pack1(value, pbits); \ ^~~~~ rice.c:1345:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:220:19: warning: declaration of 'value' shadows a previous local [-Wshadow] unsigned long value; \ ^~~~~ rice.c:1349:25: note: in expansion of macro 'pack2' pack2(*s++, bits_per_pixel); ^~~~~ rice.c:632:19: note: shadowed declaration is here unsigned long value; ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1349:25: note: in expansion of macro 'pack2' pack2(*s++, bits_per_pixel); ^~~~~ rice.c:209:23: warning: declaration of 'v16' shadows a previous local [-Wshadow] unsigned long v16; \ ^~~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1349:25: note: in expansion of macro 'pack2' pack2(*s++, bits_per_pixel); ^~~~~ rice.c:227:23: note: shadowed declaration is here unsigned long v16; \ ^~~ rice.c:1349:25: note: in expansion of macro 'pack2' pack2(*s++, bits_per_pixel); ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:235:5: note: in expansion of macro 'pack1' pack1(value, pbits); \ ^~~~~ rice.c:1349:25: note: in expansion of macro 'pack2' pack2(*s++, bits_per_pixel); ^~~~~ rice.c:1357:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = (*s1++ >> ksplits) + 1; ^ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1358:25: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1358:25: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1358:25: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:1361:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = masknot[ksplits]; ^~~~~~~ rice.c:220:19: warning: declaration of 'value' shadows a previous local [-Wshadow] unsigned long value; \ ^~~~~ rice.c:1365:25: note: in expansion of macro 'pack2' pack2(num, ksplits); ^~~~~ rice.c:632:19: note: shadowed declaration is here unsigned long value; ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1365:25: note: in expansion of macro 'pack2' pack2(num, ksplits); ^~~~~ rice.c:209:23: warning: declaration of 'v16' shadows a previous local [-Wshadow] unsigned long v16; \ ^~~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1365:25: note: in expansion of macro 'pack2' pack2(num, ksplits); ^~~~~ rice.c:227:23: note: shadowed declaration is here unsigned long v16; \ ^~~ rice.c:1365:25: note: in expansion of macro 'pack2' pack2(num, ksplits); ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:235:5: note: in expansion of macro 'pack1' pack1(value, pbits); \ ^~~~~ rice.c:1365:25: note: in expansion of macro 'pack2' pack2(num, ksplits); ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1371:17: note: in expansion of macro 'pack1' pack1(id, id_bits); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:1371:17: note: in expansion of macro 'pack1' pack1(id, id_bits); ^~~~~ rice.c:220:19: warning: declaration of 'value' shadows a previous local [-Wshadow] unsigned long value; \ ^~~~~ rice.c:1372:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:632:19: note: shadowed declaration is here unsigned long value; ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1372:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:209:23: warning: declaration of 'v16' shadows a previous local [-Wshadow] unsigned long v16; \ ^~~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1372:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:227:23: note: shadowed declaration is here unsigned long v16; \ ^~~ rice.c:1372:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:235:5: note: in expansion of macro 'pack1' pack1(value, pbits); \ ^~~~~ rice.c:1372:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:1375:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = *s++ + 1; ^ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1376:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1376:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1376:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1381:17: note: in expansion of macro 'pack1' pack1(1, id_bits+1); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:1381:17: note: in expansion of macro 'pack1' pack1(1, id_bits+1); ^~~~~ rice.c:220:19: warning: declaration of 'value' shadows a previous local [-Wshadow] unsigned long value; \ ^~~~~ rice.c:1382:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:632:19: note: shadowed declaration is here unsigned long value; ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1382:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:209:23: warning: declaration of 'v16' shadows a previous local [-Wshadow] unsigned long v16; \ ^~~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1382:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:227:23: note: shadowed declaration is here unsigned long v16; \ ^~~ rice.c:1382:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:235:5: note: in expansion of macro 'pack1' pack1(value, pbits); \ ^~~~~ rice.c:1382:17: note: in expansion of macro 'pack2' pack2(*sigma, bits_per_pixel); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1384:17: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1384:17: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1384:17: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1388:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1388:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1388:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1410:17: note: in expansion of macro 'pack1' pack1(0, id_bits+1); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:1410:17: note: in expansion of macro 'pack1' pack1(0, id_bits+1); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1420:17: note: in expansion of macro 'packfs' packfs(newbits); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1420:17: note: in expansion of macro 'packfs' packfs(newbits); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1420:17: note: in expansion of macro 'packfs' packfs(newbits); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1435:17: note: in expansion of macro 'packfs' packfs(newbits); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1435:17: note: in expansion of macro 'packfs' packfs(newbits); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1435:17: note: in expansion of macro 'packfs' packfs(newbits); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1444:17: note: in expansion of macro 'pack1' pack1(id, id_bits); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:1444:17: note: in expansion of macro 'pack1' pack1(id, id_bits); ^~~~~ rice.c:220:19: warning: declaration of 'value' shadows a previous local [-Wshadow] unsigned long value; \ ^~~~~ rice.c:1448:25: note: in expansion of macro 'pack2' pack2(*s++, bits_per_pixel); ^~~~~ rice.c:632:19: note: shadowed declaration is here unsigned long value; ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1448:25: note: in expansion of macro 'pack2' pack2(*s++, bits_per_pixel); ^~~~~ rice.c:209:23: warning: declaration of 'v16' shadows a previous local [-Wshadow] unsigned long v16; \ ^~~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1448:25: note: in expansion of macro 'pack2' pack2(*s++, bits_per_pixel); ^~~~~ rice.c:227:23: note: shadowed declaration is here unsigned long v16; \ ^~~ rice.c:1448:25: note: in expansion of macro 'pack2' pack2(*s++, bits_per_pixel); ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:235:5: note: in expansion of macro 'pack1' pack1(value, pbits); \ ^~~~~ rice.c:1448:25: note: in expansion of macro 'pack2' pack2(*s++, bits_per_pixel); ^~~~~ rice.c:1459:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = (*s1++ >> 1) + 1; ^ rice.c:1460:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval2 = (*s1++ >> 1) + 1; ^ rice.c:1463:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (1 << fsval2) | 1; ^ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1464:37: note: in expansion of macro 'pack1' pack1(value, fsval + fsval2); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1468:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1468:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1468:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1469:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1469:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1469:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:1478:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 1) | *s++ & 1; ~~~~~^~~ rice.c:1479:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 1) | *s++ & 1; ~~~~~^~~ rice.c:1480:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 1) | *s++ & 1; ~~~~~^~~ rice.c:1481:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 1) | *s++ & 1; ~~~~~^~~ rice.c:1482:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 1) | *s++ & 1; ~~~~~^~~ rice.c:1483:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 1) | *s++ & 1; ~~~~~^~~ rice.c:1484:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 1) | *s++ & 1; ~~~~~^~~ rice.c:1492:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 1) | *s++ & 1; ~~~~~^~~ rice.c:1500:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = (*s1++ >> 2) + 1; ^ rice.c:1501:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval2 = (*s1++ >> 2) + 1; ^ rice.c:1504:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (1 << fsval2) | 1; ^ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1505:37: note: in expansion of macro 'pack1' pack1(value, fsval + fsval2); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1509:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1509:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1509:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1510:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1510:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1510:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:1519:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 2) | *s++ & 3; ~~~~~^~~ rice.c:1520:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 2) | *s++ & 3; ~~~~~^~~ rice.c:1521:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 2) | *s++ & 3; ~~~~~^~~ rice.c:1522:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 2) | *s++ & 3; ~~~~~^~~ rice.c:1523:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 2) | *s++ & 3; ~~~~~^~~ rice.c:1524:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 2) | *s++ & 3; ~~~~~^~~ rice.c:1525:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 2) | *s++ & 3; ~~~~~^~~ rice.c:1533:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 2) | *s++ & 3; ~~~~~^~~ rice.c:1541:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = (*s1++ >> 3) + 1; ^ rice.c:1542:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval2 = (*s1++ >> 3) + 1; ^ rice.c:1545:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (1 << fsval2) | 1; ^ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1546:37: note: in expansion of macro 'pack1' pack1(value, fsval + fsval2); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1550:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1550:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1550:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1551:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1551:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1551:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:1560:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 3) | *s++ & 7; ~~~~~^~~ rice.c:1561:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 3) | *s++ & 7; ~~~~~^~~ rice.c:1562:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 3) | *s++ & 7; ~~~~~^~~ rice.c:1563:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 3) | *s++ & 7; ~~~~~^~~ rice.c:1567:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 3) | *s++ & 7; ~~~~~^~~ rice.c:1568:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 3) | *s++ & 7; ~~~~~^~~ rice.c:1576:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 3) | *s++ & 7; ~~~~~^~~ rice.c:1584:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = (*s1++ >> 4) + 1; ^ rice.c:1585:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval2 = (*s1++ >> 4) + 1; ^ rice.c:1588:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (1 << fsval2) | 1; ^ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1589:37: note: in expansion of macro 'pack1' pack1(value, fsval + fsval2); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1593:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1593:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1593:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1594:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1594:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1594:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:1603:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 4) | *s++ & 0xf; ~~~~~^~~~~ rice.c:1604:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 4) | *s++ & 0xf; ~~~~~^~~~~ rice.c:1605:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 4) | *s++ & 0xf; ~~~~~^~~~~ rice.c:1609:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 4) | *s++ & 0xf; ~~~~~^~~~~ rice.c:1610:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 4) | *s++ & 0xf; ~~~~~^~~~~ rice.c:1611:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 4) | *s++ & 0xf; ~~~~~^~~~~ rice.c:1619:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 4) | *s++ & 0xf; ~~~~~^~~~~ rice.c:1627:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = (*s1++ >> 5) + 1; ^ rice.c:1628:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval2 = (*s1++ >> 5) + 1; ^ rice.c:1631:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (1 << fsval2) | 1; ^ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1632:37: note: in expansion of macro 'pack1' pack1(value, fsval + fsval2); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1636:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1636:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1636:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1637:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1637:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1637:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:1646:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 5) | *s++ & 0x1f; ~~~~~^~~~~~ rice.c:1647:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 5) | *s++ & 0x1f; ~~~~~^~~~~~ rice.c:1651:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 5) | *s++ & 0x1f; ~~~~~^~~~~~ rice.c:1652:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 5) | *s++ & 0x1f; ~~~~~^~~~~~ --- sz_api.lo --- sz_api.c:47:6: warning: redundant redeclaration of 'szip_compress_memory' [-Wredundant-decls] long szip_compress_memory( ^~~~~~~~~~~~~~~~~~~~ In file included from szlib.h:42, from sz_api.c:45: ricehdf.h:62:6: note: previous declaration of 'szip_compress_memory' was here long szip_compress_memory( ^~~~~~~~~~~~~~~~~~~~ --- rice.lo --- rice.c:1656:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 5) | *s++ & 0x1f; ~~~~~^~~~~~ --- sz_api.lo --- sz_api.c:56:6: warning: redundant redeclaration of 'szip_uncompress_memory' [-Wredundant-decls] long szip_uncompress_memory( ^~~~~~~~~~~~~~~~~~~~~~ In file included from szlib.h:42, from sz_api.c:45: ricehdf.h:71:6: note: previous declaration of 'szip_uncompress_memory' was here long szip_uncompress_memory( ^~~~~~~~~~~~~~~~~~~~~~ sz_api.c:66:5: warning: redundant redeclaration of 'szip_check_params' [-Wredundant-decls] int szip_check_params( ^~~~~~~~~~~~~~~~~ In file included from szlib.h:42, from sz_api.c:45: ricehdf.h:81:5: note: previous declaration of 'szip_check_params' was here int szip_check_params( ^~~~~~~~~~~~~~~~~ --- rice.lo --- rice.c:1664:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 5) | *s++ & 0x1f; ~~~~~^~~~~~ --- sz_api.lo --- sz_api.c: In function 'SZ_Compress': sz_api.c:124:44: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] hidden->image_in = (char *) malloc(image_size); ^~~~~~~~~~ sz_api.c:131:66: warning: conversion from 'long int' to 'double' may change value [-Wconversion] image_size = (long)(strm->image_pixels * bytes_per_pixel * 1.75); ^ sz_api.c:132:45: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] hidden->image_out = (char *) malloc(image_size); ^~~~~~~~~~ sz_api.c:141:48: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] memcpy(hidden->next_in, strm->next_in, size_in); ^~~~~~~ sz_api.c:146:27: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] strm->avail_in -= size_in; ^~~~~~~ sz_api.c:147:24: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] strm->total_in += size_in; ^~ sz_api.c:154:24: warning: conversion from 'long int' to 'int' may change value [-Wconversion] return output_bytes; ^~~~~~~~~~~~ sz_api.c:169:50: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] memcpy(strm->next_out, hidden->next_out, size_out); ^~~~~~~~ sz_api.c:174:28: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] strm->avail_out -= size_out; ^~~~~~~~ sz_api.c:175:25: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] strm->total_out += size_out; ^~ sz_api.c: In function 'SZ_Decompress': sz_api.c:270:66: warning: conversion from 'long int' to 'double' may change value [-Wconversion] image_size = (long)(strm->image_pixels * bytes_per_pixel * 1.75); ^ sz_api.c:271:44: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] hidden->image_in = (char *) malloc(image_size); ^~~~~~~~~~ sz_api.c:278:66: warning: conversion from 'long int' to 'double' may change value [-Wconversion] image_size = (long)(strm->image_pixels * bytes_per_pixel * 1.0); ^ sz_api.c:279:45: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] hidden->image_out = (char *) malloc(image_size); ^~~~~~~~~~ sz_api.c:288:48: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] memcpy(hidden->next_in, strm->next_in, size_in); ^~~~~~~ sz_api.c:293:27: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] strm->avail_in -= size_in; ^~~~~~~ sz_api.c:294:24: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] strm->total_in += size_in; ^~ sz_api.c:302:24: warning: conversion from 'long int' to 'int' may change value [-Wconversion] return output_bytes; ^~~~~~~~~~~~ sz_api.c:313:50: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] memcpy(strm->next_out, hidden->next_out, size_out); ^~~~~~~~ sz_api.c:318:28: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] strm->avail_out -= size_out; ^~~~~~~~ sz_api.c:319:25: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] strm->total_out += size_out; ^~ --- rice.lo --- rice.c:1672:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = (*s1++ >> 6) + 1; ^ rice.c:1673:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval2 = (*s1++ >> 6) + 1; ^ rice.c:1676:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] value = (1 << fsval2) | 1; ^ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1677:37: note: in expansion of macro 'pack1' pack1(value, fsval + fsval2); ^~~~~ --- sz_api.lo --- sz_api.c: In function 'SZ_BufftoBuffCompress': sz_api.c:396:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] pixels = (sourceLen+bytes_per_pixel-1)/bytes_per_pixel; ^ sz_api.c:396:43: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] pixels = (sourceLen+bytes_per_pixel-1)/bytes_per_pixel; ^ sz_api.c:396:14: warning: conversion to 'long int' from 'size_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] pixels = (sourceLen+bytes_per_pixel-1)/bytes_per_pixel; ^ sz_api.c:397:33: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] out_size = (long)(sourceLen * 2.00); ^ --- rice.lo --- rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1681:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ --- sz_api.lo --- sz_api.c:399:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] if (*destLen >= out_size) ^~ sz_api.c:403:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] image_out = (char *) malloc(out_size); ^~~~~~~~ sz_api.c:414:16: warning: conversion from 'long int' to 'int' may change value [-Wconversion] return output_bytes; ^~~~~~~~~~~~ sz_api.c:418:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] if (*destLen >= output_bytes) ^~ sz_api.c:419:20: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] *destLen = output_bytes; ^~~~~~~~~~~~ --- rice.lo --- rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1681:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ --- sz_api.lo --- sz_api.c: In function 'SZ_BufftoBuffDecompress': sz_api.c:454:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] pixels = *destLen/bytes_per_pixel; ^ sz_api.c:454:14: warning: conversion to 'long int' from 'size_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] pixels = *destLen/bytes_per_pixel; ^ sz_api.c:456:136: warning: conversion to 'long int' from 'size_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] output_bytes = szip_uncompress_memory(sz->options_mask, sz->bits_per_pixel, sz->pixels_per_block, sz->pixels_per_scanline, source, sourceLen, dest, pixels); ^~~~~~~~~ sz_api.c:458:16: warning: conversion from 'long int' to 'int' may change value [-Wconversion] return output_bytes; ^~~~~~~~~~~~ sz_api.c:464:20: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] *destLen = output_bytes; ^~~~~~~~~~~~ --- rice.lo --- rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1681:37: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1682:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1682:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1682:37: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:1689:61: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 6) | *s++ & 0x3f; ~~~~~^~~~~~ rice.c:1697:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = (*s1++ >> 7) + 1; ^ rice.c:1698:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval2 = (*s1++ >> 7) + 1; ^ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1699:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1699:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1699:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1700:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1700:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1700:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:1706:61: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 7) | *s++ & 0x7f; ~~~~~^~~~~~ rice.c:1714:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = (*s1++ >> 8) + 1; ^ rice.c:1715:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval2 = (*s1++ >> 8) + 1; ^ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1716:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1716:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1716:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1717:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1717:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1717:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:1723:61: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] value = (value << 8) | *s++ & 0xff; ~~~~~^~~~~~ rice.c:1737:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = (*s1++ >> ksplits) + 1; ^ rice.c:1738:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval2 = (*s1++ >> ksplits) + 1; ^ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1739:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1739:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1739:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1740:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1740:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1740:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:1743:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = masknot[ksplits]; ^~~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1747:33: note: in expansion of macro 'pack1' pack1(num, ksplits); ^~~~~ rice.c:1754:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = (*s1++ >> ksplits) + 1; ^ rice.c:1755:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval2 = (*s1++ >> ksplits) + 1; ^ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1756:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1756:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1756:33: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1757:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1757:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1757:33: note: in expansion of macro 'packfs' packfs(fsval2); ^~~~~~ rice.c:1760:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = masknot[ksplits]; ^~~~~~~ rice.c:220:19: warning: declaration of 'value' shadows a previous local [-Wshadow] unsigned long value; \ ^~~~~ rice.c:1764:33: note: in expansion of macro 'pack2' pack2(num, ksplits); ^~~~~ rice.c:632:19: note: shadowed declaration is here unsigned long value; ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1764:33: note: in expansion of macro 'pack2' pack2(num, ksplits); ^~~~~ rice.c:209:23: warning: declaration of 'v16' shadows a previous local [-Wshadow] unsigned long v16; \ ^~~ rice.c:230:9: note: in expansion of macro 'pack1' pack1(v16, pbits); \ ^~~~~ rice.c:1764:33: note: in expansion of macro 'pack2' pack2(num, ksplits); ^~~~~ rice.c:227:23: note: shadowed declaration is here unsigned long v16; \ ^~~ rice.c:1764:33: note: in expansion of macro 'pack2' pack2(num, ksplits); ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:235:5: note: in expansion of macro 'pack1' pack1(value, pbits); \ ^~~~~ rice.c:1764:33: note: in expansion of macro 'pack2' pack2(num, ksplits); ^~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:1772:17: note: in expansion of macro 'pack1' pack1(id, id_bits); ^~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:1772:17: note: in expansion of macro 'pack1' pack1(id, id_bits); ^~~~~ rice.c:1775:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fsval = *s++ + 1; ^ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1776:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1776:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1776:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1781:17: note: in expansion of macro 'packfs' packfs(id_bits+1); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1781:17: note: in expansion of macro 'packfs' packfs(id_bits+1); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1781:17: note: in expansion of macro 'packfs' packfs(id_bits+1); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:245:9: note: in expansion of macro 'pack1' pack1(0, 16); \ ^~~~~ rice.c:1785:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:204:17: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] packed_bits -= pbits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1785:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c:206:18: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] packed_value |= value << packed_bits; \ ^~ rice.c:248:5: note: in expansion of macro 'pack1' pack1(1, pbits); \ ^~~~~ rice.c:1785:21: note: in expansion of macro 'packfs' packfs(fsval); ^~~~~~ rice.c: At top level: rice.c:1824:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] flush_encoded_bits() ^~~~~~~~~~~~~~~~~~ rice.c: In function 'flush_encoded_bits': rice.c:1830:15: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] v16 = global_packed_value >> 16; ^~~~~~~~~~~~~~~~~~~ rice.c:1831:26: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *global_bptr++ = v16 >> 8; ^~~ rice.c:1833:30: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *global_bptr++ = v16; ^~~ rice.c: At top level: rice.c:1845:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] rice_encode() ^~~~~~~~~~~ rice.c:1902:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] c_ext2(sigma, end) ^~~~~~ rice.c:1935:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] find_winner8(sigma, end) ^~~~~~~~~~~~ rice.c: In function 'find_winner8': rice.c:1949:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^~ rice.c:1949:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^ rice.c:1950:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^~ rice.c:1950:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^ rice.c: At top level: rice.c:2019:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] find_ref_winner8(sigma, end) ^~~~~~~~~~~~~~~~ rice.c: In function 'find_ref_winner8': rice.c:2032:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^~ rice.c:2032:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^ rice.c: At top level: rice.c:2100:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] find_winner10(sigma, end) ^~~~~~~~~~~~~ rice.c: In function 'find_winner10': rice.c:2114:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^~ rice.c:2114:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^ rice.c:2115:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^~ rice.c:2115:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^ rice.c: At top level: rice.c:2184:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] find_ref_winner10(sigma, end) ^~~~~~~~~~~~~~~~~ rice.c: In function 'find_ref_winner10': rice.c:2197:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^~ rice.c:2197:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^ rice.c: At top level: rice.c:2265:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] find_winner16(sigma, end) ^~~~~~~~~~~~~ rice.c: In function 'find_winner16': rice.c:2279:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^~ rice.c:2279:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^ rice.c:2280:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^~ rice.c:2280:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^ rice.c: At top level: rice.c:2349:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] find_ref_winner16(sigma, end) ^~~~~~~~~~~~~~~~~ rice.c: In function 'find_ref_winner16': rice.c:2362:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^~ rice.c:2362:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sum += *s++; ^ rice.c: At top level: rice.c:2430:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] find_winner(start, end) ^~~~~~~~~~~ rice.c: In function 'find_winner': rice.c:2443:12: warning: conversion from 'long int' to 'int' may change value [-Wconversion] jcnt = end - start; ^~~ rice.c:2449:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> 2; ^~ rice.c:2449:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> 2; ^ rice.c:2450:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 3; ^~ rice.c:2450:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 3; ^ rice.c:2467:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb1 += *s; ^~ rice.c:2467:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb1 += *s; ^ rice.c:2468:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 1; ^~ rice.c:2468:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 1; ^ rice.c:2508:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> 4; ^~ rice.c:2508:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> 4; ^ rice.c:2509:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 5; ^~ rice.c:2509:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 5; ^ rice.c:2533:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> 6; ^~ rice.c:2533:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> 6; ^ rice.c:2534:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 7; ^~ rice.c:2534:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 7; ^ rice.c:2554:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> 8; ^~ rice.c:2554:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> 8; ^ rice.c:2555:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 9; ^~ rice.c:2555:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 9; ^ rice.c:2575:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> 10; ^~ rice.c:2575:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> 10; ^ rice.c:2576:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 11; ^~ rice.c:2576:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb2 += *s >> 11; ^ rice.c:2594:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb1 += *s >>12; ^~ rice.c:2594:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb1 += *s >>12; ^ rice.c:2611:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> i; ^~ rice.c:2611:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] msb1 += *s >> i; ^ rice.c: At top level: rice.c:2822:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] check_args() ^~~~~~~~~~ rice.c:2959:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] encode_initialize() ^~~~~~~~~~~~~~~~~ rice.c: In function 'encode_initialize': rice.c:2998:32: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] ext2_array[i][j] = (i+j)*(i+j+1)/2 + j + 1; ^ rice.c: At top level: rice.c:3034:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] decode_initialize() ^~~~~~~~~~~~~~~~~ rice.c: In function 'decode_initialize': rice.c:3084:34: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] ext2_array1[index] = i; ^ rice.c:3085:34: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] ext2_array2[index] = j; ^ rice.c: At top level: rice.c:3175:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] compress_memory_bytes(new_options_mask, new_bits_per_pixel, new_pixels_per_block, new_pixels_per_scanline, in, pixels, out) ^~~~~~~~~~~~~~~~~~~~~ rice.c: In function 'compress_memory_bytes': rice.c:3209:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] input_byte_data = (unsigned char *) in; ^ rice.c: At top level: rice.c:3240:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] compress_memory_words(new_options_mask, new_bits_per_pixel, new_pixels_per_block, new_pixels_per_scanline, in, pixels, out) ^~~~~~~~~~~~~~~~~~~~~ rice.c: In function 'compress_memory_words': rice.c:3274:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] input_byte_data = (unsigned char *) in; ^ rice.c: At top level: rice.c:3304:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] compress_memory_longs(new_options_mask, new_bits_per_pixel, new_pixels_per_block, new_pixels_per_scanline, in, pixels, out) ^~~~~~~~~~~~~~~~~~~~~ rice.c: In function 'compress_memory_longs': rice.c:3338:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] input_byte_data = (unsigned char *) in; ^ rice.c: At top level: rice.c:3368:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] interleave(in, bytes, bits, out) ^~~~~~~~~~ rice.c: In function 'interleave': rice.c:3382:13: warning: conversion from 'long int' to 'int' may change value [-Wconversion] words = bytes/word_size; ^~~~~ rice.c: At top level: rice.c:3407:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] compress_memory_floats(new_options_mask, new_bits_per_pixel, new_pixels_per_block, new_pixels_per_scanline, in, pixels, out) ^~~~~~~~~~~~~~~~~~~~~~ rice.c: In function 'compress_memory_floats': rice.c:3443:51: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] interleave_array = (unsigned char *) malloc(4 * pixels); ~~^~~~~~~~ rice.c:3450:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] interleave((char *) in, pixels*4, new_bits_per_pixel, (char *) interleave_array); ^ rice.c: At top level: rice.c:3491:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] compress_memory_doubles(new_options_mask, new_bits_per_pixel, new_pixels_per_block, new_pixels_per_scanline, in, pixels, out) ^~~~~~~~~~~~~~~~~~~~~~~ rice.c: In function 'compress_memory_doubles': rice.c:3527:51: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] interleave_array = (unsigned char *) malloc(8 * pixels); ~~^~~~~~~~ rice.c:3534:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] interleave((char *) in, pixels*8, new_bits_per_pixel, (char *) interleave_array); ^ rice.c: In function 'szip_compress_memory': rice.c:3582:5: warning: declaration of 'bits_per_pixel' shadows a global declaration [-Wshadow] int bits_per_pixel; ^~~~~~~~~~~~~~ rice.c:126:12: note: shadowed declaration is here static int bits_per_pixel; ^~~~~~~~~~~~~~ rice.c:3583:5: warning: declaration of 'pixels_per_block' shadows a global declaration [-Wshadow] int pixels_per_block; ^~~~~~~~~~~~~~~~ rice.c:131:12: note: shadowed declaration is here static int pixels_per_block; ^~~~~~~~~~~~~~~~ rice.c:3584:5: warning: declaration of 'pixels_per_scanline' shadows a global declaration [-Wshadow] int pixels_per_scanline; ^~~~~~~~~~~~~~~~~~~ rice.c:132:12: note: shadowed declaration is here static int pixels_per_scanline; ^~~~~~~~~~~~~~~~~~~ rice.c: At top level: rice.c:3776:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] deinterleave(in, bytes, bits, out) ^~~~~~~~~~~~ rice.c: In function 'deinterleave': rice.c:3790:13: warning: conversion from 'long int' to 'int' may change value [-Wconversion] words = bytes/word_size; ^~~~~ rice.c: At top level: rice.c:3804:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] unmap_nn(sigma, pixels) ^~~~~~~~ rice.c: In function 'unmap_nn': rice.c:3822:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = *s++; ^ rice.c:3823:23: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3827:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:3837:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3846:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = *s++; ^ rice.c:3847:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:3848:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3852:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:3862:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:3863:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3870:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = *s++; ^ rice.c:3871:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ --- sz_api.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -D_POSIX_C_SOURCE=1 -pipe -O2 -fno-strict-aliasing -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -MT sz_api.lo -MD -MP -MF .deps/sz_api.Tpo -c sz_api.c -o sz_api.o >/dev/null 2>&1 mv -f .deps/sz_api.Tpo .deps/sz_api.Plo --- rice.lo --- rice.c:3872:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:3876:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:3886:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3887:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:3897:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = *s++; ^ rice.c:3898:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c:3899:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:3900:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:3901:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3905:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:3915:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c:3916:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:3917:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:3918:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3925:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = *s++; ^ rice.c:3926:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3927:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:3928:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:3929:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c:3933:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:3943:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3944:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:3945:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:3946:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c:3957:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = *s++; ^ rice.c:3958:23: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3960:20: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:3970:23: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3974:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:3975:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig2 = *s++; ^ rice.c:3985:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:3996:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4005:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = *s++; ^ rice.c:4006:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4007:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4009:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:4019:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4020:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4024:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:4025:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig2 = *s++; ^ rice.c:4035:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4036:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4047:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4048:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4055:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = *s++; ^ rice.c:4056:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4057:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4059:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:4069:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4070:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4074:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:4075:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig2 = *s++; ^ rice.c:4085:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4086:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4097:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4098:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4108:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = *s++; ^ rice.c:4109:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c:4110:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:4111:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4112:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4114:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:4124:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c:4125:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:4126:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4127:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4131:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:4132:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig2 = *s++; ^ rice.c:4142:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c:4143:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:4144:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4145:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4156:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c:4157:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:4158:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4159:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4166:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] x = *s++; ^ rice.c:4167:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4168:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4169:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:4170:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c:4172:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:4182:27: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4183:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4184:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:4185:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c:4189:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig1 = *s++; ^ rice.c:4190:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] sig2 = *s++; ^ rice.c:4200:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4201:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4202:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:4203:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c:4214:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] *xptr++ = x; ^ rice.c:4215:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 8; ^ rice.c:4216:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 16; ^ rice.c:4217:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *xptr++ = (unsigned) x >> 24; ^ rice.c: At top level: rice.c:4227:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] output_decoded_data(sigma) ^~~~~~~~~~~~~~~~~~~ rice.c: In function 'output_decoded_data': rice.c:4233:14: warning: conversion from 'long int' to 'int' may change value [-Wconversion] pixels = (output_pixel_count < pixels_per_scanline) ? output_pixel_count : pixels_per_scanline; ^ rice.c:4245:27: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i]; ^~~~~ rice.c:4251:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i] >> 8; ^~~~~ rice.c:4252:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i]; ^~~~~ rice.c:4257:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i]; ^~~~~ rice.c:4258:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i] >> 8; ^~~~~ rice.c:4266:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i] >> 24; ^~~~~ rice.c:4267:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i] >> 16; ^~~~~ rice.c:4268:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i] >> 8; ^~~~~ rice.c:4269:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i]; ^~~~~ rice.c:4274:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i]; ^~~~~ rice.c:4275:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i] >> 8; ^~~~~ rice.c:4276:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i] >> 16; ^~~~~ rice.c:4277:31: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] *bptr++ = sigma[i] >> 24; ^~~~~ rice.c: At top level: rice.c:4310:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] rice_decode() ^~~~~~~~~~~ rice.c: In function 'rice_decode': rice.c:4349:21: warning: conversion from 'long int' to 'int' may change value [-Wconversion] n = input_byte_count >= INPUT_BUFFER_SIZE ? INPUT_BUFFER_SIZE : input_byte_count; ^~~~~~~~~~~~~~~~ rice.c:4351:54: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] memcpy(byte_buffer, input_byte_data, n); ^ rice.c:4363:25: warning: conversion from 'long int' to 'int' may change value [-Wconversion] count = input_end - input_ptr; ^~~~~~~~~ rice.c:4364:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memcpy(input_buffer, input_ptr, count*sizeof(short)); ^ rice.c:4371:28: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] *p++ = (*b << 8) | *(b+1); ^ rice.c:4386:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word = *input_ptr++ << 16; ^ rice.c:4401:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] id = data_word >> 29; ^~~~~~~~~ rice.c:4407:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] id = data_word >> 28; ^~~~~~~~~ rice.c:4413:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] id = data_word >> 27; ^~~~~~~~~ rice.c:4420:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ext2_bit = data_word & 0x80000000; ^~~~~~~~~ rice.c:4427:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4445:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4456:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4474:36: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] bits = data_word >> shift; ^~~~~~~~~ rice.c:4479:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4483:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = bits; ^~~~ rice.c:4490:36: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] bits = data_word >> 16; ^~~~~~~~~ rice.c:4493:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4497:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] bits |= data_word >> (32 - extra); ^~ rice.c:4497:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] bits |= data_word >> (32 - extra); ^~~~~~~~~ rice.c:4502:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4506:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = bits; ^~~~ rice.c:4528:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4538:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4542:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = zero_count + big_zero_count; ^~~~~~~~~~ rice.c:4552:36: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] bits = data_word >> shift; ^~~~~~~~~ rice.c:4557:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4561:49: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s = (*s << k_bits) | bits; ^ rice.c:4569:36: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] bits = data_word >> 16; ^~~~~~~~~ rice.c:4572:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4576:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] bits |= data_word >> (32 - extra); ^~ rice.c:4576:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] bits |= data_word >> (32 - extra); ^~~~~~~~~ rice.c:4582:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4586:49: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s = (*s << k_bits) | bits; ^ rice.c:4607:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4617:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4621:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = zero_count + big_zero_count; ^~~~~~~~~~ rice.c:4652:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4662:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4666:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *t++ = zero_count + big_zero_count; ^~~~~~~~~~ rice.c:4670:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] m = *t++; ^ rice.c:4677:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] m = *t++; ^ rice.c:4699:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4709:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4730:41: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] memset(s, 0, (end-s)*sizeof(int)); ^ rice.c:4747:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] id = data_word >> 29; ^~~~~~~~~ rice.c:4753:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] id = data_word >> 28; ^~~~~~~~~ rice.c:4759:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] id = data_word >> 27; ^~~~~~~~~ rice.c:4766:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ext2_bit = data_word & 0x80000000; ^~~~~~~~~ rice.c:4773:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4792:36: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] bits = data_word >> shift; ^~~~~~~~~ rice.c:4797:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4801:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = bits; ^~~~ rice.c:4808:36: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] bits = data_word >> 16; ^~~~~~~~~ rice.c:4811:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4815:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] bits |= data_word >> (32 - extra); ^~ rice.c:4815:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] bits |= data_word >> (32 - extra); ^~~~~~~~~ rice.c:4820:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4824:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = bits; ^~~~ rice.c:4871:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4884:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4897:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4910:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4927:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4937:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4941:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = zero_count + big_zero_count; ^~~~~~~~~~ rice.c:4951:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4961:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4965:36: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = zero_count + big_zero_count; ^~~~~~~~~~ rice.c:4977:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 1) | (data_word >> 30) & 1; ~~~~~~~~~~~~~~~~~~^~~ rice.c:4978:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+2) = (*(s+2) << 1) | (data_word >> 29) & 1; ~~~~~~~~~~~~~~~~~~^~~ rice.c:4979:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+3) = (*(s+3) << 1) | (data_word >> 28) & 1; ~~~~~~~~~~~~~~~~~~^~~ rice.c:4980:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+4) = (*(s+4) << 1) | (data_word >> 27) & 1; ~~~~~~~~~~~~~~~~~~^~~ rice.c:4981:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+5) = (*(s+5) << 1) | (data_word >> 26) & 1; ~~~~~~~~~~~~~~~~~~^~~ rice.c:4982:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+6) = (*(s+6) << 1) | (data_word >> 25) & 1; ~~~~~~~~~~~~~~~~~~^~~ rice.c:4983:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+7) = (*(s+7) << 1) | (data_word >> 24) & 1; ~~~~~~~~~~~~~~~~~~^~~ rice.c:4989:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:4998:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 2) | (data_word >> 30) & 3; ~~~~~~~~~~~~~~~~~~^~~ rice.c:4999:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 2) | (data_word >> 28) & 3; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5000:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+2) = (*(s+2) << 2) | (data_word >> 26) & 3; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5001:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+3) = (*(s+3) << 2) | (data_word >> 24) & 3; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5002:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+4) = (*(s+4) << 2) | (data_word >> 22) & 3; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5003:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+5) = (*(s+5) << 2) | (data_word >> 20) & 3; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5004:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+6) = (*(s+6) << 2) | (data_word >> 18) & 3; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5005:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+7) = (*(s+7) << 2) | (data_word >> 16) & 3; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5009:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5017:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 3) | (data_word >> 29) & 7; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5018:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 3) | (data_word >> 26) & 7; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5019:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+2) = (*(s+2) << 3) | (data_word >> 23) & 7; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5020:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+3) = (*(s+3) << 3) | (data_word >> 20) & 7; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5021:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+4) = (*(s+4) << 3) | (data_word >> 17) & 7; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5027:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5031:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 3) | (data_word >> 29) & 7; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5032:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 3) | (data_word >> 26) & 7; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5033:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+2) = (*(s+2) << 3) | (data_word >> 23) & 7; ~~~~~~~~~~~~~~~~~~^~~ rice.c:5039:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5048:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 4) | (data_word >> 28) & 0xf; ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5049:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 4) | (data_word >> 24) & 0xf; ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5050:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+2) = (*(s+2) << 4) | (data_word >> 20) & 0xf; ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5051:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+3) = (*(s+3) << 4) | (data_word >> 16) & 0xf; ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5055:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5058:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 4) | (data_word >> 28) & 0xf; ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5059:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 4) | (data_word >> 24) & 0xf; ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5060:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+2) = (*(s+2) << 4) | (data_word >> 20) & 0xf; ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5061:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+3) = (*(s+3) << 4) | (data_word >> 16) & 0xf; ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5065:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5073:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 5) | (data_word >> 27) & 0x1f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5074:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 5) | (data_word >> 22) & 0x1f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5075:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+2) = (*(s+2) << 5) | (data_word >> 17) & 0x1f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5081:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5085:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 5) | (data_word >> 27) & 0x1f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5086:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 5) | (data_word >> 22) & 0x1f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5087:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+2) = (*(s+2) << 5) | (data_word >> 17) & 0x1f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5093:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5097:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 5) | (data_word >> 27) & 0x1f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5098:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 5) | (data_word >> 22) & 0x1f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5104:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5113:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5114:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5120:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5124:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5125:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5131:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5135:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5136:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5142:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5146:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5147:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5153:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5162:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5163:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5169:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5173:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5174:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5180:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5184:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5185:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5191:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5195:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5196:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5202:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5211:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5212:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5216:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5219:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5220:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5224:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5227:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5228:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5232:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5235:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5236:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5240:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5255:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5265:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5285:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5295:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5307:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5316:51: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5339:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5349:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5353:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *s++ = zero_count + big_zero_count; ^~~~~~~~~~ rice.c:5384:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5394:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5398:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *t++ = zero_count + big_zero_count; ^~~~~~~~~~ rice.c:5404:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] m = *t++; ^ rice.c:5426:39: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5436:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] data_word |= *input_ptr++ << (16 - data_bits); ^~ rice.c:5464:41: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] memset(s, 0, (end-s)*sizeof(int)); ^ rice.c: In function 'szip_uncompress_memory': rice.c:5518:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] input_byte_data = (unsigned char *) in; ^ rice.c:5530:44: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] interleave_array = (char *) malloc(out_bytes); ^~~~~~~~~ rice.c: In function 'szip_check_params': rice.c:5800:5: warning: declaration of 'bits_per_pixel' shadows a global declaration [-Wshadow] int bits_per_pixel; ^~~~~~~~~~~~~~ rice.c:126:12: note: shadowed declaration is here static int bits_per_pixel; ^~~~~~~~~~~~~~ rice.c:5801:5: warning: declaration of 'pixels_per_block' shadows a global declaration [-Wshadow] int pixels_per_block; ^~~~~~~~~~~~~~~~ rice.c:131:12: note: shadowed declaration is here static int pixels_per_block; ^~~~~~~~~~~~~~~~ rice.c:5802:5: warning: declaration of 'pixels_per_scanline' shadows a global declaration [-Wshadow] int pixels_per_scanline; ^~~~~~~~~~~~~~~~~~~ rice.c:132:12: note: shadowed declaration is here static int pixels_per_scanline; ^~~~~~~~~~~~~~~~~~~ rice.c:5812:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *msg = "bits per pixel must be in range 1..24,32,64"; ^ rice.c:5818:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *msg = "maximum pixels per block exceeded"; ^ rice.c:5824:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *msg = "pixels per block must be even"; ^ rice.c:5830:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *msg = "pixels per block > pixels per scanline"; ^ rice.c:5836:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *msg = "maximum pixels per scanline exceeded"; ^ rice.c:5842:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *msg = "image pixels less than pixels per scanline"; ^ rice.c: In function 'rice_decode': rice.c:5358:20: warning: 'ext2_bit' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ext2_bit) ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -D_POSIX_C_SOURCE=1 -pipe -O2 -fno-strict-aliasing -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -MT rice.lo -MD -MP -MF .deps/rice.Tpo -c rice.c -o rice.o >/dev/null 2>&1 mv -f .deps/rice.Tpo .deps/rice.Plo --- libsz.la --- /bin/sh ../libtool --tag=CC --mode=link cc -pipe -O2 -fno-strict-aliasing -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -version-info 2:0:0 -o libsz.la -rpath /usr/local/lib rice.lo sz_api.lo encoding.lo -lm -lm libtool: link: cc -shared -fPIC -DPIC .libs/rice.o .libs/sz_api.o .libs/encoding.o -lm -O2 -O -Wl,-soname -Wl,libsz.so.2 -o .libs/libsz.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libsz.so.2" && ln -s "libsz.so.2.0.0" "libsz.so.2") libtool: link: (cd ".libs" && rm -f "libsz.so" && ln -s "libsz.so.2.0.0" "libsz.so") libtool: link: ar cru .libs/libsz.a rice.o sz_api.o encoding.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libsz.a libtool: link: ( cd ".libs" && rm -f "libsz.la" && ln -s "../libsz.la" "libsz.la" ) Making all in test -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for hdf-szip-2.1.1 ===> Generating temporary packing list if test -z 'strip'; then /usr/bin/make INSTALL_PROGRAM="/bin/sh /construction/science/szip/szip-2.1.1/bin/install-sh -c -s" install_sh_PROGRAM="/bin/sh /construction/science/szip/szip-2.1.1/bin/install-sh -c -s" INSTALL_STRIP_FLAG=-s install; else /usr/bin/make INSTALL_PROGRAM="/bin/sh /construction/science/szip/szip-2.1.1/bin/install-sh -c -s" install_sh_PROGRAM="/bin/sh /construction/science/szip/szip-2.1.1/bin/install-sh -c -s" INSTALL_STRIP_FLAG=-s "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; fi Making install in src /bin/mkdir -p '/construction/science/szip/stage/usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c -s libsz.la '/construction/science/szip/stage/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libsz.so.2.0.0 /construction/science/szip/stage/usr/local/lib/libsz.so.2.0.0 libtool: install: strip --strip-unneeded /construction/science/szip/stage/usr/local/lib/libsz.so.2.0.0 libtool: install: (cd /construction/science/szip/stage/usr/local/lib && { ln -s -f libsz.so.2.0.0 libsz.so.2 || { rm -f libsz.so.2 && ln -s libsz.so.2.0.0 libsz.so.2; }; }) libtool: install: (cd /construction/science/szip/stage/usr/local/lib && { ln -s -f libsz.so.2.0.0 libsz.so || { rm -f libsz.so && ln -s libsz.so.2.0.0 libsz.so; }; }) libtool: install: /usr/bin/install -c .libs/libsz.lai /construction/science/szip/stage/usr/local/lib/libsz.la libtool: install: /usr/bin/install -c .libs/libsz.a /construction/science/szip/stage/usr/local/lib/libsz.a libtool: install: strip --strip-debug /construction/science/szip/stage/usr/local/lib/libsz.a libtool: install: chmod 644 /construction/science/szip/stage/usr/local/lib/libsz.a libtool: install: ranlib /construction/science/szip/stage/usr/local/lib/libsz.a libtool: warning: remember to run 'libtool --finish /usr/local/lib' /bin/mkdir -p '/construction/science/szip/stage/usr/local/include' install -m 0644 ricehdf.h szip_adpt.h szlib.h '/construction/science/szip/stage/usr/local/include' Making install in test ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for hdf-szip-2.1.1 file sizes/checksums [10]: . done packing files [10]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Tuesday, 5 MAR 2019 at 01:36:15 UTC Duration: 00:00:19