=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tvtwm-11nb3 --- add_window.o --- --- gc.o --- --- list.o --- --- add_window.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c add_window.c --- gc.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c gc.c --- list.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c list.c In file included from list.c:43: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from list.c:46: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from list.c:46: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from list.c:46: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ list.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_entry(list) ^ --- gc.o --- In file included from gc.c:40: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from gc.c:41: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from gc.c:41: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from gc.c:41: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ --- list.o --- list.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] contents_of_entry(list) ^ list.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToList(list_head, name, type, /* property,*/ ptr) ^ list.c:110:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] short type; ^ ./list.h:71:52: note: previous declaration is here AddToList(name_list **list_head, char *name, short type, char *ptr); ^ --- add_window.o --- In file included from add_window.c:41: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from add_window.c:45: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from add_window.c:45: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from add_window.c:45: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ In file included from add_window.c:46: ./resize.h:48: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 previous declaration [-Wdeprecated-non-prototype] extern void SetupWindow(); ^ ./twm.h:468:6: note: conflicting prototype is here void SetupWindow (TwmWindow *tmp_win, int x, int y, int w, int h, int bw); ^ In file included from add_window.c:46: ./resize.h:49: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 previous declaration [-Wdeprecated-non-prototype] extern void SetupFrame(); ^ ./twm.h:466:6: note: conflicting prototype is here void SetupFrame (TwmWindow *tmp_win, int x, int y, int w, int h, int bw, ^ In file included from add_window.c:46: ./resize.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void SendSyntheticConfigureNotify(); ^ ./twm.h:465:6: note: conflicting prototype is here void SendSyntheticConfigureNotify(TwmWindow *tmp_win); ^ In file included from add_window.c:53: ./move.h:42:6: 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 previous declaration [-Wdeprecated-non-prototype] void DragFrame(); ^ ./twm.h:491:6: note: conflicting prototype is here void DragFrame(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); ^ In file included from add_window.c:53: ./move.h:43:6: 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 previous declaration [-Wdeprecated-non-prototype] void DragIcon(); ^ ./twm.h:490:6: note: conflicting prototype is here void DragIcon(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); ^ In file included from add_window.c:53: --- list.o --- list.c:126:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sizeof(name_list)); ^~~~~~~~~~~~~~~~~ --- add_window.o --- ./move.h:45:6: 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 previous declaration [-Wdeprecated-non-prototype] void RelativeMove(); ^ ./twm.h:421:6: note: conflicting prototype is here void RelativeMove(TwmWindow *win, char *geom); ^ add_window.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGravityOffsets (tmp, xp, yp) ^ --- list.o --- list.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printNameList(name, nptr) ^ list.c:182: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 regerror(txt) ^ In file included from list.c:47: ./regexp.h:21: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 regerror(); ^ list.c:203:24: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((matcher = regcomp(pattern)) == NULL) { ^ list.c:209: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] result = regexec(matcher, name, 1); ^ list.c:213: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] return regexec(compiled, name, 1); ^ list.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatchName(name, pattern, compiled, type) ^ list.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MultiLookInList(list_head, name, class, continuation) ^ list.c:240:28: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((matcher = regcomp(nptr->name)) == NULL) { ^ list.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LookInList(list_head, name, class/*, win*/) ^ list.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MultiLookInNameList(list_head, name, continuation) ^ list.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LookInNameList(list_head, name) ^ list.c:398: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 GetColorFromList(list_head, name, class, /*win,*/ ptr) ^ list.c:427: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 FreeList(list) ^ --- add_window.o --- add_window.c:220:14: warning: passing arguments to 'getTWM_FLAGS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getTWM_FLAGS(tmp_win->w, &tmp_win->flags); ^ add_window.c:238:17: warning: passing arguments to 'SetTWM_FLAGS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTWM_FLAGS(tmp_win); ^ add_window.c:300:10: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (short)(int)LookInList(Scr->SqueezeIconL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:344:24: warning: passing arguments to 'GetWindowSizeHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetWindowSizeHints (tmp_win); ^ add_window.c:553:30: warning: passing arguments to 'CreateWindowTitlebarButtons' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateWindowTitlebarButtons (tmp_win); ^ add_window.c:554:23: warning: passing arguments to 'ComputeTitleLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeTitleLocation (tmp_win); ^ add_window.c:709:15: warning: passing arguments to 'StartMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartMove(tmp_win, tmp_win->frame, tmp_win->title_height, ^ add_window.c:753:17: warning: passing arguments to 'AddStartResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddStartResize(tmp_win, AddingX, AddingY, AddingW, AddingH); ^ add_window.c:772:16: warning: passing arguments to 'AddEndResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddEndResize(tmp_win); ^ add_window.c:790:12: warning: passing arguments to 'DoResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoResize(AddingX, AddingY, tmp_win); ^ add_window.c:798:16: warning: passing arguments to 'AddEndResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddEndResize(tmp_win); ^ add_window.c:888:13: warning: passing arguments to 'GrabButtons' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabButtons(tmp_win); ^ add_window.c:889:10: warning: passing arguments to 'GrabKeys' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabKeys(tmp_win); ^ add_window.c:892:26: warning: passing arguments to 'AddIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) AddIconManager(tmp_win); ^ add_window.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddWindow(w, iconm, iconp) ^ In file included from add_window.c:44: ./add_window.h:44:19: 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 TwmWindow *AddWindow(); ^ add_window.c:942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MappedNotOverride(w) ^ In file included from add_window.c:44: ./add_window.h:45: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 MappedNotOverride(); ^ add_window.c:952:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_add_binding (button, context, modifier, func) ^ add_window.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabButtons(tmp_win) ^ In file included from add_window.c:44: ./add_window.h:46: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 GrabButtons(); ^ add_window.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabKeys(tmp_win) ^ In file included from add_window.c:44: ./add_window.h:47: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 GrabKeys(); ^ add_window.c:1167:5: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &Scr->hilite.width, &Scr->hilite.height, ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:115:9: note: passing argument to parameter 'width_return' here int *width_return, ^ add_window.c:1167:25: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &Scr->hilite.width, &Scr->hilite.height, ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:116:9: note: passing argument to parameter 'height_return' here int *height_return, ^ add_window.c:1098:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Window CreateHighlightWindow (tmp_win) ^ add_window.c:1228: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 ComputeWindowTitleOffsets (tmp_win, width, squeeze) ^ In file included from add_window.c:41: ./twm.h:329:6: 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] void ComputeWindowTitleOffsets(), ComputeTitleLocation(); ^ add_window.c:1254: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 ComputeTitleLocation (tmp) ^ In file included from add_window.c:41: ./twm.h:329:35: 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] void ComputeWindowTitleOffsets(), ComputeTitleLocation(); ^ add_window.c:1305:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CreateWindowTitlebarButtons (tmp_win) ^ add_window.c:64: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 CreateWindowTitlebarButtons(); ^ add_window.c:1383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FetchWmProtocols (tmp) ^ In file included from add_window.c:41: ./twm.h:516: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 FetchWmProtocols(); ^ add_window.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateTwmColormap(c) ^ add_window.c:1424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateColormapWindow(w, creating_parent, property_window) ^ add_window.c:1588:12: warning: passing arguments to 'free_cwins' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_cwins(tmp); ^ add_window.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FetchWmColormapWindows (tmp) ^ In file included from add_window.c:41: ./twm.h:517: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 FetchWmColormapWindows(); ^ add_window.c:1611: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 GetWindowSizeHints (tmp) ^ In file included from add_window.c:44: ./add_window.h:50: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 GetWindowSizeHints(); ^ add_window.c:1637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getTWM_FLAGS (w, flags) ^ add_window.c:65: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 getTWM_FLAGS(); ^ add_window.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTWM_FLAGS(tmp_win) ^ In file included from add_window.c:44: ./add_window.h:51: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 SetTWM_FLAGS(); ^ --- gc.o --- 5 warnings generated. --- twm.o --- rm -f twm.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -DXLOADIMAGE=\"/opt/pkg/bin/xloadimage\" -DM4_DEFAULT twm.c In file included from twm.c:146: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from twm.c:153: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from twm.c:153: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from twm.c:153: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ In file included from twm.c:163: ./vdt.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void RaiseFrame(); ^ ./twm.h:507:6: note: conflicting prototype is here void RaiseFrame(TwmWindow *tmp_win); ^ In file included from twm.c:163: ./vdt.h:56: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveIcon(); ^ ./twm.h:454:6: note: conflicting prototype is here void MoveIcon(TwmWindow *tmp_win, int x, int y); ^ In file included from twm.c:163: ./vdt.h:57: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeVirtual(); ^ ./twm.h:397:6: note: conflicting prototype is here void ResizeVirtual(Window window, int width, int height); ^ In file included from twm.c:163: ./vdt.h:58:15: 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 previous declaration [-Wdeprecated-non-prototype] extern Window MakeVirtual(); ^ ./twm.h:455:8: note: conflicting prototype is here Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, ^ In file included from twm.c:163: ./vdt.h:65: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeDesktop(); ^ ./twm.h:508:6: note: conflicting prototype is here void ResizeDesktop(int width, int height); ^ twm.c:495:23: warning: passing arguments to 'CreateColormapWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateColormapWindow(Scr->Root, True, False); ^ twm.c:544:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&UpperLeftCursor, "top_left_corner"); ^ twm.c:545:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&RightButt, "rightbutton"); ^ twm.c:546:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&LeftButt, "leftbutton"); ^ twm.c:547:19: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&MiddleButt, "middlebutton"); ^ twm.c:596:17: warning: passing arguments to 'ParseTwmrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!ParseTwmrc(InitFile)) { ^ twm.c:599:21: warning: passing arguments to 'ParseStringList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseStringList(defTwmrc); ^ twm.c:618:19: warning: passing arguments to 'SetRootProperties' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetRootProperties(Scr->Root); ^ twm.c:624:24: warning: passing arguments to 'MakeVirtualDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeVirtualDesktop(Scr->vdtWidth, Scr->vdtHeight); ^ twm.c:627:23: warning: passing arguments to 'SetRootProperties' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetRootProperties(Scr->VirtualDesktop); ^ twm.c:665:42: warning: passing arguments to 'MappedNotOverride' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (children[i] && MappedNotOverride(children[i])) ^ twm.c:668:21: warning: passing arguments to 'SimulateMapRequest' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SimulateMapRequest(children[i]); ^ twm.c:678:11: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(Scr->iconmgr.twm_win); ^ twm.c:249: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 main(argc, argv, environ) ^ --- list.o --- 24 warnings generated. --- parse.o --- rm -f parse.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM '-DSYSTEM_INIT_FILE="'/opt/pkg/lib/X11/twm'/system.tvtwmrc"' parse.c --- twm.o --- twm.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetRootProperties(w) ^ twm.c:191: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 SetRootProperties(); /* leave note on root window */ ^ twm.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveRootProperties(w) ^ twm.c:879:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->FrameCursor, "top_left_arrow"); ^ twm.c:880:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->TitleCursor, "top_left_arrow"); ^ twm.c:881:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconCursor, "top_left_arrow"); ^ twm.c:882:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconMgrCursor, "top_left_arrow"); ^ twm.c:883:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MoveCursor, "fleur"); ^ twm.c:884:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ResizeCursor, "fleur"); ^ twm.c:885:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MenuCursor, "sb_left_arrow"); ^ twm.c:886:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ButtonCursor, "hand2"); ^ twm.c:887:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->WaitCursor, "watch"); ^ twm.c:888:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->SelectCursor, "dot"); ^ twm.c:889:18: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->DestroyCursor, "pirate"); ^ twm.c:1033: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 RestoreWithdrawnLocation (tmp) ^ twm.c:1101: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 Reborder (time) ^ In file included from twm.c:146: ./twm.h:326: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 Reborder(); ^ twm.c:1200:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int TwmErrorHandler(dpy, event) ^ twm.c:190: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 TwmErrorHandler(); /* for everything else */ ^ twm.c:1217:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int CatchRedirectError(dpy, event) ^ twm.c:189: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 CatchRedirectError(); /* for settting RedirectError */ ^ --- parse.o --- In file included from parse.c:45: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from parse.c:48: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from parse.c:48: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from parse.c:48: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ In file included from parse.c:52: ./vdt.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void RaiseFrame(); ^ ./twm.h:507:6: note: conflicting prototype is here void RaiseFrame(TwmWindow *tmp_win); ^ In file included from parse.c:52: ./vdt.h:56: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveIcon(); ^ ./twm.h:454:6: note: conflicting prototype is here void MoveIcon(TwmWindow *tmp_win, int x, int y); ^ In file included from parse.c:52: ./vdt.h:57: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeVirtual(); ^ ./twm.h:397:6: note: conflicting prototype is here void ResizeVirtual(Window window, int width, int height); ^ In file included from parse.c:52: ./vdt.h:58:15: 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 previous declaration [-Wdeprecated-non-prototype] extern Window MakeVirtual(); ^ ./twm.h:455:8: note: conflicting prototype is here Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, ^ In file included from parse.c:52: ./vdt.h:65: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeDesktop(); ^ ./twm.h:508:6: note: conflicting prototype is here void ResizeDesktop(int width, int height); ^ parse.c:122:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int doparse (ifunc, srctypename, srcname) ^ parse.c:150: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 ParseMenuFile(filename, menuname) ^ parse.c:257:23: warning: passing arguments to 'start_m4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] twmrc = start_m4(raw); ^ parse.c:276:25: warning: passing arguments to 'ParseStringList' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return ParseStringList (defTwmrc); ^ parse.c:171: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 ParseTwmrc (filename) ^ In file included from parse.c:50: ./parse.h:42: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 ParseTwmrc(), ParseStringList(); ^ parse.c:280: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 ParseStringList (sl) ^ In file included from parse.c:50: ./parse.h:42:26: 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 ParseTwmrc(), ParseStringList(); ^ parse.c:445: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 twmUnput (c) ^ parse.c:104:6: 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] void twmUnput(); ^ parse.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TwmOutput(c) ^ In file included from parse.c:50: ./parse.h:45: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 TwmOutput(); ^ parse.c:871: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 (s, nump) ^ parse.c:901: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 do_single_keyword (keyword) ^ parse.c:1078:28: warning: passing arguments to 'ParseState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int state = ParseState(s); ^ parse.c:1107:35: warning: passing arguments to 'ParseUsePPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ppos = ParseUsePPosition (s); ^ parse.c:1151:58: warning: passing arguments to 'ExpandFilename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Scr->FirstTime) Scr->IconDirectory = ExpandFilename (s); ^ parse.c:1052: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 do_string_keyword (keyword, s) ^ parse.c:1184: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 do_number_keyword (keyword, num) ^ parse.c:1265:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] name_list **do_colorlist_keyword (keyword, colormode, s) ^ parse.c:1326: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 do_color_keyword (keyword, colormode, s) ^ parse.c:1383: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 do_pixmap_keyword(keyword, filename) ^ parse.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_pixel_on_root(pixel) ^ parse.c:1457: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 do_string_savecolor(colormode, s) ^ parse.c:1473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_var_savecolor(key) ^ parse.c:1540:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseUsePPosition (s) ^ parse.c:86: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 ParseUsePPosition(); ^ parse.c:1557:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int ParseState (s) ^ parse.c:87: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 ParseState(); ^ parse.c:1574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_squeeze_entry (list, name, matchtype, justify, num, denom) ^ parse.c:1577:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] short matchtype; /* match type */ ^ ./twm.h:448:60: note: previous declaration is here void do_squeeze_entry (name_list **list, char *name, short icontype, int justify, ^ parse.c:1610:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sizeof(SqueezeInfo)); ^~~~~~~~~~~~~~~~~~~ parse.c:1620:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static FILE *start_m4(fraw) ^ parse.c:88: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 FILE *start_m4(); ^ parse.c:1679:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *MkDef(name, def) ^ parse.c:1709:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *MkQte(name, def) ^ parse.c:1716:56: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(stderr, "Can't get %d bytes for arg parm\n", 3 + strlen(def)); ~~ ^~~~~~~~~~~~~~~ %lu parse.c:1731:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *MkNum(name, def) ^ parse.c:1754:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *m4_defs(display, host) ^ parse.c:1867: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 previous declaration [-Wdeprecated-non-prototype] extern char *strtok(); ^ parse.c:1890:27: warning: passing 'int[32]' to parameter of type 'gid_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ngids = getgroups(NGIDS, gids); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:456:27: note: passing argument to parameter here int getgroups(int, gid_t []); ^ parse.c:1971: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 def_netmask(tmpf) ^ --- twm.o --- 45 warnings generated. --- menus.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c menus.c In file included from menus.c:184: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from menus.c:187: ./resize.h:48: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 previous declaration [-Wdeprecated-non-prototype] extern void SetupWindow(); ^ ./twm.h:468:6: note: conflicting prototype is here void SetupWindow (TwmWindow *tmp_win, int x, int y, int w, int h, int bw); ^ In file included from menus.c:187: ./resize.h:49: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 previous declaration [-Wdeprecated-non-prototype] extern void SetupFrame(); ^ ./twm.h:466:6: note: conflicting prototype is here void SetupFrame (TwmWindow *tmp_win, int x, int y, int w, int h, int bw, ^ In file included from menus.c:187: ./resize.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void SendSyntheticConfigureNotify(); ^ ./twm.h:465:6: note: conflicting prototype is here void SendSyntheticConfigureNotify(TwmWindow *tmp_win); ^ In file included from menus.c:189: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from menus.c:189: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from menus.c:189: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ In file included from menus.c:196: ./vdt.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void RaiseFrame(); ^ ./twm.h:507:6: note: conflicting prototype is here void RaiseFrame(TwmWindow *tmp_win); ^ In file included from menus.c:196: ./vdt.h:56: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveIcon(); ^ ./twm.h:454:6: note: conflicting prototype is here void MoveIcon(TwmWindow *tmp_win, int x, int y); ^ In file included from menus.c:196: ./vdt.h:57: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeVirtual(); ^ ./twm.h:397:6: note: conflicting prototype is here void ResizeVirtual(Window window, int width, int height); ^ In file included from menus.c:196: ./vdt.h:58:15: 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 previous declaration [-Wdeprecated-non-prototype] extern Window MakeVirtual(); ^ ./twm.h:455:8: note: conflicting prototype is here Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, ^ In file included from menus.c:196: ./vdt.h:65: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeDesktop(); ^ ./twm.h:508:6: note: conflicting prototype is here void ResizeDesktop(int width, int height); ^ menus.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool AddFuncKey (name, cont, mods, func, win_name, action) ^ menus.c:356: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 CreateTitleButton (name, func, action, menuroot, rightside, append) ^ menus.c:369:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ProgramName, sizeof(TitleButton)); ^~~~~~~~~~~~~~~~~~~ menus.c:489:24: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] tb->name, NULL, 0, &tb->width, &tb->height, ^~~~~~~~~~ /Users/pbulk/build/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:115:9: note: passing argument to parameter 'width_return' here int *width_return, ^ menus.c:489:36: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] tb->name, NULL, 0, &tb->width, &tb->height, ^~~~~~~~~~~ /Users/pbulk/build/wm/tvtwm/work/.buildlink/include/X11/Xmu/Drawing.h:116:9: note: passing argument to parameter 'height_return' here int *height_return, ^ menus.c:535: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 PaintEntry(mr, mi, exposure) ^ menus.c:621:43: warning: passing arguments to 'CreateMenuIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr->pullrightPm.pm = CreateMenuIcon(Scr->MenuFont.height, ^ menus.c:692: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 PaintMenu(mr, e) ^ menus.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewMenuRoot(name) ^ menus.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddToMenu(menu, item, action, sub, func, fore, back) ^ menus.c:1092: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 MakeMenu(mr) ^ menus.c:1386:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (((*compar)(sortlist[loop-1]->name,bakwin->name))>0) ^ menus.c:1410:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*compar)(tmp_win2->name,WindowNames[i]->name) < 0) ^ menus.c:1345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleChangingMenus(menu) ^ menus.c:1455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool PopUpMenu (menu, x, y, center) ^ menus.c:1586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindMenuRoot(name) ^ menus.c:1601:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool belongs_to_twm_window (t, w) ^ menus.c:1639: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 resizeFromCenter(w, tmp_win) ^ menus.c:1742:14: warning: passing arguments to 'Reborder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Reborder (time); ^ menus.c:1738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RestartTwm(time) ^ menus.c:1791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDefaultAction(menu) ^ menus.c:1816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecuteFunction(func, action, sub, w, tmp_win, eventp, context, pulldown) ^ menus.c:1896:22: warning: passing arguments to 'AddWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_win = AddWindow(Scr->Panner, FALSE, NULL); ^ menus.c:1898:13: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(tmp_win); ^ menus.c:1905:15: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(tmp_win); ^ menus.c:1919:15: warning: passing arguments to 'ScrollDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollDesktop(func, action); ^ menus.c:1936:17: warning: passing arguments to 'MoveIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveIconManager(func); ^ menus.c:1941:17: warning: passing arguments to 'JumpIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] JumpIconManager(func); ^ menus.c:1990:15: warning: passing arguments to 'SetTWM_FLAGS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTWM_FLAGS(tmp_win); ^ menus.c:2013:15: warning: passing arguments to 'SetTWM_FLAGS' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTWM_FLAGS(tmp_win); ^ menus.c:2029:18: warning: passing arguments to 'SortIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SortIconManager((IconMgr *) NULL); ^ menus.c:2031:18: warning: passing arguments to 'SortIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SortIconManager(tmp_win->iconmgrp); ^ menus.c:2043:10: warning: passing arguments to 'Identify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Identify(tmp_win); ^ menus.c:2047:11: warning: passing arguments to 'Identify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Identify ((TwmWindow *) NULL); ^ menus.c:2113:15: warning: passing arguments to 'StartResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartResize (eventp, tmp_win, fromtitlebar); ^ menus.c:2116:15: warning: passing arguments to 'StartResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartResize (eventp, tmp_win, fromtitlebar); ^ menus.c:2157:10: warning: passing arguments to 'fullzoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fullzoom(tmp_win, func); ^ menus.c:2581:15: warning: passing arguments to 'RaiseIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseIcon(tmp_win); ^ menus.c:2592:15: warning: passing arguments to 'LowerIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LowerIcon(tmp_win); ^ menus.c:2594:16: warning: passing arguments to 'LowerFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LowerFrame(tmp_win); ^ menus.c:2633:16: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(tmp_win); ^ menus.c:2659:16: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(tmp_win); ^ menus.c:2756:23: warning: passing arguments to 'ExpandFilename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptr = ExpandFilename(tmp); ^ menus.c:2899:25: warning: passing arguments to 'ExpandFilename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] action = ExpandFilename(action); ^ --- add_window.o --- 57 warnings generated. --- menus.o --- menus.c:2985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeferExecution(context, func, action, cursor) ^ menus.c:3040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Deferrable(func) ^ menus.c:3074:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool NeedToDefer(root) ^ menus.c:3099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Execute(s, tmp_win) ^ menus.c:3190: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 DeIconify(tmp_win) ^ menus.c:3199:10: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(tmp_win->icon.w, tmp_win->frame); ^ menus.c:3206:11: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(t->icon.w, tmp_win->frame); ^ menus.c:3217:13: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(tmp_win); ^ menus.c:3221:11: warning: passing arguments to 'UnmapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(tmp_win); ^ menus.c:3240:12: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(t->icon.w, t->frame); ^ menus.c:3242:12: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(tmp_win->icon.w, t->frame); ^ menus.c:3247:14: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(t); ^ menus.c:3251:17: warning: passing arguments to 'UnmapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(t); ^ menus.c:3265: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 Iconify(tmp_win, def_x, def_y) ^ menus.c:3281:9: warning: passing arguments to 'MapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapIcon(tmp_win); ^ menus.c:3297:8: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(t->icon.w, tmp_win->icon.w); ^ menus.c:3299:8: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(t->frame, tmp_win->icon.w); ^ menus.c:3308:13: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(t); ^ menus.c:3311:16: warning: passing arguments to 'UnmapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(t); ^ menus.c:3327:6: warning: passing arguments to 'Zoom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(tmp_win->frame, tmp_win->icon.w); ^ menus.c:3335:15: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(tmp_win); ^ menus.c:3391:28: warning: passing arguments to 'GetPropertyString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((s = GetPropertyString(t->w, XA_WM_CLIENT_MACHINE)) != NULL) ^ menus.c:3356:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Identify (t) ^ menus.c:237: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 Identify(); ^ menus.c:3472: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 SetMapStateProp(tmp_win, state) ^ menus.c:3488:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool GetWMState (w, statep, iwp) ^ In file included from menus.c:184: ./twm.h:384: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 Bool GetWMState(); ^ menus.c:3516: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 WarpToScreen (n, inc) ^ menus.c:3560: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 BumpWindowColormap (tmp, inc) ^ --- events.o --- --- menus.o --- menus.c:3609:15: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(Scr->iconmgr.twm_win); ^ menus.c:3611:16: warning: passing arguments to 'UnmapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(Scr->iconmgr.twm_win); ^ --- events.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c events.c --- menus.o --- menus.c:3618: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 SetBorder (tmp, onoroff) ^ menus.c:3637: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 DestroyMenu (menu) ^ menus.c:3661: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 WarpAlongRing (ev, forward) ^ menus.c:3708: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 WarpToWindow (t) ^ menus.c:3719:61: warning: passing arguments to 'AutoRaiseWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (t->auto_raise || !Scr->NoRaiseWarp) AutoRaiseWindow (t); ^ menus.c:3743:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void send_clientmessage (w, a, timestamp) ^ menus.c:3759: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 SendDeleteWindowMessage (tmp, timestamp) ^ menus.c:3766: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 SendSaveYourselfMessage (tmp, timestamp) ^ menus.c:3774: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 SendTakeFocusMessage (tmp, timestamp) ^ --- parse.o --- 52 warnings generated. --- resize.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c resize.c --- events.o --- In file included from events.c:123: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from events.c:128: ./resize.h:48: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 previous declaration [-Wdeprecated-non-prototype] extern void SetupWindow(); ^ ./twm.h:468:6: note: conflicting prototype is here void SetupWindow (TwmWindow *tmp_win, int x, int y, int w, int h, int bw); ^ In file included from events.c:128: ./resize.h:49: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 previous declaration [-Wdeprecated-non-prototype] extern void SetupFrame(); ^ ./twm.h:466:6: note: conflicting prototype is here void SetupFrame (TwmWindow *tmp_win, int x, int y, int w, int h, int bw, ^ In file included from events.c:128: ./resize.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void SendSyntheticConfigureNotify(); ^ ./twm.h:465:6: note: conflicting prototype is here void SendSyntheticConfigureNotify(TwmWindow *tmp_win); ^ In file included from events.c:131: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from events.c:131: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from events.c:131: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ In file included from events.c:135: ./vdt.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void RaiseFrame(); ^ ./twm.h:507:6: note: conflicting prototype is here void RaiseFrame(TwmWindow *tmp_win); ^ In file included from events.c:135: ./vdt.h:56: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveIcon(); ^ ./twm.h:454:6: note: conflicting prototype is here void MoveIcon(TwmWindow *tmp_win, int x, int y); ^ In file included from events.c:135: ./vdt.h:57: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeVirtual(); ^ ./twm.h:397:6: note: conflicting prototype is here void ResizeVirtual(Window window, int width, int height); ^ In file included from events.c:135: ./vdt.h:58:15: 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 previous declaration [-Wdeprecated-non-prototype] extern Window MakeVirtual(); ^ ./twm.h:455:8: note: conflicting prototype is here Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, ^ In file included from events.c:135: ./vdt.h:65: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeDesktop(); ^ ./twm.h:508:6: note: conflicting prototype is here void ResizeDesktop(int width, int height); ^ events.c:187: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 AutoRaiseWindow (tmp) ^ In file included from events.c:127: ./events.h:48: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 AutoRaiseWindow(); ^ events.c:197: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 SetRaiseWindow (tmp) ^ events.c:259:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bool StashEventTime (ev) ^ In file included from events.c:127: ./events.h:45: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 Bool StashEventTime(); ^ events.c:301:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Window WindowOfEvent (e) ^ events.c:371:23: warning: passing arguments to 'FindScreenInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr = FindScreenInfo (WindowOfEvent (&Event)); ^ events.c:404:23: warning: passing arguments to 'FindScreenInfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scr = FindScreenInfo (WindowOfEvent (&Event)); ^ events.c:478:40: warning: passing arguments to 'CreateTwmColormap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cwin->colormap = CreateTwmColormap(cevent->colormap); ^ events.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LastFocusEvent(w, first) ^ events.c:700:19: warning: passing arguments to 'ActiveIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ActiveIconManager(Tmp_win->list); ^ events.c:686:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ HandleFocusIn(event) ^ events.c:729:22: warning: passing arguments to 'NotActiveIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NotActiveIconManager(Tmp_win->list); ^ events.c:717:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* ARGSUSED */ HandleFocusOut(event) ^ events.c:745:17: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XFocusInEvent *' (aka 'XFocusChangeEvent *') [-Wincompatible-pointer-types] HandleFocusIn(event); ^~~~~ events.c:747:22: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XFocusOutEvent *' (aka 'XFocusChangeEvent *') [-Wincompatible-pointer-types] HandleFocusOut(event); ^~~~~ events.c:753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SynthesizeFocusOut(w) ^ events.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SynthesizeFocusIn(w) ^ events.c:911:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void free_window_names (tmp, nukefull, nukename, nukeicon) ^ events.c:932: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_cwins (tmp) ^ events.c:1027:48: warning: passing arguments to 'PaintVirtualWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Tmp_win->virtualWindow) PaintVirtualWindow(Tmp_win); ^ events.c:1073:27: warning: passing arguments to 'ConfigureIconWindows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureIconWindows(Tmp_win); ^ events.c:1074:23: warning: passing arguments to 'ShapeIconWindows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShapeIconWindows(Tmp_win); ^ events.c:1103:21: warning: passing arguments to 'GetWindowSizeHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetWindowSizeHints (Tmp_win); ^ events.c:1140:21: warning: passing arguments to 'SortIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SortIconManager(Tmp_win->list->iconmgr); ^ events.c:1148:22: warning: passing arguments to 'ConfigureIconWindows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureIconWindows(Tmp_win); ^ events.c:1149:18: warning: passing arguments to 'ShapeIconWindows' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShapeIconWindows(Tmp_win); ^ events.c:1189:19: warning: passing arguments to 'RestartTwm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RestartTwm(CurrentTime); ^ events.c:1211:20: warning: passing arguments to 'HandlePannerExpose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerExpose(&Event); ^ events.c:1238:15: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1244:24: warning: passing arguments to 'PaintVirtualWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintVirtualWindow(Tmp_win); ^ events.c:1245:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1255:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1271:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1331:19: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1359:20: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (w); ^ events.c:1372:24: warning: passing arguments to 'DrawIconManagerBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawIconManagerBorder(Tmp_win->list); ^ events.c:1373:16: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1385:16: warning: passing arguments to 'flush_expose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_expose (Event.xany.window); ^ events.c:1394:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void remove_window_from_ring (tmp) ^ events.c:1510:22: warning: passing arguments to 'RemoveIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveIconManager(Tmp_win); /* 7 */ ^ events.c:1617:21: warning: passing arguments to 'AddWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tmp_win = AddWindow(Event.xany.window, FALSE, (IconMgr *) NULL); ^ events.c:1629:28: warning: passing arguments to 'AddIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) AddIconManager (Tmp_win); ^ events.c:1640:42: warning: passing arguments to 'GetWMState' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(RestartPreviousState && GetWMState(Tmp_win->w, &state, &icon) && ^ events.c:1650:11: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(Tmp_win); ^ events.c:1673: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 SimulateMapRequest (w) ^ In file included from events.c:127: ./events.h:47: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 SimulateMapRequest(); ^ events.c:1704:11: warning: passing arguments to 'UnmapIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(Tmp_win); ^ events.c:1711:13: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(Tmp_win); ^ events.c:1806:26: warning: passing arguments to 'HandlePannerMotionNotify' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerMotionNotify(&Event); ^ events.c:1824:10: warning: passing arguments to 'DoResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoResize(Event.xmotion.x_root, Event.xmotion.y_root, Tmp_win); ^ events.c:1864:27: warning: passing arguments to 'HandlePannerButtonRelease' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerButtonRelease(&Event); ^ events.c:2043:47: warning: passing arguments to 'DrawIconManagerBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Scr->Highlight) DrawIconManagerBorder(DownIconManager); ^ events.c:2052:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_menu (menu, w) ^ events.c:2119:25: warning: passing arguments to 'HandlePannerButtonPress' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerButtonPress(&Event); ^ events.c:2258:47: warning: passing arguments to 'DrawIconManagerBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Scr->Highlight) DrawIconManagerBorder(Tmp_win->list); ^ events.c:2404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HENQueueScanner(dpy, ev, args) ^ events.c:2595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HLNQueueScanner(dpy, ev, args) ^ events.c:2885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Transient(w, propw) ^ events.c:2908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindScreenInfo(w) ^ events.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] ScreenInfo *FindScreenInfo(); ^ events.c:2929:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void flush_expose (w) ^ events.c:1203: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 flush_expose(); ^ events.c:2953: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 InstallWindowColormaps (type, tmp) ^ events.c:3091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UninstallRootColormapQScanner(dpy, ev, args) ^ --- resize.o --- In file included from resize.c:86: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from resize.c:88: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from resize.c:88: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from resize.c:88: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ In file included from resize.c:89: ./resize.h:48: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 previous declaration [-Wdeprecated-non-prototype] extern void SetupWindow(); ^ ./twm.h:468:6: note: conflicting prototype is here void SetupWindow (TwmWindow *tmp_win, int x, int y, int w, int h, int bw); ^ In file included from resize.c:89: ./resize.h:49: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 previous declaration [-Wdeprecated-non-prototype] extern void SetupFrame(); ^ ./twm.h:466:6: note: conflicting prototype is here void SetupFrame (TwmWindow *tmp_win, int x, int y, int w, int h, int bw, ^ In file included from resize.c:89: ./resize.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void SendSyntheticConfigureNotify(); ^ ./twm.h:465:6: note: conflicting prototype is here void SendSyntheticConfigureNotify(TwmWindow *tmp_win); ^ resize.c:123:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_auto_clamp (tmp_win, evp) ^ resize.c:234:16: warning: passing arguments to 'DisplaySize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, origWidth, origHeight); ^ resize.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartResize(evp, tmp_win, fromtitlebar) ^ In file included from resize.c:89: ./resize.h:42: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 StartResize(); ^ resize.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuDoResize(x_root, y_root, tmp_win) ^ resize.c:347:16: warning: passing arguments to 'DisplaySize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, dragWidth, dragHeight); ^ resize.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuStartResize(tmp_win, x, y, w, h) ^ resize.c:385:16: warning: passing arguments to 'DisplaySize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, origWidth, origHeight); ^ resize.c:439:16: warning: passing arguments to 'DisplaySize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, origWidth, origHeight); ^ resize.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddStartResize(tmp_win, x, y, w, h) ^ In file included from resize.c:89: ./resize.h:43: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 AddStartResize(); ^ resize.c:571:16: warning: passing arguments to 'DisplaySize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, dragWidth, dragHeight); ^ resize.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoResize(x_root, y_root, tmp_win) ^ In file included from resize.c:89: ./resize.h:44: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 DoResize(); ^ resize.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySize(tmp_win, width, height) ^ In file included from resize.c:89: ./resize.h:45: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 DisplaySize(); ^ resize.c:679:24: warning: passing arguments to 'PackIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackIconManager(tmp_win->iconmgrp); ^ resize.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuEndResize(tmp_win) ^ resize.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddEndResize(tmp_win) ^ In file included from resize.c:89: ./resize.h:47: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 AddEndResize(); ^ resize.c:741: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 ConstrainSize (tmp_win, widthp, heightp) ^ resize.c:891: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 SetupWindow (tmp_win, x, y, w, h, bw) ^ In file included from resize.c:89: ./resize.h:48: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 SetupWindow(); ^ resize.c:941:31: warning: passing arguments to 'ComputeWindowTitleOffsets' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeWindowTitleOffsets (tmp_win, xwc.width, True); ^ resize.c:898: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 SetupFrame (tmp_win, x, y, w, h, bw, sendEvent) ^ In file included from resize.c:89: ./resize.h:49: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 SetupFrame(); ^ resize.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] SendSyntheticConfigureNotify(tmp_win) ^ In file included from resize.c:89: ./resize.h:50: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 SendSyntheticConfigureNotify(); ^ resize.c:1088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fullzoom(tmp_win,flag) ^ In file included from resize.c:89: ./resize.h:54: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 fullzoom(); ^ resize.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFrameShape (tmp) ^ resize.c:1198:23: warning: passing arguments to 'ComputeTitleLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeTitleLocation (tmp); ^ 40 warnings generated. --- util.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c util.c In file included from util.c:39: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from util.c:40: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from util.c:40: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from util.c:40: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ util.c:72: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 MoveOutline(root, x, y, width, height, bw, th) ^ In file included from util.c:40: ./util.h:43: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 MoveOutline(); ^ util.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Zoom(wf, wt) ^ In file included from util.c:40: ./util.h:42: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 Zoom(); ^ util.c:270:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ProgramName, HomeLen + strlen(name) + 2, Home, &name[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExpandFilename(name) ^ In file included from util.c:40: ./util.h:45:15: 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 char *ExpandFilename(); ^ util.c:307: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 previous declaration [-Wdeprecated-non-prototype] extern int XmuCompareISOLatin1(); ^ /Users/pbulk/build/wm/tvtwm/work/.buildlink/include/X11/Xmu/CharSet.h:51:5: note: conflicting prototype is here int XmuCompareISOLatin1 ^ util.c:367:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (*pmtab[i].proc) (widthp, heightp); ^ util.c:380:32: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] return GetCursorGlyph(name+1, widthp, heightp, shape_mask); ^~~~~~ ./twm.h:406:40: note: passing argument to parameter 'widthp' here Pixmap GetCursorGlyph(char *name, int *widthp, int *heightp, ^ util.c:380:40: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] return GetCursorGlyph(name+1, widthp, heightp, shape_mask); ^~~~~~~ ./twm.h:406:53: note: passing argument to parameter 'heightp' here Pixmap GetCursorGlyph(char *name, int *widthp, int *heightp, ^ util.c:406:28: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] Scr->d_depth, NULL, 0, widthp, heightp, &HotX, &HotY, ^~~~~~ ./twm.h:402:14: note: passing argument to parameter 'widthp' here int *widthp, int *heightp, int *xhotp, int *yhotp, ^ util.c:406:36: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] Scr->d_depth, NULL, 0, widthp, heightp, &HotX, &HotY, ^~~~~~~ ./twm.h:402:27: note: passing argument to parameter 'heightp' here int *widthp, int *heightp, int *xhotp, int *yhotp, ^ util.c:310:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap FindPixmap (name, widthp, heightp, isXpm, bg_color, colors, ^ In file included from util.c:40: ./util.h:44:28: 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 Pixmap GetPixmap(), FindPixmap(); ^ util.c:492:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap GetPixmap (name) ^ In file included from util.c:40: ./util.h:44:15: 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 Pixmap GetPixmap(), FindPixmap(); ^ util.c:500: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 InsertRGBColormap (a, maps, nmaps, replace) ^ util.c:518:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ProgramName, sizeof (StdCmap)); ^~~~~~~~~~~~~~~~ util.c:542: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 RemoveRGBColormap (a) ^ util.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColor(kind, what, name) ^ In file included from util.c:40: ./util.h:46: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 GetColor(); ^ util.c:659: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 GetFont(font) ^ util.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus (tmp_win, time) ^ util.c:775:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pixmap CreateXLogoPixmap (widthp, heightp) ^ util.c:49:15: 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 Pixmap CreateXLogoPixmap(), CreateResizePixmap(); ^ util.c:810:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pixmap CreateResizePixmap (widthp, heightp) ^ util.c:49:36: 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 Pixmap CreateXLogoPixmap(), CreateResizePixmap(); ^ util.c:865:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pixmap CreateDotPixmap (widthp, heightp) ^ util.c:51:15: 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 Pixmap CreateDotPixmap(); ^ util.c:896:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pixmap CreateQuestionPixmap (widthp, heightp) ^ util.c:50:15: 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 Pixmap CreateQuestionPixmap(), CreateMenuPixmap(); ^ util.c:917:20: warning: passing arguments to 'CreateMenuIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateMenuIcon (Scr->TBInfo.width - Scr->TBInfo.border * 2,widthp,heightp); ^ util.c:914:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Pixmap CreateMenuPixmap (widthp, heightp) ^ util.c:50:39: 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 Pixmap CreateQuestionPixmap(), CreateMenuPixmap(); ^ util.c:921:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap CreateMenuIcon (height, widthp, heightp) ^ In file included from util.c:39: ./twm.h:370:15: 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 Pixmap CreateMenuIcon(); ^ util.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPropertyString(win, atom) ^ In file included from util.c:40: ./util.h:47: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] extern char *GetPropertyString(); ^ --- events.o --- 78 warnings generated. --- version.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c version.c --- iconmgr.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c iconmgr.c In file included from iconmgr.c:33: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from iconmgr.c:34: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from iconmgr.c:34: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from iconmgr.c:34: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ In file included from iconmgr.c:37: ./resize.h:48: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 previous declaration [-Wdeprecated-non-prototype] extern void SetupWindow(); ^ ./twm.h:468:6: note: conflicting prototype is here void SetupWindow (TwmWindow *tmp_win, int x, int y, int w, int h, int bw); ^ In file included from iconmgr.c:37: ./resize.h:49: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 previous declaration [-Wdeprecated-non-prototype] extern void SetupFrame(); ^ ./twm.h:466:6: note: conflicting prototype is here void SetupFrame (TwmWindow *tmp_win, int x, int y, int w, int h, int bw, ^ In file included from iconmgr.c:37: ./resize.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void SendSyntheticConfigureNotify(); ^ ./twm.h:465:6: note: conflicting prototype is here void SendSyntheticConfigureNotify(TwmWindow *tmp_win); ^ In file included from iconmgr.c:40: ./vdt.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void RaiseFrame(); ^ ./twm.h:507:6: note: conflicting prototype is here void RaiseFrame(TwmWindow *tmp_win); ^ In file included from iconmgr.c:40: ./vdt.h:56: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveIcon(); ^ ./twm.h:454:6: note: conflicting prototype is here void MoveIcon(TwmWindow *tmp_win, int x, int y); ^ In file included from iconmgr.c:40: ./vdt.h:57: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeVirtual(); ^ ./twm.h:397:6: note: conflicting prototype is here void ResizeVirtual(Window window, int width, int height); ^ In file included from iconmgr.c:40: ./vdt.h:58:15: 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 previous declaration [-Wdeprecated-non-prototype] extern Window MakeVirtual(); ^ ./twm.h:455:8: note: conflicting prototype is here Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, ^ In file included from iconmgr.c:40: ./vdt.h:65: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeDesktop(); ^ ./twm.h:508:6: note: conflicting prototype is here void ResizeDesktop(int width, int height); ^ iconmgr.c:145:24: warning: passing arguments to 'AddWindow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p->twm_win = AddWindow(p->w, TRUE, p); ^ iconmgr.c:150:13: warning: passing arguments to 'GrabButtons' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabButtons(p->twm_win); ^ iconmgr.c:151:10: warning: passing arguments to 'GrabKeys' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabKeys(p->twm_win); ^ iconmgr.c:169:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IconMgr *AllocateIconManager(name, icon_name, geom, columns) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:75:17: 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 IconMgr *AllocateIconManager(); ^ iconmgr.c:229: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 MoveIconManager(dir) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:76: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 MoveIconManager(); ^ iconmgr.c:354: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 JumpIconManager(dir) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:77: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 JumpIconManager(); ^ iconmgr.c:452:24: warning: passing arguments to 'InsertInIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertInIconManager(ip, tmp, tmp_win); ^ iconmgr.c:504:20: warning: passing arguments to 'PackIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackIconManager(ip); ^ iconmgr.c:516:10: warning: passing arguments to 'MapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(ip->twm_win); ^ iconmgr.c:423:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WList *AddIconManager(tmp_win) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:78:15: 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 WList *AddIconManager(); ^ iconmgr.c:556:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*compar)(tmp_win->icon_name, tmp1->twm->icon_name) < 0) ^ iconmgr.c:535: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 InsertInIconManager(ip, tmp, tmp_win) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:79: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 InsertInIconManager(); ^ iconmgr.c:579: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 RemoveFromIconManager(ip, tmp) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:80: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 RemoveFromIconManager(); ^ iconmgr.c:630:20: warning: passing arguments to 'PackIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackIconManager(ip); ^ iconmgr.c:634:12: warning: passing arguments to 'UnmapFrame' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(ip->twm_win); ^ iconmgr.c:605: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 RemoveIconManager(tmp_win) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:81: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 RemoveIconManager(); ^ iconmgr.c:645:26: warning: passing arguments to 'DrawIconManagerBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawIconManagerBorder(active); ^ iconmgr.c:639: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 ActiveIconManager(active) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:82: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 ActiveIconManager(); ^ iconmgr.c:652:26: warning: passing arguments to 'DrawIconManagerBorder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawIconManagerBorder(active); ^ iconmgr.c:648: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 NotActiveIconManager(active) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:83: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 NotActiveIconManager(); ^ iconmgr.c:655: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 DrawIconManagerBorder(tmp) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:84: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 DrawIconManagerBorder(); ^ iconmgr.c:706:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*compar)(tmp1->twm->icon_name, tmp2->twm->icon_name) > 0) ^ iconmgr.c:716:20: warning: passing arguments to 'PackIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackIconManager(ip); ^ iconmgr.c:686: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 SortIconManager(ip) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:85: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 SortIconManager(); ^ iconmgr.c:731: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 PackIconManager(ip) ^ In file included from iconmgr.c:36: In file included from ./screen.h:40: ./iconmgr.h:86: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 PackIconManager(); ^ --- menus.o --- 97 warnings generated. --- cursor.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c cursor.c In file included from cursor.c:33: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from cursor.c:36: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from cursor.c:36: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from cursor.c:36: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ cursor.c:123: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 NewFontCursor (cp, str) ^ In file included from cursor.c:33: ./twm.h:369: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 NewFontCursor(); ^ cursor.c:144:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap GetCursorGlyph(name, widthp, heightp, shape_mask) ^ cursor.c:211: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 NewBitmapCursor(cp, source, mask) ^ cursor.c:227:20: warning: passing arguments to 'GetPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spm = GetPixmap(source); ^ cursor.c:230:20: warning: passing arguments to 'GetPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpm = GetPixmap(mask); ^ --- util.o --- 44 warnings generated. --- icons.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c icons.c In file included from icons.c:120: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from icons.c:125: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from icons.c:125: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from icons.c:125: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ icons.c:139: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 splitEntry (ie, grav1, grav2, w, h) ^ icons.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roundUp (v, multiple) ^ icons.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaceIcon(tmp_win, def_x, def_y, final_x, final_y) ^ icons.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindIconEntry (tmp_win, irp) ^ icons.c:273: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 IconUp (tmp_win) ^ icons.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prevIconEntry (ie, ir) ^ icons.c:341: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 mergeEntries (old, ie) ^ icons.c:355: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 IconDown (tmp_win) ^ icons.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddIconRegion(name, icontype, geom, itterate, grav1, grav2, stepx, stepy) ^ icons.c:394:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] short icontype; ^ ./twm.h:444:38: note: previous declaration is here void AddIconRegion(char *name, short type, char *geom, Bool iterate, ^ icons.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddOneIconRegion(name, type, x, y, w, h, grav1, grav2, stepx, stepy) ^ icons.c:433:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] short type; ^ icons.c:128:36: note: previous declaration is here AddOneIconRegion(char *name, short type, int x, int y, int w, int h, ^ icons.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm_n_mask_to_pm(pm, mask, depth, ^ icons.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateIconImage(tmp_win, parent, name, ^ icons.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateSuppliedImage(tmp_win, parent, ^ icons.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateIconWindows(tmp_win) ^ icons.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureIconWindows(tmp_win) ^ icons.c:1114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShapeIconWindows(tmp_win) ^ icons.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaceIconWindows(tmp_win, def_x, def_y) ^ icons.c:1230: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 CreateIconWindow(tmp_win, def_x, def_y) ^ icons.c:1247: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 DestroyIconWindow(tmp_win) ^ --- cursor.o --- 11 warnings generated. --- vdt.o --- rm -f vdt.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -DXLOADIMAGE=\"/opt/pkg/bin/xloadimage\" vdt.c In file included from vdt.c:146: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from vdt.c:148: ./vdt.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void RaiseFrame(); ^ ./twm.h:507:6: note: conflicting prototype is here void RaiseFrame(TwmWindow *tmp_win); ^ In file included from vdt.c:148: ./vdt.h:56: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveIcon(); ^ ./twm.h:454:6: note: conflicting prototype is here void MoveIcon(TwmWindow *tmp_win, int x, int y); ^ In file included from vdt.c:148: ./vdt.h:57: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeVirtual(); ^ ./twm.h:397:6: note: conflicting prototype is here void ResizeVirtual(Window window, int width, int height); ^ In file included from vdt.c:148: ./vdt.h:58:15: 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 previous declaration [-Wdeprecated-non-prototype] extern Window MakeVirtual(); ^ ./twm.h:455:8: note: conflicting prototype is here Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, ^ In file included from vdt.c:148: ./vdt.h:65: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeDesktop(); ^ ./twm.h:508:6: note: conflicting prototype is here void ResizeDesktop(int width, int height); ^ In file included from vdt.c:150: ./move.h:42:6: 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 previous declaration [-Wdeprecated-non-prototype] void DragFrame(); ^ ./twm.h:491:6: note: conflicting prototype is here void DragFrame(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); ^ In file included from vdt.c:150: ./move.h:43:6: 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 previous declaration [-Wdeprecated-non-prototype] void DragIcon(); ^ ./twm.h:490:6: note: conflicting prototype is here void DragIcon(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); ^ In file included from vdt.c:150: ./move.h:45:6: 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 previous declaration [-Wdeprecated-non-prototype] void RelativeMove(); ^ ./twm.h:421:6: note: conflicting prototype is here void RelativeMove(TwmWindow *win, char *geom); ^ --- iconmgr.o --- 50 warnings generated. --- vdt.o --- vdt.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSWM_ROOT(tmp_win) ^ --- move.o --- --- vdt.o --- vdt.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeVirtual(tmp_win, x, y, width, height, background, border) ^ In file included from vdt.c:148: ./vdt.h:58:15: 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 Window MakeVirtual(); ^ --- move.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c move.c --- vdt.o --- vdt.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeVirtual(window, width, height) ^ In file included from vdt.c:148: ./vdt.h:57: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 ResizeVirtual(); ^ vdt.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(tmp_win) ^ In file included from vdt.c:148: ./vdt.h:48: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 MapFrame(); ^ vdt.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapFrame(tmp_win) ^ In file included from vdt.c:148: ./vdt.h:49: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 UnmapFrame(); ^ vdt.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseFrame(tmp_win) ^ In file included from vdt.c:148: ./vdt.h:50: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 RaiseFrame(); ^ vdt.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LowerFrame(tmp_win) ^ In file included from vdt.c:148: ./vdt.h:51: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 LowerFrame(); ^ vdt.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapIcon(tmp_win) ^ In file included from vdt.c:148: ./vdt.h:52: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 MapIcon(); ^ vdt.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapIcon(tmp_win) ^ In file included from vdt.c:148: ./vdt.h:53: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 UnmapIcon(); ^ vdt.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseIcon(tmp_win) ^ In file included from vdt.c:148: ./vdt.h:54: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 RaiseIcon(); ^ vdt.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LowerIcon(tmp_win) ^ In file included from vdt.c:148: ./vdt.h:55: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 LowerIcon(); ^ vdt.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveIcon(tmp_win, x, y) ^ In file included from vdt.c:148: ./vdt.h:56: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 MoveIcon(); ^ vdt.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeVirtualDesktop(width, height) ^ In file included from vdt.c:148: ./vdt.h:47: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 MakeVirtualDesktop(); ^ vdt.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerExpose(ev) ^ In file included from vdt.c:148: ./vdt.h:59: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 HandlePannerExpose(); ^ vdt.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerButtonPress(ev) ^ In file included from vdt.c:148: ./vdt.h:60: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 HandlePannerButtonPress(); ^ vdt.c:867:17: warning: passing arguments to 'MoveDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveDesktop(xx, yy); ^ vdt.c:870:17: warning: passing arguments to 'MoveDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveDesktop(Scr->PannerOutlineX*Scr->PannerScale, ^ vdt.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerButtonRelease(ev) ^ In file included from vdt.c:148: ./vdt.h:61: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 HandlePannerButtonRelease(); ^ vdt.c:876:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int TRUNCATE(pos, grid) ^ vdt.c:950:17: warning: passing arguments to 'MoveDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveDesktop(xx, yy); ^ vdt.c:953:17: warning: passing arguments to 'MoveDesktop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveDesktop(Scr->PannerOutlineX*Scr->PannerScale, ^ vdt.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerMotionNotify(ev) ^ In file included from vdt.c:148: ./vdt.h:62: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 HandlePannerMotionNotify(); ^ vdt.c:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MoveDesktop(x, y) ^ In file included from vdt.c:148: ./vdt.h:63: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 MoveDesktop(); ^ vdt.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollDesktop(func, pos) ^ In file included from vdt.c:148: ./vdt.h:64: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 ScrollDesktop(); ^ vdt.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeDesktop(width, height) ^ In file included from vdt.c:148: ./vdt.h:65: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 ResizeDesktop(); ^ vdt.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandlePannerMove(ev, tmp_win) ^ vdt.c:1205:14: warning: passing arguments to 'StartMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartMove(tmp_win, ev->window, tmp_win->title_height, ^ vdt.c:1235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollTo(tmp_win) ^ In file included from vdt.c:148: ./vdt.h:66: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 ScrollTo(); ^ vdt.c:1281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollToQuadrant(tmp_win) ^ vdt.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PaintVirtualWindow(tmp_win) ^ In file included from vdt.c:148: ./vdt.h:67: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 PaintVirtualWindow(); ^ --- move.o --- In file included from move.c:40: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from move.c:42: ./vdt.h:50: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 previous declaration [-Wdeprecated-non-prototype] extern void RaiseFrame(); ^ ./twm.h:507:6: note: conflicting prototype is here void RaiseFrame(TwmWindow *tmp_win); ^ In file included from move.c:42: ./vdt.h:56: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveIcon(); ^ ./twm.h:454:6: note: conflicting prototype is here void MoveIcon(TwmWindow *tmp_win, int x, int y); ^ In file included from move.c:42: ./vdt.h:57: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeVirtual(); ^ ./twm.h:397:6: note: conflicting prototype is here void ResizeVirtual(Window window, int width, int height); ^ In file included from move.c:42: ./vdt.h:58:15: 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 previous declaration [-Wdeprecated-non-prototype] extern Window MakeVirtual(); ^ ./twm.h:455:8: note: conflicting prototype is here Window MakeVirtual(TwmWindow *tmp_win, int x, int y, int width, int height, ^ In file included from move.c:42: ./vdt.h:65: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 previous declaration [-Wdeprecated-non-prototype] extern void ResizeDesktop(); ^ ./twm.h:508:6: note: conflicting prototype is here void ResizeDesktop(int width, int height); ^ In file included from move.c:43: ./move.h:42:6: 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 previous declaration [-Wdeprecated-non-prototype] void DragFrame(); ^ ./twm.h:491:6: note: conflicting prototype is here void DragFrame(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); ^ In file included from move.c:43: ./move.h:43:6: 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 previous declaration [-Wdeprecated-non-prototype] void DragIcon(); ^ ./twm.h:490:6: note: conflicting prototype is here void DragIcon(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); ^ In file included from move.c:43: ./move.h:45:6: 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 previous declaration [-Wdeprecated-non-prototype] void RelativeMove(); ^ ./twm.h:421:6: note: conflicting prototype is here void RelativeMove(TwmWindow *win, char *geom); ^ move.c:93:14: warning: passing arguments to 'StartMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartMove(tmp_win, tmp_win->frame, tmp_win->title_height, ^ move.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DragFrame(tmp_win, ev, pulldown) ^ In file included from move.c:43: ./move.h:42:6: 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] void DragFrame(); ^ move.c:126:14: warning: passing arguments to 'StartMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartMove(tmp_win, tmp_win->icon.w, 0, &x_root, &y_root, &cancel, ^ move.c:132:15: warning: passing arguments to 'RaiseIcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RaiseIcon(tmp_win); ^ move.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DragIcon(tmp_win, ev, pulldown) ^ In file included from move.c:43: ./move.h:43:6: 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] void DragIcon(); ^ move.c:236:17: warning: passing arguments to 'reallyStartMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reallyStartMove(tmp_win, window, x_root, y_root, cancel, outlineWindow, &first, adding, pulldown, panner); ^ move.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartMove(tmp_win, window, title_height, x_root, y_root, cancel, ^ In file included from move.c:43: ./move.h:44:6: 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] void StartMove(); ^ move.c:330:8: warning: passing arguments to 'doMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doMove(tmp_win, window, *x_root, *y_root, &xdest, &ydest, panner, True); ^ move.c:337:12: warning: passing arguments to 'doMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doMove(tmp_win, window, *x_root, *y_root, &xdest, &ydest, panner, False); ^ move.c:341:12: warning: passing arguments to 'doMove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doMove(tmp_win, window, *x_root, *y_root, &xdest, &ydest, panner, True); ^ move.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reallyStartMove(tmp_win, window, x_root, y_root, ^ move.c:66: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 reallyStartMove(); ^ move.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doMove(tmp_win, window, x_root, y_root, x_dest, y_dest, panner, paint) ^ move.c:67: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 doMove(); ^ move.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getPointer(/*window,*/ x_root, y_root, cancel, done, first, adding, pulldown) ^ move.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RelativeMove(win, geom) ^ In file included from move.c:43: ./move.h:45:6: 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] void RelativeMove(); ^ --- icons.o --- 26 warnings generated. --- LocPixmap.o --- rm -f LocPixmap.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM '-DBITMAPDIR="/opt/pkg/include/X11/bitmaps"' LocPixmap.c In file included from LocPixmap.c:39: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ LocPixmap.c:199:23: warning: passing arguments to 'split_path_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] split_path_string (value.addr); ^ LocPixmap.c:320:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char **split_path_string (src) ^ LocPixmap.c:77:15: 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 **split_path_string(); ^ --- move.o --- 30 warnings generated. --- regexp.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c regexp.c regexp.c:205:15: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ regexp.c:205:15: note: 'malloc' is a builtin with type 'void *(unsigned long)' regexp.c:208: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:215: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:216: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:221: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:224: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:226: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:232: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:233: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:242: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:262: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)) ^ --- vdt.o --- 61 warnings generated. --- regexp.o --- regexp.c:197: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:30: ./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(); ^ --- ssetroot.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c ssetroot.c --- regexp.o --- regexp.c:300: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:303: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:308: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:312: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:320: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:323: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:330: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:331: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:334: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:335: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:339: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:342: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:344: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:285: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: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 *reg(); ^ regexp.c:367: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:370: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:377: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:381: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:357: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: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 *regbranch(); ^ regexp.c:404: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:415: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:419: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:422: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:423: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: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, regnode(BACK)); /* and loop */ ^ regexp.c:424: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: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(BRANCH)); /* or */ ^ 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(BRANCH)); /* or */ ^ regexp.c:426: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:426: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:428: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:431: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: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(ret, next); ^ regexp.c:433: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: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(regnode(BACK), ret); /* loop back */ ^ regexp.c:434: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: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(next, regnode(BRANCH)); /* or */ ^ regexp.c:435: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:435: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:438: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:439: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:439: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:440: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:441: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:442: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:446: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:396: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: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 *regpiece(); ^ regexp.c:470: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:473: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:476: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:484: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:487: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:489: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:494: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:499: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:501: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:505: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:507: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:509: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:523: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:528: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:532: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:533: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: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(*regparse++); ^ regexp.c:535: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:545: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:140:27: note: expanded from macro 'FAIL' #define FAIL(m) { regerror(m); return(NULL); } ^ regexp.c:552: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:554: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:557: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:460: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: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 *regatom(); ^ regexp.c:569: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: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 *regnode(); ^ regexp.c:594: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: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 regc(); ^ regexp.c:609: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: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 reginsert(); ^ regexp.c:652: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:638: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: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 regtail(); ^ regexp.c:670: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:176: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: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:709: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:30: ./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: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 regtry(); ^ regexp.c:823: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:934: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:957: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:974: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:986: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: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 regmatch(); ^ regexp.c:1027: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:994: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:697: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:1040: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:172: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(); ^ --- ssetroot.o --- ssetroot.c:123:7: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!strcmp ("-display", argv[i]) || !strcmp ("-d", argv[i])) { ^ ssetroot.c:123:7: note: include the header <string.h> or explicitly provide a declaration for 'strcmp' ssetroot.c:250:32: warning: passing arguments to 'CreateCursorFromName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor = CreateCursorFromName (cursor_name); ^ ssetroot.c:266:45: warning: passing arguments to 'NameToPixel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XSetWindowBackground(dpy, root, NameToPixel(solid_color, ^ ssetroot.c:274:25: warning: passing arguments to 'ReadBitmapFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bitmap = ReadBitmapFile(bitmap_file, &ww, &hh, (int *)NULL, (int *)NULL); ^ ssetroot.c:280:27: warning: passing arguments to 'MakeModulaBitmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bitmap = MakeModulaBitmap(mod_x, mod_y); ^ ssetroot.c:288:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NOT_ALLOWED ^ // ssetroot.c:103:11: warning: variable 'name' set but not used [-Wunused-but-set-variable] char *name = NULL; ^ ssetroot.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ ssetroot.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBackgroundToBitmap(bitmap, width, height) ^ ssetroot.c:366:37: warning: passing arguments to 'NameToPixel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gc_init.foreground = NameToPixel(fore_color, BlackPixel(dpy, screen)); ^ ssetroot.c:367:37: warning: passing arguments to 'NameToPixel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gc_init.background = NameToPixel(back_color, WhitePixel(dpy, screen)); ^ ssetroot.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateCursorFromFiles(cursor_file, mask_file) ^ ssetroot.c:405:22: warning: passing arguments to 'NameToXColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fg = NameToXColor(fore_color, BlackPixel(dpy, screen)); ^ ssetroot.c:406:22: warning: passing arguments to 'NameToXColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bg = NameToXColor(back_color, WhitePixel(dpy, screen)); ^ ssetroot.c:411:35: warning: passing arguments to 'ReadBitmapFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cursor_bitmap = ReadBitmapFile(cursor_file, &width, &height, &x_hot, &y_hot); ^ ssetroot.c:412:33: warning: passing arguments to 'ReadBitmapFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mask_bitmap = ReadBitmapFile(mask_file, &ww, &hh, (int *)NULL, (int *)NULL); ^ ssetroot.c:448:22: warning: passing arguments to 'NameToXColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fg = NameToXColor(fore_color, BlackPixel(dpy, screen)); ^ ssetroot.c:449:22: warning: passing arguments to 'NameToXColor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bg = NameToXColor(back_color, WhitePixel(dpy, screen)); ^ ssetroot.c:441:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cursor CreateCursorFromName(name) ^ ssetroot.c:51:8: 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] Cursor CreateCursorFromName(); ^ ssetroot.c:467:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap MakeModulaBitmap(mod_x, mod_y) ^ ssetroot.c:48:8: 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] Pixmap MakeModulaBitmap(), ReadBitmapFile(); ^ ssetroot.c:495:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XColor NameToXColor(name, pixel) ^ ssetroot.c:49:8: 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] XColor NameToXColor(); ^ ssetroot.c:524:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long NameToPixel(name, pixel) ^ ssetroot.c:50:15: 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] unsigned long NameToPixel(); ^ ssetroot.c:577:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixmap ReadBitmapFile(filename, width, height, x_hot, y_hot) ^ ssetroot.c:48:28: 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] Pixmap MakeModulaBitmap(), ReadBitmapFile(); ^ --- LocPixmap.o --- 5 warnings generated. --- tvtwm._man --- rm -f tvtwm._man if test -z "" ; then cd `dirname tvtwm` && ln -s `basename tvtwm.man` `basename tvtwm._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < tvtwm.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/\@\@$/\/' >tvtwm._man; fi --- gram.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXPM -I/opt/pkg/include -c gram.c In file included from gram.y:46: ./twm.h:516: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmProtocols(); ^ ./twm.h:450:6: note: conflicting prototype is here void FetchWmProtocols (TwmWindow *tmp); ^ ./twm.h:517: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 previous declaration [-Wdeprecated-non-prototype] extern void FetchWmColormapWindows(); ^ ./twm.h:451:6: note: conflicting prototype is here void FetchWmColormapWindows (TwmWindow *tmp); ^ In file included from gram.y:49: ./util.h:43: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 previous declaration [-Wdeprecated-non-prototype] extern void MoveOutline(); ^ ./twm.h:509:6: note: conflicting prototype is here void MoveOutline(Window root, int x, int y, int width, int height, int bw, ^ In file included from gram.y:49: ./util.h:44:28: 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 previous declaration [-Wdeprecated-non-prototype] extern Pixmap GetPixmap(), FindPixmap(); ^ ./twm.h:457:8: note: conflicting prototype is here Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, ^ In file included from gram.y:49: ./util.h:46: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 previous declaration [-Wdeprecated-non-prototype] extern int GetColor(); ^ ./twm.h:478:5: note: conflicting prototype is here int GetColor(int kind, Pixel *what, char *name); ^ gram.y:135:26: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] {input_menu = GetRoot(menu_name, NULL, NULL); } ^ gram.y:138:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot(menu_name, NULL, NULL); } ^ gram.y:192:23: warning: passing arguments to 'GotTitleButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GotTitleButton ((yyvsp[(2) - (4)].ptr), (yyvsp[(4) - (4)].num), False); ^ gram.y:195:23: warning: passing arguments to 'GotTitleButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GotTitleButton ((yyvsp[(2) - (4)].ptr), (yyvsp[(4) - (4)].num), True); ^ gram.y:197:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot((yyvsp[(2) - (2)].ptr), NULLSTR, NULLSTR); ^ gram.y:209:24: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] root = GetRoot(TWM_ROOT,NULLSTR,NULLSTR); ^ gram.y:218:13: warning: passing arguments to 'GotKey' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { GotKey((yyvsp[(1) - (2)].ptr), (yyvsp[(2) - (2)].num)); } ^ gram.y:219:16: warning: passing arguments to 'GotButton' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { GotButton((yyvsp[(1) - (2)].num), (yyvsp[(2) - (2)].num)); } ^ gram.y:259:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot((yyvsp[(2) - (2)].ptr), NULLSTR, NULLSTR); } ^ gram.y:277:24: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] root = GetRoot(TWM_ROOT,NULLSTR,NULLSTR); ^ gram.y:287:23: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] root = GetRoot(TWM_ROOT,NULLSTR,NULLSTR); ^ gram.y:304:30: warning: passing arguments to 'do_single_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_single_keyword ((yyvsp[(1) - (1)].num))) { ^ gram.y:314:30: warning: passing arguments to 'do_string_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_string_keyword ((yyvsp[(1) - (2)].num), (yyvsp[(2) - (2)].ptr))) { ^ gram.y:344:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyerror("\"pixmap\" : \"mask\" syntax no longer supported"); ^ gram.y:349:30: warning: passing arguments to 'do_number_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_number_keyword ((yyvsp[(1) - (2)].num), (yyvsp[(2) - (2)].num))) { ^ gram.y:443:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->FrameCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:447:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->TitleCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:451:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:455:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->IconMgrCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:459:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ButtonCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:463:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MoveCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:467:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->ResizeCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:471:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->WaitCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:475:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->MenuCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:479:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->SelectCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:483:17: warning: passing arguments to 'NewFontCursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewFontCursor(&Scr->DestroyCursor, (yyvsp[(2) - (2)].ptr)); } ^ gram.y:495:33: warning: passing arguments to 'do_colorlist_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_colorlist_keyword ((yyvsp[(1) - (2)].num), color, ^ gram.y:504:34: warning: passing arguments to 'do_colorlist_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { list = do_colorlist_keyword((yyvsp[(1) - (2)].num),color, ^ gram.y:515:29: warning: passing arguments to 'do_color_keyword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (!do_color_keyword ((yyvsp[(1) - (2)].num), color, ^ gram.y:534:26: warning: passing arguments to 'do_string_savecolor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { do_string_savecolor(color, (yyvsp[(1) - (1)].ptr)); } ^ gram.y:588:26: warning: passing arguments to 'AllocateIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocateIconManager((yyvsp[(1) - (3)].match).lval, NULLSTR, ^ gram.y:594:26: warning: passing arguments to 'AllocateIconManager' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocateIconManager((yyvsp[(1) - (4)].match).lval, (yyvsp[(2) - (4)].ptr), ^ gram.y:634:4: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyerror("\"pixmap\" : \"mask\" syntax no longer supported"); ^ gram.y:656:20: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] root = GetRoot((yyvsp[(2) - (7)].ptr), (yyvsp[(4) - (7)].ptr), (yyvsp[(6) - (7)].ptr)); } ^ gram.y:658:21: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { root = GetRoot((yyvsp[(2) - (2)].ptr), NULLSTR, NULLSTR); } ^ gram.y:664:32: warning: passing arguments to 'ExpandFilename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] root->file = ExpandFilename((yyvsp[(1) - (1)].ptr)); ^ gram.y:699:12: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyerror("two defaults in menu"); ^ gram.y:714:12: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyerror("two defaults in menu"); ^ gram.y:735:24: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pull = GetRoot ((yyvsp[(2) - (2)].ptr), NULLSTR,NULLSTR); ^ gram.y:739:31: warning: passing arguments to 'CheckWarpRingArg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!CheckWarpRingArg (Action)) { ^ gram.y:747:33: warning: passing arguments to 'CheckWarpScreenArg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!CheckWarpScreenArg (Action)) { ^ gram.y:756:30: warning: passing arguments to 'CheckColormapArg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (CheckColormapArg (Action)) { ^ gram.y:771:20: warning: passing arguments to 'GetRoot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pull = GetRoot ((yyvsp[(2) - (4)].ptr), NULLSTR,NULLSTR); ^ gram.y:785:7: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyerror("bad button 0"); ^ gram.y:823:8: warning: call to undeclared function 'RemoveDQuote'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RemoveDQuote(ptr); ^ y.tab.c:3099:7: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyerror (YY_("syntax error")); ^ y.tab.c:3245:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyerror (YY_("memory exhausted")); ^ gram.y:839:1: error: conflicting types for 'yyerror' yyerror(s) char *s; ^ gram.y:344:4: note: previous implicit declaration is here yyerror("\"pixmap\" : \"mask\" syntax no longer supported"); ^ gram.y:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yyerror(s) char *s; ^ gram.y:847:1: error: conflicting types for 'RemoveDQuote' RemoveDQuote(str) ^ gram.y:823:8: note: previous implicit declaration is here RemoveDQuote(ptr); ^ gram.y:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveDQuote(str) ^ gram.y:931:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static MenuRoot *GetRoot(name, fore, back) ^ gram.y:60:18: 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 MenuRoot *GetRoot(); ^ gram.y:955:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GotButton(butt, func) ^ gram.y:64: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 GotButton(), GotKey(), GotTitleButton(); ^ gram.y:985:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GotKey(key, func) ^ gram.y:64:26: 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 GotButton(), GotKey(), GotTitleButton(); ^ gram.y:1007:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GotTitleButton (bitmapname, func, rightside) ^ gram.y:64:36: 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 GotButton(), GotKey(), GotTitleButton(); ^ gram.y: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] static Bool CheckWarpScreenArg (s) ^ gram.y:62: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 Bool CheckWarpScreenArg(), CheckWarpRingArg(); ^ gram.y:1037:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool CheckWarpRingArg (s) ^ gram.y:62:35: 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 Bool CheckWarpScreenArg(), CheckWarpRingArg(); ^ gram.y:1050:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Bool CheckColormapArg (s) ^ gram.y:63: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 Bool CheckColormapArg(); ^ 68 warnings and 2 errors generated. *** [gram.o] Error code 1 bmake: stopped in /Users/pbulk/build/wm/tvtwm/work/tvtwm --- ssetroot.o --- 28 warnings generated. --- regexp.o --- 120 warnings generated. 1 error bmake: stopped in /Users/pbulk/build/wm/tvtwm/work/tvtwm *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/wm/tvtwm *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/wm/tvtwm