=>> Building graphics/mxp build started at Tue Sep 30 22:03:13 EDT 2025 port directory: /usr/ports/graphics/mxp package name: mxp-1.3_5 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1225 Aug 27 2024 /usr/ports/graphics/mxp/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 16 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/16/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for mxp-1.3_5: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/mxp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/mxp/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/mxp/work/.cache HOME=/wrkdirs/usr/ports/graphics/mxp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/mxp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/mxp/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/mxp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/mxp/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/mxp/work/.cache HOME=/wrkdirs/usr/ports/graphics/mxp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/mxp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/mxp/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include -DXPM" LDFLAGS=" -L/usr/local/lib -lXpm " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mxp" EXAMPLESDIR="share/examples/mxp" DATADIR="share/mxp" WWWDIR="www/mxp" ETCDIR="etc/mxp" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mxp DOCSDIR=/usr/local/share/doc/mxp EXAMPLESDIR=/usr/local/share/examples/mxp WWWDIR=/usr/local/www/mxp ETCDIR=/usr/local/etc/mxp --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mxp port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mxp-1.3_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> mxp-1.3_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mxp-1.3_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mxp port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by mxp-1.3_5 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mxp port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by mxp-1.3_5 for building => SHA256 Checksum OK for mxp-1.3.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mxp port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by mxp-1.3_5 for building ===> Extracting for mxp-1.3_5 => SHA256 Checksum OK for mxp-1.3.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for mxp-1.3_5 ===> Applying FreeBSD patches for mxp-1.3_5 from /usr/ports/graphics/mxp/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mxp-1.3_5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.16,2.pkg [pkg.DaveG.ca] Installing libXaw-1.0.16,2... [pkg.DaveG.ca] `-- Installing libX11-1.8.12,1... [pkg.DaveG.ca] | `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] | `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] `-- Extracting libX11-1.8.12,1: .......... done [pkg.DaveG.ca] `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] `-- Installing libXmu-1.1.4,1... [pkg.DaveG.ca] | `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | | `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] | | `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] | | `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] | | `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] | `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] `-- Extracting libXmu-1.1.4,1: .......... done [pkg.DaveG.ca] `-- Installing libXpm-3.5.17_1... [pkg.DaveG.ca] | `-- Installing gettext-runtime-0.23.1... [pkg.DaveG.ca] | | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] | `-- Extracting gettext-runtime-0.23.1: .......... done [pkg.DaveG.ca] `-- Extracting libXpm-3.5.17_1: .......... done [pkg.DaveG.ca] Extracting libXaw-1.0.16,2: .......... done ===> mxp-1.3_5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of mxp-1.3_5 ===> mxp-1.3_5 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - not found ===> Installing existing package /packages/All/xbitmaps-1.1.3.pkg [pkg.DaveG.ca] Installing xbitmaps-1.1.3... [pkg.DaveG.ca] Extracting xbitmaps-1.1.3: .......... done ===> mxp-1.3_5 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - found ===> Returning to build of mxp-1.3_5 ===> mxp-1.3_5 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> mxp-1.3_5 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> mxp-1.3_5 depends on file: /usr/local/bin/ccache - found ===> Returning to build of mxp-1.3_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for mxp-1.3_5 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for mxp-1.3_5 cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug mxp.c -o mxp.o mxp.c:177:11: warning: passing arguments to 'init_cmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | init_cmap(dp); | ^ mxp.c:192:12: warning: passing arguments to 'make_menus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | make_menus(command); | ^ mxp.c:378:14: warning: passing arguments to 'set_wm_hints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | set_wm_hints(toplevel, "Controls", "Controls", NULL, hand_xcr); | ^ mxp.c:392:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | void command_done(w, call_data, evnt) | ^ mxp.c:67: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] 67 | void command_done(); | ^ mxp.c:407:9: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 407 | exit(0); | ^ mxp.c:407:9: note: include the header or explicitly provide a declaration for 'exit' mxp.c:465:14: warning: passing arguments to 'set_wm_hints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | set_wm_hints(status_pu, "Statistics", "Stats", &sizehints, hand_xcr); | ^ mxp.c:487:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | void set_wm_hints(w, name, iname, szhints, cursor) | ^ mxp.c:70: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] 70 | void set_wm_hints(); | ^ 9 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug mandel.c -o mandel.o mandel.c:137:28: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | zoomp = (struct zoomd *) malloc(sizeof (struct zoomd)); | ^ mandel.c:137:28: note: include the header or explicitly provide a declaration for 'malloc' mandel.c:196:8: warning: passing arguments to 'mandel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | mandel(M_CLEAR); | ^ mandel.c:126:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | void resetmandel(flag) | ^ mandel.c:240:9: warning: passing arguments to 'resize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | resize(evnt->xconfigure.width, evnt->xconfigure.height, -1); | ^ mandel.c:241:9: warning: passing arguments to 'mandel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | mandel(M_CLEAR); | ^ mandel.c:314:9: warning: passing arguments to 'mandel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | mandel(M_CLEAR); | ^ mandel.c:202:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | void event_proc(w, call_data, evnt) | ^ mandel.c:429:8: warning: passing arguments to 'mandel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | mandel(M_CLEAR); | ^ mandel.c:439:9: warning: passing arguments to 'mandel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | mandel(M_NONE); | ^ mandel.c:444:13: warning: passing arguments to 'setup_cmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | setup_cmap(draw_d, DefaultScreen(draw_d), colors); | ^ mandel.c:493:39: warning: passing arguments to 'color_xlate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | j = color_xlate(dpall[i+k*wwidth], dpref, j); | ^ mandel.c:522:13: warning: passing arguments to 'setup_cmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | setup_cmap(draw_d, DefaultScreen(draw_d), colors); | ^ mandel.c:546:39: warning: passing arguments to 'funits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | sprintf(text,"Zoom %6s", funits(mag, 6, 2)); | ^ mandel.c:505:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | void mandel(opts) | ^ mandel.c:77: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] 77 | void mandel(); | ^ mandel.c:658:19: warning: passing arguments to 'color_xlate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | j = color_xlate(i, dp, j); | ^ mandel.c: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 color_xlate(); | ^ mandel.c:706:5: note: conflicting prototype is here 706 | int color_xlate(int val, char *p, int idx) { | ^ mandel.c:798: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] 798 | double pow(); | ^ mandel.c:790:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | char *funits(val, size, prec) | ^ mandel.c:81: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] 81 | char *funits(); | ^ 20 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug colors.c -o colors.o colors.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 init_cmap(dp) | ^ colors.c:103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | void color_seq(w, val) | ^ colors.c:163:12: warning: passing arguments to 'setup_cmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | setup_cmap(draw_d, DefaultScreen(draw_d), colors); | ^ colors.c:152:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | void color_scheme(w, val) | ^ colors.c:517:13: warning: passing arguments to 'rotate_cmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | rotate_cmap(disp, 0); | ^ colors.c:170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | void setup_cmap(disp, scr, count) | ^ colors.c:36: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] 36 | void setup_cmap(); | ^ colors.c:523:24: warning: parameter 'flag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 523 | void rotate_cmap(disp, flag) | ^ 524 | Display *disp; 525 | { colors.c:523:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | void rotate_cmap(disp, flag) | ^ colors.c:37: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] 37 | void rotate_cmap(); | ^ 10 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug menu.c -o menu.o menu.c:23: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 previous declaration [-Wdeprecated-non-prototype] 23 | void exit(); | ^ menu.c:71:22: warning: passing arguments to 'get_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | file_menu = get_menu(12); | ^ menu.c:126:13: warning: passing arguments to 'create_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | create_menu(file_menu, parent); | ^ menu.c:127:11: warning: passing arguments to 'free_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | free_menu(file_menu); | ^ menu.c:132:22: warning: passing arguments to 'get_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | size_menu = get_menu(15); | ^ menu.c:208:13: warning: passing arguments to 'create_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | create_menu(size_menu, parent); | ^ menu.c:213:24: warning: passing arguments to 'get_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | scheme_menu = get_menu(11); | ^ menu.c:272:13: warning: passing arguments to 'create_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | create_menu(scheme_menu, parent); | ^ menu.c:277:21: warning: passing arguments to 'get_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | seq_menu = get_menu(10); | ^ menu.c:331:13: warning: passing arguments to 'create_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | create_menu(seq_menu, parent); | ^ menu.c:62:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | void make_menus(parent) | ^ menu.c:334:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | struct menud *get_menu(count) | ^ menu.c:54: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] 54 | struct menud *get_menu(); | ^ menu.c:352:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | void create_menu(me, parent) | ^ menu.c:59: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] 59 | void create_menu(); | ^ menu.c:386:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | void free_menu(me) | ^ menu.c:60: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] 60 | void free_menu(); | ^ 17 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug file.c -o file.o file.c:24: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 previous declaration [-Wdeprecated-non-prototype] 24 | extern char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ file.c:86:12: warning: passing arguments to 'error_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | error_msg(toplevel, text); | ^ file.c:108:12: warning: passing arguments to 'error_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | error_msg(toplevel, text); | ^ file.c:74:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | void write_setup(fn, flag) | ^ file.c:132:12: warning: passing arguments to 'error_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | error_msg(toplevel, text); | ^ file.c:138:12: warning: passing arguments to 'error_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | error_msg(toplevel, text); | ^ file.c:144:10: warning: passing arguments to 'resize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | resize(set.win_wid, set.win_hgt, -1); | ^ file.c:146:14: warning: passing arguments to 'resetmandel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | resetmandel(0); | ^ file.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | void read_setup(fn, setup) | ^ file.c:156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | void get_filename(w, name, fun) | ^ file.c:186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | void error_msg(w, name) | ^ file.c: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 error_msg(); | ^ file.c:230:11: 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] 230 | (*cfunct)(st, 1); | ^ file.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 filename_cb(w, a) | ^ file.c:61: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] 61 | void filename_cb(); | ^ file.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 pop_down(w, wgt) | ^ file.c:62: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] 62 | void pop_down(); | ^ file.c:250:23: warning: passing arguments to 'allocatebitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | allocatebitmap(&hdr, wwidth, wheight, 8, 0); | ^ file.c:276:16: warning: passing arguments to 'write_gif_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | write_gif_file(fn, &hdr); | ^ file.c:277:12: warning: passing arguments to 'freebitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | freebitmap(&hdr); | ^ file.c:243:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | void create_gif(fn) | ^ file.c:287: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 previous declaration [-Wdeprecated-non-prototype] 287 | double val, scale, log(); | ^ file.c:288: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 previous declaration [-Wdeprecated-non-prototype] 288 | FILE *fd, *fopen(); | ^ file.c:311:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | void save_setup_as(w) | ^ file.c:332:9: warning: passing arguments to 'resize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | resize(set.win_wid, set.win_hgt, -1); | ^ file.c:334:13: warning: passing arguments to 'resetmandel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | resetmandel(0); | ^ file.c:385:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | void load_setup(w) | ^ file.c:395:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | void write_image(w) | ^ 28 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug draw.c -o draw.o draw.c:137:8: warning: passing arguments to 'resize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | resize(wd, ht, index); | ^ draw.c:142:8: warning: passing arguments to 'mandel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | mandel(M_CLEAR); | ^ draw.c:78:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | void menu_resize(w, index) | ^ draw.c:206:12: warning: passing arguments to 'place_draw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | place_draw(0); | ^ draw.c:207:12: warning: passing arguments to 'set_aspect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | set_aspect(0, aspect_opt+13); | ^ draw.c:150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | void resize(w, h, sz) | ^ draw.c:70: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] 70 | void resize(); | ^ draw.c:270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | void place_draw(first) | ^ draw.c:71: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] 71 | void place_draw(); | ^ draw.c:384:14: warning: passing arguments to 'set_wm_hints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | set_wm_hints(drawform, "Mxp", "Mxp", | ^ draw.c:389:12: warning: passing arguments to 'set_aspect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | set_aspect(0, aspect_opt+13); | ^ draw.c:398:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | void set_aspect(w, opt) | ^ draw.c: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 set_aspect(); | ^ 13 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug anim.c -o anim.o anim.c:319:14: warning: passing arguments to 'set_wm_hints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | set_wm_hints(anim_popup, "Animate", "Animate", NULL, hand_xcr); | ^ anim.c:330:26: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 330 | for (st=str; st!='\0'; st++) { | ^~~~ | (void *)0 anim.c:325:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | char *trim_string(str) | ^ anim.c:362:6: warning: passing arguments to 'doit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | doit(1); | ^ anim.c:363:6: warning: passing arguments to 'doit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | doit(0); | ^ anim.c:368:6: warning: passing arguments to 'doit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | doit(1); | ^ anim.c:386:13: warning: passing arguments to 'atof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | step = atof(step_text); | ^ anim.c:393:12: warning: passing arguments to 'read_setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | read_setup(ptr, 0); | ^ anim.c:402:12: warning: passing arguments to 'read_setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | read_setup(ptr, 0); | ^ anim.c:439:9: warning: passing arguments to 'resize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | resize(set.win_wid, set.win_hgt, -1); | ^ anim.c:443:36: warning: passing arguments to 'funits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | sprintf(text, "%6s", funits(smag, 6, 1)); | ^ anim.c:445:36: warning: passing arguments to 'funits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | sprintf(text, "%6s", funits(emag, 6, 1)); | ^ anim.c:371:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | void doit(estimate) | ^ anim.c:58: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] 58 | void doit(); | ^ anim.c:472:9: warning: passing arguments to 'mandel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | mandel(M_SYNC); | ^ anim.c:474:9: warning: passing arguments to 'mandel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | mandel(M_NODISP|M_SYNC); | ^ anim.c:479:13: warning: passing arguments to 'create_gif' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | create_gif(text); | ^ anim.c:487:36: warning: passing arguments to 'funits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | sprintf(text, "%6s", funits((smag*ccmag)/(zoomp->ux-zoomp->lx), 6, 1)); | ^ anim.c:533:10: warning: passing arguments to 'resize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | resize(set.win_wid, set.win_hgt, -1); | ^ anim.c:535:14: warning: passing arguments to 'resetmandel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | resetmandel(0); | ^ anim.c:513:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | void anim_cancel(w, close) | ^ anim.c:59: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] 59 | void anim_cancel(); | ^ 22 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug lug/bitmap.c -o lug/bitmap.o lug/bitmap.c:39:15: warning: passing arguments to 'freebitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | freebitmap( image ); | ^ lug/bitmap.c:42:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | error( 12 ); /* an error, a negative size ? */ | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/bitmap.c:59:27: warning: passing arguments to 'no_bits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | image->depth = no_bits( colors ) + 1; | ^ lug/bitmap.c:62:29: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | image->r = (byte *) Malloc( totalsize ); | ^ lug/bitmap.c:64:43: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | case 8: image->cmap = (byte *) Malloc( 3 * image->colors ); | ^ lug/bitmap.c:66:40: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | case 24: image->g = (byte *) Malloc( totalsize ); | ^ lug/bitmap.c:67:40: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | image->b = (byte *) Malloc( totalsize ); | ^ lug/bitmap.c:32:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | int allocatebitmap(image, xsize, ysize, depth, colors) | ^ In file included from lug/bitmap.c:30: lug/lugfnts.h:950: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] 950 | allocatebitmap( | ^ lug/bitmap.c:95:11: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | error( 10 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/bitmap.c:75:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | int freebitmap(image) | ^ In file included from lug/bitmap.c:30: lug/lugfnts.h:961: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] 961 | freebitmap( | ^ lug/bitmap.c:111:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | error( 19 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/bitmap.c:125:33: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | outbitmap->r = (byte *) Malloc( totalsize ); | ^ lug/bitmap.c:128:35: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | outbitmap->g = (byte *) Malloc( totalsize ); | ^ lug/bitmap.c:130:35: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | outbitmap->b = (byte *) Malloc( totalsize ); | ^ lug/bitmap.c:133:38: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | outbitmap->cmap = (byte *) Malloc( 3 * outbitmap->colors ); | ^ lug/bitmap.c:102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | int copy_bitmap( inbitmap, outbitmap) | ^ In file included from lug/bitmap.c:30: lug/lugfnts.h:968: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] 968 | copy_bitmap( | ^ 19 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug lug/encodgif.c -o lug/encodgif.o lug/encodgif.c:54:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | static output(); | ~~~~~~ ^ | int lug/encodgif.c:55:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | static cl_block(); | ~~~~~~ ^ | int lug/encodgif.c:56:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 56 | static cl_hash(); | ~~~~~~ ^ | int lug/encodgif.c:57:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | static writeerr(); | ~~~~~~ ^ | int lug/encodgif.c:58:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | static char_init(); | ~~~~~~ ^ | int lug/encodgif.c:59:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | static char_out(); | ~~~~~~ ^ | int lug/encodgif.c:60:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 60 | static flush_char(); | ~~~~~~ ^ | int lug/encodgif.c:128:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | compress( init_bits, outfile, ReadValue ) | ^ | int lug/encodgif.c:171:12: warning: passing arguments to 'cl_hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | cl_hash( (count_int) hsize_reg); /* clear hash table */ | ^ lug/encodgif.c:173:11: warning: passing arguments to 'output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | output( (code_int)ClearCode ); | ^ lug/encodgif.c:205:16: warning: passing arguments to 'output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | output ( (code_int) ent ); | ^ lug/encodgif.c:221:11: warning: passing arguments to 'output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | output( (code_int)ent ); | ^ lug/encodgif.c:223:11: warning: passing arguments to 'output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | output( (code_int) EOFCode ); | ^ lug/encodgif.c:225:5: warning: non-void function 'compress' should return a value [-Wreturn-mismatch] 225 | return; | ^ lug/encodgif.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | compress( init_bits, outfile, ReadValue ) | ^ lug/encodgif.c:255:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 254 | static | ~~~~~~ | int 255 | output( code ) | ^ lug/encodgif.c:268:17: warning: passing arguments to 'char_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | char_out( (unsigned int)(cur_accum & 0xff) ); | ^ lug/encodgif.c:299:25: warning: passing arguments to 'char_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | char_out( (unsigned int)(cur_accum & 0xff) ); | ^ lug/encodgif.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | output( code ) | ^ lug/encodgif.c:54: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] 54 | static output(); | ^ lug/encodgif.c:311:1: warning: non-void function does not return a value [-Wreturn-type] 311 | } | ^ lug/encodgif.c:317:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 316 | static | ~~~~~~ | int 317 | cl_block () /* table clear for block compress */ | ^ lug/encodgif.c:320:17: warning: passing arguments to 'cl_hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | cl_hash ( (count_int) hsize ); | ^ lug/encodgif.c:325:1: warning: non-void function does not return a value [-Wreturn-type] 325 | } | ^ lug/encodgif.c:328:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 327 | static | ~~~~~~ | int 328 | cl_hash(hsize) /* reset code table */ | ^ lug/encodgif.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] lug/encodgif.c:56: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] 56 | static cl_hash(); | ^ lug/encodgif.c:360:1: warning: non-void function does not return a value [-Wreturn-type] 360 | } | ^ lug/encodgif.c:363:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 362 | static | ~~~~~~ | int 363 | writeerr() | ^ lug/encodgif.c:384:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 383 | static | ~~~~~~ | int 384 | char_init() | ^ lug/encodgif.c:389:1: warning: non-void function does not return a value [-Wreturn-type] 389 | } | ^ lug/encodgif.c:401:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 400 | static | ~~~~~~ | int 401 | char_out( c ) | ^ lug/encodgif.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] lug/encodgif.c:59: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] 59 | static char_out(); | ^ lug/encodgif.c:407:1: warning: non-void function does not return a value [-Wreturn-type] 407 | } | ^ lug/encodgif.c:413:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 412 | static | ~~~~~~ | int 413 | flush_char() | ^ lug/encodgif.c:420:1: warning: non-void function does not return a value [-Wreturn-type] 420 | } | ^ 37 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug lug/error.c -o lug/error.o lug/error.c:64:18: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | char *lugerrmsg( code ) | ^ 65 | { lug/error.c:64:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | char *lugerrmsg( code ) | ^ lug/error.c:69:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | Error(code) | ^ | int lug/error.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] lug/error.c:104:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 104 | } | ^ 5 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug lug/general.c -o lug/general.o lug/general.c:38:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 38 | no_bits( colors ) | ^ | int lug/general.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] In file included from lug/general.c:30: lug/lugfnts.h:995: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] 995 | no_bits( | ^ lug/general.c:53:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | char *basename(string, suffix) | ^ In file included from lug/general.c:30: lug/lugfnts.h:1002: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] 1002 | basename( | ^ lug/general.c:93:33: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | ptr = out = (short *) Malloc( size * sizeof(short) ); | ^ lug/general.c:81:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | short *bytetoshort( in, out, size ) | ^ In file included from lug/general.c:30: lug/lugfnts.h:1010: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] 1010 | bytetoshort( | ^ lug/general.c:115:32: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | ptr = out = (byte *) Malloc( size ); | ^ lug/general.c:103:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | byte *shorttobyte( in, out, size ) | ^ In file included from lug/general.c:30: lug/lugfnts.h:1019: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] 1019 | shorttobyte( | ^ lug/general.c:137:32: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | ptr = out = (byte *) Malloc( size ); | ^ lug/general.c:125:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | byte *floattobyte( in, out, size ) | ^ In file included from lug/general.c:30: lug/lugfnts.h:1028: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] 1028 | floattobyte( | ^ lug/general.c:159:33: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | ptr = out = (float *) Malloc( size * sizeof(float)); | ^ lug/general.c:147:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | float *bytetofloat( in, out, size ) | ^ In file included from lug/general.c:30: lug/lugfnts.h:1037: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] 1037 | bytetofloat( | ^ lug/general.c:169:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 169 | Atoi( string ) | ^ | int lug/general.c:176:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | error( 0 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/general.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | Atoi( string ) | ^ In file included from lug/general.c:30: lug/lugfnts.h:1046: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] 1046 | Atoi( | ^ lug/general.c:189:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | error( 0 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/general.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | Atod( string ) | ^ In file included from lug/general.c:30: lug/lugfnts.h:1053: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] 1053 | Atod( | ^ lug/general.c:194:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | isnumber( c ) | ^ | int lug/general.c:198:11: warning: call to undeclared library function 'isdigit' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | if ( !isdigit(*c++) ) | ^ lug/general.c:198:11: note: include the header or explicitly provide a declaration for 'isdigit' lug/general.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | isnumber( c ) | ^ lug/general.c:209:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 209 | Uncompress(name, aux_file) | ^ | int lug/general.c:215:14: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | if ( pid = fork() ) { | ^ lug/general.c:215:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 215 | if ( pid = fork() ) { | ~~~~^~~~~~~~ lug/general.c:215:12: note: place parentheses around the assignment to silence this warning 215 | if ( pid = fork() ) { | ^ | ( ) lug/general.c:215:12: note: use '==' to turn this assignment into an equality comparison 215 | if ( pid = fork() ) { | ^ | == lug/general.c:223:14: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | handle = creat( aux_file, 0644 ); | ^ lug/general.c:224:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | close( 1 ); | ^ lug/general.c:225:5: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | dup( handle ); | ^ lug/general.c:227:5: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | execlp( "gzip", "gzip", "-dc", name, 0 ); | ^ lug/general.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | Uncompress(name, aux_file) | ^ In file included from lug/general.c:30: lug/lugfnts.h:1060: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] 1060 | Uncompress( | ^ lug/general.c:246:1: warning: non-void function does not return a value [-Wreturn-type] 246 | } | ^ lug/general.c:248:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 248 | Compress(name) | ^ | int lug/general.c:254:14: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | if ( pid = fork() ) { | ^ lug/general.c:254:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 254 | if ( pid = fork() ) { | ~~~~^~~~~~~~ lug/general.c:254:12: note: place parentheses around the assignment to silence this warning 254 | if ( pid = fork() ) { | ^ | ( ) lug/general.c:254:12: note: use '==' to turn this assignment into an equality comparison 254 | if ( pid = fork() ) { | ^ | == lug/general.c:266:5: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | execlp( "gzip", "gzip", "-9", name, 0 ); | ^ lug/general.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | Compress(name) | ^ In file included from lug/general.c:30: lug/lugfnts.h:1068: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] 1068 | Compress( | ^ lug/general.c:281:1: warning: non-void function does not return a value [-Wreturn-type] 281 | } | ^ lug/general.c:283:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 283 | compute_levels( no_colors ) | ^ | int lug/general.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from lug/general.c:30: lug/lugfnts.h:1075: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] 1075 | compute_levels( | ^ 47 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug lug/gif.c -o lug/gif.o lug/gif.c:52:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | read_gif_file( name, bitmap ) | ^ | int lug/gif.c:60:19: warning: passing arguments to 'Fopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | handle = Fopen( name, "rb" ); | ^ lug/gif.c:61:8: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | else error( 20 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:64:11: warning: passing arguments to 'read_gif' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | read_gif( handle, bitmap ); | ^ lug/gif.c:65:3: warning: call to undeclared function 'rm_compress'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | rm_compress(); | ^ lug/gif.c:68:9: warning: passing arguments to 'Fclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | Fclose( handle ); | ^ lug/gif.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | read_gif_file( name, bitmap ) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:108: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] 108 | read_gif_file( | ^ lug/gif.c:69:1: warning: non-void function does not return a value [-Wreturn-type] 69 | } | ^ lug/gif.c:71:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | read_gif( handle, image ) | ^ | int lug/gif.c:91:15: warning: passing arguments to 'read_gif_hdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | read_gif_hdr( handle ); | ^ lug/gif.c:92:35: warning: passing arguments to 'read_gif_screen_hdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | globalcmap = read_gif_screen_hdr( handle, &globalcolors, &globalmask ); | ^ lug/gif.c:93:33: warning: passing arguments to 'read_gif_image_hdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | localcmap = read_gif_image_hdr( handle, &localcolors, &localmask, | ^ lug/gif.c:108:11: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | }else error( 13 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:123:25: warning: passing arguments to 'no_bits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | image->depth = no_bits( image->colors ) + 1; | ^ lug/gif.c:124:29: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | image->r = (byte *) Malloc( totalsize ); | ^ lug/gif.c:125:13: warning: passing arguments to 'uncode_gif' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | uncode_gif( handle, codesize, mask, image ); | ^ lug/gif.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | read_gif( handle, image ) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:116: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] 116 | read_gif( | ^ lug/gif.c:126:1: warning: non-void function does not return a value [-Wreturn-type] 126 | } | ^ lug/gif.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | uncode_gif( handle, codesize, mask, image ) | ^ | int lug/gif.c:157:27: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | stack = (byte *) Malloc( 4096 ); | ^ lug/gif.c:158:28: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | sufix = (short *) Malloc( 4096 * sizeof(short) ); | ^ lug/gif.c:159:28: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | prefix = (short *) Malloc( 4096 * sizeof(short) ); | ^ lug/gif.c:174:40: warning: passing arguments to 'unblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | ptrblocks = blocks = (byte *) unblock( handle ); | ^ lug/gif.c:182:3: warning: passing arguments to 'read_code' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | READCODE(); /* read first code */ | ^ lug/gif.c:128:43: note: expanded from macro 'READCODE' 128 | #define READCODE() { code = read_code( ptrblocks, datamask, \ | ^ lug/gif.c:183:22: warning: passing arguments to 'push_gif' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | position = push_gif( image->r, 0, TRUE ); /* reset the internal buffer */ | ^ lug/gif.c:193:7: warning: passing arguments to 'read_code' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | READCODE(); | ^ lug/gif.c:128:43: note: expanded from macro 'READCODE' 128 | #define READCODE() { code = read_code( ptrblocks, datamask, \ | ^ lug/gif.c:197:26: warning: passing arguments to 'push_gif' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | position = push_gif( image->r, k, FALSE ); | ^ lug/gif.c:223:28: warning: passing arguments to 'push_gif' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | position = push_gif( image->r, (int) stack[count], FALSE ); | ^ lug/gif.c:238:5: warning: passing arguments to 'read_code' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | READCODE(); | ^ lug/gif.c:128:43: note: expanded from macro 'READCODE' 128 | #define READCODE() { code = read_code( ptrblocks, datamask, \ | ^ lug/gif.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 | uncode_gif( handle, codesize, mask, image ) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:124: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] 124 | uncode_gif( | ^ lug/gif.c:251:1: warning: non-void function does not return a value [-Wreturn-type] 251 | } | ^ lug/gif.c:253:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 253 | read_code( buffer, mask, offset, codesize ) | ^ | int lug/gif.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from lug/gif.c:30: lug/lugfnts.h:134: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] 134 | read_code( | ^ lug/gif.c:277:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 277 | push_gif(buffer, indexx, reset ) | ^ | int lug/gif.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from lug/gif.c:30: lug/lugfnts.h:144: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] 144 | push_gif( | ^ lug/gif.c:293:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 293 | } | ^ lug/gif.c:295:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | read_gif_hdr( handle ) | ^ | int lug/gif.c:300:3: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | Fread( buffer, 6, 1, handle); | ^ lug/lug.h:187:63: note: expanded from macro 'Fread' 187 | #define Fread(p, s, n, f) if ( fread(p, s, n, f) != n ) error(3) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:303:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | error( 5 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | read_gif_hdr( handle ) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:153: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] 153 | read_gif_hdr( | ^ lug/gif.c:304:1: warning: non-void function does not return a value [-Wreturn-type] 304 | } | ^ lug/gif.c:320:3: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | Fread( buffer, 7, 1, handle); | ^ lug/lug.h:187:63: note: expanded from macro 'Fread' 187 | #define Fread(p, s, n, f) if ( fread(p, s, n, f) != n ) error(3) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:336:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | errornull( 6 ); | ^ lug/lug.h:203:46: note: expanded from macro 'errornull' 203 | # define errornull(code) Error(code) | ^ lug/gif.c:340:27: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | cmap = (byte *) Malloc( 3 * *colors ); | ^ lug/gif.c:341:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | Fread( cmap, *colors, 3, handle ); | ^ lug/lug.h:187:63: note: expanded from macro 'Fread' 187 | #define Fread(p, s, n, f) if ( fread(p, s, n, f) != n ) error(3) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:306:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | byte *read_gif_screen_hdr( handle, colors, mask ) | ^ lug/gif.c:39: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] 39 | byte *read_gif_screen_hdr(); | ^ lug/gif.c:376:25: warning: passing arguments to 'read_gif_extension' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | read_gif_extension( handle ); | ^ lug/gif.c:381:9: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | errornull( 5 ); | ^ lug/lug.h:203:46: note: expanded from macro 'errornull' 203 | # define errornull(code) Error(code) | ^ lug/gif.c:384:7: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | error( 99 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:389:3: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | Fread( buffer, 9, 1, handle ); | ^ lug/lug.h:187:63: note: expanded from macro 'Fread' 187 | #define Fread(p, s, n, f) if ( fread(p, s, n, f) != n ) error(3) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:402:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | errornull( 17 ); | ^ lug/lug.h:203:46: note: expanded from macro 'errornull' 203 | # define errornull(code) Error(code) | ^ lug/gif.c:408:27: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | cmap = (byte *) Malloc( 3 * *colors ); | ^ lug/gif.c:409:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | Fread( cmap, *colors, 3, handle ); | ^ lug/lug.h:187:63: note: expanded from macro 'Fread' 187 | #define Fread(p, s, n, f) if ( fread(p, s, n, f) != n ) error(3) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:351:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | byte *read_gif_image_hdr( handle, colors, mask, width, height ) | ^ lug/gif.c:40: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] 40 | byte *read_gif_image_hdr(); | ^ lug/gif.c:467:9: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | error(99); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.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 | read_gif_extension( handle ) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:180: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] 180 | read_gif_extension( | ^ lug/gif.c:504:30: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | ptr = out = (byte *) Malloc( totalsize ); | ^ lug/gif.c:514:7: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | errornull( 7 ); | ^ lug/lug.h:203:46: note: expanded from macro 'errornull' 203 | # define errornull(code) Error(code) | ^ lug/gif.c:516:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | Fread( ptr, size, 1, handle ); | ^ lug/lug.h:187:63: note: expanded from macro 'Fread' 187 | #define Fread(p, s, n, f) if ( fread(p, s, n, f) != n ) error(3) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:483:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | byte *unblock( handle ) | ^ lug/gif.c:41: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] 41 | byte *unblock(); | ^ lug/gif.c:524:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 524 | write_gif_file( name, image ) | ^ | int lug/gif.c:532:19: warning: passing arguments to 'Fopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | handle = Fopen( name, "wb" ); | ^ lug/gif.c:536:12: warning: passing arguments to 'write_gif' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | write_gif( handle, image ); | ^ lug/gif.c:539:9: warning: passing arguments to 'Fclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | Fclose( handle ); | ^ lug/gif.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | write_gif_file( name, image ) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:194: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] 194 | write_gif_file( | ^ lug/gif.c:541:1: warning: non-void function does not return a value [-Wreturn-type] 541 | } | ^ lug/gif.c:543:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 543 | write_gif(handle, image) | ^ | int lug/gif.c:551:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | error( 19 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:555:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | error( 15 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:566:16: warning: passing arguments to 'write_gif_hdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | write_gif_hdr( handle ); | ^ lug/gif.c:567:23: warning: passing arguments to 'write_gif_screen_hdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | write_gif_screen_hdr( handle, image ); | ^ lug/gif.c:568:17: warning: passing arguments to 'write_gif_cmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | write_gif_cmap( handle, image ); | ^ lug/gif.c:571:32: warning: passing arguments to 'write_gif_graphics_ctrl_ext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | write_gif_graphics_ctrl_ext( handle, image, *(image->r) ); | ^ lug/gif.c:573:22: warning: passing arguments to 'write_gif_image_hdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | write_gif_image_hdr( handle, image ); | ^ lug/gif.c:593:3: warning: call to undeclared function 'compress'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 593 | compress( codesize, handle, read_pixel ); | ^ lug/gif.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 | write_gif(handle, image) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:202: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] 202 | write_gif( | ^ lug/gif.c:604:1: warning: non-void function does not return a value [-Wreturn-type] 604 | } | ^ lug/gif.c:606:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 606 | write_gif_hdr(handle) | ^ | int lug/gif.c:610:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | Fwrite( NEWGIFHEADER, 6, 1, handle ); | ^ lug/lug.h:188:64: note: expanded from macro 'Fwrite' 188 | #define Fwrite(p, s, n, f) if ( fwrite(p, s, n, f) != n ) error(4) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:612:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | Fwrite( GIFHEADER, 6, 1, handle ); | ^ lug/lug.h:188:64: note: expanded from macro 'Fwrite' 188 | #define Fwrite(p, s, n, f) if ( fwrite(p, s, n, f) != n ) error(4) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | write_gif_hdr(handle) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:210: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] 210 | write_gif_hdr( | ^ lug/gif.c:614:1: warning: non-void function does not return a value [-Wreturn-type] 614 | } | ^ lug/gif.c:616:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 616 | write_gif_screen_hdr(handle, image) | ^ | int lug/gif.c:631:31: warning: passing arguments to 'no_bits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | *ptr++ = (1 << 7) | (no_bits(image->colors) << 4) | (no_bits(image->colors)); | ^ lug/gif.c:631:63: warning: passing arguments to 'no_bits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | *ptr++ = (1 << 7) | (no_bits(image->colors) << 4) | (no_bits(image->colors)); | ^ lug/gif.c:637:3: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | Fwrite( buffer, 7, 1, handle); | ^ lug/lug.h:188:64: note: expanded from macro 'Fwrite' 188 | #define Fwrite(p, s, n, f) if ( fwrite(p, s, n, f) != n ) error(4) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | write_gif_screen_hdr(handle, image) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:217: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] 217 | write_gif_screen_hdr( | ^ lug/gif.c:638:1: warning: non-void function does not return a value [-Wreturn-type] 638 | } | ^ lug/gif.c:640:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 640 | write_gif_cmap(handle, image) | ^ | int lug/gif.c:644:3: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | Fwrite(image->cmap, 3, image->colors, handle); | ^ lug/lug.h:188:64: note: expanded from macro 'Fwrite' 188 | #define Fwrite(p, s, n, f) if ( fwrite(p, s, n, f) != n ) error(4) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | write_gif_cmap(handle, image) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:225: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] 225 | write_gif_cmap( | ^ lug/gif.c:645:1: warning: non-void function does not return a value [-Wreturn-type] 645 | } | ^ lug/gif.c:647:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 647 | write_gif_graphics_ctrl_ext( handle, image, transparency ) | ^ | int lug/gif.c:677:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | Fwrite( buffer, 8, 1, handle); | ^ lug/lug.h:188:64: note: expanded from macro 'Fwrite' 188 | #define Fwrite(p, s, n, f) if ( fwrite(p, s, n, f) != n ) error(4) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | write_gif_graphics_ctrl_ext( handle, image, transparency ) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:233: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] 233 | write_gif_graphics_ctrl_ext( | ^ lug/gif.c:679:1: warning: non-void function does not return a value [-Wreturn-type] 679 | } | ^ lug/gif.c:681:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 681 | write_gif_image_hdr(handle, image) | ^ | int lug/gif.c:706:3: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | Fwrite( buffer, 10, 1, handle); | ^ lug/lug.h:188:64: note: expanded from macro 'Fwrite' 188 | #define Fwrite(p, s, n, f) if ( fwrite(p, s, n, f) != n ) error(4) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/gif.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | write_gif_image_hdr(handle, image) | ^ In file included from lug/gif.c:30: lug/lugfnts.h:242: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] 242 | write_gif_image_hdr( | ^ lug/gif.c:707:1: warning: non-void function does not return a value [-Wreturn-type] 707 | } | ^ lug/gif.c:709:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 709 | read_pixel() | ^ | int 118 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug lug/in_out.c -o lug/in_out.o lug/in_out.c:37: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 previous declaration [-Wdeprecated-non-prototype] 37 | extern char *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ lug/in_out.c:55:29: warning: passing arguments to 'exist_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if ( !(flag = exist_file(name)) ) | ^ lug/in_out.c:56:7: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | error( 1 ); /* the file doesn't exist */ | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/in_out.c:61:2: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | error( 1 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/in_out.c:73:17: warning: passing arguments to 'Uncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | Uncompress( name, aux_file ); | ^ lug/in_out.c:77:9: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | error(1); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/in_out.c:81:11: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | error( 1 ); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/in_out.c:91:7: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | error(1); | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/in_out.c:45:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | FILE *Fopen(name, mode) | ^ In file included from lug/in_out.c:34: lug/lugfnts.h:1085: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] 1085 | Fopen( | ^ lug/in_out.c:97:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 97 | exist_file( name ) | ^ | int lug/in_out.c:108:9: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | if ( !access( name, 0 ) ) { | ^ lug/in_out.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 | exist_file( name ) | ^ In file included from lug/in_out.c:34: lug/lugfnts.h:1093: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] 1093 | exist_file( | ^ lug/in_out.c:134:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 134 | Fclose( handle ) | ^ | int lug/in_out.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from lug/in_out.c:34: lug/lugfnts.h:1100: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] 1100 | Fclose( | ^ lug/in_out.c:142:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 142 | rm_compress() | ^ | int lug/in_out.c:144:8: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | if ( access( aux_file, 0 ) == 0 ) | ^ lug/in_out.c:145:5: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | unlink( aux_file ); | ^ lug/in_out.c:146:1: warning: non-void function does not return a value [-Wreturn-type] 146 | } | ^ lug/in_out.c:155:25: warning: passing arguments to 'filelen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | *bytes = (int) filelen(handle); | ^ lug/in_out.c:157:29: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | buffer = (char *) Malloc(*bytes); | ^ lug/in_out.c:160:5: warning: passing arguments to 'Error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | Fread(buffer, (int) (*bytes), 1, handle); | ^ lug/lug.h:187:63: note: expanded from macro 'Fread' 187 | #define Fread(p, s, n, f) if ( fread(p, s, n, f) != n ) error(3) | ^ lug/lug.h:202:46: note: expanded from macro 'error' 202 | # define error(code) Error(code) | ^ lug/in_out.c:165:29: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | buffer = (char *) Malloc( BUFSIZ ); | ^ lug/in_out.c:148:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | char *read_file(handle, bytes) | ^ In file included from lug/in_out.c:34: lug/lugfnts.h:1107: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] 1107 | read_file( | ^ lug/in_out.c:181:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | long filelen(handle) | ^ In file included from lug/in_out.c:34: lug/lugfnts.h:1115: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] 1115 | filelen( | ^ lug/in_out.c:200:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | putshortMSBF( value, handle ) | ^ | int lug/in_out.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from lug/in_out.c:34: lug/lugfnts.h:1136: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] 1136 | putshortMSBF( | ^ lug/in_out.c:206:1: warning: non-void function does not return a value [-Wreturn-type] 206 | } | ^ lug/in_out.c:208:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 208 | putshortLSBF( value, handle ) | ^ | int lug/in_out.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from lug/in_out.c:34: lug/lugfnts.h:1144: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] 1144 | putshortLSBF( | ^ lug/in_out.c:214:1: warning: non-void function does not return a value [-Wreturn-type] 214 | } | ^ lug/in_out.c:216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 216 | getshortMSBF( handle ) | ^ | int lug/in_out.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from lug/in_out.c:34: lug/lugfnts.h:1122: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] 1122 | getshortMSBF( | ^ lug/in_out.c:227:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 227 | getshortLSBF( handle ) | ^ | int lug/in_out.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from lug/in_out.c:34: lug/lugfnts.h:1129: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] 1129 | getshortLSBF( | ^ 43 warnings generated. cc -c -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DRESIZE_INC=1 -I/usr/local/include -DXPM -Ilug lug/memory.c -o lug/memory.o lug/memory.c:40:5: warning: call to undeclared function 'Error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | Error( 2 ); | ^ lug/memory.c:33:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | char *Malloc(size) | ^ lug/memory.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | Free( ptr ) | ^ | int lug/memory.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] lug/memory.c:56:1: warning: non-void function does not return a value [-Wreturn-type] 56 | } | ^ 5 warnings generated. cc -o mxp mxp.o mandel.o colors.o menu.o file.o draw.o anim.o lug/bitmap.o lug/encodgif.o lug/error.o lug/general.o lug/gif.o lug/in_out.o lug/memory.o -L/usr/local/lib -lXpm -lm -lXaw -lXt -lXmu -lX11 -lXdmcp -lXext =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mxp-1.3_5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> mxp-1.3_5 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - found ===> mxp-1.3_5 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for mxp-1.3_5 ===> Generating temporary packing list (cd /wrkdirs/usr/ports/graphics/mxp/work/mxp && install -s -m 555 mxp /wrkdirs/usr/ports/graphics/mxp/work/stage/usr/local/bin) (cd /wrkdirs/usr/ports/graphics/mxp/work/mxp && install -m 0644 mxp.xpm /wrkdirs/usr/ports/graphics/mxp/work/stage/usr/local/share/pixmaps) (cd /wrkdirs/usr/ports/graphics/mxp/work/mxp && install -m 0644 README /wrkdirs/usr/ports/graphics/mxp/work/stage/usr/local/share/doc/mxp) ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-10-01T02:03:14+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fb16dfecae4a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for mxp-1.3_5 ===> Building mxp-1.3_5 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for mxp-1.3_5 build of graphics/mxp | mxp-1.3_5 ended at Tue Sep 30 22:04:06 EDT 2025 build time: 00:00:58