=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for tkimg-1.3.20080116nb3 --- pkgIndex.tcl --- --- imgInit.o --- --- tkimgIO.o --- --- pkgIndex.tcl --- echo 'package ifneeded Img 1.3.9 [list load [file join $dir Img.dylib]]' > pkgIndex.tcl --- imgPNG.o --- --- imgInit.o --- imgInit.c --- tkimgIO.o --- tkimgIO.c --- imgPNG.o --- imgPNG.c In file included from imgPNG.c:26: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :445:1: note: expanded from here Tkimgpng_SafeInit ^ imgPNG.c:74:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tk_png_error(png_ptr, error_msg) ^ imgPNG.c:74:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:84:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tk_png_warning(png_ptr, error_msg) ^ imgPNG.c:84:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:92:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tk_png_read(png_ptr, data, length) ^ imgPNG.c:92:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:105:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tk_png_write(png_ptr, data, length) ^ imgPNG.c:105:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:118:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tk_png_flush(png_ptr) ^ imgPNG.c:118:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:155:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatchPNG(handle, widthPtr, heightPtr) ^ imgPNG.c:155:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:194:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead (interp, dataObj, format, imageHandle, ^ imgPNG.c:194:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:213:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonReadPNG(png_ptr, interp, format, imageHandle, destX, destY, ^ imgPNG.c:273:9: warning: comparison of function 'png_set_strip_16' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (png_set_strip_16 != NULL) { ^~~~~~~~~~~~~~~~ ~~~~ imgPNG.c:273:9: note: prefix with the address-of operator to silence this warning if (png_set_strip_16 != NULL) { ^ & imgPNG.c:280:9: warning: comparison of function 'png_set_expand' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (png_set_expand != NULL) { ^~~~~~~~~~~~~~ ~~~~ imgPNG.c:280:9: note: prefix with the address-of operator to silence this warning if (png_set_expand != NULL) { ^ & imgPNG.c:305:9: warning: address of function 'png_get_sRGB' will always evaluate to 'true' [-Wpointer-bool-conversion] if (png_get_sRGB && png_get_sRGB(png_ptr, info_ptr, &intent)) { ^~~~~~~~~~~~ ~~ imgPNG.c:305:9: note: prefix with the address-of operator to silence this warning if (png_get_sRGB && png_get_sRGB(png_ptr, info_ptr, &intent)) { ^ & imgPNG.c:307:16: warning: address of function 'png_get_gAMA' will always evaluate to 'true' [-Wpointer-bool-conversion] } else if (png_get_gAMA) { ~~ ^~~~~~~~~~~~ imgPNG.c:307:16: note: prefix with the address-of operator to silence this warning } else if (png_get_gAMA) { ^ & imgPNG.c:213:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonReadPNG(png_ptr, interp, format, imageHandle, destX, destY, ^ imgPNG.c:366:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonWritePNG(interp, png_ptr, info_ptr, format, blockPtr) ^ imgPNG.c:433:9: warning: address of function 'png_set_gAMA' will always evaluate to 'true' [-Wpointer-bool-conversion] if (png_set_gAMA) { ~~ ^~~~~~~~~~~~ imgPNG.c:433:9: note: prefix with the address-of operator to silence this warning if (png_set_gAMA) { ^ & --- tkimgIO.o --- tkimgIO.c:284:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tkimg_WriteInit(buffer, handle) ^ tkimgIO.c:303:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tkimg_ReadInit(data, c, handle) ^ tkimgIO.c:308:18: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] handle->data = Tcl_GetByteArrayFromObj(data, &handle->length); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- imgPNG.o --- imgPNG.c:366:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonWritePNG(interp, png_ptr, info_ptr, format, blockPtr) ^ --- tkimgIO.o --- 3 warnings generated. --- imgPNG.o --- 24 warnings generated. --- imgJPEG.o --- --- tkimgIO.o --- tkimgIO.c:284:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tkimg_WriteInit(buffer, handle) ^ tkimgIO.c:303:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tkimg_ReadInit(data, c, handle) ^ tkimgIO.c:308:18: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] handle->data = Tcl_GetByteArrayFromObj(data, &handle->length); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- imgJPEG.o --- imgJPEG.c --- imgPNG.o --- In file included from imgPNG.c:26: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :447:1: note: expanded from here Tkimgpng_SafeInit ^ imgPNG.c:74:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tk_png_error(png_ptr, error_msg) ^ imgPNG.c:74:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:84:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tk_png_warning(png_ptr, error_msg) ^ imgPNG.c:84:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:92:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tk_png_read(png_ptr, data, length) ^ imgPNG.c:92:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:105:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tk_png_write(png_ptr, data, length) ^ imgPNG.c:105:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:118:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tk_png_flush(png_ptr) ^ imgPNG.c:118:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:155:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatchPNG(handle, widthPtr, heightPtr) ^ imgPNG.c:155:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:194:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead (interp, dataObj, format, imageHandle, ^ imgPNG.c:194:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPNG.c:213:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonReadPNG(png_ptr, interp, format, imageHandle, destX, destY, ^ imgPNG.c:273:9: warning: comparison of function 'png_set_strip_16' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (png_set_strip_16 != NULL) { ^~~~~~~~~~~~~~~~ ~~~~ imgPNG.c:273:9: note: prefix with the address-of operator to silence this warning if (png_set_strip_16 != NULL) { ^ & imgPNG.c:280:9: warning: comparison of function 'png_set_expand' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (png_set_expand != NULL) { ^~~~~~~~~~~~~~ ~~~~ imgPNG.c:280:9: note: prefix with the address-of operator to silence this warning if (png_set_expand != NULL) { ^ & imgPNG.c:305:9: warning: address of function 'png_get_sRGB' will always evaluate to 'true' [-Wpointer-bool-conversion] if (png_get_sRGB && png_get_sRGB(png_ptr, info_ptr, &intent)) { ^~~~~~~~~~~~ ~~ imgPNG.c:305:9: note: prefix with the address-of operator to silence this warning if (png_get_sRGB && png_get_sRGB(png_ptr, info_ptr, &intent)) { ^ & imgPNG.c:307:16: warning: address of function 'png_get_gAMA' will always evaluate to 'true' [-Wpointer-bool-conversion] } else if (png_get_gAMA) { ~~ ^~~~~~~~~~~~ imgPNG.c:307:16: note: prefix with the address-of operator to silence this warning } else if (png_get_gAMA) { ^ & imgPNG.c:213:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonReadPNG(png_ptr, interp, format, imageHandle, destX, destY, ^ imgPNG.c:366:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonWritePNG(interp, png_ptr, info_ptr, format, blockPtr) ^ imgPNG.c:433:9: warning: address of function 'png_set_gAMA' will always evaluate to 'true' [-Wpointer-bool-conversion] if (png_set_gAMA) { ~~ ^~~~~~~~~~~~ imgPNG.c:433:9: note: prefix with the address-of operator to silence this warning if (png_set_gAMA) { ^ & imgPNG.c:366:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonWritePNG(interp, png_ptr, info_ptr, format, blockPtr) ^ --- tkimgIO.o --- 3 warnings generated. --- imgTIFF.o --- imgTIFF.c --- imgPNG.o --- 24 warnings generated. --- imgPS.o --- imgPS.c --- imgJPEG.o --- In file included from imgJPEG.c:61: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :426:1: note: expanded from here Tkimgjpeg_SafeInit ^ imgJPEG.c:211:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatch(handle, widthPtr, heightPtr) ^ imgJPEG.c:211:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:378:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonReadJPEG(interp, cinfo, format, imageHandle, destX, destY, ^ imgJPEG.c:378:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:560:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonWriteJPEG(interp, cinfo, format, blockPtr) ^ imgJPEG.c:618:11: warning: comparison of function 'jpeg_simple_progression' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (jpeg_simple_progression != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~ imgJPEG.c:618:11: note: prefix with the address-of operator to silence this warning if (jpeg_simple_progression != NULL) { ^ & imgJPEG.c:657:10: warning: comparison of function 'jpeg_set_colorspace' not equal to a null pointer is always true [-Wtautological-pointer-compare] if ((jpeg_set_colorspace != NULL) && ^~~~~~~~~~~~~~~~~~~ ~~~~ imgJPEG.c:657:10: note: prefix with the address-of operator to silence this warning if ((jpeg_set_colorspace != NULL) && ^ & imgJPEG.c:560:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonWriteJPEG(interp, cinfo, format, blockPtr) ^ imgJPEG.c:734:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fill_input_buffer(cinfo) ^ imgJPEG.c:734:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:756:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skip_input_data(cinfo, num_bytes) ^ imgJPEG.c:756:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:773:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dummy_source(cinfo) ^ imgJPEG.c:773:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:804:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_init_destination (cinfo) ^ imgJPEG.c:804:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:813:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_empty_output_buffer (cinfo) ^ imgJPEG.c:813:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:828:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_term_destination (cinfo) ^ imgJPEG.c:828:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:850:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_error_exit (cinfo) ^ imgJPEG.c:850:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:859:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] append_jpeg_message (interp, cinfo) ^ imgJPEG.c:859:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:870:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_output_message (cinfo) ^ imgJPEG.c:870:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgTIFF.o --- In file included from imgTIFF.c:27: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :388:1: note: expanded from here Tkimgtiff_SafeInit ^ imgTIFF.c:85:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getint(buf, format, order) ^ imgTIFF.c:85:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _TIFFerr(module, fmt, ap) ^ imgTIFF.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:134:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _TIFFwarn(module, fmt, ap) ^ imgTIFF.c:134:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:142:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mapDummy(fd, base, size) ^ imgTIFF.c:142:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:151:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unMapDummy(fd, base, size) ^ imgTIFF.c:151:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:159:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closeDummy(fd) ^ imgTIFF.c:159:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:166:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeDummy(fd, data, size) ^ imgTIFF.c:166:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:175:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readMFile(fd, data, size) ^ imgTIFF.c:175:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:184:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] seekMFile(fd, off, whence) ^ imgTIFF.c:184:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:193:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sizeMFile(fd) ^ imgTIFF.c:193:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:213:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readString(fd, data, size) ^ imgTIFF.c:213:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:231:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeString(fd, data, size) ^ imgTIFF.c:231:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:249:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] seekString(fd, off, whence) ^ imgTIFF.c:249:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:275:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sizeString(fd) ^ imgTIFF.c:275:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:334:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatch(handle, widthPtr, heightPtr) ^ imgTIFF.c:334:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:382:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead(interp, data, format, imageHandle, ^ imgTIFF.c:382:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:429:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChnReadTIFF(interp, chan, fileName, format, imageHandle, ^ imgTIFF.c:429:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:465:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonRead(interp, tif, format, imageHandle, ^ imgTIFF.c:476:5: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 w, h; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ imgTIFF.c:478:5: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 *raster; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ imgTIFF.c:491:31: warning: 'uint32' is deprecated [-Wdeprecated-declarations] block.pixelSize = sizeof (uint32); ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ imgTIFF.c:497:15: warning: 'uint32' is deprecated [-Wdeprecated-declarations] raster = (uint32*) attemptckalloc(npixels * sizeof (uint32)); ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ imgTIFF.c:497:57: warning: 'uint32' is deprecated [-Wdeprecated-declarations] raster = (uint32*) attemptckalloc(npixels * sizeof (uint32)); ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ imgTIFF.c:465:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonRead(interp, tif, format, imageHandle, ^ imgTIFF.c:610:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseWriteFormat(interp, format, comp, mode) ^ imgTIFF.c:610:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgJPEG.o --- 27 warnings generated. --- imgPS.o --- In file included from imgPS.c:30: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :348:1: note: expanded from here Tkimgps_SafeInit ^ imgPS.c:143:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatchPS(handle, format, widthPtr, heightPtr) ^ imgPS.c:162:12: warning: initializing 'char *' with an expression of type 'unsigned char[41]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *p = buf; ^ ~~~ imgPS.c:143:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatchPS(handle, format, widthPtr, heightPtr) ^ imgPS.c:163:6: warning: array index 41 is past the end of the array (which contains 41 elements) [-Warray-bounds] buf[41] = 0; ^ ~~ imgPS.c:148:5: note: array 'buf' declared here unsigned char buf[41]; ^ imgPS.c:182:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead(interp, data, format, imageHandle, ^ imgPS.c:182:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPS.c:228:16: warning: passing 'unsigned char[1025]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = strstr(buffer,"%%BoundingBox:"); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here char *strstr(const char *__big, const char *__little); ^ imgPS.c:437:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatchPDF(handle, format, widthPtr, heightPtr) ^ imgPS.c:437:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPS.c:404:12: warning: unused function 'ChnMatchBeta' [-Wunused-function] static int ChnMatchBeta( ^ imgPS.c:420:12: warning: unused function 'ObjMatchBeta' [-Wunused-function] static int ObjMatchBeta( ^ --- imgTIFF.o --- 44 warnings generated. --- imgJPEG.o --- In file included from imgJPEG.c:61: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :428:1: note: expanded from here Tkimgjpeg_SafeInit ^ imgJPEG.c:211:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatch(handle, widthPtr, heightPtr) ^ imgJPEG.c:211:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:378:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonReadJPEG(interp, cinfo, format, imageHandle, destX, destY, ^ imgJPEG.c:378:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:560:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonWriteJPEG(interp, cinfo, format, blockPtr) ^ imgJPEG.c:618:11: warning: comparison of function 'jpeg_simple_progression' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (jpeg_simple_progression != NULL) { ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~ imgJPEG.c:618:11: note: prefix with the address-of operator to silence this warning if (jpeg_simple_progression != NULL) { ^ & imgJPEG.c:657:10: warning: comparison of function 'jpeg_set_colorspace' not equal to a null pointer is always true [-Wtautological-pointer-compare] if ((jpeg_set_colorspace != NULL) && ^~~~~~~~~~~~~~~~~~~ ~~~~ imgJPEG.c:657:10: note: prefix with the address-of operator to silence this warning if ((jpeg_set_colorspace != NULL) && ^ & imgJPEG.c:560:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonWriteJPEG(interp, cinfo, format, blockPtr) ^ imgJPEG.c:734:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fill_input_buffer(cinfo) ^ imgJPEG.c:734:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:756:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skip_input_data(cinfo, num_bytes) ^ imgJPEG.c:756:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:773:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dummy_source(cinfo) ^ imgJPEG.c:773:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:804:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_init_destination (cinfo) ^ imgJPEG.c:804:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:813:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_empty_output_buffer (cinfo) ^ imgJPEG.c:813:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:828:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_term_destination (cinfo) ^ imgJPEG.c:828:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:850:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_error_exit (cinfo) ^ imgJPEG.c:850:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:859:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] append_jpeg_message (interp, cinfo) ^ imgJPEG.c:859:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgJPEG.c:870:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_output_message (cinfo) ^ imgJPEG.c:870:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgPS.o --- 12 warnings generated. --- imgTIFF.o --- In file included from imgTIFF.c:27: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :388:1: note: expanded from here Tkimgtiff_SafeInit ^ imgTIFF.c:85:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getint(buf, format, order) ^ imgTIFF.c:85:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _TIFFerr(module, fmt, ap) ^ imgTIFF.c:111:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:134:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _TIFFwarn(module, fmt, ap) ^ imgTIFF.c:134:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:142:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mapDummy(fd, base, size) ^ imgTIFF.c:142:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:151:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unMapDummy(fd, base, size) ^ imgTIFF.c:151:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:159:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closeDummy(fd) ^ imgTIFF.c:159:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:166:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeDummy(fd, data, size) ^ imgTIFF.c:166:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:175:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readMFile(fd, data, size) ^ imgTIFF.c:175:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:184:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] seekMFile(fd, off, whence) ^ imgTIFF.c:184:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:193:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sizeMFile(fd) ^ imgTIFF.c:193:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:213:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readString(fd, data, size) ^ imgTIFF.c:213:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:231:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeString(fd, data, size) ^ imgTIFF.c:231:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:249:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] seekString(fd, off, whence) ^ imgTIFF.c:249:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:275:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sizeString(fd) ^ imgTIFF.c:275:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:334:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatch(handle, widthPtr, heightPtr) ^ imgTIFF.c:334:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:382:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead(interp, data, format, imageHandle, ^ imgTIFF.c:382:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:429:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChnReadTIFF(interp, chan, fileName, format, imageHandle, ^ imgTIFF.c:429:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTIFF.c:465:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonRead(interp, tif, format, imageHandle, ^ imgTIFF.c:476:5: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 w, h; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ imgTIFF.c:478:5: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 *raster; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ imgTIFF.c:491:31: warning: 'uint32' is deprecated [-Wdeprecated-declarations] block.pixelSize = sizeof (uint32); ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ imgTIFF.c:497:15: warning: 'uint32' is deprecated [-Wdeprecated-declarations] raster = (uint32*) attemptckalloc(npixels * sizeof (uint32)); ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ imgTIFF.c:497:57: warning: 'uint32' is deprecated [-Wdeprecated-declarations] raster = (uint32*) attemptckalloc(npixels * sizeof (uint32)); ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ imgTIFF.c:465:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonRead(interp, tif, format, imageHandle, ^ imgTIFF.c:610:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseWriteFormat(interp, format, comp, mode) ^ imgTIFF.c:610:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgJPEG.o --- 27 warnings generated. --- imgTGA.o --- imgTGA.c --- imgPS.o --- In file included from imgPS.c:30: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :349:1: note: expanded from here Tkimgps_SafeInit ^ imgPS.c:143:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatchPS(handle, format, widthPtr, heightPtr) ^ imgPS.c:162:12: warning: initializing 'char *' with an expression of type 'unsigned char[41]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *p = buf; ^ ~~~ imgPS.c:143:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatchPS(handle, format, widthPtr, heightPtr) ^ imgPS.c:163:6: warning: array index 41 is past the end of the array (which contains 41 elements) [-Warray-bounds] buf[41] = 0; ^ ~~ imgPS.c:148:5: note: array 'buf' declared here unsigned char buf[41]; ^ imgPS.c:182:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead(interp, data, format, imageHandle, ^ imgPS.c:182:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPS.c:228:16: warning: passing 'unsigned char[1025]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = strstr(buffer,"%%BoundingBox:"); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here char *strstr(const char *__big, const char *__little); ^ imgPS.c:437:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatchPDF(handle, format, widthPtr, heightPtr) ^ imgPS.c:437:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPS.c:404:12: warning: unused function 'ChnMatchBeta' [-Wunused-function] static int ChnMatchBeta( ^ imgPS.c:420:12: warning: unused function 'ObjMatchBeta' [-Wunused-function] static int ObjMatchBeta( ^ --- imgTIFF.o --- 44 warnings generated. --- imgXPM.o --- --- imgPS.o --- 12 warnings generated. --- imgXPM.o --- imgXPM.c --- imgPCX.o --- imgPCX.c --- imgTGA.o --- In file included from imgTGA.c:60: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :381:1: note: expanded from here Tkimgtga_SafeInit ^ imgTGA.c:560:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseFormatOpts (interp, format, comp, verb, matte) ^ imgTGA.c:560:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTGA.c:682:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, tgaHeaderPtr) ^ imgTGA.c:682:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgXPM.o --- In file included from imgXPM.c:40: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :393:1: note: expanded from here Tkimgxpm_SafeInit ^ imgXPM.c:113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Gets(handle, buffer, size) ^ imgXPM.c:113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXPM.c:229:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonRead(interp, handle, format, imageHandle, destX, destY, ^ imgXPM.c:388:42: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] hPtr = Tcl_CreateHashEntry(&colorTable, (char *) color1, &found); ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ imgXPM.c:389:25: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] Tcl_SetHashValue(hPtr, (char *) data); ^~~~~~~~~~~~~ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tcl.h:2550:69: note: expanded from macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) ^~~~~ imgXPM.c:438:44: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] hPtr = Tcl_FindHashEntry(&colorTable, (char *) color1); ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ imgXPM.c:445:16: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] col = (int)Tcl_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ imgXPM.c:467:42: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] hPtr = Tcl_FindHashEntry(&colorTable, (char *) color1); ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ imgXPM.c:469:14: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] col = (int)Tcl_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ imgXPM.c:229:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonRead(interp, handle, format, imageHandle, destX, destY, ^ imgXPM.c:510:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead(interp, data, format, imageHandle, destX, destY, ^ imgXPM.c:510:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXPM.c:557:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadXPMFileHeader(handle, widthPtr, heightPtr, numColors, byteSize) ^ imgXPM.c:557:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXPM.c:624:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char * GetType(colorDefn, type_ret) ^ imgXPM.c:624:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXPM.c:671:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char * GetColor(colorDefn, colorName, type_ret) ^ imgXPM.c:671:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgPCX.o --- In file included from imgPCX.c:62: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :381:1: note: expanded from here Tkimgpcx_SafeInit ^ imgPCX.c:421:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseFormatOpts (interp, format, comp, verb, matte) ^ imgPCX.c:421:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPCX.c:543:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, pcxHeaderPtr) ^ imgPCX.c:543:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPCX.c:572:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgPCX.c:572:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgTGA.o --- 5 warnings generated. --- imgPCX.o --- 7 warnings generated. --- imgXPM.o --- 19 warnings generated. --- imgTGA.o --- In file included from imgTGA.c:60: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :382:1: note: expanded from here Tkimgtga_SafeInit ^ imgTGA.c:560:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseFormatOpts (interp, format, comp, verb, matte) ^ imgTGA.c:560:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgTGA.c:682:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, tgaHeaderPtr) ^ imgTGA.c:682:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgPCX.o --- In file included from imgPCX.c:62: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :382:1: note: expanded from here Tkimgpcx_SafeInit ^ imgPCX.c:421:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseFormatOpts (interp, format, comp, verb, matte) ^ imgPCX.c:421:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPCX.c:543:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, pcxHeaderPtr) ^ imgPCX.c:543:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPCX.c:572:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgPCX.c:572:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgXPM.o --- In file included from imgXPM.c:40: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :395:1: note: expanded from here Tkimgxpm_SafeInit ^ imgXPM.c:113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Gets(handle, buffer, size) ^ imgXPM.c:113:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXPM.c:229:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonRead(interp, handle, format, imageHandle, destX, destY, ^ imgXPM.c:388:42: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] hPtr = Tcl_CreateHashEntry(&colorTable, (char *) color1, &found); ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ imgXPM.c:389:25: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] Tcl_SetHashValue(hPtr, (char *) data); ^~~~~~~~~~~~~ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tcl.h:2550:69: note: expanded from macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) ^~~~~ imgXPM.c:438:44: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] hPtr = Tcl_FindHashEntry(&colorTable, (char *) color1); ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ imgXPM.c:445:16: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] col = (int)Tcl_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ imgXPM.c:467:42: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] hPtr = Tcl_FindHashEntry(&colorTable, (char *) color1); ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ imgXPM.c:469:14: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] col = (int)Tcl_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ imgXPM.c:229:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonRead(interp, handle, format, imageHandle, destX, destY, ^ imgXPM.c:510:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead(interp, data, format, imageHandle, destX, destY, ^ imgXPM.c:510:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXPM.c:557:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadXPMFileHeader(handle, widthPtr, heightPtr, numColors, byteSize) ^ imgXPM.c:557:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXPM.c:624:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char * GetType(colorDefn, type_ret) ^ imgXPM.c:624:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXPM.c:671:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char * GetColor(colorDefn, colorName, type_ret) ^ imgXPM.c:671:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgTGA.o --- 5 warnings generated. --- imgPPM.o --- imgPPM.c --- imgPCX.o --- 7 warnings generated. --- imgGIF.o --- imgGIF.c --- imgXPM.o --- 19 warnings generated. --- imgBMP.o --- imgBMP.c --- imgPPM.o --- In file included from imgPPM.c:61: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :380:1: note: expanded from here Tkimgppm_SafeInit ^ imgPPM.c:139:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, maxIntensityPtr) ^ imgPPM.c:139:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPPM.c:150:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgPPM.c:150:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPPM.c:352:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadPPMFileHeader (handle, widthPtr, heightPtr, maxIntensityPtr) ^ imgPPM.c:352:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgGIF.o --- In file included from imgGIF.c:44: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :381:1: note: expanded from here Tkimggif_SafeInit ^ imgGIF.c:343:28: warning: passing '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 (ReadImage(interp, trashBuffer, handle, fileWidth, ^~~~~~~~~~~ imgGIF.c:110:14: note: passing argument to parameter 'imagePtr' here char *imagePtr, tkimg_MFile *handle, int len, int rows, ^ imgGIF.c:183:18: warning: variable 'colorResolution' set but not used [-Wunused-but-set-variable] unsigned int colorResolution; ^ imgGIF.c:184:18: warning: variable 'background' set but not used [-Wunused-but-set-variable] unsigned int background; ^ imgGIF.c:185:18: warning: variable 'aspectRatio' set but not used [-Wunused-but-set-variable] unsigned int aspectRatio; ^ imgGIF.c:481:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead(interp, data, format, imageHandle, ^ imgGIF.c:481:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:518:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadGIFHeader(handle, widthPtr, heightPtr) ^ imgGIF.c:518:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:548:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadColorMap(handle, number, buffer) ^ imgGIF.c:548:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:572:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoExtension(handle, label, transparent) ^ imgGIF.c:572:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:615:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDataBlock(handle, buf) ^ imgGIF.c:615:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:658:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadImage(interp, imagePtr, handle, len, rows, cmap, ^ imgGIF.c:658:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:1238:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] no_bits( colors ) ^ imgGIF.c:1238:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:1346:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] binformat(v, nbits) ^ imgGIF.c:1379:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tkimg_Write(e->ofile, &e->oblock[0], e->oblen); ^~~~~~~~~~~~~ ./tkimg.h:54:60: note: passing argument to parameter 'src' here TKIMGAPI int tkimg_Write(tkimg_MFile *handle, const char * src, int count); ^ imgGIF.c:1447:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isqrt(x) ^ imgGIF.c:1463:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compute_triangle_count(count, nrepcodes) ^ --- imgPPM.o --- 7 warnings generated. --- imgBMP.o --- In file included from imgBMP.c:16: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :381:1: note: expanded from here Tkimgbmp_SafeInit ^ imgBMP.c:64:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead (interp, data, format, imageHandle, ^ imgBMP.c:64:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgBMP.c:86:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatch (handle, widthPtr, heightPtr, colorMap, numBits, numCols, comp) ^ imgBMP.c:86:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgBMP.c:347:8: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] x += rleBuf[2]; ^ ~ imgBMP.c:256:2: note: array 'rleBuf' declared here unsigned char rleBuf[2]; ^ imgBMP.c:348:8: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds] y += rleBuf[3]; ^ ~ imgBMP.c:256:2: note: array 'rleBuf' declared here unsigned char rleBuf[2]; ^ imgBMP.c:487:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putint(handle, i) ^ imgBMP.c:487:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgPPM.o --- In file included from imgPPM.c:61: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :381:1: note: expanded from here Tkimgppm_SafeInit ^ imgPPM.c:139:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, maxIntensityPtr) ^ imgPPM.c:139:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPPM.c:150:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgPPM.c:150:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgPPM.c:352:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadPPMFileHeader (handle, widthPtr, heightPtr, maxIntensityPtr) ^ imgPPM.c:352:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgBMP.o --- 9 warnings generated. --- imgGIF.o --- 23 warnings generated. --- imgPPM.o --- 7 warnings generated. --- imgICO.o --- imgICO.c --- imgBMP.o --- In file included from imgBMP.c:16: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :382:1: note: expanded from here Tkimgbmp_SafeInit ^ imgBMP.c:64:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead (interp, data, format, imageHandle, ^ imgBMP.c:64:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgBMP.c:86:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonMatch (handle, widthPtr, heightPtr, colorMap, numBits, numCols, comp) ^ imgBMP.c:86:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgBMP.c:347:8: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds] x += rleBuf[2]; ^ ~ imgBMP.c:256:2: note: array 'rleBuf' declared here unsigned char rleBuf[2]; ^ imgBMP.c:348:8: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds] y += rleBuf[3]; ^ ~ imgBMP.c:256:2: note: array 'rleBuf' declared here unsigned char rleBuf[2]; ^ imgBMP.c:487:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putint(handle, i) ^ imgBMP.c:487:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgGIF.o --- In file included from imgGIF.c:44: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :382:1: note: expanded from here Tkimggif_SafeInit ^ imgGIF.c:343:28: warning: passing '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 (ReadImage(interp, trashBuffer, handle, fileWidth, ^~~~~~~~~~~ imgGIF.c:110:14: note: passing argument to parameter 'imagePtr' here char *imagePtr, tkimg_MFile *handle, int len, int rows, ^ imgGIF.c:183:18: warning: variable 'colorResolution' set but not used [-Wunused-but-set-variable] unsigned int colorResolution; ^ imgGIF.c:184:18: warning: variable 'background' set but not used [-Wunused-but-set-variable] unsigned int background; ^ imgGIF.c:185:18: warning: variable 'aspectRatio' set but not used [-Wunused-but-set-variable] unsigned int aspectRatio; ^ imgGIF.c:481:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead(interp, data, format, imageHandle, ^ imgGIF.c:481:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:518:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadGIFHeader(handle, widthPtr, heightPtr) ^ imgGIF.c:518:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:548:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadColorMap(handle, number, buffer) ^ imgGIF.c:548:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:572:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoExtension(handle, label, transparent) ^ imgGIF.c:572:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:615:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDataBlock(handle, buf) ^ imgGIF.c:615:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:658:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadImage(interp, imagePtr, handle, len, rows, cmap, ^ imgGIF.c:658:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:1238:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] no_bits( colors ) ^ imgGIF.c:1238:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgGIF.c:1346:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] binformat(v, nbits) ^ imgGIF.c:1379:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tkimg_Write(e->ofile, &e->oblock[0], e->oblen); ^~~~~~~~~~~~~ ./tkimg.h:54:60: note: passing argument to parameter 'src' here TKIMGAPI int tkimg_Write(tkimg_MFile *handle, const char * src, int count); ^ imgGIF.c:1447:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isqrt(x) ^ imgGIF.c:1463:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compute_triangle_count(count, nrepcodes) ^ --- imgBMP.o --- 9 warnings generated. --- imgICO.o --- In file included from imgICO.c:55: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :426:1: note: expanded from here Tkimgico_SafeInit ^ imgICO.c:416:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseFormatOpts (interp, format, opts) ^ imgICO.c:416:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgICO.c:510:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, icoHeaderPtr) ^ imgICO.c:510:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgICO.c:535:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgICO.c:535:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgXBM.o --- imgXBM.c --- imgGIF.o --- 23 warnings generated. --- imgSGI.o --- imgSGI.c --- imgICO.o --- 7 warnings generated. --- imgXBM.o --- In file included from imgXBM.c:29: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :426:1: note: expanded from here Tkimgxbm_SafeInit ^ imgXBM.c:155:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonRead(interp, parseInfo, format, imageHandle, destX, destY, ^ imgXBM.c:155:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXBM.c:250:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChnReadXBM(interp, chan, fileName, format, imageHandle, destX, destY, ^ imgXBM.c:250:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXBM.c:293:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead(interp, data, format, imageHandle, destX, destY, ^ imgXBM.c:293:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXBM.c:352:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NextBitmapWord(parseInfoPtr) ^ imgXBM.c:352:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXBM.c:386:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadXBMFileHeader(pi, widthPtr, heightPtr) ^ imgXBM.c:391:24: warning: variable 'hotX' set but not used [-Wunused-but-set-variable] int width, height, hotX, hotY; ^ imgXBM.c:391:30: warning: variable 'hotY' set but not used [-Wunused-but-set-variable] int width, height, hotX, hotY; ^ imgXBM.c:386:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadXBMFileHeader(pi, widthPtr, heightPtr) ^ imgXBM.c:569:15: warning: variable 'i' set but not used [-Wunused-but-set-variable] int x, y, i, value, mask; ^ imgXBM.c:634:6: warning: variable 'i' is uninitialized when used here [-Wuninitialized] i++; ^ imgXBM.c:569:16: note: initialize the variable 'i' to silence this warning int x, y, i, value, mask; ^ = 0 --- imgSGI.o --- In file included from imgSGI.c:72: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :426:1: note: expanded from here Tkimgsgi_SafeInit ^ imgSGI.c:221:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void i_errhdlr(fmt, a1, a2, a3, a4) /* most args currently used is 2 */ ^ --- imgICO.o --- In file included from imgICO.c:55: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgSGI.o --- imgSGI.c:233:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cvtshorts( buffer, n) ^ --- imgICO.o --- DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :428:1: note: expanded from here Tkimgico_SafeInit ^ --- imgSGI.o --- imgSGI.c:247:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cvtlongs( buffer, n) ^ imgSGI.c:266:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cvtimage( buffer ) ^ imgSGI.c:313:52: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: read/write mode not supported\n"); ~~~~~~~~~ ^ imgSGI.c:337:57: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on write of image header\n"); ~~~~~~~~~ ^ imgSGI.c:343:56: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on read of image header\n"); ~~~~~~~~~ ^ imgSGI.c:352:67: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: bad magic in image file %x\n",image->imagic); ~~~~~~~~~ ^ imgSGI.c:367:47: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on table alloc\n"); ~~~~~~~~~ ^ imgSGI.c:381:49: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on read of rowstart\n"); ~~~~~~~~~ ^ imgSGI.c:385:12: warning: passing 'UInt *' (aka 'unsigned long *') to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] cvtlongs(image->rowstart,tablesize); ^~~~~~~~~~~~~~~ imgSGI.c:387:48: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on read of rowsize\n"); ~~~~~~~~~ ^ imgSGI.c:398:60: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on tmpbuf alloc %d\n",image->xsize); ~~~~~~~~~ ^ imgSGI.c:425:58: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iclose: error on write of image header\n"); ~~~~~~~~~ ^ imgSGI.c:434:12: warning: passing 'UInt *' (aka 'unsigned long *') to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] cvtlongs(image->rowstart,tablesize); ^~~~~~~~~~~~~~~ imgSGI.c:436:51: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iclose: error on write of rowstart\n"); ~~~~~~~~~ ^ imgSGI.c:442:50: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iclose: error on write of rowsize\n"); ~~~~~~~~~ ^ --- imgICO.o --- imgICO.c:416:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseFormatOpts (interp, format, opts) ^ --- imgSGI.o --- imgSGI.c:488:49: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("img_seek: row number out of range\n"); ~~~~~~~~~ ^ imgSGI.c:505:36: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("img_seek: weird dim\n"); ~~~~~~~~~ ^ imgSGI.c:517:36: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("img_seek: weird dim\n"); ~~~~~~~~~ ^ imgSGI.c:521:42: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("img_seek: weird image type\n"); ~~~~~~~~~ ^ --- imgICO.o --- imgICO.c:416:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgICO.c:510:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, icoHeaderPtr) ^ imgICO.c:510:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgICO.c:535:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgICO.c:535:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgSGI.o --- imgSGI.c:606:60: warning: too few arguments in call to 'i_errhdlr' i_errhdlr ("img_setrowsize: bad dim: %d\n", image->dim); ~~~~~~~~~ ^ imgSGI.c:688:53: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("rle_compact: bad bpp: %d %d\n",ibpp,obpp); ~~~~~~~~~ ^ imgSGI.c:736:52: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("rle_expand: bad bpp: %d %d\n",ibpp,obpp); ~~~~~~~~~ ^ imgSGI.c:811:34: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("putrow: weird bpp\n"); ~~~~~~~~~ ^ imgSGI.c:864:34: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("putrow: weird bpp\n"); ~~~~~~~~~ ^ imgSGI.c:867:40: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("putrow: weird image type\n"); ~~~~~~~~~ ^ imgSGI.c:913:34: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("getrow: weird bpp\n"); ~~~~~~~~~ ^ imgSGI.c:943:34: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("getrow: weird bpp\n"); ~~~~~~~~~ ^ imgSGI.c:947:40: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("getrow: weird image type\n"); ~~~~~~~~~ ^ imgSGI.c:1119:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseFormatOpts (interp, format, comp, verb, matte) ^ imgSGI.c:1119:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgSGI.c:1242:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, sgiHeaderPtr) ^ imgSGI.c:1242:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgSGI.c:1270:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgSGI.c:1289:5: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] tmpnam(tempFileName); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ imgSGI.c:1270:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgSGI.c:1453:5: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] tmpnam(tempFileName); /* @@@ DO NOT USE */ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ --- imgXBM.o --- 15 warnings generated. In file included from imgXBM.c:29: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :428:1: note: expanded from here Tkimgxbm_SafeInit ^ imgXBM.c:155:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CommonRead(interp, parseInfo, format, imageHandle, destX, destY, ^ imgXBM.c:155:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXBM.c:250:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChnReadXBM(interp, chan, fileName, format, imageHandle, destX, destY, ^ imgXBM.c:250:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXBM.c:293:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObjRead(interp, data, format, imageHandle, destX, destY, ^ imgXBM.c:293:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXBM.c:352:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NextBitmapWord(parseInfoPtr) ^ imgXBM.c:352:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgXBM.c:386:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadXBMFileHeader(pi, widthPtr, heightPtr) ^ imgXBM.c:391:24: warning: variable 'hotX' set but not used [-Wunused-but-set-variable] int width, height, hotX, hotY; ^ imgXBM.c:391:30: warning: variable 'hotY' set but not used [-Wunused-but-set-variable] int width, height, hotX, hotY; ^ imgXBM.c:386:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadXBMFileHeader(pi, widthPtr, heightPtr) ^ imgXBM.c:569:15: warning: variable 'i' set but not used [-Wunused-but-set-variable] int x, y, i, value, mask; ^ imgXBM.c:634:6: warning: variable 'i' is uninitialized when used here [-Wuninitialized] i++; ^ imgXBM.c:569:16: note: initialize the variable 'i' to silence this warning int x, y, i, value, mask; ^ = 0 --- imgICO.o --- 7 warnings generated. --- imgSUN.o --- imgSUN.c --- imgXBM.o --- 15 warnings generated. --- imgSGI.o --- 39 warnings generated. --- imgWindow.o --- imgWindow.c --- imgSGI.o --- In file included from imgSGI.c:72: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :428:1: note: expanded from here Tkimgsgi_SafeInit ^ imgSGI.c:221:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void i_errhdlr(fmt, a1, a2, a3, a4) /* most args currently used is 2 */ ^ imgSGI.c:233:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cvtshorts( buffer, n) ^ imgSGI.c:247:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cvtlongs( buffer, n) ^ imgSGI.c:266:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cvtimage( buffer ) ^ imgSGI.c:313:52: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: read/write mode not supported\n"); ~~~~~~~~~ ^ imgSGI.c:337:57: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on write of image header\n"); ~~~~~~~~~ ^ imgSGI.c:343:56: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on read of image header\n"); ~~~~~~~~~ ^ imgSGI.c:352:67: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: bad magic in image file %x\n",image->imagic); ~~~~~~~~~ ^ imgSGI.c:367:47: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on table alloc\n"); ~~~~~~~~~ ^ imgSGI.c:381:49: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on read of rowstart\n"); ~~~~~~~~~ ^ imgSGI.c:385:12: warning: passing 'UInt *' (aka 'unsigned long *') to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] cvtlongs(image->rowstart,tablesize); ^~~~~~~~~~~~~~~ imgSGI.c:387:48: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on read of rowsize\n"); ~~~~~~~~~ ^ imgSGI.c:398:60: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iopen: error on tmpbuf alloc %d\n",image->xsize); ~~~~~~~~~ ^ imgSGI.c:425:58: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iclose: error on write of image header\n"); ~~~~~~~~~ ^ imgSGI.c:434:12: warning: passing 'UInt *' (aka 'unsigned long *') to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] cvtlongs(image->rowstart,tablesize); ^~~~~~~~~~~~~~~ imgSGI.c:436:51: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iclose: error on write of rowstart\n"); ~~~~~~~~~ ^ imgSGI.c:442:50: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("iclose: error on write of rowsize\n"); ~~~~~~~~~ ^ imgSGI.c:488:49: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("img_seek: row number out of range\n"); ~~~~~~~~~ ^ imgSGI.c:505:36: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("img_seek: weird dim\n"); ~~~~~~~~~ ^ imgSGI.c:517:36: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("img_seek: weird dim\n"); ~~~~~~~~~ ^ imgSGI.c:521:42: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("img_seek: weird image type\n"); ~~~~~~~~~ ^ imgSGI.c:606:60: warning: too few arguments in call to 'i_errhdlr' i_errhdlr ("img_setrowsize: bad dim: %d\n", image->dim); ~~~~~~~~~ ^ imgSGI.c:688:53: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("rle_compact: bad bpp: %d %d\n",ibpp,obpp); ~~~~~~~~~ ^ imgSGI.c:736:52: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("rle_expand: bad bpp: %d %d\n",ibpp,obpp); ~~~~~~~~~ ^ imgSGI.c:811:34: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("putrow: weird bpp\n"); ~~~~~~~~~ ^ imgSGI.c:864:34: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("putrow: weird bpp\n"); ~~~~~~~~~ ^ imgSGI.c:867:40: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("putrow: weird image type\n"); ~~~~~~~~~ ^ imgSGI.c:913:34: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("getrow: weird bpp\n"); ~~~~~~~~~ ^ imgSGI.c:943:34: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("getrow: weird bpp\n"); ~~~~~~~~~ ^ imgSGI.c:947:40: warning: too few arguments in call to 'i_errhdlr' i_errhdlr("getrow: weird image type\n"); ~~~~~~~~~ ^ imgSGI.c:1119:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseFormatOpts (interp, format, comp, verb, matte) ^ imgSGI.c:1119:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgSGI.c:1242:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, sgiHeaderPtr) ^ imgSGI.c:1242:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgSGI.c:1270:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgSGI.c:1289:5: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] tmpnam(tempFileName); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ imgSGI.c:1270:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgSGI.c:1453:5: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] tmpnam(tempFileName); /* @@@ DO NOT USE */ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ --- imgSUN.o --- In file included from imgSUN.c:67: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :381:1: note: expanded from here Tkimgsun_SafeInit ^ imgSUN.c:531:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fileWidth * sizeof (UByte)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ imgSUN.c:718:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseFormatOpts (interp, format, comp, verb, matte) ^ imgSUN.c:718:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgSUN.c:848:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, sunHeaderPtr) ^ imgSUN.c:848:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgSUN.c:866:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgSUN.c:866:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgWindow.o --- In file included from imgWindow.c:18: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :347:1: note: expanded from here Tkimgwindow_SafeInit ^ imgWindow.c:46:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xerrorhandler(clientData, e) ^ imgWindow.c:55:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChnReadWindow (interp, chan, fileName, format, imageHandle, ^ imgWindow.c:55:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgWindow.c:175:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead(interp, data, format, imageHandle, ^ imgWindow.c:175:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 6 warnings generated. --- imgSUN.o --- 8 warnings generated. --- imgSGI.o --- 39 warnings generated. --- imgWindow.o --- In file included from imgWindow.c:18: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :348:1: note: expanded from here Tkimgwindow_SafeInit ^ imgWindow.c:46:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xerrorhandler(clientData, e) ^ imgWindow.c:55:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChnReadWindow (interp, chan, fileName, format, imageHandle, ^ imgWindow.c:55:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgWindow.c:175:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead(interp, data, format, imageHandle, ^ imgWindow.c:175:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgSUN.o --- In file included from imgSUN.c:67: ./init.c:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DLLEXPORT int PKG_SAFEINITPROC (interp) ^ ./init.c:35:26: note: expanded from macro 'PKG_SAFEINITPROC' #define PKG_SAFEINITPROC JOIN(CPACKAGE,_SafeInit) ^ ./init.c:22:19: note: expanded from macro 'JOIN' #define JOIN(a,b) _JOIN_(a,b) ^ ./init.c:23:21: note: expanded from macro '_JOIN_' #define _JOIN_(a,b) a ## b ^ :382:1: note: expanded from here Tkimgsun_SafeInit ^ imgSUN.c:531:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fileWidth * sizeof (UByte)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ imgSUN.c:718:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseFormatOpts (interp, format, comp, verb, matte) ^ imgSUN.c:718:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgSUN.c:848:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CommonMatch (handle, widthPtr, heightPtr, sunHeaderPtr) ^ imgSUN.c:848:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] imgSUN.c:866:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ObjRead (interp, data, format, imageHandle, ^ imgSUN.c:866:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- imgWindow.o --- 6 warnings generated. --- imgSUN.o --- 8 warnings generated. --- Img.dylib --- rm -f Img.dylib clang -dynamiclib -pipe -Os -I/opt/pkg/include -arch x86_64 -Os -Wall -fno-common -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -Wl,-single_module imgInit.o tkimgIO.o imgPNG.o imgJPEG.o imgTIFF.o imgPS.o imgTGA.o imgXPM.o imgPCX.o imgPPM.o imgGIF.o imgBMP.o imgICO.o imgXBM.o imgSGI.o imgSUN.o imgWindow.o -L/opt/pkg/lib -prebind -headerpad_max_install_names -Wl,-search_paths_first -L/opt/pkg/lib -ltclstub86 -L/opt/pkg/lib -ltkstub86 -ltiff -ljpeg -lpng -lz -lm -o Img.dylib ld: warning: option -prebind is obsolete and being ignored ld: warning: ignoring file /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/lib/libtclstub86.a, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/lib/libjpeg.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/lib/libpng16.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/lib/libtiff.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/lib/libz.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 ld: warning: ignoring file /Users/pbulk/build/graphics/tk-tkimg/work/.buildlink/lib/libtkstub86.a, building for macOS-x86_64 but attempting to link with file built for macOS-arm64 Undefined symbols for architecture x86_64: "_TIFFClientOpen", referenced from: _ChnReadTIFF in imgTIFF.o _ObjRead in imgTIFF.o _StringWriteTIFF in imgTIFF.o "_TIFFClose", referenced from: _ChnWriteTIFF in imgTIFF.o _StringWriteTIFF in imgTIFF.o _CommonRead in imgTIFF.o "_TIFFGetField", referenced from: _CommonRead in imgTIFF.o "_TIFFOpen", referenced from: _ChnWriteTIFF in imgTIFF.o "_TIFFReadRGBAImage", referenced from: _CommonRead in imgTIFF.o "_TIFFSetErrorHandler", referenced from: _Tkimgtiff_Init in imgTIFF.o "_TIFFSetField", referenced from: _CommonWrite in imgTIFF.o "_TIFFSetWarningHandler", referenced from: _Tkimgtiff_Init in imgTIFF.o "_TIFFWriteEncodedStrip", referenced from: _CommonWrite in imgTIFF.o "_Tcl_InitStubs", referenced from: _Img_Init in imgInit.o _Tkimgpng_Init in imgPNG.o _Tkimgjpeg_Init in imgJPEG.o _Tkimgtiff_Init in imgTIFF.o _Tkimgps_Init in imgPS.o _Tkimgtga_Init in imgTGA.o _Tkimgxpm_Init in imgXPM.o ... "_Tk_InitStubs", referenced from: _Img_Init in imgInit.o _Tkimgpng_Init in imgPNG.o _Tkimgjpeg_Init in imgJPEG.o _Tkimgtiff_Init in imgTIFF.o _Tkimgps_Init in imgPS.o _Tkimgtga_Init in imgTGA.o _Tkimgxpm_Init in imgXPM.o ... "_XGetImage", referenced from: _ObjRead in imgWindow.o "_XParseColor", referenced from: _CommonRead in imgXPM.o "_XQueryColors", referenced from: _ObjRead in imgWindow.o "_jpeg_CreateCompress", referenced from: _CommonWrite in imgJPEG.o "_jpeg_CreateDecompress", referenced from: _CommonRead in imgJPEG.o "_jpeg_abort_decompress", referenced from: _CommonRead in imgJPEG.o "_jpeg_destroy_compress", referenced from: _CommonWrite in imgJPEG.o "_jpeg_destroy_decompress", referenced from: _CommonRead in imgJPEG.o "_jpeg_finish_compress", referenced from: _CommonWrite in imgJPEG.o "_jpeg_finish_decompress", referenced from: _CommonRead in imgJPEG.o "_jpeg_read_header", referenced from: _CommonRead in imgJPEG.o "_jpeg_read_scanlines", referenced from: _CommonRead in imgJPEG.o "_jpeg_resync_to_restart", referenced from: _CommonRead in imgJPEG.o "_jpeg_set_colorspace", referenced from: _CommonWrite in imgJPEG.o "_jpeg_set_defaults", referenced from: _CommonWrite in imgJPEG.o "_jpeg_set_quality", referenced from: _CommonWrite in imgJPEG.o "_jpeg_simple_progression", referenced from: _CommonWrite in imgJPEG.o "_jpeg_start_compress", referenced from: _CommonWrite in imgJPEG.o "_jpeg_start_decompress", referenced from: _CommonRead in imgJPEG.o "_jpeg_std_error", referenced from: _CommonRead in imgJPEG.o _CommonWrite in imgJPEG.o "_jpeg_write_scanlines", referenced from: _CommonWrite in imgJPEG.o "_png_create_info_struct", referenced from: _CommonReadPNG in imgPNG.o _CommonWrite in imgPNG.o "_png_create_read_struct", referenced from: _CommonRead in imgPNG.o "_png_create_write_struct", referenced from: _CommonWrite in imgPNG.o "_png_destroy_read_struct", referenced from: _CommonReadPNG in imgPNG.o "_png_destroy_write_struct", referenced from: _CommonWrite in imgPNG.o _CommonWritePNG in imgPNG.o "_png_error", referenced from: _tk_png_read in imgPNG.o _tk_png_write in imgPNG.o "_png_get_IHDR", referenced from: _CommonReadPNG in imgPNG.o "_png_get_channels", referenced from: _CommonReadPNG in imgPNG.o "_png_get_error_ptr", referenced from: _tk_png_error in imgPNG.o _CommonReadPNG in imgPNG.o _CommonWritePNG in imgPNG.o "_png_get_gAMA", referenced from: _CommonReadPNG in imgPNG.o "_png_get_io_ptr", referenced from: _tk_png_read in imgPNG.o _tk_png_write in imgPNG.o "_png_get_rowbytes", referenced from: _CommonReadPNG in imgPNG.o "_png_get_sRGB", referenced from: _CommonReadPNG in imgPNG.o "_png_get_valid", referenced from: _CommonReadPNG in imgPNG.o "_png_read_image", referenced from: _CommonReadPNG in imgPNG.o "_png_read_info", referenced from: _CommonReadPNG in imgPNG.o "_png_read_update_info", referenced from: _CommonReadPNG in imgPNG.o "_png_set_IHDR", referenced from: _CommonWritePNG in imgPNG.o "_png_set_expand", referenced from: _CommonReadPNG in imgPNG.o "_png_set_gAMA", referenced from: _CommonWritePNG in imgPNG.o "_png_set_gamma", referenced from: _CommonReadPNG in imgPNG.o "_png_set_interlace_handling", referenced from: _CommonWritePNG in imgPNG.o "_png_set_read_fn", referenced from: _CommonRead in imgPNG.o "_png_set_sRGB", referenced from: _CommonReadPNG in imgPNG.o "_png_set_strip_16", referenced from: _CommonReadPNG in imgPNG.o "_png_set_text", referenced from: _CommonWritePNG in imgPNG.o "_png_set_write_fn", referenced from: _CommonWrite in imgPNG.o "_png_write_end", referenced from: _CommonWritePNG in imgPNG.o "_png_write_info", referenced from: _CommonWritePNG in imgPNG.o "_png_write_row", referenced from: _CommonWritePNG in imgPNG.o "_tclStubsPtr", referenced from: _Img_Init in imgInit.o _tkimg_Read in tkimgIO.o _tkimg_Write in tkimgIO.o _tkimg_Putc in tkimgIO.o _tkimg_Finish in tkimgIO.o _tkimg_WriteInit in tkimgIO.o _tkimg_ReadInit in tkimgIO.o ... "_tkStubsPtr", referenced from: _Tkimgpng_Init in imgPNG.o _CommonReadPNG in imgPNG.o _Tkimgjpeg_Init in imgJPEG.o _CommonRead in imgJPEG.o _Tkimgtiff_Init in imgTIFF.o _CommonRead in imgTIFF.o _Tkimgps_Init in imgPS.o ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [Img.dylib] Error code 1 (ignored)