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