====>> Building graphics/libmng build started at Thu Sep 1 23:01:03 BST 2016 port directory: /usr/ports/graphics/libmng building for: FreeBSD 102amd64-system-job-01 10.2-RELEASE-p8 FreeBSD 10.2-RELEASE-p8 amd64 maintained by: mi@aldan.algebra.com Makefile ident: $FreeBSD: head/graphics/libmng/Makefile 412346 2016-04-01 14:00:51Z mat $ Poudriere version: 3.1.14 Host OSVERSION: 1100122 Jail OSVERSION: 1002000 ---Begin Environment--- SHELL=/bin/csh UNAME_v=FreeBSD 10.2-RELEASE-p8 UNAME_r=10.2-RELEASE-p8 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 OPSYS=FreeBSD ARCH=amd64 SAVED_TERM=xterm MASTERMNT=/space/poudriere/poudriere_data/.m/102amd64-system/ref UID=0 FORCE_PACKAGE=yes PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin _JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+ POUDRIERE_BUILD_TYPE=bulk PKGNAME=libmng-1.0.10_2 OSREL=10.2 _OSRELEASE=10.2-RELEASE-p8 PYTHONBASE=/usr/local OLDPWD=/ _SMP_CPUS=4 PWD=/space/poudriere/poudriere_data/.m/102amd64-system/ref/.p/pool HAVE_COMPAT_IA32_KERN=YES LINUX_OSRELEASE=2.6.32 MASTERNAME=102amd64-system SCRIPTPREFIX=/usr/local/share/poudriere _JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun USER=root HOME=/root POUDRIERE_VERSION=3.1.14 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh CONFIGURE_MAX_CMD_LEN=262144 LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes _JAVA_OS_LIST_REGEXP=native\|linux OSVERSION=1002000 ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for libmng-1.0.10_2: MNG_OPTIMIZE=off: Use vendor's new optimization flags ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/libmng/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/libmng/work HOME=/wrkdirs/usr/ports/graphics/libmng/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/libmng/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/libmng/work HOME=/wrkdirs/usr/ports/graphics/libmng/work TMPDIR="/tmp" NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=10.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/libmng" EXAMPLESDIR="share/examples/libmng" DATADIR="share/libmng" WWWDIR="www/libmng" ETCDIR="etc/libmng" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libmng DOCSDIR=/usr/local/share/doc/libmng EXAMPLESDIR=/usr/local/share/examples/libmng WWWDIR=/usr/local/www/libmng ETCDIR=/usr/local/etc/libmng --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/102amd64-make.conf #### WITH_NEW_XORG=yes ENABLE_SUIDPERL=yes JADETEX=yes LIGHTTPD=yes OPTIONS_SET=APACHE PGSQL SWAT PDO_PGSQL CUPS SASL OPTIONS_UNSET=MYSQL MPDDIR=/space/music DISABLE_MAKE_JOBS=poudriere ---End make.conf--- =================================================== /!\ WARNING /!\ WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect =========================================================================== =================================================== ===> libmng-1.0.10_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_1.txz [102amd64-system-job-01] Installing pkg-1.8.7_1... [102amd64-system-job-01] Extracting pkg-1.8.7_1: .......... done ===> libmng-1.0.10_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of libmng-1.0.10_2 =========================================================================== =================================================== =========================================================================== =================================================== /!\ WARNING /!\ WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect => libmng-1.0.10.tar.gz doesn't seem to exist in /portdistfiles/. => Attempting to fetch http://downloads.sourceforge.net/project/libmng/libmng-devel/1.0.10/libmng-1.0.10.tar.gz libmng-1.0.10.tar.gz 0 B 0 Bps ===> Fetching all distfiles required by libmng-1.0.10_2 for building =========================================================================== =================================================== /!\ WARNING /!\ WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect ===> Fetching all distfiles required by libmng-1.0.10_2 for building => SHA256 Checksum OK for libmng-1.0.10.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== /!\ WARNING /!\ WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect ===> Fetching all distfiles required by libmng-1.0.10_2 for building ===> Extracting for libmng-1.0.10_2 => SHA256 Checksum OK for libmng-1.0.10.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for libmng-1.0.10_2 ===> Applying FreeBSD patches for libmng-1.0.10_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> libmng-1.0.10_2 depends on shared library: liblcms.so - not found ===> Installing existing package /packages/All/lcms-1.19_6,1.txz [102amd64-system-job-01] Installing lcms-1.19_6,1... [102amd64-system-job-01] `-- Installing jpeg-turbo-1.4.2... [102amd64-system-job-01] `-- Extracting jpeg-turbo-1.4.2: .......... done [102amd64-system-job-01] `-- Installing tiff-4.0.6_2... [102amd64-system-job-01] | `-- Installing jbigkit-2.1_1... [102amd64-system-job-01] | `-- Extracting jbigkit-2.1_1: .......... done [102amd64-system-job-01] `-- Extracting tiff-4.0.6_2: .......... done [102amd64-system-job-01] Extracting lcms-1.19_6,1: .......... done ===> libmng-1.0.10_2 depends on shared library: liblcms.so - found (/usr/local/lib/liblcms.so) ===> Returning to build of libmng-1.0.10_2 ===> libmng-1.0.10_2 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) =========================================================================== =================================================== ===> Configuring for libmng-1.0.10_2 =========================================================================== =================================================== ===> Building for libmng-1.0.10_2 Warning: Object directory not changed from original /wrkdirs/usr/ports/graphics/libmng/work/libmng-1.0.10 cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_callback_xs.c -o libmng_callback_xs.o In file included from libmng_callback_xs.c:62: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_chunk_io.c -o libmng_chunk_io.o In file included from libmng_chunk_io.c:243: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_chunk_descr.c -o libmng_chunk_descr.o In file included from libmng_chunk_descr.c:37: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_chunk_prc.c -o libmng_chunk_prc.o In file included from libmng_chunk_prc.c:78: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_chunk_xs.c -o libmng_chunk_xs.o In file included from libmng_chunk_xs.c:96: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_cms.c -o libmng_cms.o In file included from libmng_cms.c:75: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_display.c -o libmng_display.o In file included from libmng_display.c:240: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_dither.c -o libmng_dither.o In file included from libmng_dither.c:30: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_error.c -o libmng_error.o In file included from libmng_error.c:88: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_filter.c -o libmng_filter.o In file included from libmng_filter.c:40: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_hlapi.c -o libmng_hlapi.o In file included from libmng_hlapi.c:201: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_jpeg.c -o libmng_jpeg.o In file included from libmng_jpeg.c:58: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_object_prc.c -o libmng_object_prc.o In file included from libmng_object_prc.c:152: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_pixels.c -o libmng_pixels.o In file included from libmng_pixels.c:196: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ libmng_pixels.c:14670:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:14670:36: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:14670:36: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:14788:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:14788:36: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:14788:36: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:14909:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] iB = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:14909:36: note: use '&' for a bitwise operation iB = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:14909:36: note: remove constant to silence this warning iB = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:15043:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] iB = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:15043:36: note: use '&' for a bitwise operation iB = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:15043:36: note: remove constant to silence this warning iB = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:15127:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:15127:36: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:15127:36: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:15129:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iA && 0xFF); ^ ~~~~ libmng_pixels.c:15129:36: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iA && 0xFF); ^~ & libmng_pixels.c:15129:36: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iA && 0xFF); ~^~~~~~~ libmng_pixels.c:15211:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] iB = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:15211:36: note: use '&' for a bitwise operation iB = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:15211:36: note: remove constant to silence this warning iB = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:15216:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^ ~~~~ libmng_pixels.c:15216:36: note: use '&' for a bitwise operation *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^~ & libmng_pixels.c:15216:36: note: remove constant to silence this warning *(pDstline+7) = (mng_uint8)(iA && 0xFF); ~^~~~~~~ libmng_pixels.c:15298:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^ ~~~~ libmng_pixels.c:15298:36: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^~ & libmng_pixels.c:15298:36: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iR && 0xFF); ~^~~~~~~ libmng_pixels.c:15300:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^ ~~~~ libmng_pixels.c:15300:36: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^~ & libmng_pixels.c:15300:36: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iG && 0xFF); ~^~~~~~~ libmng_pixels.c:15302:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^ ~~~~ libmng_pixels.c:15302:36: note: use '&' for a bitwise operation *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^~ & libmng_pixels.c:15302:36: note: remove constant to silence this warning *(pDstline+5) = (mng_uint8)(iB && 0xFF); ~^~~~~~~ libmng_pixels.c:15403:37: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iRw && 0xFF); ^ ~~~~ libmng_pixels.c:15403:37: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iRw && 0xFF); ^~ & libmng_pixels.c:15403:37: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iRw && 0xFF); ~^~~~~~~ libmng_pixels.c:15405:37: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iGw && 0xFF); ^ ~~~~ libmng_pixels.c:15405:37: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iGw && 0xFF); ^~ & libmng_pixels.c:15405:37: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iGw && 0xFF); ~^~~~~~~ libmng_pixels.c:15407:37: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+5) = (mng_uint8)(iBw && 0xFF); ^ ~~~~ libmng_pixels.c:15407:37: note: use '&' for a bitwise operation *(pDstline+5) = (mng_uint8)(iBw && 0xFF); ^~ & libmng_pixels.c:15407:37: note: remove constant to silence this warning *(pDstline+5) = (mng_uint8)(iBw && 0xFF); ~^~~~~~~ libmng_pixels.c:15540:40: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^ ~~~~ libmng_pixels.c:15540:40: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^~ & libmng_pixels.c:15540:40: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iR && 0xFF); ~^~~~~~~ libmng_pixels.c:15542:40: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^ ~~~~ libmng_pixels.c:15542:40: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^~ & libmng_pixels.c:15542:40: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iG && 0xFF); ~^~~~~~~ libmng_pixels.c:15544:40: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^ ~~~~ libmng_pixels.c:15544:40: note: use '&' for a bitwise operation *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^~ & libmng_pixels.c:15544:40: note: remove constant to silence this warning *(pDstline+5) = (mng_uint8)(iB && 0xFF); ~^~~~~~~ libmng_pixels.c:15643:38: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^ ~~~~ libmng_pixels.c:15643:38: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^~ & libmng_pixels.c:15643:38: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iR && 0xFF); ~^~~~~~~ libmng_pixels.c:15645:38: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^ ~~~~ libmng_pixels.c:15645:38: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^~ & libmng_pixels.c:15645:38: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iG && 0xFF); ~^~~~~~~ libmng_pixels.c:15647:38: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^ ~~~~ libmng_pixels.c:15647:38: note: use '&' for a bitwise operation *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^~ & libmng_pixels.c:15647:38: note: remove constant to silence this warning *(pDstline+5) = (mng_uint8)(iB && 0xFF); ~^~~~~~~ libmng_pixels.c:15649:38: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^ ~~~~ libmng_pixels.c:15649:38: note: use '&' for a bitwise operation *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^~ & libmng_pixels.c:15649:38: note: remove constant to silence this warning *(pDstline+7) = (mng_uint8)(iA && 0xFF); ~^~~~~~~ libmng_pixels.c:15691:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^ ~~~~ libmng_pixels.c:15691:36: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^~ & libmng_pixels.c:15691:36: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iR && 0xFF); ~^~~~~~~ libmng_pixels.c:15693:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^ ~~~~ libmng_pixels.c:15693:36: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^~ & libmng_pixels.c:15693:36: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iG && 0xFF); ~^~~~~~~ libmng_pixels.c:15695:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^ ~~~~ libmng_pixels.c:15695:36: note: use '&' for a bitwise operation *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^~ & libmng_pixels.c:15695:36: note: remove constant to silence this warning *(pDstline+5) = (mng_uint8)(iB && 0xFF); ~^~~~~~~ libmng_pixels.c:15697:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^ ~~~~ libmng_pixels.c:15697:36: note: use '&' for a bitwise operation *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^~ & libmng_pixels.c:15697:36: note: remove constant to silence this warning *(pDstline+7) = (mng_uint8)(iA && 0xFF); ~^~~~~~~ 26 warnings generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_prop_xs.c -o libmng_prop_xs.o In file included from libmng_prop_xs.c:119: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_read.c -o libmng_read.o In file included from libmng_read.c:113: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_trace.c -o libmng_trace.o In file included from libmng_trace.c:157: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_write.c -o libmng_write.o In file included from libmng_write.c:46: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_zlib.c -o libmng_zlib.o In file included from libmng_zlib.c:55: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. building static mng library ranlib -D libmng.a cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_callback_xs.c -o libmng_callback_xs.So In file included from libmng_callback_xs.c:62: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_chunk_io.c -o libmng_chunk_io.So In file included from libmng_chunk_io.c:243: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_chunk_descr.c -o libmng_chunk_descr.So In file included from libmng_chunk_descr.c:37: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_chunk_prc.c -o libmng_chunk_prc.So In file included from libmng_chunk_prc.c:78: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_chunk_xs.c -o libmng_chunk_xs.So In file included from libmng_chunk_xs.c:96: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_cms.c -o libmng_cms.So In file included from libmng_cms.c:75: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_display.c -o libmng_display.So In file included from libmng_display.c:240: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_dither.c -o libmng_dither.So In file included from libmng_dither.c:30: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_error.c -o libmng_error.So In file included from libmng_error.c:88: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_filter.c -o libmng_filter.So In file included from libmng_filter.c:40: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_hlapi.c -o libmng_hlapi.So In file included from libmng_hlapi.c:201: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_jpeg.c -o libmng_jpeg.So In file included from libmng_jpeg.c:58: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_object_prc.c -o libmng_object_prc.So In file included from libmng_object_prc.c:152: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_pixels.c -o libmng_pixels.So In file included from libmng_pixels.c:196: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ libmng_pixels.c:14670:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:14670:36: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:14670:36: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:14788:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:14788:36: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:14788:36: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:14909:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] iB = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:14909:36: note: use '&' for a bitwise operation iB = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:14909:36: note: remove constant to silence this warning iB = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:15043:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] iB = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:15043:36: note: use '&' for a bitwise operation iB = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:15043:36: note: remove constant to silence this warning iB = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:15127:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:15127:36: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:15127:36: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:15129:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iA && 0xFF); ^ ~~~~ libmng_pixels.c:15129:36: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iA && 0xFF); ^~ & libmng_pixels.c:15129:36: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iA && 0xFF); ~^~~~~~~ libmng_pixels.c:15211:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] iB = (mng_uint8)(iW && 0xFF); ^ ~~~~ libmng_pixels.c:15211:36: note: use '&' for a bitwise operation iB = (mng_uint8)(iW && 0xFF); ^~ & libmng_pixels.c:15211:36: note: remove constant to silence this warning iB = (mng_uint8)(iW && 0xFF); ~^~~~~~~ libmng_pixels.c:15216:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^ ~~~~ libmng_pixels.c:15216:36: note: use '&' for a bitwise operation *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^~ & libmng_pixels.c:15216:36: note: remove constant to silence this warning *(pDstline+7) = (mng_uint8)(iA && 0xFF); ~^~~~~~~ libmng_pixels.c:15298:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^ ~~~~ libmng_pixels.c:15298:36: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^~ & libmng_pixels.c:15298:36: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iR && 0xFF); ~^~~~~~~ libmng_pixels.c:15300:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^ ~~~~ libmng_pixels.c:15300:36: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^~ & libmng_pixels.c:15300:36: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iG && 0xFF); ~^~~~~~~ libmng_pixels.c:15302:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^ ~~~~ libmng_pixels.c:15302:36: note: use '&' for a bitwise operation *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^~ & libmng_pixels.c:15302:36: note: remove constant to silence this warning *(pDstline+5) = (mng_uint8)(iB && 0xFF); ~^~~~~~~ libmng_pixels.c:15403:37: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iRw && 0xFF); ^ ~~~~ libmng_pixels.c:15403:37: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iRw && 0xFF); ^~ & libmng_pixels.c:15403:37: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iRw && 0xFF); ~^~~~~~~ libmng_pixels.c:15405:37: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iGw && 0xFF); ^ ~~~~ libmng_pixels.c:15405:37: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iGw && 0xFF); ^~ & libmng_pixels.c:15405:37: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iGw && 0xFF); ~^~~~~~~ libmng_pixels.c:15407:37: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+5) = (mng_uint8)(iBw && 0xFF); ^ ~~~~ libmng_pixels.c:15407:37: note: use '&' for a bitwise operation *(pDstline+5) = (mng_uint8)(iBw && 0xFF); ^~ & libmng_pixels.c:15407:37: note: remove constant to silence this warning *(pDstline+5) = (mng_uint8)(iBw && 0xFF); ~^~~~~~~ libmng_pixels.c:15540:40: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^ ~~~~ libmng_pixels.c:15540:40: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^~ & libmng_pixels.c:15540:40: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iR && 0xFF); ~^~~~~~~ libmng_pixels.c:15542:40: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^ ~~~~ libmng_pixels.c:15542:40: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^~ & libmng_pixels.c:15542:40: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iG && 0xFF); ~^~~~~~~ libmng_pixels.c:15544:40: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^ ~~~~ libmng_pixels.c:15544:40: note: use '&' for a bitwise operation *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^~ & libmng_pixels.c:15544:40: note: remove constant to silence this warning *(pDstline+5) = (mng_uint8)(iB && 0xFF); ~^~~~~~~ libmng_pixels.c:15643:38: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^ ~~~~ libmng_pixels.c:15643:38: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^~ & libmng_pixels.c:15643:38: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iR && 0xFF); ~^~~~~~~ libmng_pixels.c:15645:38: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^ ~~~~ libmng_pixels.c:15645:38: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^~ & libmng_pixels.c:15645:38: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iG && 0xFF); ~^~~~~~~ libmng_pixels.c:15647:38: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^ ~~~~ libmng_pixels.c:15647:38: note: use '&' for a bitwise operation *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^~ & libmng_pixels.c:15647:38: note: remove constant to silence this warning *(pDstline+5) = (mng_uint8)(iB && 0xFF); ~^~~~~~~ libmng_pixels.c:15649:38: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^ ~~~~ libmng_pixels.c:15649:38: note: use '&' for a bitwise operation *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^~ & libmng_pixels.c:15649:38: note: remove constant to silence this warning *(pDstline+7) = (mng_uint8)(iA && 0xFF); ~^~~~~~~ libmng_pixels.c:15691:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^ ~~~~ libmng_pixels.c:15691:36: note: use '&' for a bitwise operation *(pDstline+1) = (mng_uint8)(iR && 0xFF); ^~ & libmng_pixels.c:15691:36: note: remove constant to silence this warning *(pDstline+1) = (mng_uint8)(iR && 0xFF); ~^~~~~~~ libmng_pixels.c:15693:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^ ~~~~ libmng_pixels.c:15693:36: note: use '&' for a bitwise operation *(pDstline+3) = (mng_uint8)(iG && 0xFF); ^~ & libmng_pixels.c:15693:36: note: remove constant to silence this warning *(pDstline+3) = (mng_uint8)(iG && 0xFF); ~^~~~~~~ libmng_pixels.c:15695:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^ ~~~~ libmng_pixels.c:15695:36: note: use '&' for a bitwise operation *(pDstline+5) = (mng_uint8)(iB && 0xFF); ^~ & libmng_pixels.c:15695:36: note: remove constant to silence this warning *(pDstline+5) = (mng_uint8)(iB && 0xFF); ~^~~~~~~ libmng_pixels.c:15697:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^ ~~~~ libmng_pixels.c:15697:36: note: use '&' for a bitwise operation *(pDstline+7) = (mng_uint8)(iA && 0xFF); ^~ & libmng_pixels.c:15697:36: note: remove constant to silence this warning *(pDstline+7) = (mng_uint8)(iA && 0xFF); ~^~~~~~~ 26 warnings generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_prop_xs.c -o libmng_prop_xs.So In file included from libmng_prop_xs.c:119: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_read.c -o libmng_read.So In file included from libmng_read.c:113: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_trace.c -o libmng_trace.So In file included from libmng_trace.c:157: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_write.c -o libmng_write.So In file included from libmng_write.c:46: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. cc -fpic -DPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c libmng_zlib.c -o libmng_zlib.So In file included from libmng_zlib.c:55: In file included from ./libmng.h:385: In file included from ./libmng_types.h:181: /usr/local/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ 1 warning generated. building shared library libmng.so.1 cc -fstack-protector -fstack-protector -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libmng.so.1 -Wl,-soname,libmng.so.1 `NM='nm' lorder libmng_callback_xs.So libmng_chunk_io.So libmng_chunk_descr.So libmng_chunk_prc.So libmng_chunk_xs.So libmng_cms.So libmng_display.So libmng_dither.So libmng_error.So libmng_filter.So libmng_hlapi.So libmng_jpeg.So libmng_object_prc.So libmng_pixels.So libmng_prop_xs.So libmng_read.So libmng_trace.So libmng_write.So libmng_zlib.So | tsort -q` -lm -L/usr/local/lib -lz -llcms -ljpeg =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for libmng-1.0.10_2 ===> Generating temporary packing list install -C -o root -g wheel -m 444 libmng.a /wrkdirs/usr/ports/graphics/libmng/work/stage/usr/local/lib install -s -o root -g wheel -m 444 libmng.so.1 /wrkdirs/usr/ports/graphics/libmng/work/stage/usr/local/lib install -l s libmng.so.1 /wrkdirs/usr/ports/graphics/libmng/work/stage/usr/local/lib/libmng.so install -C -o root -g wheel -m 444 libmng.h libmng_conf.h libmng_types.h /wrkdirs/usr/ports/graphics/libmng/work/stage/usr/local/include cd /wrkdirs/usr/ports/graphics/libmng/work/libmng-1.0.10/doc/man && install -m 444 libmng.3 /wrkdirs/usr/ports/graphics/libmng/work/stage/usr/local/man/man3 && install -m 444 mng.5 jng.5 /wrkdirs/usr/ports/graphics/libmng/work/stage/usr/local/man/man5 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for libmng-1.0.10_2 =========================================================================== ====>> Cleaning up wrkdir ===> Cleaning for libmng-1.0.10_2 build of graphics/libmng ended at Thu Sep 1 23:02:01 BST 2016 build time: 00:00:58