>>> Building on amd64-2 under graphics/mtpaint BDEPENDS = [graphics/lcms2;devel/gmake;archivers/bzip2;devel/gettext,-runtime;x11/gtk+3;graphics/tiff;graphics/jasper;devel/gettext,-tools] DIST = [graphics/mtpaint:mtpaint-3.50.tar.bz2] FULLPKGNAME = mtpaint-3.50p1 RDEPENDS = [devel/desktop-file-utils;graphics/jasper;graphics/lcms2;graphics/tiff;devel/gettext,-runtime;x11/gtk+3] (Junk lock obtained for amd64-2 at 1779867603.56) >>> Running depends in graphics/mtpaint at 1779867603.59 last junk was in graphics/openimageio /usr/sbin/pkg_add -aI -Drepair gettext-runtime-1.0 gmake-4.4.1p0 gtk+3-3.24.52 lcms2-2.18pl20260420 was: /usr/sbin/pkg_add -aI -Drepair bzip2-1.0.8p0 gettext-runtime-1.0 gettext-tools-1.0 gmake-4.4.1p0 gtk+3-3.24.52 jasper-4.2.9 lcms2-2.18pl20260420 tiff-4.7.1p2 /usr/sbin/pkg_add -aI -Drepair gettext-runtime-1.0 gmake-4.4.1p0 gtk+3-3.24.52 lcms2-2.18pl20260420 >>> Running show-prepare-results in graphics/mtpaint at 1779867607.72 ===> graphics/mtpaint ===> Building from scratch mtpaint-3.50p1 ===> mtpaint-3.50p1 depends on: gettext-tools-* -> gettext-tools-1.0 ===> mtpaint-3.50p1 depends on: gmake-* -> gmake-4.4.1p0 ===> mtpaint-3.50p1 depends on: bzip2-* -> bzip2-1.0.8p0 ===> mtpaint-3.50p1 depends on: gettext-runtime-* -> gettext-runtime-1.0 ===> mtpaint-3.50p1 depends on: jasper-* -> jasper-4.2.9 ===> mtpaint-3.50p1 depends on: lcms2-* -> lcms2-2.18pl20260420 ===> mtpaint-3.50p1 depends on: tiff-* -> tiff-4.7.1p2 ===> mtpaint-3.50p1 depends on: gtk+3-* -> gtk+3-3.24.52 ===> Verifying specs: X11 atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gthread-2.0 gtk-3 harfbuzz intl jasper jpeg lcms2 m pango-1.0 pangocairo-1.0 png pthread tiff z ===> found X11.19.0 atk-1.0.21810.5 c.103.0 cairo.13.5 cairo-gobject.2.2 gdk-3.2201.1 gdk_pixbuf-2.0.3200.3 gio-2.0.4200.23 glib-2.0.4201.16 gobject-2.0.4200.23 gthread-2.0.4200.23 gtk-3.2201.0 harfbuzz.19.0 intl.8.2 jasper.6.1 jpeg.71.0 lcms2.3.0 m.10.1 pango-1.0.3801.7 pangocairo-1.0.3801.4 png.18.2 pthread.28.1 tiff.42.2 z.7.2 bzip2-1.0.8p0 gettext-runtime-1.0 gettext-tools-1.0 gmake-4.4.1p0 gtk+3-3.24.52 jasper-4.2.9 lcms2-2.18pl20260420 tiff-4.7.1p2 (Junk lock released for amd64-2 at 1779867609.61) Woken up x11/kde-applications/kontactinterface distfiles size=800134 >>> Running build in graphics/mtpaint at 1779867609.66 ===> graphics/mtpaint ===> Checking files for mtpaint-3.50p1 `/usr/ports/distfiles/mtpaint-3.50.tar.bz2' is up to date. >> (SHA256) all files: OK ===> Extracting for mtpaint-3.50p1 ===> Patching for mtpaint-3.50p1 ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for mtpaint-3.50p1 ===> Configuring for mtpaint-3.50p1 --------------------- mtPaint Configuration --------------------- ------- General ------- Version 3.50 System GNU/Linux Toolkit GTK+3 Lists GTK+2 File Picker mtpaint Colour Picker mtpaint Animation Package Gifsicle Use FreeType YES Use CMS LittleCMS2 Icon set icons1 Internationalized YES Multithreaded YES -------- Compiler -------- Optimizations CFLAGS CFLAGS -O2 -pipe -fcommon LDFLAGS -s -L/usr/X11R6/lib Static libraries FreeType ---------- File Types ---------- Use GIF NO Use JPEG YES Use JPEG 2000 JasPer Use TIFF YES Use WebP NO ------------ Installation ------------ Binary install /usr/local/bin Locale install /usr/local/share/locale Locale program /usr/local/share/locale Install man page YES Man page install /usr/local/man ===> Building for mtpaint-3.50p1 gmake -C src gmake[1]: Entering directory '/usr/obj/ports/mtpaint-3.50/mtpaint-3.50/src' cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=main -c -o main.o main.c main.c:291:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 291 | if (warnmax |= flist_top >= FILES_MAX) return; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:291:14: note: place parentheses around the assignment to silence this warning 291 | if (warnmax |= flist_top >= FILES_MAX) return; | ^ | ( ) main.c:291:14: note: use '!=' to turn this compound assignment into an inequality comparison 291 | if (warnmax |= flist_top >= FILES_MAX) return; | ^~ | != main.c:319:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 319 | if (warnmax |= flist_top >= flist_len) break; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:319:17: note: place parentheses around the assignment to silence this warning 319 | if (warnmax |= flist_top >= flist_len) break; | ^ | ( ) main.c:319:17: note: use '!=' to turn this compound assignment into an inequality comparison 319 | if (warnmax |= flist_top >= flist_len) break; | ^~ | != main.c:331:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 331 | if (warnmax |= flist_top >= flist_len) break; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:331:17: note: place parentheses around the assignment to silence this warning 331 | if (warnmax |= flist_top >= flist_len) break; | ^ | ( ) main.c:331:17: note: use '!=' to turn this compound assignment into an inequality comparison 331 | if (warnmax |= flist_top >= flist_len) break; | ^~ | != main.c:522:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 522 | if (warnmax |= globdata.gl_pathc >= FILES_MAX) break; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:522:16: note: place parentheses around the assignment to silence this warning 522 | if (warnmax |= globdata.gl_pathc >= FILES_MAX) break; | ^ | ( ) main.c:522:16: note: use '!=' to turn this compound assignment into an inequality comparison 522 | if (warnmax |= globdata.gl_pathc >= FILES_MAX) break; | ^~ | != main.c:538:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 538 | if (warnmax |= globdata.gl_pathc > (PATHC_TYPE)w0) break; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:538:16: note: place parentheses around the assignment to silence this warning 538 | if (warnmax |= globdata.gl_pathc > (PATHC_TYPE)w0) break; | ^ | ( ) main.c:538:16: note: use '!=' to turn this compound assignment into an inequality comparison 538 | if (warnmax |= globdata.gl_pathc > (PATHC_TYPE)w0) break; | ^~ | != main.c:547:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 547 | if (warnmax |= flist_top >= flist_len) break; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:547:16: note: place parentheses around the assignment to silence this warning 547 | if (warnmax |= flist_top >= flist_len) break; | ^ | ( ) main.c:547:16: note: use '!=' to turn this compound assignment into an inequality comparison 547 | if (warnmax |= flist_top >= flist_len) break; | ^~ | != 6 warnings generated. cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=mainwindow -c -o mainwindow.o mainwindow.c cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=inifile -c -o inifile.o inifile.c cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=png -c -o png.o png.c png.c:2520:6: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2520 | fmt = jas_image_fmttostr(jas_image_getfmt(inp)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ png.c:2840:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 2840 | uint16 bpsamp, sampp, xsamp, pmetric, planar, orient, sform; | ^ /usr/local/include/tiff.h:83:45: note: 'uint16' has been explicitly marked deprecated here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^ /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' 66 | #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) | ^ png.c:2841:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 2841 | uint16 *sampinfo, *red16, *green16, *blue16; | ^ /usr/local/include/tiff.h:83:45: note: 'uint16' has been explicitly marked deprecated here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^ /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' 66 | #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) | ^ png.c:2842:2: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 2842 | uint32 width, height, tw = 0, th = 0, rps = 0; | ^ /usr/local/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^ /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' 66 | #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) | ^ png.c:2843:2: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 2843 | uint32 *tr, *raster = NULL; | ^ /usr/local/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^ /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' 66 | #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) | ^ png.c:2978:3: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 2978 | uint32 size; | ^ /usr/local/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^ /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' 66 | #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) | ^ png.c:3005:13: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 3005 | raster = (uint32 *)_TIFFmalloc(width * height * sizeof(uint32)); | ^ /usr/local/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^ /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' 66 | #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) | ^ png.c:3005:58: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 3005 | raster = (uint32 *)_TIFFmalloc(width * height * sizeof(uint32)); | ^ /usr/local/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^ /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' 66 | #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) | ^ png.c:3040:3: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 3040 | uint32 x0, y0, xstep = tw ? tw : width, ystep = th ? th : rps; | ^ /usr/local/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^ /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' 66 | #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) | ^ png.c:3102:4: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 3102 | uint32 x, y, w, h, l; | ^ /usr/local/include/tiff.h:86:45: note: 'uint32' has been explicitly marked deprecated here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^ /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' 66 | #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) | ^ png.c:3346:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 3346 | uint16 rgb[256 * 3]; | ^ /usr/local/include/tiff.h:83:45: note: 'uint16' has been explicitly marked deprecated here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^ /usr/local/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' 66 | #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) | ^ png.c:6310:10: warning: result of comparison of constant 9223372036854775807 with expression of type 'unsigned int' is always false [-Wtautological-constant-out-of-range-compare] 6310 | if (tl >= LONG_MAX) break; // Sanity check | ~~ ^ ~~~~~~~~ cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=memory -c -o memory.o memory.c 12 warnings generated. cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=canvas -c -o canvas.o canvas.c cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=otherwindow -c -o otherwindow.o otherwindow.c cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=mygtk -c -o mygtk.o mygtk.c mygtk.c:2649:10: warning: 'gdk_screen_width' is deprecated [-Wdeprecated-declarations] 2649 | p->w = gdk_screen_width(); | ^ /usr/local/include/gtk-3.0/gdk/gdkmain.h:107:1: note: 'gdk_screen_width' has been explicitly marked deprecated here 107 | GDK_DEPRECATED_IN_3_22 | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:412:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_22' 412 | # define GDK_DEPRECATED_IN_3_22 GDK_DEPRECATED | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:48:24: note: expanded from macro 'GDK_DEPRECATED' 48 | #define GDK_DEPRECATED G_DEPRECATED _GDK_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1303:37: note: expanded from macro 'G_DEPRECATED' 1303 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ mygtk.c:2650:10: warning: 'gdk_screen_height' is deprecated [-Wdeprecated-declarations] 2650 | p->h = gdk_screen_height(); | ^ /usr/local/include/gtk-3.0/gdk/gdkmain.h:109:1: note: 'gdk_screen_height' has been explicitly marked deprecated here 109 | GDK_DEPRECATED_IN_3_22 | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:412:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_22' 412 | # define GDK_DEPRECATED_IN_3_22 GDK_DEPRECATED | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:48:24: note: expanded from macro 'GDK_DEPRECATED' 48 | #define GDK_DEPRECATED G_DEPRECATED _GDK_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1303:37: note: expanded from macro 'G_DEPRECATED' 1303 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ mygtk.c:2781:8: warning: 'gdk_pixbuf_new_from_xpm_data' is deprecated [-Wdeprecated-declarations] 2781 | buf = gdk_pixbuf_new_from_xpm_data((const char **)xpm[1]); | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:291:1: note: 'gdk_pixbuf_new_from_xpm_data' has been explicitly marked deprecated here 291 | GDK_PIXBUF_DEPRECATED_IN_2_44 | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:730:39: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_44' 730 | #define GDK_PIXBUF_DEPRECATED_IN_2_44 G_DEPRECATED _GDK_PIXBUF_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1303:37: note: expanded from macro 'G_DEPRECATED' 1303 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ mygtk.c:3681:2: warning: 'gdk_window_set_background_pattern' is deprecated [-Wdeprecated-declarations] 3681 | gdk_window_set_background_pattern(win, NULL); | ^ /usr/local/include/gtk-3.0/gdk/gdkwindow.h:789:1: note: 'gdk_window_set_background_pattern' has been explicitly marked deprecated here 789 | GDK_DEPRECATED_IN_3_22 | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:412:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_22' 412 | # define GDK_DEPRECATED_IN_3_22 GDK_DEPRECATED | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:48:24: note: expanded from macro 'GDK_DEPRECATED' 48 | #define GDK_DEPRECATED G_DEPRECATED _GDK_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1303:37: note: expanded from macro 'G_DEPRECATED' 1303 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ mygtk.c:5870:2: warning: 'gdk_device_ungrab' is deprecated: Use 'gdk_seat_ungrab' instead [-Wdeprecated-declarations] 5870 | gdk_device_ungrab(gdk_device_get_associated_device(mouse), time); // kbd | ^ /usr/local/include/gtk-3.0/gdk/gdkdevice.h:238:1: note: 'gdk_device_ungrab' has been explicitly marked deprecated here 238 | GDK_DEPRECATED_IN_3_20_FOR(gdk_seat_ungrab) | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:399:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_20_FOR' 399 | # define GDK_DEPRECATED_IN_3_20_FOR(f) GDK_DEPRECATED_FOR(f) | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:49:31: note: expanded from macro 'GDK_DEPRECATED_FOR' 49 | #define GDK_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GDK_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1313:44: note: expanded from macro 'G_DEPRECATED_FOR' 1313 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ mygtk.c:5871:2: warning: 'gdk_device_ungrab' is deprecated: Use 'gdk_seat_ungrab' instead [-Wdeprecated-declarations] 5871 | gdk_device_ungrab(mouse, time); | ^ /usr/local/include/gtk-3.0/gdk/gdkdevice.h:238:1: note: 'gdk_device_ungrab' has been explicitly marked deprecated here 238 | GDK_DEPRECATED_IN_3_20_FOR(gdk_seat_ungrab) | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:399:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_20_FOR' 399 | # define GDK_DEPRECATED_IN_3_20_FOR(f) GDK_DEPRECATED_FOR(f) | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:49:31: note: expanded from macro 'GDK_DEPRECATED_FOR' 49 | #define GDK_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GDK_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1313:44: note: expanded from macro 'G_DEPRECATED_FOR' 1313 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ mygtk.c:5996:11: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] 5996 | return ((gdk_screen_get_height(sc) * (double)25.4) / gdk_screen_get_height_mm(sc)); | ^ /usr/local/include/gtk-3.0/gdk/gdkscreen.h:59:1: note: 'gdk_screen_get_height' has been explicitly marked deprecated here 59 | GDK_DEPRECATED_IN_3_22 | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:412:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_22' 412 | # define GDK_DEPRECATED_IN_3_22 GDK_DEPRECATED | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:48:24: note: expanded from macro 'GDK_DEPRECATED' 48 | #define GDK_DEPRECATED G_DEPRECATED _GDK_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1303:37: note: expanded from macro 'G_DEPRECATED' 1303 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ mygtk.c:5996:55: warning: 'gdk_screen_get_height_mm' is deprecated [-Wdeprecated-declarations] 5996 | return ((gdk_screen_get_height(sc) * (double)25.4) / gdk_screen_get_height_mm(sc)); | ^ /usr/local/include/gtk-3.0/gdk/gdkscreen.h:63:1: note: 'gdk_screen_get_height_mm' has been explicitly marked deprecated here 63 | GDK_DEPRECATED_IN_3_22 | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:412:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_22' 412 | # define GDK_DEPRECATED_IN_3_22 GDK_DEPRECATED | ^ /usr/local/include/gtk-3.0/gdk/gdkversionmacros.h:48:24: note: expanded from macro 'GDK_DEPRECATED' 48 | #define GDK_DEPRECATED G_DEPRECATED _GDK_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1303:37: note: expanded from macro 'G_DEPRECATED' 1303 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ 8 warnings generated. cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=viewer -c -o viewer.o viewer.c cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=polygon -c -o polygon.o polygon.c cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=layer -c -o layer.o layer.c layer.c:202:20: warning: passing arguments to 'layer_refresh_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | layer_refresh_list(layers_total); | ^ In file included from layer.c:29: ./layer.h:75: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] 75 | void layer_refresh_list(); | ^ layer.c:292:6: note: conflicting prototype is here 292 | void layer_refresh_list(int slot) | ^ 2 warnings generated. cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=info -c -o info.o info.c cc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-string-plus-int -Wno-pointer-to-int-cast -Wno-misleading-indentation -DHAVE__SFA -DHAVE_MKDTEMP -DU_JASPER -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.50"' -I/usr/X11R6/include/freetype2 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/lib/pkgconfig/../../include/dbus-1.0 -I/usr/local/lib/pkgconfig/../../lib/dbus-1.0/include -I/usr/local/include/libepoll-shim -I/usr/X11R6/include/libdrm -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/X11R6/include/pixman-1 -I/usr/local/include/harfbuzz -I/usr/X11R6/include/freetype2 -I/usr/local/include/gio-unix-2.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -fcommon -frandom-seed=wu -c -o wu.o wu.c wu.c:72:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | static void Hist3d(inbuf, vwt, vmr, vmg, vmb) // build 3-D color histogram of counts, r/g/b, c^2 | ^ wu.c:128:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | static void M3d(vwt, vmr, vmg, vmb) // compute cumulative moments. | ^ wu.c:167:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | static long int Vol(cube, mmt) // Compute sum over a box of any given statistic | ^ wu.c:187:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | static long int Bottom(cube, dir, mmt) | ^ wu.c:219:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | static long int Top(cube, dir, pos, mmt) | ^ wu.c:259:17: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 259 | dr = Vol(cube, mr); | ^~ wu.c:260:17: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 260 | dg = Vol(cube, mg); | ^~ wu.c:261:17: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 261 | db = Vol(cube, mb); | ^~ wu.c:270:52: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 270 | return( xx - (dr*dr+dg*dg+db*db)/(double)Vol(cube,wt) ); | ^~ wu.c:252:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | static double Var(cube) | ^ wu.c:292:29: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 292 | base_r = Bottom(cube, dir, mr); | ^~ wu.c:293:29: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 293 | base_g = Bottom(cube, dir, mg); | ^~ wu.c:294:29: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 294 | base_b = Bottom(cube, dir, mb); | ^~ wu.c:295:29: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 295 | base_w = Bottom(cube, dir, wt); | ^~ wu.c:301:39: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 301 | half_r = base_r + Top(cube, dir, i, mr); | ^~ wu.c:302:39: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 302 | half_g = base_g + Top(cube, dir, i, mg); | ^~ wu.c:303:39: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 303 | half_b = base_b + Top(cube, dir, i, mb); | ^~ wu.c:304:39: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 304 | half_w = base_w + Top(cube, dir, i, wt); | ^~ wu.c:281:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | static double Maximize(cube, dir, first, last, cut, whole_r, whole_g, whole_b, whole_w) | ^ wu.c:338:22: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 338 | whole_r = Vol(set1, mr); | ^~ wu.c:339:22: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 339 | whole_g = Vol(set1, mg); | ^~ wu.c:340:22: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 340 | whole_b = Vol(set1, mb); | ^~ wu.c:341:22: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 341 | whole_w = Vol(set1, wt); | ^~ wu.c:455:26: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 455 | weight = Vol(&cube[k], wt); | ^~ wu.c:458:31: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 458 | pal[k].red = Vol(&cube[k], mr) / weight; | ^~ wu.c:459:33: error: incompatible pointer types passing 'int *' to parameter of type 'int (*)[33][33]' [-Wincompatible-pointer-types] 459 | pal[k].green = Vol(&cube[k], mg) / weight; | ^~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 7 warnings and 20 errors generated. gmake[1]: Leaving directory '/usr/obj/ports/mtpaint-3.50/mtpaint-3.50/src' gmake[1]: *** [Makefile:20: wu.o] Error 1 gmake: *** [Makefile:8: src] Error 2 *** Error 2 in graphics/mtpaint (/usr/ports/infrastructure/mk/bsd.port.mk:3079 '/usr/obj/ports/mtpaint-3.50/.build_done': @cd /usr/obj/ports...) *** Error 2 in graphics/mtpaint (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=mtpaint-3.50p1; export _LOCKS_HELD=" mtpaint-...) ===> Exiting graphics/mtpaint with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1779867628.52 max_stuck=0.00/depends=4.14/show-prepare-results=1.92/build=18.90 Error: job failed with 512 on amd64-2 at 1779867628