=> Building emulators/adamem build started at Tue Oct 4 18:55:51 PDT 2016 port directory: /usr/ports/emulators/adamem building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ports@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../08//usr/ports/emulators/adamem/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=adamem-1.0_4 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for adamem-1.0_4: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/emulators/adamem XDG_CONFIG_HOME=/wrkdirs/emulators/adamem HOME=/wrkdirs/emulators/adamem TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/emulators/adamem XDG_CONFIG_HOME=/wrkdirs/emulators/adamem HOME=/wrkdirs/emulators/adamem TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -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=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/adamem" EXAMPLESDIR="share/examples/adamem" DATADIR="share/adamem" WWWDIR="www/adamem" ETCDIR="etc/adamem" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/adamem DOCSDIR=/usr/local/share/doc/adamem EXAMPLESDIR=/usr/local/share/examples/adamem WWWDIR=/usr/local/www/adamem ETCDIR=/usr/local/etc/adamem --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> NOTICE: The adamem port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port =========================================================================== =================================================== ===> adamem-1.0_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> adamem-1.0_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of adamem-1.0_4 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The adamem port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by adamem-1.0_4 for building =========================================================================== =================================================== ===> NOTICE: The adamem port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by adamem-1.0_4 for building => SHA256 Checksum OK for adamem.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The adamem port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by adamem-1.0_4 for building ===> Extracting for adamem-1.0_4 => SHA256 Checksum OK for adamem.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for adamem-1.0_4 ===> Applying ports patches for adamem-1.0_4 =========================================================================== =================================================== ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - not found ===> Installing existing package /packages/All/libSM-1.2.2_3,1.txz Installing libSM-1.2.2_3,1... `-- Installing xproto-7.0.28... `-- Extracting xproto-7.0.28: .......... done `-- Installing libICE-1.0.9_1,1... `-- Extracting libICE-1.0.9_1,1: .......... done Extracting libSM-1.2.2_3,1: .......... done ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> Returning to build of adamem-1.0_4 ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.6.3,1.txz Installing libX11-1.6.3,1... `-- Installing kbproto-1.0.7... `-- Extracting kbproto-1.0.7: .......... done `-- Installing libXdmcp-1.1.2... `-- Extracting libXdmcp-1.1.2: ......... done `-- Installing libxcb-1.11.1... | `-- Installing libxml2-2.9.4... | `-- Extracting libxml2-2.9.4: .......... done | `-- Installing libpthread-stubs-0.3_6... | `-- Extracting libpthread-stubs-0.3_6: ..... done | `-- Installing libXau-1.0.8_3... | `-- Extracting libXau-1.0.8_3: .......... done `-- Extracting libxcb-1.11.1: .......... done Extracting libX11-1.6.3,1: .......... done ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of adamem-1.0_4 ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xau.pc - found ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.3_1,1.txz Installing libXext-1.3.3_1,1... `-- Installing xextproto-7.3.0... `-- Extracting xextproto-7.3.0: .......... done Extracting libXext-1.3.3_1,1: .......... done ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of adamem-1.0_4 ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - not found ===> Installing existing package /packages/All/libXfixes-5.0.1_3.txz Installing libXfixes-5.0.1_3... `-- Installing fixesproto-5.0... `-- Extracting fixesproto-5.0: .... done Extracting libXfixes-5.0.1_3: .......... done ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found ===> Returning to build of adamem-1.0_4 ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xi.pc - not found ===> Installing existing package /packages/All/libXi-1.7.6,1.txz Installing libXi-1.7.6,1... `-- Installing inputproto-2.3.1... `-- Extracting inputproto-2.3.1: ..... done Extracting libXi-1.7.6,1: .......... done ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> Returning to build of adamem-1.0_4 ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - not found ===> Installing existing package /packages/All/libXrandr-1.5.0.txz Installing libXrandr-1.5.0... `-- Installing libXrender-0.9.9... | `-- Installing renderproto-0.11.1... | `-- Extracting renderproto-0.11.1: .... done `-- Extracting libXrender-0.9.9: .......... done `-- Installing randrproto-1.5.0... `-- Extracting randrproto-1.5.0: .... done Extracting libXrandr-1.5.0: .......... done ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found ===> Returning to build of adamem-1.0_4 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for adamem-1.0_4 =========================================================================== =================================================== ===> Building for adamem-1.0_4 --- x --- make -f Makefile.X --- ADAMEm.o --- --- Coleco.o --- --- Z80.o --- --- DSP.o --- --- Sound.o --- --- ADAMEm.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c ADAMEm.c --- Coleco.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c Coleco.c --- Sound.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c Sound.c --- Z80.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c Z80.c --- DSP.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c DSP.c --- Coleco.o --- Coleco.c: In function 'CheckGZ': Coleco.c:870:3: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f=gzopen (filename,"rb"); ^ Coleco.c:875:12: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] gzclose (f); ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ Coleco.c:878:19: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] while ((a=gzread(f,buf,sizeof(buf)))!=0) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:880:11: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] gzclose (f); ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ Coleco.c: In function 'GZ_Copy': Coleco.c:900:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f2=gzopen (filename,"wb"); ^ Coleco.c:904:12: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] gzwrite (f2,buf,a); ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:905:11: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] gzclose (f2); ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ --- DSP.o --- In file included from DSP.c:24:0: Mixer.h: In function 'voiceon': Mixer.h:198:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] writepipe (VOICEON,channel,(int)start,(int)loopstart,(int)loopend,looped,0); ^ Mixer.h:198:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] writepipe (VOICEON,channel,(int)start,(int)loopstart,(int)loopend,looped,0); ^ Mixer.h:198:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] writepipe (VOICEON,channel,(int)start,(int)loopstart,(int)loopend,looped,0); ^ Mixer.h: In function '_mix_some_samples': Mixer.h:298:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (currlen>=saminfo->len) ^ Mixer.h:322:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (currlen>=saminfo->len) ^ Mixer.h:353:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (currlen>=saminfo->len) ^ Mixer.h:378:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (currlen>=saminfo->len) ^ --- Coleco.o --- Coleco.c: In function 'GetSnapshotParams': Coleco.c:1126:21: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,16,f)!=16) return -1; /* Read error */ ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ --- DSP.o --- Mixer.h:277:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (saminfo->playing) ^ --- Coleco.o --- Coleco.c:1128:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(buf,"ADAMEm snapshot")) return -2; /* Not a snapshot file */ ^ In file included from Coleco.c:16:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'byte * {aka unsigned char *}' int strcmp(const char *, const char *) __pure; ^ Coleco.c:1129:20: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,2,f)!=2) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1132:20: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,1,f)!=1) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1134:20: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,1,f)!=1) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1136:28: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(_CartName,1,256,f)!=256) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1145:32: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(_DiskName[i],1,256,f)!=256) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1154:32: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(_TapeName[i],1,256,f)!=256) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ --- DSP.o --- Mixer.h: In function 'readpipe': Mixer.h:522:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] _voiceon (pipebuf[1],(const short*)pipebuf[2],(const short*)pipebuf[3], ^ Mixer.h:522:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] _voiceon (pipebuf[1],(const short*)pipebuf[2],(const short*)pipebuf[3], ^ --- Coleco.o --- Coleco.c: In function 'GetSnapshotData': --- DSP.o --- Mixer.h:523:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (const short*)pipebuf[4],pipebuf[5]); ^ --- Coleco.o --- Coleco.c:1174:21: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,31,f)!=31) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1192:20: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,4,f)!=4) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1196:21: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,36,f)!=36) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1212:21: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,14,f)!=14) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1219:21: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,17,f)!=17) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1225:20: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,1,f)!=1) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1227:20: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,4,f)!=4) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1229:20: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,3,f)!=3) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1232:29: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(VDP.VRAM,1,16384,f)!=16384) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1233:26: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(RAM,1,RAMSize,f)!=RAMSize) return -1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c: In function '_SaveSnapshotFile': Coleco.c:1245:40: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite("ADAMEm snapshot\032",1,16,f)!=16) ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1248:21: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,2,f)!=2) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: --- Sound.o --- Sound.c: In function 'LoadSamples': Sound.c:227:3: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f=fopen (szSoundFileName,"rb"); ^ Sound.c:230:51: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread (sample_params,1,sizeof(sample_params),f)!=sizeof(sample_params)) ^ Sound.c:24:31: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Sound.c:21:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Sound.c:244:53: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread (sample_ptr[i],1,sample_params[i].len*2,f)!=sample_params[i].len*2) --- Coleco.o --- /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1250:21: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,1,f)!=1) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1252:21: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,1,f)!=1) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' --- Sound.o --- ^ Sound.c:24:31: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Sound.c:21:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Sound.c:251:10: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] fclose (f); ^ In file included from Sound.c:21:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ --- Coleco.o --- #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1254:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] if (CartName) strcpy (buf,CartName); ^ In file included from Coleco.c:16:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'byte * {aka unsigned char *}' char *strcpy(char * __restrict, const char * __restrict); ^ Coleco.c:1255:23: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,256,f)!=256) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1259:28: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] if (DiskName[i]) strcpy (buf,DiskName[i]); ^ In file included from Coleco.c:16:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'byte * {aka unsigned char *}' char *strcpy(char * __restrict, const char * __restrict); ^ Coleco.c:1260:24: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,256,f)!=256) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1265:28: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] if (TapeName[i]) strcpy (buf,TapeName[i]); ^ In file included from Coleco.c:16:0: /usr/include/string.h:90:7: note: expected 'char * restrict' but argument is of type 'byte * {aka unsigned char *}' char *strcpy(char * __restrict, const char * __restrict); ^ Coleco.c:1266:24: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,256,f)!=256) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1285:22: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,31,f)!=31) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1291:21: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,4,f)!=4) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1308:22: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,36,f)!=36) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1316:22: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,14,f)!=14) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1323:22: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,17,f)!=17) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1325:21: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,1,f)!=1) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1330:21: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,4,f)!=4) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1334:21: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(buf,1,3,f)!=3) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1335:30: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(VDP.VRAM,1,16384,f)!=16384) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c:1336:27: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] if (fwrite(RAM,1,RAMSize,f)!=RAMSize) return -2; ^ Coleco.c:1115:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ Coleco.c: In function 'SaveSnapshotFile': Coleco.c:1344:3: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f=fopen (filename,"wb"); ^ Coleco.c:1347:10: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] fclose (f); ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ Coleco.c: In function 'StartColeco': Coleco.c:1387:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f_snap=fopen (SnapshotName,"rb"); ^ Coleco.c:1398:13: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] fclose (f_snap); ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ Coleco.c:1471:3: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f=fopen(OS7File,"rb"); ^ Coleco.c:1474:26: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(OS7,1,0x2000,f)==0x2000) j=1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1475:11: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] fclose (f); ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ Coleco.c:1486:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f=fopen(CartName,"rb"); ^ Coleco.c:1489:26: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] j=fread(CART,1,0x8000,f); ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1493:10: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] fclose(f); ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ Coleco.c:1496:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Verbose) ^ Coleco.c:1514:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f=fopen(EOSFile,"rb"); ^ Coleco.c:1517:26: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if(fread(EOS,1,0x2000,f)==0x2000) j=1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1518:12: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] fclose (f); ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ Coleco.c:1524:4: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f=fopen(WPFile,"rb"); ^ Coleco.c:1527:26: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(WP,1,0x8000,f)==0x8000) j=1; ^ Coleco.c:1114:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ Coleco.c:1528:11: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] fclose(f); ^ In file included from Coleco.c:20:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ Coleco.c: In function 'UpdateTape': Coleco.c:2091:16: warning: variable 'nodeshift' set but not used [-Wunused-but-set-variable] int block,i,j,nodeshift; ^ --- ADAMEm.o --- ADAMEm.c: In function 'LoadConfigFile': ADAMEm.c:589:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] _argv[_argc++]=ptr; ^ ADAMEm.c: In function 'FixFileNames': ADAMEm.c:630:34: warning: statement with no effect [-Wunused-value] q=strchr(CartName,'/'); if (!q) strchr(CartName,'\\'); ^ ADAMEm.c: In function 'main': ADAMEm.c:742:33: warning: pointer targets in passing argument 2 of 'LoadConfigFile' differ in signedness [-Wpointer-sign] LoadConfigFile (szTempFileName,MainConfigFile); ^ ADAMEm.c:575:13: note: expected 'unsigned char *' but argument is of type 'char *' static void LoadConfigFile (char *szFileName,unsigned char *ptr) ^ ADAMEm.c:758:33: warning: pointer targets in passing argument 2 of 'LoadConfigFile' differ in signedness [-Wpointer-sign] LoadConfigFile (szTempFileName,SubConfigFile); ^ ADAMEm.c:575:13: note: expected 'unsigned char *' but argument is of type 'char *' static void LoadConfigFile (char *szFileName,unsigned char *ptr) ^ --- X.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c X.c X.c: In function 'keyb_handler': X.c:428:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (EmuMode) ^ X.c: In function 'InitMachine': X.c:938:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] DisplayBuf=Img->data; ^ X.c:964:11: warning: pointer targets in passing argument 6 of 'XCreateImage' differ in signedness [-Wpointer-sign] 0,DisplayBuf,width,height,8,0); ^ In file included from X.c:23:0: /usr/local/include/X11/Xlib.h:1441:16: note: expected 'char *' but argument is of type 'byte * {aka unsigned char *}' extern XImage *XCreateImage( ^ In file included from X.c:1432:0: Common.h: In function 'BigSprite': Common.h:58:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (J) ^ Common.h: In function 'Sprite': Common.h:86:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (Y>=0 && Y<192 && J) ^ --- Z80Debug.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c Z80Debug.c --- Bitmap.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c Bitmap.c --- Unix.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c Unix.c --- keys.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c keys.c --- makedata.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c makedata.c makedata.c: In function 'main': makedata.c:69:45: warning: pointer targets in passing argument 3 of 'LoadSam' differ in signedness [-Wpointer-sign] if (LoadSam(&sample_ptr[i],sample_file[i],&sample_params[i][0])==0) return 1; ^ makedata.c:28:12: note: expected 'int *' but argument is of type 'unsigned int *' static int LoadSam (unsigned short **p,char *f,int *len) ^ makedata.c:84:3: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f=fopen ("adamem.snd","wb"); ^ makedata.c:86:46: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] fwrite (sample_params,15*5,sizeof(unsigned),f); ^ makedata.c:82:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from makedata.c:17:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ makedata.c:88:47: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] fwrite (sample_ptr[i],2,sample_params[i][0],f); ^ makedata.c:82:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from makedata.c:17:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ makedata.c:89:10: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] fclose (f); ^ In file included from makedata.c:17:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ --- z80dasm.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c z80dasm.c In file included from z80dasm.c:16:0: z80dasm.h: In function 'Z80_Dasm': z80dasm.h:269:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (buf,"$%02x",buffer[i++]); ^ In file included from z80dasm.c:12:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ In file included from z80dasm.c:16:0: z80dasm.h:270:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (dest,buf); ^ In file included from z80dasm.c:13:0: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^ In file included from z80dasm.c:16:0: z80dasm.h:273:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (buf,"$%04x",(PC+2+(signed char)buffer[i])&0xFFFF); ^ In file included from z80dasm.c:12:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ In file included from z80dasm.c:16:0: z80dasm.h:275:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (dest,buf); ^ In file included from z80dasm.c:13:0: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^ In file included from z80dasm.c:16:0: z80dasm.h:278:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (buf,"$%04x",buffer[i]+buffer[i+1]*256); ^ In file included from z80dasm.c:12:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ In file included from z80dasm.c:16:0: z80dasm.h:280:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (dest,buf); ^ In file included from z80dasm.c:13:0: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^ In file included from z80dasm.c:16:0: z80dasm.h:283:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (buf,"(%s%c$%02x)",r,Sign(buffer[i]),Abs(buffer[i])); ^ In file included from z80dasm.c:12:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ In file included from z80dasm.c:16:0: z80dasm.h:285:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (dest,buf); ^ In file included from z80dasm.c:13:0: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^ In file included from z80dasm.c:16:0: z80dasm.h:288:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (buf,"(%s%c$%02x)",r,Sign(Offset),Abs(Offset)); ^ In file included from z80dasm.c:12:0: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ In file included from z80dasm.c:16:0: z80dasm.h:289:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (dest,buf); ^ In file included from z80dasm.c:13:0: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^ In file included from z80dasm.c:16:0: z80dasm.h:309:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (dest,buf); ^ In file included from z80dasm.c:13:0: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^ In file included from z80dasm.c:16:0: z80dasm.h:314:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (dest,buf); ^ In file included from z80dasm.c:13:0: /usr/include/string.h:81:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^ --- snapedit.o --- cc -Wall -O2 -fomit-frame-pointer -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB -I/usr/local/include -c snapedit.c snapedit.c: In function 'main': snapedit.c:42:3: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f=fopen (argv[1],"rb"); ^ snapedit.c:48:38: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] len=fread (snapdata,1,MAX_SNAP_SIZE,f); ^ snapedit.c:22:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from snapedit.c:19:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ snapedit.c:49:20: warning: passing argument 1 of 'gzread' from incompatible pointer type [-Wincompatible-pointer-types] if (fread(buf,1,1,f)) ^ snapedit.c:22:32: note: in definition of macro 'fread' #define fread(B,N,L,F) gzread(F,B,(L)*(N)) ^ In file included from snapedit.c:19:0: /usr/include/zlib.h:1313:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ snapedit.c:54:10: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] fclose (f); ^ In file included from snapedit.c:19:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ snapedit.c:108:6: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f=fopen (argv[1],"wb"); ^ snapedit.c:119:31: warning: passing argument 1 of 'gzwrite' from incompatible pointer type [-Wincompatible-pointer-types] i=fwrite (snapdata,1,len,f); ^ snapedit.c:23:33: note: in definition of macro 'fwrite' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from snapedit.c:19:0: /usr/include/zlib.h:1341:21: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ snapedit.c:124:14: warning: passing argument 1 of 'gzclose' from incompatible pointer type [-Wincompatible-pointer-types] fclose (f); ^ In file included from snapedit.c:19:0: /usr/include/zlib.h:1511:24: note: expected 'gzFile {aka struct gzFile_s *}' but argument is of type 'FILE * {aka struct __FILE *}' ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ --- keys --- cc -s -o keys keys.o --- makedata --- cc -s -o makedata makedata.o -lz --- z80dasm --- cc -s -o z80dasm z80dasm.o --- snapedit --- cc -s -o snapedit snapedit.o -lz --- adamem.snd --- ./makedata Loading MEL1.pcm... 10518 words Loading MEL2.pcm... 10720 words Loading MEL3.pcm... 10607 words Loading MEL4.pcm... 10355 words Loading MEL5.pcm... 10432 words Loading WN1.pcm... 21847 words Loading WN2.pcm... 19527 words Loading WN3.pcm... 20908 words Loading WN4.pcm... 21585 words Loading WN5.pcm... 20234 words Loading PN1.pcm... 10617 words Loading PN2.pcm... 9858 words Loading PN3.pcm... 9859 words Loading PN4.pcm... 10243 words Loading PN5.pcm... 10709 words Opening SamInfo... OK Writing adamem.snd... OK --- Coleco.o --- Coleco.c: In function 'StartColeco': Coleco.c:1127:5: warning: array subscript is above array bounds [-Warray-bounds] buf[15]='\0'; ^ --- adamem --- cc -s -Wl,-Map,adamem.map -L/usr/local/lib -o adamem ADAMEm.o Coleco.o Z80.o DSP.o Sound.o X.o Z80Debug.o Bitmap.o Unix.o -lXext -lX11 -lz Coleco.o:Coleco.c:function CheckGZ: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() --- cvem --- rm -f cvem ln -s adamem cvem =========================================================================== =================================================== ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xau.pc - found ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> adamem-1.0_4 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found =========================================================================== =================================================== ===> Staging for adamem-1.0_4 ===> Generating temporary packing list install -s -m 555 /wrkdirs/emulators/adamem/adamem-1.0_4/adamem /wrkdirs/emulators/adamem/stage/usr/local/bin ln -s adamem /wrkdirs/emulators/adamem/stage/usr/local/bin/cvem install -m 0644 /wrkdirs/emulators/adamem/adamem-1.0_4/adamem.snd /wrkdirs/emulators/adamem/stage/usr/local/share/adamem install -m 0644 /wrkdirs/emulators/adamem/adamem-1.0_4/OS7.rom /wrkdirs/emulators/adamem/stage/usr/local/share/adamem install -m 0644 /wrkdirs/emulators/adamem/adamem-1.0_4/WP.rom /wrkdirs/emulators/adamem/stage/usr/local/share/adamem install -m 0644 /wrkdirs/emulators/adamem/adamem-1.0_4/EOS.rom /wrkdirs/emulators/adamem/stage/usr/local/share/adamem install -m 0644 /wrkdirs/emulators/adamem/adamem-1.0_4/adamem.txt /wrkdirs/emulators/adamem/stage/usr/local/share/doc/adamem ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for adamem-1.0_4 file sizes/checksums [7]: . done packing files [7]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for adamem-1.0_4 build of emulators/adamem ended at Tue Oct 4 18:56:08 PDT 2016 build time: 00:00:17