===> Building for magicpoint-1.13anb39 making ./image/libmgpimage.a in ./image... rm -f imagetypes.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 imagetypes.c imagetypes.c:73:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((image = ImageTypes[a].loader(fullname, name, verbose))) { ^ imagetypes.c:74:13: warning: passing arguments to 'zreset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zreset(NULL); ^ imagetypes.c:78:9: warning: passing arguments to 'zreset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zreset(NULL); ^ imagetypes.c:58:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *loadImage(name, verbose) ^ In file included from imagetypes.c:12: ./image.h:148:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *loadImage(); /* imagetypes.c */ ^ imagetypes.c:98:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ImageTypes[a].identifier(fullname, name)) { ^ imagetypes.c:99:13: warning: passing arguments to 'zreset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zreset(NULL); ^ imagetypes.c:103:9: warning: passing arguments to 'zreset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zreset(NULL); ^ imagetypes.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void identifyImage(name) ^ In file included from imagetypes.c:12: ./image.h:149:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void identifyImage(); ^ imagetypes.c:118:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void goodImage(image, func) ^ In file included from imagetypes.c:12: ./image.h:150:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void goodImage(); ^ 12 warnings generated. rm -f send.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 send.c send.c:20:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int pixmapErrorTrap(disp, pErrorEvent) ^ send.c:53:13: warning: passing arguments to 'sendXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendXImage(ximageinfo, 0, 0, 0, 0, ^ send.c:35:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap ximageToPixmap(disp, parent, ximageinfo) ^ In file included from send.c:13: In file included from ./../mgp.h:76: ./../image/xloadimage.h:89:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Pixmap ximageToPixmap(); ^ send.c:65:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static unsigned int bitsPerPixelAtDepth(disp, scrn, depth) ^ send.c:113:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "imageToXimage"); ^ send.c:118:36: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximageinfo= (XImageInfo *)lmalloc(sizeof(XImageInfo)); ^ send.c:139:15: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= reduce(image, depthToColors(visual->bits_per_rgb), verbose); ^ send.c:141:15: warning: passing arguments to 'dither' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= dither(image, verbose); ^ send.c:153:15: warning: passing arguments to 'dither' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= dither(image, verbose); ^ send.c:174:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redvalue= (Pixel *)lmalloc(sizeof(Pixel) * 256); ^ send.c:175:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] greenvalue= (Pixel *)lmalloc(sizeof(Pixel) * 256); ^ send.c:176:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bluevalue= (Pixel *)lmalloc(sizeof(Pixel) * 256); ^ send.c:261:28: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index= (Pixel *)lmalloc(sizeof(Pixel) * image->rgb.used); ^ send.c:375:17: warning: passing arguments to 'dither' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= dither(image, 0); ^ send.c:379:9: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(index); ^ send.c:391:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(index); ^ send.c:397:15: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= reduce(image, a, verbose); ^ send.c:453:20: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data= lmalloc((image->width + 7) / 8 * image->height); ^ send.c:458:15: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 0, data, image->width, image->height, ^~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:1443:22: note: passing argument to parameter here char* /* data */, ^ send.c:487:15: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data= lmalloc(image->width * image->height * dpixlen); ^ send.c:495:16: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixval= memToVal(srcptr, image->pixlen); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ send.c:498:8: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(newpixval, destptr, dpixlen); ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ send.c:506:16: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixval= memToVal(srcptr, image->pixlen); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ send.c:510:8: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixval, destptr, dpixlen); ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ send.c:541:23: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data= (byte *)lmalloc(image->width * image->height * dpixlen); ^ send.c:556:16: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixval= memToVal(srcptr, image->pixlen); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ send.c:577:23: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] data= (byte *)lmalloc(image->width * image->height * dpixlen); ^ send.c:585:21: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(index[memToVal(srcptr, image->pixlen)], destptr, dpixlen); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ send.c:585:21: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ send.c:585:6: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(index[memToVal(srcptr, image->pixlen)], destptr, dpixlen); ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ send.c:598:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)index); ^ send.c:600:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)redvalue); ^ send.c:601:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)greenvalue); ^ send.c:602:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)bluevalue); ^ send.c:605:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ send.c:95:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XImageInfo *imageToXImage(disp, scrn, visual, ddepth, image, private_cmap, fit, ^ In file included from send.c:13: In file included from ./../mgp.h:76: ./../image/xloadimage.h:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] XImageInfo *imageToXImage(); ^ send.c:613:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void sendXImage(ximageinfo, src_x, src_y, dst_x, dst_y, w, h) ^ In file included from send.c:13: In file included from ./../mgp.h:76: ./../image/xloadimage.h:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void sendXImage(); /* send.c */ ^ send.c:649:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)ximageinfo->ximage->data); ^ send.c:652:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)ximageinfo); ^ send.c:643:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void freeXImage(image, ximageinfo) ^ In file included from send.c:13: In file included from ./../mgp.h:76: ./../image/xloadimage.h:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void freeXImage(); ^ 44 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c zio.c zio.c:53:50: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zf->data= zf->dataptr= (struct cache *)lmalloc(sizeof(struct cache)); ^ zio.c:56:46: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zf->dataptr->next= (struct cache *)lmalloc(sizeof(struct cache)); ^ zio.c:27:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int doRead(zf, buf, len) ^ zio.c:112:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(old); ^ zio.c:114:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)ZFileTable[a].filename); ^ zio.c:84:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zreset(filename) ^ In file included from zio.c:14: ./image.h:195:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void zreset(); ^ zio.c:182:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zf->filename= dupString(name); ^ zio.c:206:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(zf->filename); ^ zio.c:225:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(zf->filename); ^ zio.c:137:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZFILE *zzopen(name) ^ In file included from zio.c:14: ./image.h:188:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] ZFILE *zzopen(); /* zio.c */ ^ zio.c:232:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zread(zf, buf, len) ^ In file included from zio.c:14: ./image.h:190:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int zread(); ^ zio.c:240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int zgetc(zf) ^ In file included from zio.c:14: ./image.h:191:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int zgetc(); ^ zio.c:250:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *zgets(buf, size, zf) ^ In file included from zio.c:14: ./image.h:192:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *zgets(); ^ zio.c:272:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void znocache(zf) ^ In file included from zio.c:14: ./image.h:194:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void znocache(); ^ zio.c:282:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zclose(zf) ^ In file included from zio.c:14: ./image.h:193:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void zclose(); ^ 22 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c zoom.c zoom.c:30:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index= (unsigned int *)lmalloc(sizeof(unsigned int) * *rwidth); ^ zoom.c:14:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static unsigned int *buildIndex(width, zoom, rwidth) ^ zoom.c:56:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(oimage, "zoom"); ^ zoom.c:77:53: warning: format specifies type 'int' but the argument has type 'float' [-Wformat] sprintf(buf, "%s (%d%% zoom)", oimage->title, xzoom); ~~ ^~~~~ %f /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ zoom.c:95:23: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(xwidth, ywidth); ^ zoom.c:139:23: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(xwidth, ywidth, oimage->depth); ^ zoom.c:150:26: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newTrueImage(xwidth, ywidth); ^ zoom.c:162:14: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value= memToVal(srcptr, pixlen); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ zoom.c:169:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value= memToVal(srcptr, pixlen); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ zoom.c:171:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(value, destptr, pixlen); ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ zoom.c:179:30: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(buf); ^ zoom.c:182:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)xindex); ^ zoom.c:183:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)yindex); ^ zoom.c:39:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *zoom(oimage, xzoom, yzoom, verbose) ^ In file included from zoom.c:12: ./image.h:197:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *zoom(); /* zoom.c */ ^ 15 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c new.c new.c:59:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long colorsToDepth(ncolors) ^ In file included from new.c:12: ./image.h:155:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned long colorsToDepth(); ^ new.c:75:21: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d= (char *)lmalloc(strlen(s) + 1); ^ new.c:69:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *dupString(s) ^ In file included from new.c:12: ./image.h:156:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *dupString(); ^ new.c:87:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rgb->red= (Intensity *)lmalloc(sizeof(Intensity) * size); ^ new.c:88:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rgb->green= (Intensity *)lmalloc(sizeof(Intensity) * size); ^ new.c:89:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rgb->blue= (Intensity *)lmalloc(sizeof(Intensity) * size); ^ new.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void newRGBMapData(rgb, size) ^ In file included from new.c:12: ./image.h:162:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void newRGBMapData(); ^ new.c:95:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)rgb->red); ^ new.c:96:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)rgb->green); ^ new.c:97:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)rgb->blue); ^ new.c:92:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void freeRGBMapData(rgb) ^ In file included from new.c:12: ./image.h:163:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void freeRGBMapData(); ^ new.c:105:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= (Image *)lmalloc(sizeof(Image)); ^ new.c:116:40: warning: passing arguments to 'lcalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->data= (unsigned char *)lcalloc(linelen * height); ^ new.c:100:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *newBitImage(width, height) ^ In file included from new.c:12: ./image.h:157:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *newBitImage(); ^ new.c:130:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= (Image *)lmalloc(sizeof(Image)); ^ new.c:138:40: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->data= (unsigned char *)lmalloc(width * height * pixlen); ^ new.c:121:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *newRGBImage(width, height, depth) ^ In file included from new.c:12: ./image.h:158:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *newRGBImage(); ^ new.c:147:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= (Image *)lmalloc(sizeof(Image)); ^ new.c:155:40: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->data= (unsigned char *)lmalloc(width * height * 3); ^ new.c:143:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *newTrueImage(width, height) ^ In file included from new.c:12: ./image.h:159:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *newTrueImage(); ^ new.c:164:10: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)image->title); ^ new.c:169:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ new.c:160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void freeImageData(image) ^ In file included from new.c:12: ./image.h:161:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void freeImageData(); ^ new.c:176:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)image); ^ new.c:172:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void freeImage(image) ^ In file included from new.c:12: ./image.h:160:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void freeImage(); ^ new.c:179:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *lmalloc(size) ^ In file included from new.c:12: ./image.h:165:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] byte *lmalloc(); ^ new.c:195:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *lcalloc(size) ^ In file included from new.c:12: ./image.h:164:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] byte *lcalloc(); ^ new.c:211:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void lfree(area) ^ In file included from new.c:12: ./image.h:166:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void lfree(); ^ 40 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c compress.c compress.c:44:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "compress"); ^ compress.c:58:16: warning: passing arguments to 'newRGBMapData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newRGBMapData(&rgb, image->rgb.used); ^ compress.c:61:32: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixel_table= (Pixel *)lmalloc(sizeof(Pixel) * image->rgb.used); ^ compress.c:62:30: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixel_map= (Pixel *)lmalloc(sizeof(Pixel) * image->rgb.used); ^ compress.c:70:18: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] oldpixval= memToVal(pixptr, image->pixlen); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ compress.c:133:7: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel_map[oldpixval], pixptr, image->pixlen); ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ compress.c:136:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(pixel_table); ^ compress.c:137:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(pixel_map); ^ compress.c:163:17: warning: passing arguments to 'freeRGBMapData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeRGBMapData(&(image->rgb)); ^ compress.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void compress_colormap(image, verbose) ^ In file included from compress.c:14: ./image.h:138:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void compress_colormap(); /* compress.c */ ^ 11 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c reduce.c reduce.c:43:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long colorDistance(rgb, a, b) ^ reduce.c:93:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortRGB(p1, p2) ^ reduce.c:120:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortRBG(p1, p2) ^ reduce.c:147:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortGRB(p1, p2) ^ reduce.c:174:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortGBR(p1, p2) ^ reduce.c:201:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortBRG(p1, p2) ^ reduce.c:228:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int sortBGR(p1, p2) ^ reduce.c:259:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void insertColorArea(pixel_counts, rlargest, rsmallest, area) ^ reduce.c:380:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "reduce"); ^ reduce.c:403:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(pixel, image->pixlen))]++; ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:403:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:403:7: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:422:29: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixel_counts[TRUE_TO_15BIT(memToVal(pixel, 3))]++; ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:422:29: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:422:29: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:446:38: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] areas= (struct color_area *)lmalloc(n * sizeof(struct color_area)); ^ reduce.c:503:23: warning: passing arguments to 'colorsToDepth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] depth= colorsToDepth(n); ^ reduce.c:504:25: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_image= newRGBImage(image->width, image->height, depth); ^ reduce.c:507:32: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_image->title= dupString(buf); ^ reduce.c:517:28: warning: variable 'count' set but not used [-Wunused-but-set-variable] long red, green, blue, count, pixel; ^ reduce.c:538:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(areas); ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memToVal(pixel, image->pixlen))], ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:551:9: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:550:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel_counts[TLA_TO_15BIT(image->rgb, ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel_counts[TRUE_TO_15BIT(memToVal(pixel, 3))], ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:38: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:563:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixel_counts[TRUE_TO_15BIT(memToVal(pixel, 3))], ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ reduce.c:367:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *reduce(image, n, verbose) ^ In file included from reduce.c:21: ./image.h:170:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *reduce(); /* reduce.c */ ^ reduce.c:590:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "expand"); ^ reduce.c:594:26: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_image= newTrueImage(image->width, image->height); ^ reduce.c:595:30: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_image->title= dupString(image->title); ^ reduce.c:612:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem((mask & *spixel ? dpixval : spixval), dpixel, 3); ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ reduce.c:630:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spixval= memToVal(spixel, image->pixlen); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ reduce.c:631:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(RGB_TO_TRUE(image->rgb.red[spixval], ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ reduce.c:580:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *expand(image) ^ In file included from reduce.c:21: ./image.h:171:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *expand(); ^ 45 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c value.c value.c:16:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long doMemToVal(p, len) ^ In file included from value.c:14: ./image.h:182:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned long doMemToVal(); /* value.c */ ^ value.c:28:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long doValToMem(val, p, len) ^ In file included from value.c:14: ./image.h:183:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned long doValToMem(); ^ value.c:41:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long doMemToValLSB(p, len) ^ In file included from value.c:14: ./image.h:184:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned long doMemToValLSB(); ^ value.c:55:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long doValToMemLSB(val, p, len) ^ In file included from value.c:14: ./image.h:185:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned long doValToMemLSB(); ^ value.c:70:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void flipBits(p, len) ^ In file included from value.c:14: ./image.h:186:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void flipBits(); ^ 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c misc.c misc.c:21:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *signalName(sig) ^ misc.c:73:44: warning: passing arguments to 'nameOfVisualClass' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fprintf(stderr, " %s", nameOfVisualClass(local_screen->depths[a].visuals[b].class)); ^ misc.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void internalError(sig) ^ In file included from misc.c:12: ./xloadimage.h:72:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void internalError(); ^ misc.c:104:7: warning: passing arguments to 'tail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tail(name)); ^ misc.c:107:60: warning: passing arguments to 'tail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] `%s -help' to enter the interactive help facility.\n", tail(name), tail(name)); ^ misc.c:107:72: warning: passing arguments to 'tail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] `%s -help' to enter the interactive help facility.\n", tail(name), tail(name)); ^ misc.c:99:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void usage(name) ^ In file included from misc.c:12: ./xloadimage.h:74:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void usage(); ^ misc.c:111:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *tail(path) ^ In file included from misc.c:12: ./xloadimage.h:70:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *tail(); /* misc.c */ ^ misc.c:134:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "processImage"); ^ misc.c:145:19: warning: passing arguments to 'clip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= clip(image, options->clipx, options->clipy, ^ misc.c:149:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:154:22: warning: passing arguments to 'rotate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage = rotate(image, options->rotate, verbose); ^ misc.c:155:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:164:24: warning: passing arguments to 'compress_colormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compress_colormap(image, verbose); ^ misc.c:167:19: warning: passing arguments to 'zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= zoom(image, options->xzoom, options->yzoom, verbose); ^ misc.c:168:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:173:9: warning: passing arguments to 'gray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gray(image, verbose); ^ misc.c:176:24: warning: passing arguments to 'normalize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= normalize(image, verbose); ^ misc.c:178:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:184:13: warning: passing arguments to 'brighten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] brighten(image, options->bright, verbose); ^ misc.c:187:17: warning: passing arguments to 'gammacorrect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gammacorrect(image, options->gamma, verbose); ^ misc.c:193:21: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= reduce(image, options->colors, verbose); ^ misc.c:195:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:204:23: warning: passing arguments to 'dither' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= dither(image, verbose); ^ misc.c:206:25: warning: passing arguments to 'halftone' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= halftone(image, verbose); ^ misc.c:207:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:211:22: warning: passing arguments to 'compress_colormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compress_colormap(image, verbose); ^ misc.c:214:21: warning: passing arguments to 'smooth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmpimage= smooth(image, options->smooth, verbose); ^ misc.c:216:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ misc.c:123:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *processImage(disp, scrn, image, options, verbose) ^ In file included from misc.c:12: ./xloadimage.h:76:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *processImage(); ^ misc.c:243:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int errorHandler(disp, error) ^ In file included from misc.c:12: ./xloadimage.h:77:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int errorHandler(); ^ misc.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vstrstr( s1, s2 ) ^ 37 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c rotate.c rotate.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void rotate_bitmap(num, pos, width, height, new_num, new_pos) ^ rotate.c:67:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(simage, "rotate"); ^ rotate.c:81:26: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image2= newBitImage(image1->height, image1->width); ^ rotate.c:99:26: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image2= newRGBImage(image1->height, image1->width, image1->depth); ^ rotate.c:110:22: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image2= newTrueImage(image1->height, image1->width); ^ rotate.c:115:29: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yptr= (byte **)lmalloc(image1->width * sizeof(char *)); ^ rotate.c:126:13: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(memToVal(sp, image1->pixlen), ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ rotate.c:126:13: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ rotate.c:126:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(memToVal(sp, image1->pixlen), ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ rotate.c:131:12: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(yptr); ^ rotate.c:138:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image1); ^ rotate.c:141:27: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image1->title= dupString(buf); ^ rotate.c:40:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *rotate(simage, degrees, verbose) ^ In file included from rotate.c:9: ./image.h:173:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *rotate(); /* rotate.c */ ^ 14 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c rle.c rle.c:59:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void bw_m_line(dp,number) ^ rle.c:73:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void c_m_line(dp,number,line) ^ rle.c:111:18: warning: passing arguments to 'zzopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rlefile = zopen(fullname); ^ rle.c:121:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rleIdent(fullname, name) ^ rle.c:203:18: warning: passing arguments to 'zzopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rlefile = zopen(fullname); ^ rle.c:212:11: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:224:27: warning: passing arguments to 'rle_getcom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (v = rle_getcom( "image_gamma", &sv_globals )) != NULL ) ^ rle.c:233:32: warning: passing arguments to 'rle_getcom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ( (v = rle_getcom( "display_gamma", &sv_globals )) != NULL ) ^ rle.c:270:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:285:10: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:301:10: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:307:13: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:334:11: warning: passing arguments to 'znocache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] znocache(rlefile); ^ rle.c:343:19: warning: passing arguments to 'buildmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fmaps = buildmap(&sv_globals,sv_globals.sv_ncolors,img_gam); ^ rle.c:350:36: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan = (unsigned char **) lmalloc( (sv_globals.sv_ncolors + ^ rle.c:354:39: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan[i] = (unsigned char *)lmalloc(x_len); ^ rle.c:360:22: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newRGBImage(x_len,y_len,depth); ^ rle.c:361:27: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title = dupString(name); ^ rle.c:370:16: warning: passing arguments to 'dithermap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dithermap( 6, disp_gam, colmap, divN, modN, magic ); ^ rle.c:437:9: warning: passing arguments to 'zclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zclose(rlefile); ^ rle.c:187:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *rleLoad(fullname,name,verbose) ^ 22 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c rlelib.c rlelib.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NullputEof(globals) ^ rlelib.c:215:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void NullputEof(); ^ rlelib.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunSetup(globals) ^ rlelib.c:205:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void RunSetup(), ^ rlelib.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunSkipBlankLines(nblank, globals) ^ rlelib.c:206:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] RunSkipBlankLines(), ^ rlelib.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunSetColor(c, globals) ^ rlelib.c:207:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] RunSetColor(), ^ rlelib.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunSkipPixels(nskip, last, wasrun, globals) ^ rlelib.c:208:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] RunSkipPixels(), ^ rlelib.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunNewScanLine(flag, globals) ^ rlelib.c:209:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] RunNewScanLine(), ^ rlelib.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Runputdata(buf, n, globals) ^ rlelib.c:210:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Runputdata(), ^ rlelib.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Runputrun(color, n, last, globals) ^ rlelib.c:211:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Runputrun(), ^ rlelib.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunputEof(globals) ^ rlelib.c:212:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] RunputEof(); ^ rlelib.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DefaultBlockHook(globals) ^ rlelib.c:214:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void DefaultBlockHook(); ^ rlelib.c:579:30: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *)); ^ rlelib.c:580:32: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap[0] = (rle_pixel *)lmalloc(256 * sizeof(rle_pixel)); ^ rlelib.c:601:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *)); ^ rlelib.c:602:36: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap[0] = (rle_pixel *)lmalloc(maplen * sizeof(rle_pixel)); ^ rlelib.c:615:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *)); ^ rlelib.c:618:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap[j] = (rle_pixel *)lmalloc(maplen * sizeof(rle_pixel)); ^ rlelib.c:633:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap = (rle_pixel **)lmalloc(nmap * sizeof(rle_pixel *)); ^ rlelib.c:636:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmap[j] = (rle_pixel *)lmalloc(maplen * sizeof(rle_pixel)); ^ rlelib.c:652:31: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gammap = (rle_pixel *)lmalloc(256 * sizeof(rle_pixel)); ^ rlelib.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buildmap(globals, minmap, gamma) ^ In file included from rlelib.c:21: ./rle.h:151:1: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] buildmap(); ^ rlelib.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] match(n, v) ^ rlelib.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rle_getcom(name, globals) ^ In file included from rlelib.c:21: ./rle.h:162:1: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] rle_getcom(); ^ rlelib.c:834:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rle_get_setup(globals) ^ rlelib.c:845:5: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, magic, sizeof magic); ^ rlelib.c:807:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:846:5: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(magic); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:851:5: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(struct XtndRsetup, setup, SETUPSIZE); /* assume VAX packing */ ^ rlelib.c:807:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:854:5: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(setup.h_xpos); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:855:5: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(setup.h_ypos); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:856:5: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(setup.h_xlen); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:857:5: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(setup.h_ylen); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:866:39: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] globals->sv_bg_color = (int *)lmalloc( ^ rlelib.c:868:33: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bg_color = (rle_pixel *)lmalloc( ^ rlelib.c:870:7: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(infile, (byte *)bg_color, 1 + (setup.h_ncolors / 2) * 2); ^ rlelib.c:873:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(bg_color); ^ rlelib.c:876:7: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zgetc(infile); /* skip filler byte */ ^ rlelib.c:903:39: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] globals->sv_cmap = (rle_map *)lmalloc( ^ rlelib.c:912:7: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(infile, (byte *)globals->sv_cmap, sizeof(short) * maplen); ^ rlelib.c:917:10: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(globals->sv_cmap[i]); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:927:2: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, comlen, sizeof comlen); /* get comment length */ ^ rlelib.c:807:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:928:2: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(comlen); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:930:31: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] comment_buf = (char *)lmalloc((unsigned) evenlen); ^ rlelib.c:938:7: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(infile, (byte *)comment_buf, evenlen); ^ rlelib.c:946:22: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (char **)lmalloc((unsigned)(i * sizeof(char *))); ^ rlelib.c:994:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rle_get_error(code, pgmname, fname) ^ rlelib.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rle_get_setup_ok(globals, prog_name, file_name) ^ rlelib.c:1082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rle_debug(on_off) ^ rlelib.c:1114:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rle_getrow(globals, scanline) ^ rlelib.c:1130:11: warning: passing arguments to 'bfill' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bfill((char *)scanline[-1], globals->sv_xmax + 1, 0); ^ rlelib.c:1133:8: warning: passing arguments to 'bfill' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bfill((char *)scanline[nc], globals->sv_xmax+1, ^ rlelib.c:1159:9: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(struct inst, inst, 2); ^ rlelib.c:807:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1171:10: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, long_data, sizeof long_data); ^ rlelib.c:807:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1172:3: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(long_data); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:1200:10: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, long_data, sizeof long_data); ^ rlelib.c:807:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1201:3: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(long_data); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:1222:10: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, long_data, sizeof long_data); ^ rlelib.c:807:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1223:3: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(long_data); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:1231:8: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zread(infile, (byte *)scanc, nc); ^ rlelib.c:1233:18: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)zgetc(infile); /* throw away odd byte */ ^ rlelib.c:1239:16: warning: passing arguments to 'zgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) zgetc(infile); /* discard it */ ^ rlelib.c:1261:10: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, long_data, sizeof long_data); ^ rlelib.c:807:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1262:3: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(long_data); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:1269:6: warning: passing arguments to 'zread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BREAD(short, word, sizeof(short)); ^ rlelib.c:807:11: note: expanded from macro 'BREAD' zread(infile, (byte *)&var,len) ^ rlelib.c:1270:6: warning: passing arguments to 'doMemToValLSB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SWAB(word); ^ ./rle.h:46:25: note: expanded from macro 'SWAB' #define SWAB(val) (val= memToValLSB((byte *)&val, sizeof(val))) ^ ./image.h:118:23: note: expanded from macro 'memToValLSB' doMemToValLSB(PTR,LEN)) ^ rlelib.c:1278:12: warning: passing arguments to 'bfill' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bfill((char *)scanc, nc + 1, word); ^ rlelib.c:1306:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void bfill(s, n, c) ^ rlelib.c:813:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void bfill(); ^ rlelib.c:1428:16: warning: passing arguments to 'make_square' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_square(N, divN, modN, magic); ^ rlelib.c:1399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dithermap(levels, gamma, rgbmap, divN, modN, magic) ^ rlelib.c:1482:16: warning: passing arguments to 'make_square' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_square(N, divN, modN, magic); ^ rlelib.c:1460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bwdithermap(levels, gamma, bwmap, divN, modN, magic) ^ rlelib.c:1520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_magic(size, magic) ^ rlelib.c:1576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_square(N, divN, modN, magic) ^ rlelib.c:1360:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void make_square(); ^ rlelib.c:1649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_gamma(gamma, gammamap) ^ rlelib.c:1651:5: warning: argument 'gammamap' of type 'int[256]' with mismatched bound [-Warray-parameter] int gammamap[256]; ^ ./rle.h:199:42: note: previously declared as 'int[]' here extern void make_gamma(double gamma, int gammamap[]); ^ rlelib.c:1687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dithergb(x, y, r, g, b, levels, divN, modN, magic) ^ rlelib.c:1719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ditherbw(x, y, val, divN, modN, magic) ^ 89 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c smooth.c smooth.c:27:14: warning: passing arguments to 'expand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] old= expand(image); ^ smooth.c:28:20: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new= newTrueImage(image->width, image->height); ^ smooth.c:30:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new->title= (char *)lmalloc(strlen(image->title) + 12); ^ smooth.c:51:12: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixval= memToVal(yindex[y1] + xindex[x1], old->pixlen); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ smooth.c:65:7: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(pixval, destptr, new->pixlen); ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ smooth.c:71:14: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(old); ^ smooth.c:14:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Image *doSmooth(image) ^ smooth.c:91:16: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(old); ^ smooth.c:75:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *smooth(image, iterations, verbose) ^ In file included from smooth.c:12: ./image.h:175:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *smooth(); /* smooth.c */ ^ 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c halftone.c halftone.c:167:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(cimage, "dither"); ^ halftone.c:178:21: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(cimage->width * 4, cimage->height * 4); ^ halftone.c:180:34: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= (char *)lmalloc(strlen(cimage->title) + 13); ^ halftone.c:195:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index= (unsigned int *)lmalloc(sizeof(unsigned int) * cimage->rgb.used); ^ halftone.c:216:14: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] color= memToVal(sp, spl); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ halftone.c:155:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *halftone(cimage, verbose) ^ In file included from halftone.c:14: ./image.h:146:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *halftone(); /* halftone.c */ ^ 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c clip.c clip.c:25:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(simage, "clip"); ^ clip.c:46:23: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newBitImage(clipw, cliph); ^ clip.c:83:25: warning: passing arguments to 'newRGBImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newRGBImage(clipw, cliph, simage->depth); ^ clip.c:92:26: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= newTrueImage(clipw, cliph); ^ clip.c:100:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(memToVal(sp, simage->pixlen), dp, simage->pixlen); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ clip.c:100:11: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ clip.c:100:2: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(memToVal(sp, simage->pixlen), dp, simage->pixlen); ^ ./image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ clip.c:111:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title= dupString(simage->title); ^ clip.c:14:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *clip(simage, clipx, clipy, clipw, cliph, verbose) ^ In file included from clip.c:12: ./image.h:131:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *clip(); /* clip.c */ ^ 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c dither.c dither.c:60:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(cimage, "dither"); ^ dither.c:72:22: warning: passing arguments to 'newBitImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = newBitImage(cimage->width, cimage->height); ^ dither.c:75:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title = (char *)lmalloc(strlen(cimage->title) + 12); ^ dither.c:86:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] grey = (unsigned int *)lmalloc(sizeof(unsigned int) * cimage->rgb.used); ^ dither.c:94:34: warning: passing arguments to 'tone_scale_adjust' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] grey[i] = tone_scale_adjust(grey[i]); ^ dither.c:109:25: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curr = (int *)lmalloc(sizeof(int) * (cimage->width + 2)); ^ dither.c:110:25: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = (int *)lmalloc(sizeof(int) * (cimage->width + 2)); ^ dither.c:127:15: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] color = memToVal(src, spl); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ dither.c:133:23: warning: passing arguments to 'tone_scale_adjust' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tone_scale_adjust(colorIntensity(cimage->rgb.red[color], ^ dither.c:141:21: warning: passing arguments to 'tone_scale_adjust' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tone_scale_adjust(colorIntensity((TRUE_RED(color) << 8), ^ dither.c:150:18: warning: passing arguments to 'RightToLeft' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RightToLeft(curr, next, cimage->width); ^ dither.c:152:18: warning: passing arguments to 'LeftToRight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LeftToRight(curr, next, cimage->width); ^ dither.c:171:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)grey); ^ dither.c:172:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)(curr-1)); ^ dither.c:173:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree((byte *)(next-1)); ^ dither.c:40:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *dither(cimage, verbose) ^ In file included from dither.c:23: ./image.h:140:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *dither(); /* dither.c */ ^ dither.c:192:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static unsigned int tone_scale_adjust(val) ^ dither.c:31:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static unsigned int tone_scale_adjust(); ^ dither.c:210:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void LeftToRight(curr, next, width) ^ dither.c:32:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LeftToRight(); ^ dither.c:235:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void RightToLeft(curr, next, width) ^ dither.c:33:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RightToLeft(); ^ 23 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c path.c path.c:92:31: warning: passing arguments to 'expandPath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Paths[NumPaths++]= expandPath(buf); ^ path.c:101:28: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Exts[NumExts++]= dupString(buf); ^ path.c:39:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void readPathsAndExts(name) ^ path.c:140:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int fileIsOk(fullname, sbuf) ^ path.c:153:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int findImage(name, fullname) ^ In file included from path.c:12: ./xloadimage.h:80:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int findImage(); ^ path.c:257:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ path.c:305:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptr = (char *)lmalloc((unsigned) b2+1); ^ path.c:251:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *expandPath(p) ^ In file included from path.c:12: ./xloadimage.h:79:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *expandPath(); /* path.c */ ^ 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c bright.c bright.c:29:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "brighten"); ^ bright.c:19:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void brighten(image, percent, verbose) ^ In file included from bright.c:12: ./image.h:133:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void brighten(); /* bright.c */ ^ bright.c:82:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "gammacorrect"); ^ bright.c:73:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void gammacorrect(image, disp_gam, verbose) ^ bright.c:119:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void setupNormalizationArray(min, max, array, verbose) ^ bright.c:151:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "normalize"); ^ bright.c:184:27: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newimage= newTrueImage(image->width, image->height); ^ bright.c:186:35: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newimage->title = (char *)lmalloc(strlen(image->title) + 14); ^ bright.c:193:10: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixval= memToVal(srcptr, image->pixlen); ^ ./image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ bright.c:141:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Image *normalize(image, verbose) ^ In file included from bright.c:12: ./image.h:136:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Image *normalize(); ^ bright.c:257:12: warning: passing arguments to 'goodImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodImage(image, "gray"); ^ bright.c:249:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void gray(image, verbose) ^ In file included from bright.c:12: ./image.h:135:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void gray(); ^ 15 warnings generated. rm -f window.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 window.c window.c:75:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] while ((AlarmWentOff == 0)) { ~~~~~~~~~~~~~^~~~ window.c:75:24: note: remove extraneous parentheses around the comparison to silence this warning while ((AlarmWentOff == 0)) { ~ ^ ~ window.c:75:24: note: use '=' to turn this equality comparison into an assignment while ((AlarmWentOff == 0)) { ^~ = window.c:60:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int getNextEventWithTimeout(disp, event) ^ window.c:97:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void setCursor(disp, window, iw, ih, ww, wh, cursor) ^ window.c:121:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void placeImage(disp, width, height, winwidth, winheight, rx, ry) ^ window.c:184:13: warning: passing arguments to 'sendXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sendXImage(ximageinfo, x, y, x, y, w, h); ^ window.c:154:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void blitImage(ximageinfo, width, height, ^ window.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cleanUpWindow(disp) ^ In file included from window.c:12: ./xloadimage.h:96:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void cleanUpWindow(); ^ window.c:215:13: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(image, ximageinfo); ^ window.c:204:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cleanUpImage(disp, scrn, cursor, pixmap, image, ximageinfo) ^ window.c:222:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void setViewportColormap(disp, scrn, visual) ^ window.c:261:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *iconName(s) ^ window.c:306:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int visualClassFromName(name) ^ In file included from window.c:12: ./xloadimage.h:94:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int visualClassFromName(); /* window.c */ ^ window.c:336:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *nameOfVisualClass(class) ^ In file included from window.c:12: ./xloadimage.h:95:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *nameOfVisualClass(); ^ window.c:349:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Visual *bestVisualOfClassAndDepth(disp, scrn, class, depth) ^ window.c:378:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void bestVisual(disp, scrn, image, rvisual, rdepth) ^ window.c:493:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void bestVisualOfClass(disp, scrn, image, visual_class, rvisual, rdepth) ^ window.c:587:8: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &winx, &winy, &winwidth, &winheight); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2595:25: note: passing argument to parameter here int* /* x_return */, ^ window.c:587:15: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &winx, &winy, &winwidth, &winheight); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2596:25: note: passing argument to parameter here int* /* y_return */, ^ window.c:587:22: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &winx, &winy, &winwidth, &winheight); ^~~~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2597:29: note: passing argument to parameter here int* /* width_return */, ^ window.c:587:33: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &winx, &winy, &winwidth, &winheight); ^~~~~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2599:1: note: passing argument to parameter here ); ^ window.c:663:35: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (ximageinfo= imageToXImage(disp, scrn, visual, depth, image, ^ window.c:733:33: warning: passing arguments to 'ximageToPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (((pixmap= ximageToPixmap(disp, ImageWindow, ximageinfo)) == ^ window.c:528:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char imageInWindow(disp, scrn, image, user_geometry, fullscreen, install, ^ In file included from window.c:12: ./xloadimage.h:97:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char imageInWindow(); ^ 27 warnings generated. rm -f imlib_loader.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 imlib_loader.c imlib_loader.c:46:25: warning: passing arguments to 'search_imdata' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((im = search_imdata(fullname), image) == NULL) { ^ imlib_loader.c:58:41: warning: passing arguments to 'newTrueImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (image == NULL) image = newTrueImage(w, h); ^ imlib_loader.c:102:26: warning: passing arguments to 'dupString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->title = dupString(name); ^ imlib_loader.c:106:15: warning: passing arguments to 'regist_imdata' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regist_imdata(name, im, image); ^ imlib_loader.c:31:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Imlib_Image *search_imdata(); ^ imlib_loader.c:112:14: note: conflicting prototype is here Imlib_Image *search_imdata(char *fullname, Image *image) ^ imlib_loader.c:124:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void regist_imdata(fullname, im, image) ^ imlib_loader.c:135:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap pixmap_fromimimage(imimage, width, height) ^ imlib_loader.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] manage_pixmap(pixmap, add, page) ^ 8 warnings generated. rm -f libmgpimage.a ar clq libmgpimage.a imagetypes.o send.o zio.o zoom.o new.o compress.o reduce.o value.o misc.o rotate.o rle.o rlelib.o smooth.o halftone.o clip.o dither.o path.o bright.o window.o imlib_loader.o ranlib libmgpimage.a making all in ./sample... making all in ./contrib... making all in contrib/xwintoppm... clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c xwintoppm.c xwintoppm.c:144:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static long parse_long (s) ^ xwintoppm.c:168:10: warning: variable 'frame_only' set but not used [-Wunused-but-set-variable] Bool frame_only = False; ^ xwintoppm.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ xwintoppm.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Get24bitDirectColors(colors) ^ xwintoppm.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Window_Dump(window, out) ^ xwintoppm.c:291:19: warning: unused variable 'swaptest' [-Wunused-variable] unsigned long swaptest = 1; ^ xwintoppm.c:295:9: warning: variable 'header_size' set but not used [-Wunused-but-set-variable] int header_size; ^ xwintoppm.c:296:18: warning: unused variable 'i' [-Wunused-variable] int ncolors, i; ^ xwintoppm.c:306:19: warning: unused variable 'header' [-Wunused-variable] XWDFileHeader header; ^ xwintoppm.c:307:14: warning: unused variable 'xwdcolor' [-Wunused-variable] XWDColor xwdcolor; ^ xwintoppm.c:318:16: warning: unused variable 'cmap' [-Wunused-variable] Colormap cmap ; ^ xwintoppm.c:319:20: warning: variable 'vis' set but not used [-Wunused-but-set-variable] Visual vis_h,*vis ; ^ xwintoppm.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Error(string) ^ xwintoppm.c:647:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Image_Size(image) ^ xwintoppm.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadColors(vis,cmap,colors) ^ xwintoppm.c:707:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Get_XColors(win_info, colors) ^ xwintoppm.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _swapshort (bp, n) ^ xwintoppm.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _swaplong (bp, n) ^ 18 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c dsimple.c dsimple.c:76:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Malloc(size) ^ dsimple.c:91:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Realloc(ptr, size) ^ dsimple.c:111:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Get_Display_Name(pargc, argv) ^ dsimple.c:147:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Display *Open_Display(display_name) ^ dsimple.c:171:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Setup_Display_And_Screen(argc, argv) ^ dsimple.c:183:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XFontStruct *Open_Font(name) ^ dsimple.c:199:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void _bitmap_error(status, filename) ^ dsimple.c:211:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap ReadBitmapFile(d, filename, width, height, x_hot, y_hot) ^ dsimple.c:233:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void WriteBitmapFile(filename, bitmap, width, height, x_hot, y_hot) ^ dsimple.c:269:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Window Select_Window_Args(rargc, argv) ^ dsimple.c:339:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long Resolve_Color(w, name) ^ dsimple.c:375:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap Bitmap_To_Pixmap(dpy, d, gc, bitmap, width, height) ^ dsimple.c:411:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Window Select_Window(dpy) ^ dsimple.c:462:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Window Window_With_Name(dpy, top, name) ^ 14 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c list.c list.c:58:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void zero_list(lp) ^ In file included from list.c:49: ./list.h:63:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void zero_list( ^ list.c:77:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int add_to_list(lp, item) ^ In file included from list.c:49: ./list.h:68:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int add_to_list ( ^ list.c:104:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (lp = (list_ptr) malloc( sizeof( list_item))) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ list.c:104:12: note: place parentheses around the assignment to silence this warning if (lp = (list_ptr) malloc( sizeof( list_item))) { ^ ( ) list.c:104:12: note: use '==' to turn this assignment into an equality comparison if (lp = (list_ptr) malloc( sizeof( list_item))) { ^ == list.c:125:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] list_ptr dup_list_head(lp, start_at_curr) ^ In file included from list.c:49: ./list.h:78:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] list_ptr dup_list_head ( ^ list.c:149:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned int list_length(lp) ^ In file included from list.c:49: ./list.h:83:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] unsigned int list_length( ^ list.c:176:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void *delete_from_list(lp, item) ^ In file included from list.c:49: ./list.h:88:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void *delete_from_list ( ^ list.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void delete_list(lp, free_items) ^ In file included from list.c:49: ./list.h:93:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void delete_list( ^ list.c:243:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destructor( item); ^ list.c:229:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void delete_list_destroying(lp, destructor) ^ In file included from list.c:49: ./list.h:98:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void delete_list_destroying ( ^ list.c:257:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void * first_in_list(lp) ^ In file included from list.c:49: ./list.h:103:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void *first_in_list ( ^ list.c:279:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void * next_in_list(lp) ^ In file included from list.c:49: ./list.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void *next_in_list ( ^ list.c:297:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int list_is_empty(lp) ^ In file included from list.c:49: ./list.h:113:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int list_is_empty ( ^ 22 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c multiVis.c multiVis.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void initFakeVisual(Vis) ^ multiVis.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryColorMap(disp,src_cmap,src_vis,src_colors,rShift,gShift,bShift) ^ multiVis.c:211:56: warning: unused variable 'pixel' [-Wunused-variable] unsigned long redMask, greenMask, blueMask, pixel; ^ multiVis.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMultiVisualRegions(disp,srcRootWinid, x, y, width, height, ^ multiVis.c:324:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void TransferImage(disp,reg_image,srcw,srch,reg, ^ multiVis.c:331:10: warning: unused variable 'indexMap' [-Wunused-variable] int *indexMap,ncolors ; ^ multiVis.c:331:19: warning: variable 'ncolors' set but not used [-Wunused-but-set-variable] int *indexMap,ncolors ; ^ multiVis.c:335:9: warning: variable 'targetBytesPerLine' set but not used [-Wunused-but-set-variable] int targetBytesPerLine ; ^ multiVis.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadRegionsInList(disp,fakeVis,depth,format,width,height,bbox,regions) ^ multiVis.c:423:11: warning: unused variable 'hasNonDefault' [-Wunused-variable] int hasNonDefault; ^ multiVis.c:425:11: warning: unused variable 'allImage' [-Wunused-variable] int allImage = 0; ^ multiVis.c:426:11: warning: unused variable 'transparentColor' [-Wunused-variable] int transparentColor, transparentType; ^ multiVis.c:426:29: warning: unused variable 'transparentType' [-Wunused-variable] int transparentColor, transparentType; ^ multiVis.c:498:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XImage *ReadAreaToImage(disp, srcRootWinid, x, y, width, height, ^ multiVis.c:526:21: warning: variable 'pmData' set but not used [-Wunused-but-set-variable] unsigned char *pmData , *ipmData ; ^ multiVis.c:526:32: warning: variable 'ipmData' set but not used [-Wunused-but-set-variable] unsigned char *pmData , *ipmData ; ^ multiVis.c:685:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void make_src_list( disp, image_wins, bbox, curr, x_rootrel, y_rootrel, ^ multiVis.c:781:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static list_ptr make_region_list( disp, win, bbox, hasNonDefault, ^ multiVis.c:801:25: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count=0 ; ^ multiVis.c:884:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void destroy_image_region( image_region) ^ multiVis.c:894:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void destroy_region_list( rlist) ^ multiVis.c:907:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void subtr_rect_from_image_region( image_region, x, y, width, height) ^ multiVis.c:932:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void add_rect_to_image_region( image_region, x, y, width, height) ^ multiVis.c:954:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int src_in_region_list( src, image_regions) ^ multiVis.c:975:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void add_window_to_list( image_wins, w, xrr, yrr, x_vis, y_vis, ^ multiVis.c:1014:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int src_in_image( src, numImageVisuals, pImageVisuals) ^ multiVis.c:1034:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int src_in_overlay( src, numOverlayVisuals, pOverlayVisuals, ^ multiVis.c:1108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int GetXVisualInfo(display, screen, transparentOverlays, ^ multiVis.c:1137:31: warning: unused variable 'nIVisuals' [-Wunused-variable] int nVisuals, nOVisuals, nIVisuals; ^ multiVis.c:1242:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FreeXVisualInfo(pVisuals, pOverlayVisuals, pImageVisuals) ^ multiVis.c:47:14: warning: unused variable 'vis_class_str' [-Wunused-variable] static char *vis_class_str[] = { "StaticGray" , "GrayScale" , "StaticColor", ^ 31 warnings generated. rm -f xwintoppm._man if test -z "" ; then cd `dirname xwintoppm` && ln -s `basename xwintoppm.man` `basename xwintoppm._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xwintoppm.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xwintoppm._man; fi rm -f xwintoppm clang -o xwintoppm -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib xwintoppm.o dsimple.o list.o multiVis.o -lXmu -lXt -lSM -lICE -lXext -lX11 -lXext -lX11 ld: warning: ignoring duplicate libraries: '-lX11', '-lXext' rm -f mgpnet._man if test -z "" ; then cd `dirname mgpnet` && ln -s `basename mgpnet.man` `basename mgpnet._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < mgpnet.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >mgpnet._man; fi rm -f m17n.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 m17n.c rm -f mgp._man if test -z "" ; then cd `dirname mgp` && ln -s `basename mgp.man` `basename mgp._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < mgp.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >mgp._man; fi rm -f mgp2ps._man if test -z "" ; then cd `dirname mgp2ps` && ln -s `basename mgp2ps.man` `basename mgp2ps._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < mgp2ps.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >mgp2ps._man; fi rm -f mgpembed._man if test -z "" ; then cd `dirname mgpembed` && ln -s `basename mgpembed.man` `basename mgpembed._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < mgpembed.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >mgpembed._man; fi rm -f mgp.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 mgp.c In file included from mgp.c:34: In file included from ./mgp.h:76: ./image/xloadimage.h:79:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] char *expandPath(); /* path.c */ ^ mgp.c:114:14: note: conflicting prototype is here extern char *expandPath __P((char *)); ^ mgp.c:219:8: warning: variable 'ep' set but not used [-Wunused-but-set-variable] char *ep; ^ mgp.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ mgp.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] genhtml(start_page) ^ mgp.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mgp_show_version(name) ^ mgp.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mgp_usage(name) ^ mgp.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main_loop(start_page) ^ mgp.c:903:22: warning: variable 'zid' is uninitialized when used here [-Wuninitialized] zoomout_zimage(zid); ^~~ mgp.c:899:13: note: initialize the variable 'zid' to silence this warning int zid; ^ = 0 mgp.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rakugaki_update(state, e) ^ mgp.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rakugaki_updatecolor(cursor) ^ mgp.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkchild(key) ^ mgp.c:1347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkchildwin(key) ^ mgp.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regchild(pid, key, window_id, flag) ^ mgp.c:1387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] purgechild(flag) ^ mgp.c:1402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] waitkids(sig) ^ 15 warnings generated. rm -f draw.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 draw.c draw.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ispsfilename(p0) ^ draw.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] state_goto(state, page, repaint) ^ draw.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] state_next(state) ^ draw.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] state_init(state) ^ draw.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] state_newpage(state) ^ draw.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_page(state, lastcp) ^ draw.c:332:8: warning: variable 'end_line' set but not used [-Wunused-but-set-variable] u_int end_line; ^ draw.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_one(state, e) ^ draw.c:387:8: warning: variable 'end_line' set but not used [-Wunused-but-set-variable] u_int end_line; ^ draw.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_direc(state, seenpause) ^ draw.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_position(state) ^ draw.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_line_start(state) ^ draw.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_line_itemsize(state, ascent, descent, flheight) ^ draw.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_line_output(state, data) ^ draw.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_line_end(state) ^ draw.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cutin(state, lx, ly, dir) ^ draw.c:1127:8: warning: variable 'step' set but not used [-Wunused-but-set-variable] u_int step, x, xoff, yoff; ^ draw.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_string(state, data) ^ draw.c:1380:5: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] q = draw_fragment(state, p, q - p, registry, charset16); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ draw.c:1387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_fragment(state, p, len, registry, charset16) ^ draw.c:1487:18: warning: variable 'xfontstruct' set but not used [-Wunused-but-set-variable] XFontStruct *xfontstruct; ^ draw.c:1615:9: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return p; ^ draw.c:1619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iskinsokuchar(code) ^ draw.c:1632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_alloc(state) ^ draw.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_free(state, obj) ^ draw.c:1679:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(obj->data.image.image); ^ draw.c:1765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_new_xfont(state, x, y, size, code, registry) ^ draw.c:1792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_new_image(state, x, y, image, xzoom, yzoom) ^ draw.c:1817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_new_image2(state, x, y, image, xzoom, yzoom, imimage, zoomonclk) ^ draw.c:1846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_new_icon(state, x, y, itype, isize, color, npoint, xpoint) ^ draw.c:1891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_image_color(image, bimage, d, inithist) ^ draw.c:1950:16: warning: passing arguments to 'newRGBMapData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newRGBMapData(&rgb, depthToColors(image->depth)); ^ draw.c:1957:17: warning: passing arguments to 'freeRGBMapData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeRGBMapData(&image->rgb); ^ draw.c:1970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_image_trans(image, x, y) ^ draw.c:2004:10: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(p, pl) == d) ^ ./image/image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:2005:7: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(n, p, pl); ^ ./image/image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ draw.c:2021:17: warning: passing arguments to 'expand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = expand(image); ^ draw.c:2023:13: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(timage); ^ draw.c:2043:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (memToVal(p, pl) != trans) ^ ./image/image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:2045:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(b, bpl); ^ ./image/image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:2053:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(n, p, pl); ^ ./image/image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ draw.c:2079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_draw_image(target, x, y, obj, page) ^ draw.c:2093:15: warning: passing arguments to 'zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = zoom(image, ^ draw.c:2100:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(timage); ^ draw.c:2105:27: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximageinfo= imageToXImage(display, screen, visual, depth, image, ^ draw.c:2122:12: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(image, ximageinfo); ^ draw.c:2126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_draw(state, target, xpos, ypos) ^ draw.c:2400:7: warning: passing 'char *' to parameter of type 'const FcChar8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] obj->data.xftfont.data, ^~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xft/Xft.h:222:24: note: passing argument to parameter 'string' here _Xconst FcChar8 *string, ^ draw.c:2406:7: warning: passing 'char *' to parameter of type 'const FcChar8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] obj->data.xftfont.data, ^~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xft/Xft.h:195:24: note: passing argument to parameter 'string' here _Xconst FcChar8 *string, ^ draw.c:2133:6: warning: variable 'width' set but not used [-Wunused-but-set-variable] int width, height, xwidth, xheight; ^ draw.c:2133:13: warning: variable 'height' set but not used [-Wunused-but-set-variable] int width, height, xwidth, xheight; ^ draw.c:2133:21: warning: unused variable 'xwidth' [-Wunused-variable] int width, height, xwidth, xheight; ^ draw.c:2133:29: warning: unused variable 'xheight' [-Wunused-variable] int width, height, xwidth, xheight; ^ draw.c:2141:4: warning: unused variable 'drawarea' [-Wunused-variable] } drawarea[MAXDRAWAREA]; ^ draw.c:2142:6: warning: unused variable 'areaindex' [-Wunused-variable] int areaindex = 0; ^ draw.c:2506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_fontname(buf, bufsiz, seed, siz, registry) ^ draw.c:2564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_parsefont(xfont, pixel, truescalable) ^ draw.c:2616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_setfont(xfont, csize, registry, truescalable) ^ draw.c:2833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_onechar_x(state, code, x, y, size, argregistry, lastchar) ^ draw.c:2849:60: warning: address of array 'mgp_charset' will always evaluate to 'true' [-Wpointer-bool-conversion] if (code >= 0xa0 && ((!argregistry || !argregistry[0]) && mgp_charset)) ~~ ^~~~~~~~~~~ draw.c:2887:11: warning: format specifies type 'int' but the argument has type 'u_int *' (aka 'unsigned int *') [-Wformat] seed, char_size, registry?registry:"NULL", ^~~~~~~~~ draw.c:2925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] back_gradation(state, cg0) ^ draw.c:3055:19: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = reduce(myimage, numcolor, verbose); ^ draw.c:3062:46: warning: format specifies type 'int' but the argument has type 'u_int *' (aka 'unsigned int *') [-Wformat] srcwidth, srcheight, dstwidth, dstheight, b_quality); ^~~~~~~~~ draw.c:3067:17: warning: passing arguments to 'zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = zoom(image, xzoomrate, yzoomrate, verbose); ^ draw.c:3073:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ draw.c:3079:28: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximageinfo = imageToXImage(display, screen, visual, depth, myimage, ^ draw.c:2938:9: warning: unused variable 'mypixmap' [-Wunused-variable] Pixmap mypixmap; ^ draw.c:3103:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ draw.c:3112:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:3113:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ draw.c:3121:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ draw.c:3095:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_p90(image) ^ draw.c:3135:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ draw.c:3142:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:3143:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ draw.c:3151:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ draw.c:3127:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_m90(image) ^ draw.c:3167:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ draw.c:3174:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:3175:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ draw.c:3183:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ draw.c:3159:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_180(image) ^ draw.c:3191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_load(state, filename, numcolor, ximagesize, yimagesize, backflag, zoomflag, centerflag, raise, rotate, zoomonclk) ^ draw.c:3225:26: warning: passing arguments to 'loadImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((myimage = loadImage(filename, verbose)) == NULL) { ^ draw.c:3268:19: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = reduce(myimage, numcolor, verbose); ^ draw.c:3313:18: warning: passing arguments to 'zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = zoom(image, xzoomrate, yzoomrate, verbose); ^ draw.c:3316:6: warning: format specifies type 'int' but the argument has type 'float' [-Wformat] xzoomrate, yzoomrate); ^~~~~~~~~ draw.c:3316:17: warning: format specifies type 'int' but the argument has type 'float' [-Wformat] xzoomrate, yzoomrate); ^~~~~~~~~ draw.c:3319:13: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ draw.c:3325:28: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximageinfo= imageToXImage(display, screen, visual, depth, ^ draw.c:3205:9: warning: unused variable 'mypixmap' [-Wunused-variable] Pixmap mypixmap; ^ draw.c:3208:21: warning: unused variable 'yoffset' [-Wunused-variable] int width, height, yoffset; ^ draw.c:3212:14: warning: unused variable 'backfile' [-Wunused-variable] static char backfile[MAXPATHLEN]; ^ draw.c:3213:13: warning: unused variable 'backzoom' [-Wunused-variable] static int backzoom, backnumcolor, backx, backy; ^ draw.c:3213:23: warning: unused variable 'backnumcolor' [-Wunused-variable] static int backzoom, backnumcolor, backx, backy; ^ draw.c:3213:37: warning: unused variable 'backx' [-Wunused-variable] static int backzoom, backnumcolor, backx, backy; ^ draw.c:3213:44: warning: unused variable 'backy' [-Wunused-variable] static int backzoom, backnumcolor, backx, backy; ^ draw.c:3393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_load_ps(state, filename, numcolor, ximagesize, yimagesize, backflag, zoomflag, centerflag, raise, rotate,zoomonclk) ^ draw.c:3420:15: warning: passing arguments to 'findImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (findImage(filename, fullname) < 0) { ^ draw.c:3513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] timebar(state) ^ draw.c:3560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_icon(state, cp) ^ draw.c:3659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_bar(state, cp) ^ draw.c:3704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_system(state, cp) ^ draw.c:3763:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &rootxsiz, &rootysiz, &junk, &junk); ^~~~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2636:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ draw.c:3763:15: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &rootxsiz, &rootysiz, &junk, &junk); ^~~~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2637:38: note: passing argument to parameter here unsigned int* /* height_return */, ^ draw.c:3763:26: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &rootxsiz, &rootysiz, &junk, &junk); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2638:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ draw.c:3763:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &rootxsiz, &rootysiz, &junk, &junk); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2640:1: note: passing argument to parameter here ); ^ draw.c:3773:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2871:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ draw.c:3773:49: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2873:1: note: passing argument to parameter here ); ^ draw.c:3830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_xsystem(state, cp) ^ draw.c:3885:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2871:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ draw.c:3885:49: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2873:1: note: passing argument to parameter here ); ^ draw.c:3972:17: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2636:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ draw.c:3972:24: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2637:38: note: passing argument to parameter here unsigned int* /* height_return */, ^ draw.c:3972:31: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2638:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ draw.c:3972:40: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2640:1: note: passing argument to parameter here ); ^ draw.c:3998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_tsystem(state, cp) ^ draw.c:4057:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2871:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ draw.c:4057:49: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] mode = XParseGeometry(p, &xloc, &yloc, &xsiz, &ysiz); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2873:1: note: passing argument to parameter here ); ^ draw.c:4125:8: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] pid = vfork(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ draw.c:4160:19: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2636:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ draw.c:4160:26: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2637:38: note: passing argument to parameter here unsigned int* /* height_return */, ^ draw.c:4160:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2638:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ draw.c:4160:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2640:1: note: passing argument to parameter here ); ^ draw.c:4176:20: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2636:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ draw.c:4176:27: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2637:38: note: passing argument to parameter here unsigned int* /* height_return */, ^ draw.c:4176:34: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2638:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ draw.c:4176:43: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xloc, &yloc, &xsiz, &ysiz, &dumint, &dumint); ^~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2640:1: note: passing argument to parameter here ); ^ draw.c:4283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reparent_child_window(child_window, x, y) ^ draw.c:4307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_reinit(state) ^ draw.c:4317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] epstoimage(state, epsfile, x, y, width, height, xzoom, yzoom) ^ draw.c:4428:14: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] if ((pid = vfork()) == 0) { ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ draw.c:4451:16: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] if ((gspid = vfork()) == 0) { ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ draw.c:4475:15: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] if ((gspid = vfork()) == 0) { ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ draw.c:4330:9: warning: unused variable 'back' [-Wunused-variable] XColor back; ^ draw.c:4526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_setcolor(state) ^ draw.c:4588:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(p, bpl); ^ ./image/image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:4613:18: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image->trans = memToVal(image->data, image->pixlen); ^ ./image/image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ draw.c:4665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_registerseed(state, seed, registry) ^ draw.c:4754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] x_findseed(state, registry) ^ draw.c:4772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cache_page(state, page) ^ draw.c:4809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_from_cache(state) ^ draw.c:4862:14: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(bgpixmap[i].image, bgpixmap[i].ximageinfo); ^ draw.c:4863:13: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(bgpixmap[i].image); ^ draw.c:4926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcache_process(page) ^ draw.c:4951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] predraw(state) ^ draw.c:4965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_background_pixmap(ctl, state) ^ draw.c:5003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regist_background_pixmap(ximageinfo, image) ^ draw.c:5019:13: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(bgpixmap[MAXBGPIXMAP -1].image, ^ draw.c:5021:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(bgpixmap[MAXBGPIXMAP -1].image); ^ draw.c:5032:25: warning: passing arguments to 'ximageToPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pixmap = ximageToPixmap(display, ^ draw.c:5042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_background_pixmap(ctl) ^ draw.c:5075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XClearPixmap(display, target) ^ draw.c:5080:12: warning: unused variable 'width' [-Wunused-variable] int x, y, width, height; ^ draw.c:5080:19: warning: unused variable 'height' [-Wunused-variable] int x, y, width, height; ^ draw.c:5115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_regid(registry) ^ draw.c:5131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_new_anim(state, x, y, width, height, filename, key) ^ draw.c:5158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_draw_anim(state, x, y, obj) ^ draw.c:5174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_anim(state, cp) ^ draw.c:5209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_xrender_color(value, opaque) ^ draw.c:5214:15: warning: unused variable 'render_color' [-Wunused-variable] XRenderColor render_color; ^ draw.c:5230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xft_draw_fragment(state, p, len, registry, charset16) ^ draw.c:5271:23: warning: format string contains '\0' within the string body [-Wformat] sprintf(buf16, "%s%s\0", prefix[i], p); ~~~~~^~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ draw.c:5302:11: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return p + len; ^~~~~~~ draw.c:5318:11: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return p; ^ draw.c:5329:64: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (obj_new_xftfont(state, state->linewidth, state->charoff, p, len, fontname, ^ draw.c:156:72: note: passing argument to parameter here static int obj_new_xftfont __P((struct render_state *, int, int, char *, ^ draw.c:5334:11: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return p +len; ^~~~~~ draw.c:5347:63: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (obj_new_xftfont(state, state->linewidth, state->charoff, p, len, fontname, ^ draw.c:156:72: note: passing argument to parameter here static int obj_new_xftfont __P((struct render_state *, int, int, char *, ^ draw.c:5350:10: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return p + len; ^~~~~~~ draw.c:5356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_new_xftfont(state, x, y, p, len, fontname, registry, size, charset16, xft_font) ^ draw.c:5415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xft_setfont(xfontarg, csize, registry) ^ draw.c:5428:6: warning: unused variable 'stlen' [-Wunused-variable] int stlen; ^ draw.c:5530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regist_zimage_position(obj, x, y, width, height, page) ^ draw.c:5557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_zimage(page) ^ draw.c:5569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_zimage(x, y, page) ^ draw.c:5584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zoomin_zimage(id) ^ draw.c:5605:12: warning: call to undeclared function 'pixmap_fromimimage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pixmap = pixmap_fromimimage(zimage[id], w, h); ^ draw.c:5615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zoomout_zimage(id) ^ draw.c:5636:12: warning: call to undeclared function 'pixmap_fromimimage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pixmap = pixmap_fromimimage(zimage[id], w, h); ^ draw.c:5647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_region(id, prev, cur, clear) ^ draw.c:5650:6: warning: unused variable 'i' [-Wunused-variable] int i, w, h, x, y, xf, yf; ^ draw.c:5650:9: warning: unused variable 'w' [-Wunused-variable] int i, w, h, x, y, xf, yf; ^ draw.c:5650:12: warning: unused variable 'h' [-Wunused-variable] int i, w, h, x, y, xf, yf; ^ draw.c:5650:15: warning: unused variable 'x' [-Wunused-variable] int i, w, h, x, y, xf, yf; ^ draw.c:5650:18: warning: unused variable 'y' [-Wunused-variable] int i, w, h, x, y, xf, yf; ^ draw.c:1792:1: warning: unused function 'obj_new_image' [-Wunused-function] obj_new_image(state, x, y, image, xzoom, yzoom) ^ 187 warnings generated. rm -f parse.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 parse.c In file included from parse.c:32: In file included from ./mgp.h:76: ./image/xloadimage.h:80:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] int findImage(); ^ parse.c:48:12: note: conflicting prototype is here extern int findImage __P((char *, char *)); ^ parse.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_file(filename) ^ parse.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_esc(s) ^ parse.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_text(p, page) ^ parse.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_rc(fp, filename) ^ parse.c:302:12: warning: passing 'char[1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lex_init(buf); ^~~ parse.c:57:30: note: passing argument to parameter here extern void lex_init(u_char *); ^ parse.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_file(fp, filename, page, line, preamble) ^ parse.c:426:12: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lex_init(buf + 1); ^~~~~~~ parse.c:57:30: note: passing argument to parameter here extern void lex_init(u_char *); ^ parse.c:612:13: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lex_init(buf + 1); ^~~~~~~ parse.c:57:30: note: passing argument to parameter here extern void lex_init(u_char *); ^ parse.c:381:6: warning: variable 'line_cont' set but not used [-Wunused-but-set-variable] int line_cont; ^ parse.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debug0(p) ^ parse.c:1642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debug1(p) ^ parse.c:1674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chkfile(p) ^ parse.c:1693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctllastitem(this) ^ parse.c:1707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlappend(to, this) ^ parse.c:1720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlinsert(here, this) ^ parse.c:1735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlalloc1(op) ^ parse.c:1752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlfree(this) ^ parse.c:1768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlcopy(this) ^ parse.c:1792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlcopy1(src) ^ parse.c:1805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctlcmp(a, b) ^ parse.c:1897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fsearchopen(fname, mode, path) ^ parse.c:1927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] define_font(cp) ^ parse.c:1960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_font(font) ^ 24 warnings generated. rm -f plist.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 plist.c plist.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl_on(state) ^ plist.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl_off(state) ^ plist.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl_pdraw(state, i, gc) ^ plist.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pl_title(page) ^ plist.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] page_title(page) ^ plist.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pg_draw(state) ^ plist.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_kstring(d, buf, x, y) ^ 7 warnings generated. rm -f print.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 print.c In file included from print.c:35: In file included from ./mgp.h:76: ./image/xloadimage.h:79:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] char *expandPath(); /* path.c */ ^ print.c:360:14: note: conflicting prototype is here extern char *expandPath __P((char *)); ^ In file included from print.c:35: In file included from ./mgp.h:76: ./image/xloadimage.h:80:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] int findImage(); ^ print.c:362:12: note: conflicting prototype is here extern int findImage __P((char *, char *)); ^ print.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findpaper(name) ^ print.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan_font(page) ^ print.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_pause(page) ^ print.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_page(page) ^ print.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_pageinit(page) ^ print.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_direc_print(cp) ^ print.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] icon_output(tp) ^ print.c:1300:10: warning: cast to smaller integer type 'int' from 'struct fontmap *' [-Wpointer-to-int-cast] switch ((int)tp->font) { /*XXX*/ ^~~~~~~~~~~~~ print.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line_skip(x, y) ^ print.c:1409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_bar(cp) ^ print.c:1434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_icon(cp) ^ print.c:1462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_line(data, pfx) ^ print.c:1471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iskinsokuchar(code) ^ print.c:1484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_string(data, pfx) ^ print.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_fragment(data, len, kanjimode, pfx) ^ print.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkeps(fname) ^ print.c:1624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text_remember(text, ctype, fontsize, offset, pfx) ^ print.c:1651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] icon_remember(icon, fontsize, offset, color) ^ print.c:1661:29: warning: cast to 'struct fontmap *' from smaller integer type 'int' [-Wint-to-pointer-cast] textpool[ntextpool].font = (struct fontmap *)icon; /*XXX*/ ^~~~~~~~~~~~~~~~~~~~~~ print.c:1679:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ print.c:1688:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ print.c:1689:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ print.c:1697:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ print.c:1671:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_p90(image) ^ print.c:1711:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ print.c:1718:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ print.c:1719:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ print.c:1727:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ print.c:1703:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_m90(image) ^ print.c:1743:26: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte *rot_data = lmalloc(new_linelen * new_height); ^ print.c:1750:8: warning: passing arguments to 'doMemToVal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = memToVal(src, pl); ^ ./image/image.h:116:20: note: expanded from macro 'memToVal' doMemToVal(PTR,LEN)) ^ print.c:1751:4: warning: passing arguments to 'doValToMem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] valToMem(d, tgt, pl); ^ ./image/image.h:121:17: note: expanded from macro 'valToMem' doValToMem(VAL,PTR,LEN)) ^ print.c:1759:7: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(image->data); ^ print.c:1735:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rotate_image_180(image) ^ print.c:1768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_remember(cp, pool) ^ print.c:1784:22: warning: passing arguments to 'loadImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = loadImage(cp->ctm_fname, mgp_flag & FL_VERBOSE); ^ print.c:1809:64: warning: format specifies type 'int' but the argument has type 'Image *(*)()' [-Wformat] fprintf(stderr, "rotation by %d degrees not supported.\n", rotate); ~~ ^~~~~~ print.c:1814:12: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(myimage); ^ print.c:1833:21: warning: passing arguments to 'loadImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = loadImage(cp->ctm_fname, mgp_flag & FL_VERBOSE); ^ print.c:1858:63: warning: format specifies type 'int' but the argument has type 'Image *(*)()' [-Wformat] fprintf(stderr, "rotation by %d degrees not supported.\n", rotate); ~~ ^~~~~~ print.c:1863:11: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(myimage); ^ print.c:1869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_load_print(filename, numcolor, ximagesize, yimagesize, backflag, zoomflag, rotate) ^ print.c:1913:26: warning: passing arguments to 'loadImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((myimage = loadImage(filename, verbose)) == NULL) ^ print.c:1942:19: warning: passing arguments to 'reduce' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = reduce(myimage, numcolor, verbose); ^ print.c:1966:16: warning: passing arguments to 'zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myimage = zoom(image, xzoomrate, yzoomrate, verbose); ^ print.c:1967:11: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(image); ^ print.c:1972:34: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (ximageinfo= imageToXImage(display, screen, visual, depth, ^ print.c:1978:27: warning: passing arguments to 'ximageToPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mypixmap = ximageToPixmap(display, RootWindow(display, 0), ximageinfo); ^ print.c:2039:12: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(myimage, ximageinfo); ^ print.c:2040:11: warning: passing arguments to 'freeImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeImage(myimage); ^ print.c:1887:6: warning: variable 'xpos' set but not used [-Wunused-but-set-variable] int xpos = 0; ^ print.c:2045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_usage(name) ^ print.c:2086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpencolor(c) ^ print.c:2113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_full_image(print_image, visual) ^ print.c:2150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_32_image(print_image, visual) ^ print.c:2158:11: warning: variable 'data' set but not used [-Wunused-but-set-variable] u_short *data; ^ print.c:2188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_8_image(print_image) ^ print.c:2224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_eps(epsfp, filename, numcolor, ximagesize, yimagesize, backflag, zoomflag) ^ print.c:2236:37: warning: variable 'sheight' set but not used [-Wunused-but-set-variable] int x1, y1, x2, y2, height, width, sheight, swidth; ^ print.c:2237:6: warning: variable 'xpos' set but not used [-Wunused-but-set-variable] int xpos = 0; ^ print.c:2347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ print.c:2488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findfont(ctrl, lang, font) ^ print.c:2564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fontstring(font) ^ print.c:2574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] loadfont(font, name) ^ print.c:352:24: warning: unused function 'findttfont' [-Wunused-function] static struct fontmap *findttfont __P((int, int, char *)); ^ 67 warnings generated. rm -f globals.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 globals.c rm -f x11.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 x11.c x11.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_visual(display, screen, depthp) ^ x11.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_win1(geometry) ^ x11.c:144:4: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xsiz, &ysiz); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2871:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ x11.c:144:11: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &xsiz, &ysiz); ^~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2873:1: note: passing argument to parameter here ); ^ x11.c:221:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ x11.c:361:15: warning: multiple unsequenced modifications to 'fullscreen' [-Wunsequenced] fullscreen = ++fullscreen % 2; ~ ^ x11.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_color(colorname, value) ^ x11.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name2gcolor(colorname) ^ x11.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_alloc_colors(clr) ^ x11.c:429:34: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] XFreeColors(display, colormap, clr->colors, clr->num, 0); ^~~~~~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2538:32: note: passing argument to parameter here unsigned long* /* pixels */, ^ x11.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regist_alloc_colors(clr, colors, num) ^ x11.c:460:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ 12 warnings generated. rm -f x11dummy.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 x11dummy.c x11dummy.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_win1(geometry) ^ x11dummy.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_color(colorname, value) ^ x11dummy.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name2gcolor(colorname) ^ x11dummy.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_alloc_colors(clr) ^ x11dummy.c:145:34: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] XFreeColors(display, colormap, clr->colors, clr->num, 0); ^~~~~~~~~~~ /Users/pbulk/build/graphics/magicpoint/work/.buildlink/include/X11/Xlib.h:2538:32: note: passing argument to parameter here unsigned long* /* pixels */, ^ x11dummy.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regist_alloc_colors(clr, colors, num) ^ 6 warnings generated. rm -f font.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 font.c rm -f background.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 background.c background.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_gradation0(x1, x2, y1, y2, z1, z2, p1, p2, dpy, dpz, mask) ^ background.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] draw_gradation(width, height, cg) ^ background.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] g_rotate(pic, cg, width, height) ^ background.c:329:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double cdist(x, y, cx, cy, rot, mode) ^ background.c:358:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double lcdist(x, y, cx, cy, rot, mode, dy, ey) ^ background.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_XImage(pic, width, height) ^ background.c:406:28: warning: passing arguments to 'lmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image= (Image *)lmalloc(sizeof(Image)); ^ background.c:396:19: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^ 8 warnings generated. rm -f grammar.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 grammar.c ./grammar.y:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_void(op) ^ ./grammar.y:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_double_int(op, v) ^ ./grammar.y:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_double(op, v) ^ ./grammar.y:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_int(op, v) ^ ./grammar.y:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_int2(op, v1, v2) ^ ./grammar.y:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_int3(op, v1, v2, v3) ^ ./grammar.y:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_str(op, str) ^ ./grammar.y:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_str2(op, str1, str2) ^ ./grammar.y:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_color(op, color) ^ ./grammar.y:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_bgrad(w, h, colors, dir, zoomflg, extra) ^ ./grammar.y:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_newimage(arg) ^ ./grammar.y:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_image(op, fname, colors, xsiz, ysiz, zoomflg) ^ ./grammar.y:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_bar(color, thick, start, len) ^ ./grammar.y:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_icon(n, color, siz) ^ ./grammar.y:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_pcache(flag, mode, effect, value) ^ ./grammar.y:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_valign(align) ^ ./grammar.y:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_area(width, height, xoff, yoff) ^ ./grammar.y:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gen_argsfromstr(op, str, flag) ^ ./grammar.y:739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_xfont(seed, registry) ^ y.tab.c:2174:16: warning: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yychar = yylex (); ^ ./grammar.y:186:1: warning: unused function 'gen_int2' [-Wunused-function] gen_int2(op, v1, v2) ^ 21 warnings generated. rm -f postscript.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 postscript.c postscript.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ps_boundingbox(fname, px1, py1, px2, py2) ^ postscript.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image_zoomratio(state, xp, yp, zoomflag, width, height) ^ 2 warnings generated. rm -f tfont.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 tfont.c rm -f embed.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 embed.c embed.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocpy(p) ^ embed.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] embed_fname(fname) ^ embed.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] embed_file(fp, p, lineno) ^ 3 warnings generated. clang -c -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 unimap.c rm -f mng.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 mng.c mng.c:125:14: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] image->data = (char *)malloc(width * height * 24); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mng.c:182:27: warning: passing arguments to 'imageToXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ximageinfo= imageToXImage(mngdisplay, mngscreen, mngvisual, depth, ^ mng.c:191:12: warning: passing arguments to 'freeXImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeXImage(ximageinfo->ximage, ximageinfo); ^ mng.c:214:12: warning: variable 'mymng' set but not used [-Wunused-but-set-variable] mngstuff *mymng; ^ mng.c:255:1: warning: non-void function does not return a value [-Wreturn-type] } ^ mng.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mngload(mngfile, x, y, width, height) ^ mng.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mng_window_setup(mymng, x, y, width, height) ^ mng.c:336:25: warning: passing arguments to 'get_visual' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mngvisual = get_visual(mngdisplay, mngscreen, &depth); ^ mng.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mngpreload(state, mngfile, width, height) ^ mng.c:361:9: warning: unused variable 'myretcode' [-Wunused-variable] u_int myretcode; ^ 10 warnings generated. rm -f scanner.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DUSE_PNG=1 -DMNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DUSE_IMLIB=1 -DMGPLIBDIR=\"/opt/pkg/lib/X11/mgp\" -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -I/Users/pbulk/build/graphics/magicpoint/work/.buildlink/include -I/opt/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 scanner.c ./scanner.l:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lex_init(buf) ^ ./scanner.l:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xdtoi(c) ^ ./scanner.l:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stoi(s) ^ :1925:16: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration] static int input (void) ^ 4 warnings generated. rm -f mgp clang -o mgp -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib mgp.o draw.o parse.o plist.o globals.o x11.o font.o background.o scanner.o grammar.o postscript.o tfont.o embed.o unimap.o mng.o m17n.o -L./image -lmgpimage -L/opt/pkg/lib -lm -L/opt/pkg/lib -lpng16 -L/Users/pbulk/build/graphics/magicpoint/work/.buildlink/lib -lmng -L/opt/pkg/lib -L/opt/pkg/lib -lXft -liconv -L/opt/pkg/lib -lImlib2 -lgif -lXext -lX11 rm -f mgp2ps clang -o mgp2ps -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib print.o parse.o globals.o x11dummy.o scanner.o grammar.o postscript.o embed.o -L./image -lmgpimage -L/opt/pkg/lib -lm -L/opt/pkg/lib -lpng16 -L/Users/pbulk/build/graphics/magicpoint/work/.buildlink/lib -lmng -L/opt/pkg/lib -L/opt/pkg/lib -lXft -liconv -L/opt/pkg/lib -lImlib2 -lgif -lXext -lX11 *** Please use pkgtools/verifypc to sanity check dependencies.