------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/libICE-1.0.10,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libSM-1.2.3,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libXau-1.0.9.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libxml2-2.9.10.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2019.2.txz Installing /packages/All/libXdmcp-1.1.3.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libxcb-1.13.1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libX11-1.6.9,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libXext-1.3.4,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libXfixes-5.0.3_2.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libXi-1.7.10,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libXrender-0.9.10_2.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libXrandr-1.5.2.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> adamem-1.0_4 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> 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 - found ===> Fetching all distfiles required by adamem-1.0_4 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> 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 - found ===> Fetching all distfiles required by adamem-1.0_4 for building => SHA256 Checksum OK for adamem.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> 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 - found ===> Fetching all distfiles required by adamem-1.0_4 for building ===> Extracting for adamem-1.0_4 => SHA256 Checksum OK for adamem.tar.gz. Extracted Memory Use: 1.21M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for adamem-1.0_4 ===> Applying ports patches for adamem-1.0_4 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> 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 ===> Configuring for adamem-1.0_4 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for adamem-1.0_4 --- x --- make -f Makefile.X --- ADAMEm.o --- --- Coleco.o --- --- Z80.o --- --- DSP.o --- --- Sound.o --- --- X.o --- --- Z80Debug.o --- --- Bitmap.o --- --- Unix.o --- --- keys.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 Coleco.c: In function 'CheckGZ': Coleco.c:870:3: warning: assignment to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1630:32: 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) ^ --- 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 --- 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 --- 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 --- 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 --- Coleco.o --- In file included from /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1630:32: 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 to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-Wincompatible-pointer-types] f2=gzopen (filename,"wb"); ^ --- 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 --- Coleco.o --- 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1630:32: 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 '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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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: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: /usr/include/string.h:88: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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 'GetSnapshotData': 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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' #define fwrite(B,N,L,F) gzwrite(F,B,(L)*(N)) ^ In file included from /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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: /usr/include/string.h:95: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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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: /usr/include/string.h:95: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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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: /usr/include/string.h:95: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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1446:29: 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 to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1630:32: 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 to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1630:32: 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 to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1630:32: 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 to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1630:32: 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' [-Wdangling-else] if (Verbose) ^ Coleco.c:1514:4: warning: assignment to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1630:32: 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 to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Coleco.c:20: /usr/include/zlib.h:1630:32: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'FILE *' {aka 'struct __FILE *'} ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^~ --- 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 --- 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 --- ADAMEm.o --- ADAMEm.c: In function 'LoadConfigFile': ADAMEm.c:589:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' 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) ^~~~~~~~~~~~~~ --- Sound.o --- Sound.c: In function 'LoadSamples': Sound.c:227:3: warning: assignment to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-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 /usr/include/zlib.h:34, from Sound.c:21: /usr/include/zlib.h:1390:28: 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) ^ 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 /usr/include/zlib.h:34, from Sound.c:21: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from Sound.c:21: /usr/include/zlib.h:1630:32: 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 --- 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; ^~~~~~~~~ --- DSP.o --- In file included from DSP.c:24: 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' [-Wdangling-else] if (currlen>=saminfo->len) ^ Mixer.h:322:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (currlen>=saminfo->len) ^ Mixer.h:353:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (currlen>=saminfo->len) ^ Mixer.h:378:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (currlen>=saminfo->len) ^ Mixer.h:277:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (saminfo->playing) ^ --- makedata.o --- --- 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], ^ Mixer.h:523:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (const short*)pipebuf[4],pipebuf[5]); ^ --- 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 --- X.o --- X.c: In function 'keyb_handler': X.c:428:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (EmuMode) ^ X.c: In function 'InitMachine': X.c:938:13: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} 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: /usr/local/include/X11/Xlib.h:1441:16: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} extern XImage *XCreateImage( ^~~~~~~~~~~~ --- 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 --- X.o --- In file included from X.c:1432: Common.h: In function 'BigSprite': Common.h:58:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (J) ^ Common.h: In function 'Sprite': Common.h:86:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (Y>=0 && Y<192 && J) ^ Common.h: In function 'RefreshSprites': Common.h:120:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(N=0;(N<32)&&(S[0]!=208);N++,S+=4); S-=4; N--; ^~~ Common.h:120:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(N=0;(N<32)&&(S[0]!=208);N++,S+=4); S-=4; N--; ^ --- makedata.o --- 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 to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-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 /usr/include/zlib.h:34, from makedata.c:17: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from makedata.c:17: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from makedata.c:17: /usr/include/zlib.h:1630:32: note: expected 'gzFile' {aka 'struct gzFile_s *'} but argument is of type 'FILE *' {aka 'struct __FILE *'} ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^~ --- 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 --- keys --- cc -s -o keys keys.o --- z80dasm.o --- In file included from z80dasm.c:16: 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: /usr/include/stdio.h:236: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: 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: /usr/include/string.h:86: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: 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: /usr/include/stdio.h:236: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: 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: /usr/include/string.h:86: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: 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: /usr/include/stdio.h:236: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: 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: /usr/include/string.h:86: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: 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: /usr/include/stdio.h:236: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: 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: /usr/include/string.h:86: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: 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: /usr/include/stdio.h:236: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: 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: /usr/include/string.h:86: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: 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: /usr/include/string.h:86: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: 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: /usr/include/string.h:86:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcat(char * __restrict, const char * __restrict); ^~~~~~ --- snapedit.o --- snapedit.c: In function 'main': snapedit.c:42:3: warning: assignment to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-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 /usr/include/zlib.h:34, from snapedit.c:19: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from snapedit.c:19: /usr/include/zlib.h:1390:28: 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 /usr/include/zlib.h:34, from snapedit.c:19: /usr/include/zlib.h:1630:32: 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 to 'FILE *' {aka 'struct __FILE *'} from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-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 /usr/include/zlib.h:34, from snapedit.c:19: /usr/include/zlib.h:1446:29: 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 /usr/include/zlib.h:34, from snapedit.c:19: /usr/include/zlib.h:1630:32: 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 --- In file included from z80dasm.c:16: z80dasm.c: In function 'main': z80dasm.h:288:20: warning: '%s' directive writing between 2 and 22 bytes into a region of size 9 [-Wformat-overflow=] sprintf (buf,"(%s%c$%02x)",r,Sign(Offset),Abs(Offset)); ^~ z80dasm.h:288:18: note: directive argument in the range [0, 256] sprintf (buf,"(%s%c$%02x)",r,Sign(Offset),Abs(Offset)); ^~~~~~~~~~~~~ z80dasm.h:288:5: note: 'sprintf' output between 9 and 30 bytes into a destination of size 10 sprintf (buf,"(%s%c$%02x)",r,Sign(Offset),Abs(Offset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ z80dasm.h:283:20: warning: '%s' directive writing between 2 and 22 bytes into a region of size 9 [-Wformat-overflow=] sprintf (buf,"(%s%c$%02x)",r,Sign(buffer[i]),Abs(buffer[i])); ^~ z80dasm.h:283:18: note: directive argument in the range [0, 256] sprintf (buf,"(%s%c$%02x)",r,Sign(buffer[i]),Abs(buffer[i])); ^~~~~~~~~~~~~ z80dasm.h:283:5: note: 'sprintf' output between 9 and 30 bytes into a destination of size 10 sprintf (buf,"(%s%c$%02x)",r,Sign(buffer[i]),Abs(buffer[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- makedata --- cc -s -o makedata makedata.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 --- z80dasm --- cc -s -o z80dasm z80dasm.o --- snapedit --- cc -s -o snapedit snapedit.o -lz --- Coleco.o --- Coleco.c: In function 'StartColeco': Coleco.c:1127:5: warning: array subscript 15 is above array bounds of 'byte[15]' {aka 'unsigned char[15]'} [-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 SUCCEEDED 00:00:05 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for adamem-1.0_4 ===> 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 ===> Generating temporary packing list install -s -m 555 /construction/emulators/adamem/adamem-1.0_4/adamem /construction/emulators/adamem/stage/usr/local/bin ln -s adamem /construction/emulators/adamem/stage/usr/local/bin/cvem install -m 0644 /construction/emulators/adamem/adamem-1.0_4/adamem.snd /construction/emulators/adamem/stage/usr/local/share/adamem install -m 0644 /construction/emulators/adamem/adamem-1.0_4/OS7.rom /construction/emulators/adamem/stage/usr/local/share/adamem install -m 0644 /construction/emulators/adamem/adamem-1.0_4/WP.rom /construction/emulators/adamem/stage/usr/local/share/adamem install -m 0644 /construction/emulators/adamem/adamem-1.0_4/EOS.rom /construction/emulators/adamem/stage/usr/local/share/adamem install -m 0644 /construction/emulators/adamem/adamem-1.0_4/adamem.txt /construction/emulators/adamem/stage/usr/local/share/doc/adamem ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for adamem-1.0_4 file sizes/checksums [7]: 0% file sizes/checksums [7]: 100% packing files [7]: 0% packing files [7]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:09