>>> Building on exopi-5 under x11/xdtm BDEPENDS = [devel/imake-cf;devel/imake] DIST = [x11/xdtm:xdtm-2.5.8.tar.gz] FULLPKGNAME = xdtm-2.5.8p2 (Junk lock obtained for exopi-5 at 1711449451.51) >>> Running depends in x11/xdtm at 1711449451.54 last junk was in databases/postgresql-ip4r /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 >>> Running show-prepare-results in x11/xdtm at 1711449453.07 ===> x11/xdtm ===> Building from scratch xdtm-2.5.8p2 ===> xdtm-2.5.8p2 depends on: imake-* -> imake-1.0.9 ===> xdtm-2.5.8p2 depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> Verifying specs: ICE SM X11 Xau Xdmcp Xaw Xext Xmu Xt c m ===> found ICE.11.0 SM.9.0 X11.18.0 Xau.10.0 Xdmcp.11.0 Xaw.16.0 Xext.13.0 Xmu.11.0 Xt.11.1 c.99.0 m.10.1 imake-1.0.9 imake-cf-1.0.7p0 (Junk lock released for exopi-5 at 1711449453.77) distfiles size=190532 >>> Running build in x11/xdtm at 1711449453.81 ===> x11/xdtm ===> Checking files for xdtm-2.5.8p2 `/exopi-cvs/ports/distfiles/xdtm-2.5.8.tar.gz' is up to date. >> (SHA256) xdtm-2.5.8.tar.gz: OK ===> Extracting for xdtm-2.5.8p2 ===> Patching for xdtm-2.5.8p2 ===> Applying OpenBSD patch patch-Ext_iconman_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Ext/iconman.c |--- Ext/iconman.c.orig |+++ Ext/iconman.c -------------------------- Patching file Ext/iconman.c using Plan A... Hunk #1 succeeded at 179. done ===> Applying OpenBSD patch patch-Imakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig Thu Mar 14 14:02:00 1996 |+++ Imakefile Fri Oct 5 23:30:53 2001 -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 143. Hunk #2 succeeded at 245. done ===> Applying OpenBSD patch patch-Xedw_XedwList_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Xedw/XedwList.c |--- Xedw/XedwList.c.orig |+++ Xedw/XedwList.c -------------------------- Patching file Xedw/XedwList.c using Plan A... Hunk #1 succeeded at 455. done ===> Applying OpenBSD patch patch-appman_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- appman.c.orig Sun Nov 13 08:37:53 2011 |+++ appman.c Sun Nov 13 08:47:56 2011 -------------------------- Patching file appman.c using Plan A... Hunk #1 succeeded at 85. Hunk #2 succeeded at 1297. Hunk #3 succeeded at 1843. done ===> Applying OpenBSD patch patch-lexical_l Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lexical.l.orig Fri Oct 16 10:15:02 2009 |+++ lexical.l Fri Oct 16 10:16:10 2009 -------------------------- Patching file lexical.l using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 172. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for xdtm-2.5.8p2 ===> Configuring for xdtm-2.5.8p2 mv -f Makefile Makefile.bak imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles making Makefiles in Ext... mv -f Makefile Makefile.bak In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in Xedw... mv -f Makefile Makefile.bak In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in regexp... mv -f Makefile Makefile.bak In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 make includes including in ./Ext... including in ./Xedw... including in ./regexp... make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -- main.c menus.c appman.c dirman.c fileman.c parse.c Ext/termwindow.c Ext/iconman.c Xedw/XedwList.c Xedw/XedwForm.c lexical.l parser.y scroll_hack.c mystrstr.c buttons.c display.c listoption.c map.c newfile.c quit.c doubleclick.c dialogs.c locicon.c > .depend cc: warning: lexical.l: 'linker' input unused [-Wunused-command-line-argument] cc: warning: parser.y: 'linker' input unused [-Wunused-command-line-argument] ===> Building for xdtm-2.5.8p2 ******************************************************** * Compiling the X Desktop Manager V2.5 * * * * Have you configured the master Imakefile in this * * directory for this machine? * * * * Have you made the Makefiles in Xedw and regexp? * * if not type 'make Makefiles' * * * * Available targets: xdtm (default) * * install - install xdtm * * install.man - install man page * * etags - Make emacs tags * * clean - Clean directory * * tar - Archive xdtm * ******************************************************** cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c appman.c appman.c:230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void createAppManagerWidgets(topForm) ^ appman.c:769:19: warning: incompatible function pointer types passing 'void (void)' to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types] signal(SIGCHLD, child_died); /* New */ ^~~~~~~~~~ /usr/include/sys/signal.h:199:27: note: passing argument to parameter here void (*signal(int, void (*)(int)))(int); ^ appman.c:411:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void initAppManager(w) ^ appman.c:778:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void button_selected(w, type, call_data) ^ appman.c:867:17: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Impossible error!", "Please contact authors", NULL); ^ appman.c:918:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, you can't remove", "that file", NULL); /* Remove failed */ ^ appman.c:920:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, one or more files", "could not be removed", NULL); ^ appman.c:875:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void trashQueryResult(w, delete, call_data) ^ appman.c:999:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, that file could","not be copied", NULL); ^ appman.c:1001:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, one or more files", "could not be copied", NULL); ^ appman.c:945:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void copyQueryResult(w, copy, call_data) ^ appman.c:1079:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, that file could", "not be moved", NULL); ^ appman.c:1081:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, one or more files", "could not be moved", NULL); ^ appman.c:1084:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Be aware that that file could not", ^ appman.c:1087:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Be aware that one or more files could", ^ appman.c:1022:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void moveQueryResult(w, move, call_data) ^ appman.c:1121:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void selectionChange(w, selection, crap) ^ appman.c:1177:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void program_selected(w, client_data, call_data) ^ appman.c:1212:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void run_app(node, input, output, error) ^ appman.c:1404:15: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Error: execution failed, no more pty!", ^ appman.c:1503:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ appman.c:1570:24: warning: incompatible function pointer types passing 'void (void)' to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types] signal(SIGCHLD, child_died); ^~~~~~~~~~ /usr/include/sys/signal.h:199:27: note: passing argument to parameter here void (*signal(int, void (*)(int)))(int); ^ appman.c:1590:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public String build_arguments(program, options) ^ appman.c:1620:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("This program requires files", "to be selected", "Cancel"); ^ appman.c:1635:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("This program requires only", ^ appman.c:1660:19: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("This program does not require", ^ appman.c:1677:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void popup_verify_app(node) ^ appman.c:1906:19: warning: incompatible function pointer types passing 'void (void)' to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types] signal(SIGCHLD, child_died); ^~~~~~~~~~ /usr/include/sys/signal.h:199:27: note: passing argument to parameter here void (*signal(int, void (*)(int)))(int); ^ appman.c:1913:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void increment_counter(node, pid, programname) ^ appman.c:1993:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private Boolean decrement_counter(pid) ^ appman.c:2054:18: warning: incompatible function pointer types passing 'void (void)' to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types] signal(SIGALRM, checkMissedPid); ^~~~~~~~~~~~~~ /usr/include/sys/signal.h:199:27: note: passing argument to parameter here void (*signal(int, void (*)(int)))(int); ^ appman.c:2136:21: warning: relational comparison result unused [-Wunused-comparison] for (i = 0; i < num, proclist[i]; i++) { ~~^~~~~ 32 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c buttons.c buttons.c:63:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void init_button(top) ^ buttons.c:200:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void button_dialog(type, list) ^ 2 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c dialogs.c dialogs.c:52:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void createDialogWidgets(top) ^ dialogs.c:124:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void realize_dialog(popup, parent, grab_kind, handler, client_data) ^ cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c display.c 2 warnings generated. display.c:52:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void init_display(top) ^ display.c:83:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void destroy_query(w, display_widgets) ^ display.c:97:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void destroy_view(w, destroyer) ^ display.c:214:18: warning: incompatible pointer types passing 'Widget *' (aka 'struct _WidgetRec **') to parameter of type 'widgets *' (aka 'struct widgets *') [-Wincompatible-pointer-types] destroy_view(w, (Widget *)client_data); ^~~~~~~~~~~~~~~~~~~~~ display.c:222:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void destroy_popup(w, killme) ^ display.c:231:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void alert_dialog(label1, label2, buttonlabel) ^ In file included from display.c:18: ./xdtm.h:150:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void alert_dialog(/* String, String, String */); ^ display.c:312:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void displayfile(fullname, searchto, title, grab_kind) ^ display.c:451:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void save_contents(w, edit_widgets) ^ display.c:482:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void editfile(fullname) ^ 10 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c dirman.c dirman.c:95:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void createDirectoryManagerWidgets(view) ^ dirman.c:328:17: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Error: invalid directory!", newpath, NULL); ^ dirman.c:195:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public Boolean directoryManagerNewDirectory(newpath) ^ dirman.c:466:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void selection_made(w, client_data, call_data) ^ dirman.c:481:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ dirman.c:490:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void DoubleClick(w, event) ^ dirman.c:527:19: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, that file does", "not really exist!!", "Cancel"); ^ dirman.c:562:23: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else alert_dialog("Cannot double click", ^ dirman.c:575:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void GoUp(w, event) ^ dirman.c:602:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void SelectAll(w, event) ^ dirman.c:626:22: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else alert_dialog("Cannot select all", "while trying to Copy/Move", NULL); ^ dirman.c:639:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void Refresh(w, event) ^ dirman.c:725:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public String getfilename(s) ^ 13 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c doubleclick.c doubleclick.c:376:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void init_doubleclick(top) ^ doubleclick.c:1562:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void doubleclick_dialog(filename, path) ^ doubleclick.c:1666:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void update_buttons(mode, current) ^ doubleclick.c:2087:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void verify_callback(w, current, call_data) ^ doubleclick.c:2130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void destroy_doubleclick_dialog(w, current, call_data) ^ doubleclick.c:2240:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void free_info(w, infobutton, call_data) ^ doubleclick.c:2252:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void dcbutton_toggled(w, infobutton, call_data) ^ doubleclick.c:2301:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void text_callback(w, current, call_data) ^ doubleclick.c:2335:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cancel_func(w, client_data, call_data) ^ doubleclick.c:2346:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void view_func(w, current, call_data) ^ doubleclick.c:2431:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void ioerr_dialog(errnum) ^ doubleclick.c:2445:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Invalid filename error", NULL, NULL); ^ doubleclick.c:2449:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Component of path or", "file does not exist", NULL); ^ doubleclick.c:2453:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Permission denied", NULL, NULL); ^ doubleclick.c:2458:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Symbolic link loop in path", NULL, NULL); ^ doubleclick.c:2463:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Tried to write to directory file", NULL, NULL); ^ doubleclick.c:2467:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Can't write to file;", " File is on a read-only file system", NULL); ^ doubleclick.c:2471:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Too many open file descriptors", NULL, NULL); ^ doubleclick.c:2475:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("System file table is full", NULL, NULL); ^ doubleclick.c:2479:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Device driver missing", NULL, NULL); ^ doubleclick.c:2483:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("No space to create file", NULL, NULL); ^ doubleclick.c:2488:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Quota over limit", NULL, NULL); ^ doubleclick.c:2493:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("I/O error while allocating inode", NULL, NULL); ^ doubleclick.c:2497:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("File is currently executing", NULL, NULL); ^ doubleclick.c:2501:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Path points outside address space", NULL, NULL); ^ doubleclick.c:2505:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("File already exists", NULL, NULL); ^ doubleclick.c:2510:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Can't open a socket", NULL, NULL); ^ doubleclick.c:2519:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void execwin_func(w, current, call_data) ^ doubleclick.c:2595:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void execback_realize(w, current, call_data) ^ doubleclick.c:2613:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void execback_popdown(w, infobutton, call_data) ^ doubleclick.c:2682:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private AppProgram *compute_appnode(programname, current) ^ doubleclick.c:2729:7: 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] exit(-1); ^ doubleclick.c:2729:7: note: include the header or explicitly provide a declaration for 'exit' doubleclick.c:2780:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void update_func(w, current, call_data) ^ doubleclick.c:2791:19: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Error", "Invalid group name.", NULL); ^ doubleclick.c:2796:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Not a member of group requested", NULL, NULL); ^ doubleclick.c:2797:24: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else alert_dialog("Error in chown(group)", NULL, NULL); ^ doubleclick.c:2794:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (chown(current->dc_fullname, -1, group) == -1) { ^ doubleclick.c:2810:19: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog(tempstring, NULL, NULL); ^ doubleclick.c:2815:19: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Error in rename", NULL, NULL); ^ doubleclick.c:2828:26: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] !(pass=(getpwuid((uid_t)atoi(current->edit_owner))))) { ^ doubleclick.c:2829:19: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("No such user", current->edit_owner, NULL); ^ doubleclick.c:2834:19: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Error in chown(user)", NULL, NULL); ^ doubleclick.c:2833:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (chown(current->dc_fullname, pass->pw_uid, -1) == -1) { ^ doubleclick.c:2881:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void undo_func(w, infobutton, call_data) ^ doubleclick.c:2900:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Error", "Impossibly Invalid group name.", NULL); ^ doubleclick.c:2904:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Error in resetting group (chown)", NULL, NULL); ^ doubleclick.c:2924:16: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Error in resetting filename", NULL, NULL); ^ doubleclick.c:2945:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Original user no longer exists!", NULL, NULL); ^ doubleclick.c:2950:16: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Error in resetting owner (chown)", NULL, NULL); ^ doubleclick.c:3014:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void help_func(w, client_data, call_data) ^ doubleclick.c:3022:19: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Help file not found at", perm_help_file, "Cancel"); ^ doubleclick.c:3028:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int group_number(groupname) ^ doubleclick.c:3035:56: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!(group=getgrnam(groupname)) && !(group=getgrgid(atoi(groupname)))) ^ doubleclick.c:3044:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int user_is_member( gid ) ^ doubleclick.c:3105:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void set_size_date(current) ^ doubleclick.c:3109:37: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat] sprintf(current->filesize, "%9ld",current->filestat.st_size); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %9lld doubleclick.c:3125:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void set_icon(current) ^ doubleclick.c:3155:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void load_text(w, string) ^ 58 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c fileman.c fileman.c:63:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void createFileManagerWidgets(w) ^ fileman.c:186:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void initFileManager(w) ^ fileman.c:206:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void GotoDir(w, event) ^ fileman.c:221:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void goto_dir(w, client_data, call_data) ^ fileman.c:313:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void setCursor(newcursor) ^ 5 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c listoption.c listoption.c:80:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern directoryManagerNewDirectory(String); ~~~~~~ ^ int listoption.c:95:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void init_listoption(top) ^ listoption.c:426:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void destroy_listoption_dialog(w, client_data, call_data) ^ listoption.c:446:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void optionbutton_toggled(w, button, call_data) ^ 4 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c map.c map.c:75:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void init_map(top) ^ map.c:233:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void map_dialog(map) ^ map.c:317:19: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Help file not found at", help_file, "Cancel"); ^ map.c:325:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void mapQueryResult(w, status, call_data) ^ map.c:355:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ map.c:371:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void selectQueryResult(w, status, call_data) ^ map.c:398:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void highlight_by_re(re) ^ map.c:408:19: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer = regcomp(re); ^ map.c:414:16: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regexec(buffer, icon_list[i]->string) != 0) ^ 9 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c main.c main.c:291:8: warning: return type of 'main' is not 'int' [-Wmain-return-type] public void main(argc, argv) ^ main.c:291:8: note: change return type to 'int' public void main(argc, argv) ^~~~ int main.c:291:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void main(argc, argv) ^ main.c:460:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void quitQueryResult(w, quit, call_data) ^ 3 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c menus.c menus.c:130:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void createMenuWidgets(w) ^ menus.c:267:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void createMenu(menu, menuStrings, menuSize, function) ^ menus.c:353:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void menuSelect(w, paneNumber, rubbish) ^ menus.c:376:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog(level, "bug-reports: rjs@pencom.com\n\ ^ menus.c:384:16: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Help file not found at", help_file, "Cancel"); ^ menus.c:396:20: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("You can only duplicate", "one file at a time", ^ menus.c:419:21: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, that file can not", "be duplicated", ^ menus.c:435:20: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("You can get info on only", "one file at a time", ^ menus.c:480:2: warning: call to undeclared function 'selectionChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] selectionChange(w, 0, NULL); ^ menus.c:487:4: 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] exit(0); ^ menus.c:487:4: note: include the header or explicitly provide a declaration for 'exit' 10 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c mystrstr.c cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c newfile.c newfile.c:68:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void init_newfile(top) ^ newfile.c:198:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void newfile_dialog(rename, newname, isdir) ^ newfile.c:262:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void destroy_newfile_dialog(w, client_data, call_data) ^ newfile.c:312:15: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((fd = mkdir(fullname, 0777)) == -1) ^ newfile.c:313:19: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, can't create directory", fullname, "Cancel"); ^ newfile.c:320:19: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, can't create file", fullname, "Cancel"); ^ newfile.c:333:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void duplicateQueryReturn(w, filetype, dummy) ^ newfile.c:412:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, can't duplicate directory", filetype->filename, ^ newfile.c:415:14: warning: passing arguments to 'alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alert_dialog("Sorry, can't duplicate file", NULL, "Cancel"); ^ 9 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c parse.c parse.c:306:50: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long long') [-Wformat] sprintf(output_line, "%s%9d ", output_line, filestatus->st_size); ~~~ ^~~~~~~~~~~~~~~~~~~ %9lld parse.c:89:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public Boolean getIconType(filename, path, element) ^ parse.c:351:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private iconPrefs *applyprefs(tp, fullname, filename, filestatus) ^ parse.c:484:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private Pixmap grey_icon(icon) ^ parse.c:499:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private BTree *grey_search(icon, new, tree) ^ parse.c:563:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private iconPrefs *do_iconprefs(ip, fullname, filename, filestatus) ^ parse.c:588:18: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regexec(ip->expbuf, string) != 0) { ^ parse.c:582:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ parse.c:697:7: 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] exit(2); ^ parse.c:697:7: note: include the header or explicitly provide a declaration for 'exit' parse.c:653:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public Boolean parsePreferences(w) ^ parse.c:742:2: warning: call to undeclared function 'freeAppSelection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] freeAppSelection(appselections[i]); ^ parse.c:745:7: warning: call to undeclared function 'freeTypePref'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] freeTypePref(prefs); ^ parse.c:774:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void initBitmaps(w) ^ 13 warnings generated. yacc -d parser.y mv -f y.tab.c parser.c mv -f y.tab.h parser.h cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c parser.c parser.y:401:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void freeTypePref(tp) ^ parser.y:453:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void freeIconPref(ip) ^ parser.y:477:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void start_block(newpref, iconpref) ^ parser.y:532:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void new_re(re) ^ parser.y:546:26: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new->expbuf = regcomp(re); ^ parser.y:556:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void new_type(n) ^ parser.y:628:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public Cardinal count_chr(s, c) ^ parser.y:650:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private String *stringtopath(s, n) ^ parser.y:709:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private iconPrefs *inserticonpref(head, item) ^ parser.y:768:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private String strip_quotes(s) ^ parser.y:792:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void set_path(s) ^ parser.y:849:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void set_deficon(s) ^ parser.y:895:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void set_cmd(s, termopts) ^ parser.y:940:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private int lookupicon(icon, pixmap, mask) ^ parser.y:990:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private int get_pixmap(fullname, tree, pixmap, mask) ^ parser.y:1056:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void newselection(selection) ^ parser.y:1065:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static selectionmax = APPPSIZE; ~~~~~~ ^ int parser.y:1091:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void freeAppSelection(selection) ^ parser.y:1112:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void setapp(type, argument) ^ parser.y:1142:12: warning: cast to smaller integer type 'int' from 'String' (aka 'char *') [-Wpointer-to-int-cast] switch((int)argument) { ^~~~~~~~~~~~~ parser.y:1173:22: warning: cast to smaller integer type 'int' from 'String' (aka 'char *') [-Wpointer-to-int-cast] node->termopts = (int)argument; ^~~~~~~~~~~~~ parser.y:1361:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void freeAppProgram(app) ^ parser.y:1416:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] private void freeIconSelection(selection) ^ y.tab.c:1662:23: warning: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((yychar = yylex()) < 0) yychar = 0; ^ parser.y:267:27: warning: cast to 'String' (aka 'char *') from smaller integer type 'int' [-Wint-to-pointer-cast] {setapp(yyvsp[-3].number, (String)yyvsp[-1].number);} ^~~~~~~~~~~~~~~~~~~~~~~~ parser.y:296:27: warning: cast to 'String' (aka 'char *') from smaller integer type 'int' [-Wint-to-pointer-cast] {setapp(yyvsp[-3].number, (String)yyvsp[-1].number);} ^~~~~~~~~~~~~~~~~~~~~~~~ y.tab.c:1934:27: warning: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((yychar = yylex()) < 0) yychar = 0; ^ 27 warnings generated. lex -t lexical.l > lexical.c cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c lexical.c lexical.l:188:15: warning: call to undeclared function 'parse_keyword'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] { int token = parse_keyword(yytext); ^ lexical.l:236:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int parse_keyword(str) ^ lexical.l:277:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void yyerror(message) ^ 3 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c quit.c quit.c:51:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void init_quit(top) ^ quit.c:152:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void quitShowList(w, client_data, call_data) ^ 2 warnings generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c scroll_hack.c scroll_hack.c:22:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] public void setscroll(w, pos) ^ 1 warning generated. cc -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" -c locicon.c making Ext in ./Ext... rm -f termwindow.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" termwindow.c rm -f iconman.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" iconman.c rm -f libExt.a ar clq libExt.a termwindow.o iconman.o ranlib libExt.a making Xedw in ./Xedw... rm -f XedwForm.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" XedwForm.c XedwForm.c:220:20: warning: cast to 'caddr_t' (aka 'char *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-pointer-cast] {XtBaseOffset, (caddr_t)XtOffset(Widget, core.parent), sizeof(Widget)} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. rm -f XedwList.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" XedwList.c XedwList.c:818:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ XedwList.c:1208:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ XedwList.c:1353:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 3 warnings generated. rm -f libXedw.a ar clq libXedw.a XedwForm.o XedwList.o ranlib libXedw.a making regexp in ./regexp... rm -f regexp.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" regexp.c regexp.c:207:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("NULL argument"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:214:6: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(MAGIC); ^ regexp.c:215:9: warning: passing arguments to 'reg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (reg(0, &flags) == NULL) ^ regexp.c:220:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("regexp too big"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:223:22: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = (regexp *)malloc(sizeof(regexp) + (unsigned)regsize); ^ regexp.c:225:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("out of space"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:231:6: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(MAGIC); ^ regexp.c:232:9: warning: passing arguments to 'reg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (reg(0, &flags) == NULL) ^ regexp.c:241:16: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (OP(regnext(scan)) == END) { /* Only one top-level choice. */ ^ regexp.c:261:39: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (; scan != NULL; scan = regnext(scan)) ^ regexp.c:262:32: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (OP(scan) == EXACTLY && strlen(OPERAND(scan)) >= len) { ^ regexp.c:262:32: note: include the header or explicitly provide a declaration for 'strlen' regexp.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regcomp(exp) ^ In file included from regexp.c:29: ./regexp.h:18:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern regexp *regcomp(); ^ regexp.c:299:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("too many ()"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:302:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(OPEN+parno); ^ regexp.c:307:16: warning: passing arguments to 'regbranch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] br = regbranch(&flags); ^ regexp.c:311:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, br); /* OPEN -> first. */ ^ regexp.c:319:17: warning: passing arguments to 'regbranch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] br = regbranch(&flags); ^ regexp.c:322:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, br); /* BRANCH -> BRANCH. */ ^ regexp.c:329:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ender = regnode((paren) ? CLOSE+parno : END); ^ regexp.c:330:9: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, ender); ^ regexp.c:333:41: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (br = ret; br != NULL; br = regnext(br)) ^ regexp.c:334:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(br, ender); ^ regexp.c:338:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("unmatched ()"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:341:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("unmatched ()"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:343:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("junk on end"); /* "Can't happen". */ ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reg(paren, flagp) ^ regexp.c:166:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *reg(); ^ regexp.c:366:15: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(BRANCH); ^ regexp.c:369:20: warning: passing arguments to 'regpiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] latest = regpiece(&flags); ^ regexp.c:376:11: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(chain, latest); ^ regexp.c:380:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) regnode(NOTHING); ^ regexp.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regbranch(flagp) ^ regexp.c:167:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regbranch(); ^ regexp.c:403:15: warning: passing arguments to 'regatom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regatom(&flags); ^ regexp.c:414:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("*+ operand could be empty"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:418:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(STAR, ret); ^ regexp.c:421:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(BRANCH, ret); /* Either x */ ^ regexp.c:422:25: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, regnode(BACK)); /* and loop */ ^ regexp.c:422:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, regnode(BACK)); /* and loop */ ^ regexp.c:423:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, ret); /* back */ ^ regexp.c:424:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:424:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:425:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:425:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:427:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(PLUS, ret); ^ regexp.c:430:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnode(BRANCH); /* Either */ ^ regexp.c:431:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, next); ^ regexp.c:432:18: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(regnode(BACK), ret); /* loop back */ ^ regexp.c:432:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(regnode(BACK), ret); /* loop back */ ^ regexp.c:433:24: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(next, regnode(BRANCH)); /* or */ ^ regexp.c:433:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(next, regnode(BRANCH)); /* or */ ^ regexp.c:434:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:434:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:437:12: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(BRANCH, ret); /* Either x */ ^ regexp.c:438:23: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:438:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:439:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnode(NOTHING); /* null. */ ^ regexp.c:440:10: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, next); ^ regexp.c:441:12: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, next); ^ regexp.c:445:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("nested *?+"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regpiece(flagp) ^ regexp.c:168:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regpiece(); ^ regexp.c:469:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(BOL); ^ regexp.c:472:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(EOL); ^ regexp.c:475:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANY); ^ regexp.c:483:18: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANYBUT); ^ regexp.c:486:18: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANYOF); ^ regexp.c:488:9: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:493:11: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('-'); ^ regexp.c:498:8: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("invalid [] range"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:500:12: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(class); ^ regexp.c:504:10: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:506:8: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('\0'); ^ regexp.c:508:5: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("unmatched []"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:522:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("internal urp"); /* Supposed to be caught earlier. */ ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:527:3: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("?+* follows nothing"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:531:4: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("trailing \\"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:532:16: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(EXACTLY); ^ regexp.c:533:7: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:534:7: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('\0'); ^ regexp.c:542:10: warning: call to undeclared library function 'strcspn' with type 'unsigned long (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] len = strcspn(regparse, META); ^ regexp.c:542:10: note: include the header or explicitly provide a declaration for 'strcspn' regexp.c:544:5: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FAIL("internal disaster"); ^ regexp.c:139:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:551:17: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(EXACTLY); ^ regexp.c:553:9: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:556:8: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('\0'); ^ regexp.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regatom(flagp) ^ regexp.c:169:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regatom(); ^ regexp.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regnode(op) ^ regexp.c:170:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regnode(); ^ regexp.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(b) ^ regexp.c:172:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void regc(); ^ regexp.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(op, opnd) ^ regexp.c:173:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void reginsert(); ^ regexp.c:651:17: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp = regnext(scan); ^ regexp.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(p, val) ^ regexp.c:174:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void regtail(); ^ regexp.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(p, val) ^ regexp.c:175:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC void regoptail(); ^ regexp.c:717:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("NULL parameter"); ^ regexp.c:723:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("corrupted program"); ^ regexp.c:731:8: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (strncmp(s, prog->regmust, prog->regmlen) == 0) ^ regexp.c:731:8: note: include the header or explicitly provide a declaration for 'strncmp' regexp.c:744:16: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(regtry(prog, string)); ^ regexp.c:751:14: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regtry(prog, s)) ^ regexp.c:758:14: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regtry(prog, s)) ^ regexp.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regexec(prog, string) ^ In file included from regexp.c:29: ./regexp.h:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int regexec(); ^ regexp.c:788:14: warning: passing arguments to 'regmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regmatch(prog->program + 1)) { ^ regexp.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtry(prog, string) ^ regexp.c:694:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC int regtry(); ^ regexp.c:824:17: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnext(scan); ^ regexp.c:935:21: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan = regnext(scan); ^ regexp.c:958:19: warning: passing arguments to 'regrepeat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] no = regrepeat(OPERAND(scan)); ^ regexp.c:975:12: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("memory corruption"); ^ regexp.c:987:10: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("corrupted pointers"); ^ regexp.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regmatch(prog) ^ regexp.c:695:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC int regmatch(); ^ regexp.c:1030:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("internal foulup"); ^ regexp.c:995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regrepeat(p) ^ regexp.c:696:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC int regrepeat(); ^ regexp.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regnext(p) ^ regexp.c:171:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] STATIC char *regnext(); ^ 122 warnings generated. rm -f regerror.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" regerror.c regerror.c:6:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror(s) ^ 1 warning generated. rm -f regsub.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -I. -I.. -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS -DSYSTEM_LIB_DIR=\"/usr/local/lib/X11/xdtm\" -DSYSTEM_XDTMRC=\"/usr/local/lib/X11/xdtm/xdtmrc\" regsub.c regsub.c:54:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("NULL parm to regsub"); ^ regsub.c:58:11: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("damaged regexp fed to regsub"); ^ regsub.c:80:13: warning: passing arguments to 'regerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror("damaged match string"); ^ regsub.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regsub(prog, source, dest) ^ In file included from regsub.c:25: ./regexp.h:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void regsub(); ^ 5 warnings generated. rm -f libregexp.a ar clq libregexp.a regexp.o regerror.o regsub.o ranlib libregexp.a rm -f xdtm cc -o xdtm -O2 -L/usr/X11R6/lib -L/usr/local/lib appman.o buttons.o dialogs.o display.o dirman.o doubleclick.o fileman.o listoption.o map.o main.o menus.o mystrstr.o newfile.o parse.o parser.o lexical.o quit.o scroll_hack.o locicon.o -LExt -lExt -Lregexp -lregexp -LXedw -lXedw -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXdmcp -lXau -lXt -lSM -lICE -lXext -lX11 -lXdmcp -lXau -ll -lm -Wl,-rpath,/usr/local/lib appman.c(appman.o:(createAppManagerWidgets)): warning: strcpy() is almost always misused, please use strlcpy() fileman.c(fileman.o:(goto_dir)): warning: sprintf() is often misused, please use snprintf() dirman.c(dirman.o:(DoubleClick)): warning: strcat() is almost always misused, please use strlcat() rm -f xdtm._man if test -z "" ; then cd `dirname xdtm` && ln -s `basename xdtm.man` `basename xdtm._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xdtm.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xdtm._man; fi >>> Running package in x11/xdtm at 1711449463.86 ===> x11/xdtm ===> Faking installation for xdtm-2.5.8p2 making Ext in ./Ext... making Xedw in ./Xedw... making regexp in ./regexp... install -c xdtm /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/bin/xdtm mv -f xdtmrc xdtmrc.orig sed -e 's^\"{icon dir}\"^\"/usr/local/lib/X11/xdtm/icons\"^' xdtmrc.orig > xdtmrc sed -e 's^iconfile^/usr/local/lib/X11/xdtm/new_xdtm.xbm^' Xdtm.ad.tmpl > Xdtm.ad cp xdtm.sh xdtm.sh.script install -c -m 0755 xdtm.sh.script /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/bin/xdtm.sh + mkdir -p /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/lib/X11/xdtm install -c -m 0444 help /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/lib/X11/xdtm install -c -m 0444 perm.help /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/lib/X11/xdtm install -c -m 0444 xdtmrc /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/lib/X11/xdtm install -c -m 0444 bitmaps/new_xdtm.xbm /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/lib/X11/xdtm + mkdir -p /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/lib/X11/xdtm/icons + mkdir -p /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/etc/X11/app-defaults install -c -m 0444 Xdtm.ad /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/lib/X11/app-defaults/Xdtm cp icons/*/*.icon /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/lib/X11/xdtm/icons rm -f xdtmrc mv -f xdtmrc.orig xdtmrc chmod -R a+r /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/lib/X11/xdtm installing in ./Ext... install in Ext done installing in ./Xedw... install in Xedw done installing in ./regexp... install in regexp done install -c -m 0444 xdtm._man /exopi-obj/pobj/xdtm-2.5.8/fake-amd64/usr/local/man/man1/xdtm.1 installing man pages in ./Ext... install.man in Ext done installing man pages in ./Xedw... install.man in Xedw done installing man pages in ./regexp... install.man in regexp done ===> Building package for xdtm-2.5.8p2 Create /exopi-cvs/ports/packages/amd64/all/xdtm-2.5.8p2.tgz Creating package xdtm-2.5.8p2 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|* | 1% checksumming|** | 3% checksumming|** | 4% checksumming|*** | 5% checksumming|**** | 7% checksumming|***** | 8% checksumming|****** | 9% checksumming|****** | 11% checksumming|******* | 12% checksumming|******** | 13% checksumming|********* | 14% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 18% checksumming|************ | 20% checksumming|************* | 21% checksumming|************** | 22% checksumming|************** | 24% checksumming|*************** | 25% checksumming|**************** | 26% checksumming|***************** | 28% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 32% checksumming|******************** | 33% checksumming|********************* | 34% checksumming|********************** | 36% checksumming|********************** | 37% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************* | 41% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 45% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|****************************** | 49% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************** | 55% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 59% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|*************************************** | 63% checksumming|*************************************** | 64% checksumming|**************************************** | 66% checksumming|***************************************** | 67% checksumming|****************************************** | 68% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 72% checksumming|********************************************* | 74% checksumming|********************************************** | 75% checksumming|*********************************************** | 76% checksumming|*********************************************** | 78% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************** | 82% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 86% checksumming|***************************************************** | 87% checksumming|****************************************************** | 88% checksumming|******************************************************* | 89% checksumming|******************************************************* | 91% checksumming|******************************************************** | 92% checksumming|********************************************************* | 93% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|******************************************* | 67% archiving|******************************************** | 69% archiving|************************************************** | 78% archiving|************************************************** | 79% archiving|*************************************************** | 79% archiving|*************************************************** | 80% archiving|**************************************************** | 81% archiving|**************************************************** | 82% archiving|***************************************************** | 82% archiving|***************************************************** | 83% archiving|****************************************************** | 84% archiving|****************************************************** | 85% archiving|******************************************************* | 85% archiving|******************************************************* | 86% archiving|******************************************************* | 87% archiving|******************************************************** | 87% archiving|******************************************************** | 88% archiving|********************************************************* | 88% archiving|********************************************************* | 89% archiving|********************************************************* | 90% archiving|********************************************************** | 90% archiving|********************************************************** | 91% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************** | 97% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/xdtm-2.5.8p2.tgz >>> Running clean in x11/xdtm at 1711449465.84 ===> x11/xdtm ===> Cleaning for xdtm-2.5.8p2 >>> Ended at 1711449466.11 max_stuck=1.42/depends=1.50/show-prepare-results=0.77/build=10.06/package=1.98/clean=0.29