=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for pixmap-2.6.4nb8 --- PixEdit.o --- --- Pixmap.o --- --- Dialog.o --- --- PixEdit.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -D_NO_PROTO -DAPPDEFDIR=\"/opt/pkg/lib/X11/app-defaults\" -DRGBF=\"/opt/pkg/share/X11/rgb.txt\" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c PixEdit.c --- Pixmap.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -D_NO_PROTO -DAPPDEFDIR=\"/opt/pkg/lib/X11/app-defaults\" -DRGBF=\"/opt/pkg/share/X11/rgb.txt\" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c Pixmap.c --- Dialog.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I. -I.. -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -D_NO_PROTO -DAPPDEFDIR=\"/opt/pkg/lib/X11/app-defaults\" -DRGBF=\"/opt/pkg/share/X11/rgb.txt\" -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c Dialog.c Dialog.c:91:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] selected = (int)client_data; ^~~~~~~~~~~~~~~~ Dialog.c:87: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 SetSelected(w, client_data, call_data) ^ Dialog.c:115:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (popup = (Dialog) XtMalloc(sizeof(_Dialog))) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dialog.c:115:15: note: place parentheses around the assignment to silence this warning if (popup = (Dialog) XtMalloc(sizeof(_Dialog))) { ^ ( ) Dialog.c:115:15: note: use '==' to turn this assignment into an equality comparison if (popup = (Dialog) XtMalloc(sizeof(_Dialog))) { ^ == Dialog.c:159:5: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)dialog_buttons[i].flag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- PixEdit.o --- In file included from PixEdit.c:342: ./TextOpt.c:65:20: warning: passing arguments to 'unsetKillfromWM' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsetKillfromWM(text_options->popup); ^ ./TextOpt.c:37: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 PopupTextOptions(button, text_options) ^ --- Dialog.o --- Dialog.c:178:5: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)dialog_buttons[i].flag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dialog.c:198:5: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)dialog_buttons[i].flag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dialog.c:106:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Dialog CreateDialog(top_widget, name, options) ^ In file included from Dialog.c:76: ./Dialog.h:86: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 Dialog CreateDialog(); ^ --- PixEdit.o --- ./TextOpt.c:72: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 PopdownTextOptions( w, client_data, call_data ) ^ ./TextOpt.c:102:30: warning: call to undeclared function 'XmTextFieldGetString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] new_font_name = (String) XmTextFieldGetString(text_options->font); ^ ./TextOpt.c:102:21: warning: cast to 'String' (aka 'char *') from smaller integer type 'int' [-Wint-to-pointer-cast] new_font_name = (String) XmTextFieldGetString(text_options->font); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./TextOpt.c:103:23: warning: cast to 'String' (aka 'char *') from smaller integer type 'int' [-Wint-to-pointer-cast] new_text_string = (String) XmTextFieldGetString(text_options->text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./TextOpt.c:86: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 Apply( w, client_data, call_data ) ^ ./TextOpt.c:237:21: warning: call to undeclared function 'XmCreateTextField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] font = (Widget) XmCreateTextField(textOptions, "fontName", NULL, 0); ^ ./TextOpt.c:237:12: warning: cast to 'Widget' (aka 'struct _WidgetRec *') from smaller integer type 'int' [-Wint-to-pointer-cast] font = (Widget) XmCreateTextField(textOptions, "fontName", NULL, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./TextOpt.c:244:12: warning: cast to 'Widget' (aka 'struct _WidgetRec *') from smaller integer type 'int' [-Wint-to-pointer-cast] text = (Widget) XmCreateTextField(textOptions, "textString", NULL, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./TextOpt.c:321:39: warning: call to undeclared function 'XmTextFieldGetString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] text_options->font_name = (String)XmTextFieldGetString(text_options->font); ^ ./TextOpt.c:321:31: warning: cast to 'String' (aka 'char *') from smaller integer type 'int' [-Wint-to-pointer-cast] text_options->font_name = (String)XmTextFieldGetString(text_options->font); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./TextOpt.c:332:31: warning: cast to 'String' (aka 'char *') from smaller integer type 'int' [-Wint-to-pointer-cast] text_options->text_string=(String)XmTextFieldGetString(text_options->text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./TextOpt.c:214:12: warning: unused variable 'font_name' [-Wunused-variable] String font_name, text_string; ^ ./TextOpt.c:214:23: warning: unused variable 'text_string' [-Wunused-variable] String font_name, text_string; ^ ./TextOpt.c:204:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextOptions* CreateTextOptions(parent, name ) ^ PixEdit.c:405: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 client_message(w, tag, event, b) ^ --- Pixmap.o --- In file included from Pixmap.c:470: ./Extensions.c:51: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 CopyExtension( dst, src ) ^ --- Dialog.o --- Dialog.c:224: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 PopdownDialog(popup, answer) ^ In file included from Dialog.c:76: ./Dialog.h:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void PopdownDialog(); ^ --- PixEdit.o --- PixEdit.c:420: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 unsetKillfromWM(w) ^ In file included from PixEdit.c:342: ./TextOpt.c:34: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 unsetKillfromWM(); ^ PixEdit.c:434: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 FixColorMenuLabel(old_name, name) ^ --- Dialog.o --- Dialog.c:317:18: warning: passing arguments to 'unsetKillfromWM' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsetKillfromWM(popup->shell_widget); ^ --- Pixmap.o --- ./Extensions.c:77: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 FreeExtension( extension ) ^ --- Dialog.o --- Dialog.c:241: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 PopupDialog(popup, message, suggestion, answer, grab) ^ In file included from Dialog.c:76: ./Dialog.h: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] extern int PopupDialog(); ^ --- Pixmap.o --- ./Extensions.c:100: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 FindExtension( exts, n, name ) ^ --- PixEdit.o --- PixEdit.c:469:5: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] pixel, max_colors-1); ^~~~~ PixEdit.c:491:17: warning: call to undeclared function 'XmCreatePushButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] wi = (Widget)XmCreatePushButton(color_pane_widget, name, ^ PixEdit.c:491:9: warning: cast to 'Widget' (aka 'struct _WidgetRec *') from smaller integer type 'int' [-Wint-to-pointer-cast] wi = (Widget)XmCreatePushButton(color_pane_widget, name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PixEdit.c:506:17: warning: call to undeclared function 'XmCreatePushButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] wi = (Widget)XmCreatePushButton(color_pane_widget, name, ^ PixEdit.c:506:9: warning: cast to 'Widget' (aka 'struct _WidgetRec *') from smaller integer type 'int' [-Wint-to-pointer-cast] wi = (Widget)XmCreatePushButton(color_pane_widget, name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Pixmap.o --- ./Extensions.c:127: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 AddExtension( exts, n, name ) ^ --- PixEdit.o --- PixEdit.c:458: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 colorToAdd(w, pixel, name) ^ --- Pixmap.o --- ./Extensions.c:166: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 RemoveExtension( exts, n, i ) ^ --- PixEdit.o --- PixEdit.c:522: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 FixImage(w, client_data, call_data) ^ --- Pixmap.o --- ./Extensions.c:207: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 CopyExtensions( dst_e, dst_n, src_e, src_n ) ^ ./Extensions.c:236: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 PrintExtensions( exts, n ) ^ --- Dialog.o --- Dialog.c:389:5: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)dialog_buttons[i].flag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Pixmap.o --- ./Extensions.c:267:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char **PWGetExtensionNames( w ) ^ --- Dialog.o --- Dialog.c:410:5: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)dialog_buttons[i].flag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dialog.c:432:5: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)dialog_buttons[i].flag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dialog.c:334:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Dialog CreateFDialog(top_widget, name, options) ^ In file included from Dialog.c:76: ./Dialog.h:89: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 Dialog CreateFDialog(); ^ --- PixEdit.o --- PixEdit.c:575: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 FixEntry(w, id) ^ --- Pixmap.o --- ./Extensions.c:289:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XpmExtension *PWFindExtension( w, name ) ^ --- Dialog.o --- Dialog.c:442: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 PopdownFDialog(popup, answer) ^ In file included from Dialog.c:76: ./Dialog.h:91: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 PopdownFDialog(); ^ --- Pixmap.o --- ./Extensions.c:314: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 PWAddExtension( w, name ) ^ ./Extensions.c:334: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 PWRemoveExtension( w, name ) ^ ./Extensions.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 PWUpdateExtension( w, new_extension ) ^ --- Dialog.o --- Dialog.c:518:18: warning: passing arguments to 'unsetKillfromWM' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsetKillfromWM(popup->shell_widget); ^ Dialog.c:457: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 PopupFDialog(popup, message, suggestion, answer, grab) ^ In file included from Dialog.c:76: ./Dialog.h:90: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 PopupFDialog(); ^ --- PixEdit.o --- PixEdit.c:667: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 FixMenu(w, event) ^ PixEdit.c:360: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 FixMenu(), SwitchImage(), SwitchGrid(), SwitchAxes(), ^ --- Pixmap.o --- In file included from Pixmap.c:471: ./Graphics.c:97:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixel GetPxlFromImageAndMask(image, mask_image, x, y) ^ --- PixEdit.o --- PixEdit.c:678: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 FixMenuCB(w, client_data, call_data) ^ --- Pixmap.o --- ./Graphics.c:109:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Pixel GetPxl(pw, x, y) ^ ./Graphics.c:122: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 SetPxl(pw, x, y, color) ^ --- PixEdit.o --- PixEdit.c:719: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 FixColor(w, current) ^ PixEdit.c:750: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 TheCallback(w, client_data, call_data) ^ PixEdit.c:367: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 TheCallback(); ^ --- Pixmap.o --- ./Graphics.c:161:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XPoint *HotSpotShape(PW, x ,y) ^ ./Graphics.c:190: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 HighlightSquare(PW, x, y) ^ ./Graphics.c:203: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 ClearSquare(PW, x, y) ^ --- PixEdit.o --- PixEdit.c:1065:24: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (PopupDialog(qsave_dialog, "Save file before loading?", ^ --- Pixmap.o --- ./Graphics.c:216: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 DrawSquare(PW, x, y, color) ^ --- PixEdit.o --- PixEdit.c:1072:17: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(error_dialog, message, ^ --- Pixmap.o --- ./Graphics.c:286:5: warning: passing arguments to 'RedrawAxesInSquare' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Flood(PW, x, y, value); ^ ./Graphics.c:274:3: note: expanded from macro 'Flood' DrawPoint(PW, x, y, value, NotLazy) ^ ./Graphics.c:247:23: note: expanded from macro 'DrawPoint' RedrawAxesInSquare(PW, x, y); \ ^ --- PixEdit.o --- PixEdit.c:1084:19: warning: passing arguments to 'PopupFDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupFDialog(file_dialog, "Load file:", ^ PixEdit.c:1094:22: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(error_dialog, message, ^ PixEdit.c:1111:19: warning: passing arguments to 'PopupFDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupFDialog(file_dialog, "Insert file:", ^ PixEdit.c:1119:22: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(error_dialog, message, ^ PixEdit.c:1135:22: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(error_dialog, message, ^ PixEdit.c:1149:19: warning: passing arguments to 'PopupFDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupFDialog(file_dialog, "Save file:", ^ --- Pixmap.o --- ./Graphics.c:293:5: warning: passing arguments to 'RedrawAxesInSquare' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Flood(PW, x, y, value); ^ ./Graphics.c:274:3: note: expanded from macro 'Flood' DrawPoint(PW, x, y, value, NotLazy) ^ ./Graphics.c:247:23: note: expanded from macro 'DrawPoint' RedrawAxesInSquare(PW, x, y); \ ^ ./Graphics.c:301:5: warning: passing arguments to 'RedrawAxesInSquare' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Flood(PW, x, y, value); ^ ./Graphics.c:274:3: note: expanded from macro 'Flood' DrawPoint(PW, x, y, value, NotLazy) ^ ./Graphics.c:247:23: note: expanded from macro 'DrawPoint' RedrawAxesInSquare(PW, x, y); \ ^ --- PixEdit.o --- PixEdit.c:1157:22: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- Pixmap.o --- ./Graphics.c:276: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 FloodLoop(PW, x, y, value, toflood) ^ --- PixEdit.o --- if (PopupDialog(error_dialog, message, ^ PixEdit.c:1172:19: warning: passing arguments to 'PopupFDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupFDialog(file_dialog, "Change filename:", ^ PixEdit.c:1186:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(input_dialog, "Pixmap hints comment:", ^ PixEdit.c:1204:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(input_dialog, "Pixmap colors comment:", ^ PixEdit.c:1222:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(input_dialog, "Pixmap pixels comment:", ^ PixEdit.c:1242:24: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (PopupDialog(qsave_dialog, "Save file before quitting?", ^ PixEdit.c:1247:17: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(error_dialog, message, ^ PixEdit.c:1258:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(0); ^ PixEdit.c:1258:3: note: include the header or explicitly provide a declaration for 'exit' PixEdit.c:1265:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(input_dialog, "Color name (name or #rgb) to add:", ^ PixEdit.c:1292:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ PixEdit.c:1294:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(input_dialog, message, ^ PixEdit.c:1315:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ PixEdit.c:1317:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(input_dialog, message, ^ PixEdit.c:1348:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ PixEdit.c:1350:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(input_dialog, message, ^ PixEdit.c:1381:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ PixEdit.c:1383:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(input_dialog, message, ^ --- Pixmap.o --- ./Graphics.c:364: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 CopyImageData(source, destination, from_x, from_y, to_x, to_y, at_x, at_y) ^ --- PixEdit.o --- PixEdit.c:1414:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ PixEdit.c:1416:19: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((PopupDialog(input_dialog, message, ^ --- Pixmap.o --- ./Graphics.c:380: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 TransferImageData(source, destination) ^ ./Graphics.c:434:4: warning: passing arguments to 'RedrawAxesInSquare' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawPoint(PW, at_x + x, at_y + y, val, mode); ^ ./Graphics.c:247:23: note: expanded from macro 'DrawPoint' RedrawAxesInSquare(PW, x, y); \ ^ ./Graphics.c:392: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 DrawImageData(PW, image, mask_image, at_x, at_y, value, mode) ^ --- PixEdit.o --- PixEdit.c:1553:21: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((PopupDialog(input_dialog, message, ^ PixEdit.c:1557:23: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((square_size = atoi(returned)) > 0) ^ PixEdit.c:1576:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(input_dialog, "Resize to WIDTHxHEIGHT:", ^ PixEdit.c:1588:22: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(error_dialog, message, ^ PixEdit.c:1602:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(input_dialog, "Rescale to WIDTHxHEIGHT:", ^ PixEdit.c:1614:22: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (PopupDialog(error_dialog, message, ^ --- Pixmap.o --- ./Graphics.c:516:11: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!fabs(beta1 - beta2) > PRECISION) return(NULL); ^ ~ ./Graphics.c:516:11: note: add parentheses after the '!' to evaluate the comparison first if (!fabs(beta1 - beta2) > PRECISION) return(NULL); ^ ( ) ./Graphics.c:516:11: note: add parentheses around left hand side expression to silence this warning if (!fabs(beta1 - beta2) > PRECISION) return(NULL); ^ ( ) --- PixEdit.o --- PixEdit.c:1661:16: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PopupDialog(info_dialog, info_str, ^ --- Pixmap.o --- ./Graphics.c:450:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XPoint *intersect(P1, Q1, P2, Q2) ^ --- PixEdit.o --- In file included from PixEdit.c:1667: ./PortEdit.c:120:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Boolean StrToPort( str, p ) ^ --- Pixmap.o --- ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Graphics.c:554:27: note: uninitialized use occurs here if (((Position)roundint(x) < min(P1.x, Q1.x)) || ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' #define roundint(x) floor((x) + 0.5) ^ ./Graphics.c:539:8: note: remove the 'if' if its condition is always true else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Graphics.c:554:27: note: uninitialized use occurs here if (((Position)roundint(x) < min(P1.x, Q1.x)) || ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' #define roundint(x) floor((x) + 0.5) ^ ./Graphics.c:539:12: note: remove the '&&' if its condition is always true else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~ ./Graphics.c:554:27: note: uninitialized use occurs here if (((Position)roundint(x) < min(P1.x, Q1.x)) || ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' #define roundint(x) floor((x) + 0.5) ^ ./Graphics.c:539:12: note: remove the '&&' if its condition is always true else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~~~~~~~~~~~~ ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~ ./Graphics.c:554:27: note: uninitialized use occurs here if (((Position)roundint(x) < min(P1.x, Q1.x)) || ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' #define roundint(x) floor((x) + 0.5) ^ ./Graphics.c:539:12: note: remove the '&&' if its condition is always true else if (!vert1 && !horiz1 && !vert2 && !horiz2) ^~~~~~~~~ ./Graphics.c:457:11: note: initialize the variable 'x' to silence this warning double x, y; ^ = 0.0 --- PixEdit.o --- ./PortEdit.c:158: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 *PortToStr( p ) ^ ./PortEdit.c:192: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 UpdatePort( ports, i, p ) ^ ./PortEdit.c:210: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 FindPort( ports, at_x, at_y ) ^ ./PortEdit.c:238:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Boolean IsPort( w, x, y, return_ports, return_port_i ) ^ ./PortEdit.c:281: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 AddPort( ports, at_x, at_y ) ^ ./PortEdit.c:324: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 DelPort( ports, i ) ^ ./PortEdit.c:352: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 TranslatePort( ports, port_i, dx, dy ) ^ --- Pixmap.o --- ./Graphics.c:577: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 RedrawAxesInSquare(PW, x, y) ^ ./Graphics.c:200: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 RedrawAxesInSquare(); ^ --- PixEdit.o --- ./PortEdit.c:373: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 PrintPorts( ports ) ^ ./PortEdit.c:403:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XPoint *PortShape( w, x ,y ) ^ --- Pixmap.o --- ./Graphics.c:695:26: warning: passing arguments to 'CreatePixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dst = CreatePixmapImage(PW, width, height); ^ ./Graphics.c:681:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XImage *ScalePixmapImage(PW, src, scale_x, scale_y) ^ ./Graphics.c:752:24: warning: passing arguments to 'CreateMaskImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dst = CreateMaskImage(PW, width, height); ^ ./Graphics.c:738:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XImage *ScaleMaskImage(PW, src, scale_x, scale_y) ^ --- PixEdit.o --- ./PortEdit.c:690:25: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( PopupDialog( input_dialog, ^ ./PortEdit.c:713: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 RedrawPorts( w, value ) ^ ./PortEdit.c:738: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 TranslatePorts( w, dx, dy ) ^ ./PortEdit.c:777: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 FlipPorts( w, axis ) ^ ./PortEdit.c:811: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 RotatePorts( w, direction ) ^ ./PortEdit.c:844: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 PortEditorCallback( w, client_data, call_data ) ^ ./PortEdit.c:912: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 CreatePortEditorButtons( parentW, radioGroupW ) ^ ./PortEdit.c:958: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 ManagePortEditorButtons( manage ) ^ In file included from PixEdit.c:1668: ./ExtEdit.c:59:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String XpmExtensionToString( ext ) ^ ./ExtEdit.c:94:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XpmExtension *StringToXpmExtension( s ) ^ ./ExtEdit.c:149: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 PositionPopup( popup ) ^ ./ExtEdit.c:211: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 Popup( popup, grab ) ^ ./ExtEdit.c:235: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 Popdown( w, client_data, call_data ) ^ ./ExtEdit.c:267:5: warning: call to undeclared function 'XmTextSetString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XmTextSetString(textW, text); ^ ./ExtEdit.c:256: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 PopupExtensionEditor( formW, name, text ) ^ ./ExtEdit.c:294: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 DoEditExtension( name ) ^ ./ExtEdit.c:318: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 AddToExtensionMenu (name) ^ ./ExtEdit.c:352:21: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( PopupDialog( input_dialog, ^ ./ExtEdit.c:382: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] char **PWGetExtensionNames(); ^ ./Pixmap.h:299:15: note: conflicting prototype is here extern char **PWGetExtensionNames( ^ In file included from PixEdit.c:1668: ./ExtEdit.c:403:18: warning: passing arguments to 'MakeMenuPanel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeMenuPanel(extensionMenu_widget, extension_menu, ^ ./ExtEdit.c:377: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 FixExtensionMenu (w) ^ ./ExtEdit.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 DoRemoveExtension( w, client_data, call_data ) ^ ./ExtEdit.c:491:18: warning: call to undeclared function 'XmTextGetString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] text = (String) XmTextGetString(textW); ^ ./ExtEdit.c:491:9: warning: cast to 'String' (aka 'char *') from smaller integer type 'int' [-Wint-to-pointer-cast] text = (String) XmTextGetString(textW); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ExtEdit.c:470: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 DoSaveExtension( w, client_data, call_data ) ^ ./ExtEdit.c:570:21: warning: call to undeclared function 'XmCreateScrolledText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] text = (Widget) XmCreateScrolledText(form, "text", NULL, 0); ^ ./ExtEdit.c:570:12: warning: cast to 'Widget' (aka 'struct _WidgetRec *') from smaller integer type 'int' [-Wint-to-pointer-cast] text = (Widget) XmCreateScrolledText(form, "text", NULL, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ExtEdit.c:557: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 Widget CreateExtensionEditor( topWidget, editorName ) ^ ./ExtEdit.c:640: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 ExtensionMenuCallback(w, client_data, call_data) ^ PixEdit.c:1755:34: warning: call to undeclared function 'getenv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sprintf(filename, "%s/%s", getenv("HOME"), fname); ^ PixEdit.c:1755:34: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] sprintf(filename, "%s/%s", getenv("HOME"), fname); ~~ ^~~~~~~~~~~~~~ %d /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ PixEdit.c:1794: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 MakeMenuPanel(father, menu, num, callback) ^ PixEdit.c:368: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 MakeMenuPanel(); ^ --- Pixmap.o --- ./Graphics.c:1526:30: warning: passing arguments to 'CreatePixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] storage = CreatePixmapImage(PW, (Dimension) PW->pixmap.image->width, ^ ./Graphics.c:1528:33: warning: passing arguments to 'CreateMaskImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mask_storage = CreateMaskImage(PW, (Dimension) PW->pixmap.mask_image->width, ^ --- PixEdit.o --- PixEdit.c:1833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeMenu( menubar, menuName, buttonName, menu, num, callback ) ^ PixEdit.c:1869:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(argc, argv) ^ PixEdit.c:1869:1: note: change return type to 'int' void main(argc, argv) ^~~~ int --- Pixmap.o --- ./Graphics.c:1549:21: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyPixmapImage(&storage); ^ ./Graphics.c:1550:3: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMaskImage(&mask_storage); ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' #define DestroyMaskImage(mask) DestroyPixmapImage(mask) ^ --- PixEdit.o --- PixEdit.c:2055:29: warning: call to undeclared function 'XmCreatePanedWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] vpane_widget = (Widget) XmCreatePanedWindow(pane_widget, "vPane", ^ PixEdit.c:2055:20: warning: cast to 'Widget' (aka 'struct _WidgetRec *') from smaller integer type 'int' [-Wint-to-pointer-cast] vpane_widget = (Widget) XmCreatePanedWindow(pane_widget, "vPane", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PixEdit.c:2061:28: warning: call to undeclared function 'XmCreateScrolledWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cview_widget = (Widget)XmCreateScrolledWindow(vpane_widget, "colorView", ^ PixEdit.c:2061:20: warning: cast to 'Widget' (aka 'struct _WidgetRec *') from smaller integer type 'int' [-Wint-to-pointer-cast] --- Pixmap.o --- In file included from Pixmap.c:471: ./Graphics.c:1649: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 PWTranslatePoint( w, x, y, dx, dy ) ^ ./Graphics.c:1674: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 PWFlipPoint( w, x, y, axis ) ^ ./Graphics.c:1698: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 PWRotatePoint( w, x, y, direction ) ^ --- PixEdit.o --- cview_widget = (Widget)XmCreateScrolledWindow(vpane_widget, "colorView", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PixEdit.c:2066:5: warning: call to undeclared function 'XmScrolledWindowSetAreas'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XmScrolledWindowSetAreas(cview_widget, ^ PixEdit.c:2067:9: warning: call to undeclared function 'XmCreateScrollBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XmCreateScrollBar(cview_widget, "cviewHS", ^ PixEdit.c:2074:20: warning: cast to 'Widget' (aka 'struct _WidgetRec *') from smaller integer type 'int' [-Wint-to-pointer-cast] pview_widget = (Widget)XmCreateScrolledWindow(vpane_widget, "pixmapView", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PixEdit.c:2195:32: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] info_dialog = CreateDialog(top_widget, "info", Okay); ^ PixEdit.c:2196:32: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] input_dialog = CreateDialog(top_widget, "input", Okay | Cancel); ^ PixEdit.c:2197:32: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error_dialog = CreateDialog(top_widget, "error", Abort | Retry); ^ PixEdit.c:2198:32: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qsave_dialog = CreateDialog(top_widget, "qsave", Yes | No | Cancel); ^ PixEdit.c:2199:33: warning: passing arguments to 'CreateFDialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file_dialog = CreateFDialog(top_widget, "file", Okay | Cancel); ^ PixEdit.c:1869: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 main(argc, argv) ^ PixEdit.c:58:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[] = "$Id: PixEdit.c,v 1.20 1996/09/02 16:50:33 lmallet Exp $"; ^ --- Pixmap.o --- ./Graphics.c:2033:23: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyPixmapImage(&PW->pixmap.storage); ^ ./Graphics.c:2034:5: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMaskImage(&PW->pixmap.mask_storage); ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' #define DestroyMaskImage(mask) DestroyPixmapImage(mask) ^ In file included from Pixmap.c:471: ./Graphics.c:2039:43: warning: passing arguments to 'CreatePixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PW->pixmap.storage = CreatePixmapImage(PW, width, height); ^ ./Graphics.c:2040:46: warning: passing arguments to 'CreateMaskImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PW->pixmap.mask_storage = CreateMaskImage(PW, width, height); ^ ./Graphics.c:2151:32: warning: passing arguments to 'CreatePixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] storage = CreatePixmapImage(PW, width, height); ^ ./Graphics.c:2152:35: warning: passing arguments to 'CreateMaskImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mask_storage = CreateMaskImage(PW, width, height); ^ ./Graphics.c:2169:23: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyPixmapImage(&storage); ^ ./Graphics.c:2170:5: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMaskImage(&mask_storage); ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' #define DestroyMaskImage(mask) DestroyPixmapImage(mask) ^ In file included from Pixmap.c:471: ./Graphics.c:2192:32: warning: passing arguments to 'CreatePixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] storage = CreatePixmapImage(PW, width, height); ^ ./Graphics.c:2193:35: warning: passing arguments to 'CreateMaskImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mask_storage = CreateMaskImage(PW, width, height); ^ ./Graphics.c:2213:23: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyPixmapImage(&storage); ^ ./Graphics.c:2214:5: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMaskImage(&mask_storage); ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' #define DestroyMaskImage(mask) DestroyPixmapImage(mask) ^ In file included from Pixmap.c:471: ./Graphics.c:2231:41: warning: passing arguments to 'CreatePixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XImage *buffer = CreatePixmapImage(PW, PW->pixmap.image->width, ^ ./Graphics.c:2233:44: warning: passing arguments to 'CreateMaskImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XImage *mask_buffer = CreateMaskImage(PW, PW->pixmap.mask_image->width, ^ ./Graphics.c:2236:25: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyPixmapImage(&PW->pixmap.buffer); ^ ./Graphics.c:2237:7: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMaskImage(&PW->pixmap.mask_buffer); ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' #define DestroyMaskImage(mask) DestroyPixmapImage(mask) ^ In file included from Pixmap.c:471: ./Graphics.c:2376:21: warning: passing arguments to 'InternalResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InternalResize(PW); ^ ./Graphics.c:2438:34: warning: passing arguments to 'CreatePixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] storage = CreatePixmapImage(PW, width, height); ^ ./Graphics.c:2439:37: warning: passing arguments to 'CreateMaskImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mask_storage = CreateMaskImage(PW, width, height); ^ ./Graphics.c:2477:21: warning: passing arguments to 'InternalResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InternalResize(PW); ^ ./Graphics.c:2484:25: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyPixmapImage(&tmp_image); ^ ./Graphics.c:2485:7: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMaskImage(&mask_tmp_image); ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' #define DestroyMaskImage(mask) DestroyPixmapImage(mask) ^ In file included from Pixmap.c:472: ./ReqMach.c:85:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PWRequestRec *FindRequest(name) ^ ./ReqMach.c:159:6: 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] ((Widget) PW, ^ ./ReqMach.c:147:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Boolean Engage(PW, current) ^ ./ReqMach.c:174: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 TrappingLoop(PW) ^ ./ReqMach.c:213:3: 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] (w, ^ ./ReqMach.c:270:3: 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] (w, ^ In file included from Pixmap.c:473: ./CutPaste.c:105:27: warning: passing arguments to 'CreatePixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] image = CreatePixmapImage(PW, width, height); ^ ./CutPaste.c:110:21: warning: passing arguments to 'GetPixmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *pixmap = GetPixmap(PW, image); ^ ./CutPaste.c:111:20: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyPixmapImage(&image); ^ ./CutPaste.c:79:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Boolean ConvertSelection(w, selection, target, type, value, length, format) ^ ./CutPaste.c:130: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 LoseSelection(w, selection) ^ ./CutPaste.c:142: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 SelectionDone(w, selection, target) ^ ./CutPaste.c:187:20: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyPixmapImage(&PW->pixmap.storage); ^ ./CutPaste.c:188:2: warning: passing arguments to 'DestroyPixmapImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMaskImage(&PW->pixmap.mask_storage); ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' #define DestroyMaskImage(mask) DestroyPixmapImage(mask) ^ In file included from Pixmap.c:473: ./CutPaste.c:190:31: warning: passing arguments to 'GetImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PW->pixmap.storage = GetImage(PW, *pixmap); ^ ./CutPaste.c:192:19: warning: passing arguments to 'CreateMaskImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateMaskImage(PW, ^ ./CutPaste.c:172: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 SelectionCallback(w, client_data, selection, type, value, length, format) ^ In file included from Pixmap.c:474: ./Handlers.c:107:18: 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] (*status->draw)(w, ^ ./Handlers.c:131:22: 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] (*status->draw)(w, ^ ./Handlers.c:85: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 DragOnePointHandler(w, status, event) ^ ./Handlers.c:140: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 DragOnePointEngage(w, status, draw, state) ^ In file included from Pixmap.c:261: ./Requests.h:74:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void DragOnePointEngage(); ^ In file included from Pixmap.c:474: ./Handlers.c:158: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 DragOnePointTerminate(w, status, client_data, call_data) ^ In file included from Pixmap.c:261: ./Requests.h:75:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void DragOnePointTerminate(); ^ In file included from Pixmap.c:474: ./Handlers.c:195:18: 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] (*status->draw)(w, ^ ./Handlers.c:210:18: 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] (*status->draw)(w, ^ ./Handlers.c:218:18: 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] (*status->draw)(w, ^ ./Handlers.c:240:22: 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] (*status->draw)(w, ^ ./Handlers.c:245:22: 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] (*status->draw)(w, ^ ./Handlers.c:175: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 OnePointHandler(w, status, event) ^ ./Handlers.c:253: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 OnePointEngage(w, status, draw, state) ^ In file included from Pixmap.c:261: ./Requests.h:71:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void OnePointEngage(); ^ In file included from Pixmap.c:474: ./Handlers.c:284:17: 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] (*status->draw)(w, ^ ./Handlers.c:271: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 OnePointImmediateEngage(w, status, draw, state) ^ ./Handlers.c:301:9: 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] (*draw)(w, ^ ./Handlers.c:310:18: 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] (*status->draw)(w, ^ ./Handlers.c:293: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 OnePointTerminate(w, status, draw) ^ In file included from Pixmap.c:261: ./Requests.h:72:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void OnePointTerminate(); ^ In file included from Pixmap.c:474: ./Handlers.c:326:9: 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] (*draw)(w, ^ ./Handlers.c:332:18: 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] (*status->draw)(w, ^ ./Handlers.c:319: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 OnePointTerminateTransparent(w, status, draw) ^ In file included from Pixmap.c:261: ./Requests.h:73: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 OnePointTerminateTransparent(); ^ In file included from Pixmap.c:474: ./Handlers.c:364:18: 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] (*status->draw)(w, ^ ./Handlers.c:381:18: 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] (*status->draw)(w, ^ ./Handlers.c:390:18: 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] (*status->draw)(w, ^ ./Handlers.c:409: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] (*status->draw)(w, ^ ./Handlers.c:415: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] (*status->draw)(w, ^ ./Handlers.c:424:22: 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] (*status->draw)(w, ^ ./Handlers.c:343: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 TwoPointsHandler(w, status, event) ^ ./Handlers.c:433: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 TwoPointsEngage(w, status, draw, state) ^ In file included from Pixmap.c:261: ./Requests.h:76: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 TwoPointsEngage(); ^ In file included from Pixmap.c:474: ./Handlers.c:462:9: 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] (*draw)(w, ^ ./Handlers.c:473:18: 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] (*status->draw)(w, ^ ./Handlers.c:454: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 TwoPointsTerminate(w, status, draw) ^ In file included from Pixmap.c:261: ./Requests.h:77:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void TwoPointsTerminate(); ^ In file included from Pixmap.c:474: ./Handlers.c:490:9: 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] (*draw)(w, ^ ./Handlers.c:498:18: 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] (*status->draw)(w, ^ ./Handlers.c:483: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 TwoPointsTerminateTransparent(w, status, draw) ^ In file included from Pixmap.c:261: ./Requests.h:78: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 TwoPointsTerminateTransparent(); ^ In file included from Pixmap.c:474: ./Handlers.c:515:9: 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] (*draw)(w, ^ ./Handlers.c:523:18: 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] (*status->draw)(w, ^ ./Handlers.c:508: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 TwoPointsTerminateTimed(w, status, draw) ^ In file included from Pixmap.c:261: ./Requests.h:79: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 TwoPointsTerminateTimed(); ^ In file included from Pixmap.c:474: ./Handlers.c:538:12: 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] (*action)(w); ^ ./Handlers.c:533: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 Interface(w, status, action) ^ In file included from Pixmap.c:261: ./Requests.h:82: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 Interface(); ^ In file included from Pixmap.c:474: ./Handlers.c:578:18: 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] (*status->draw) (w, at_x, at_y, Highlight); ^ ./Handlers.c:593:18: 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] (*status->draw) (w, at_x, at_y, at_x, at_y, Highlight); ^ ./Handlers.c:541: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 Paste(w, at_x, at_y, value) ^ In file included from Pixmap.c:261: ./Requests.h:83: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 Paste(); ^ In file included from Pixmap.c:474: ./Handlers.c:622:18: 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] (*status->draw)(w, ^ ./Handlers.c:652: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] (*status->draw)(w, ^ ./Handlers.c:598: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 DragTwoPointsHandler(w, status, event) ^ ./Handlers.c:662: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 DragTwoPointsEngage(w, status, draw, state) ^ In file included from Pixmap.c:261: ./Requests.h:80: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 DragTwoPointsEngage(); ^ In file included from Pixmap.c:474: ./Handlers.c:692:13: 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] (*draw)(w, ^ ./Handlers.c:682: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 DragTwoPointsTerminate(w, status, draw) ^ In file included from Pixmap.c:261: ./Requests.h:81: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 DragTwoPointsTerminate(); ^ In file included from Pixmap.c:474: ./Handlers.c:706: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 PWTPaste(w, event) ^ Pixmap.c:168: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 PWTPaste(); ^ In file included from Pixmap.c:474: ./Handlers.c:728: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 PWTMark(w, event) ^ Pixmap.c:166: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 PWTMark(); ^ In file included from Pixmap.c:474: ./Handlers.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 PWTUnmark(w) ^ Pixmap.c:167: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 PWTUnmark(); ^ Pixmap.c:487: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 PWTSetColor(w, event) ^ Pixmap.c:169: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 PWTSetColor(); ^ Pixmap.c:560: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(PW, image) ^ In file included from Pixmap.c:67: ./PixmapP.h:231: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 GetPixmap(); ^ Pixmap.c:578:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XImage *GetImage(PW, pixmap) ^ In file included from Pixmap.c:67: ./PixmapP.h:230:9: warning: a function 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] XImage *GetImage(); ^ Pixmap.c:608:7: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(1); ^ Pixmap.c:608:7: note: include the header or explicitly provide a declaration for 'exit' Pixmap.c:596:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XImage *CreateMaskImage(PW, width, height) ^ In file included from Pixmap.c:67: ./PixmapP.h:233:9: warning: a function 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] XImage *CreateMaskImage(); ^ Pixmap.c:620:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XImage *CreatePixmapImage(PW, width, height) ^ In file included from Pixmap.c:67: ./PixmapP.h:232:9: warning: a function 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] XImage *CreatePixmapImage(); ^ Pixmap.c:660: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 DestroyPixmapImage(image) ^ In file included from Pixmap.c:67: ./PixmapP.h:234: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 DestroyPixmapImage(); ^ Pixmap.c:694:22: 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] (*PW->pixmap.notify)(w, client_data, call_data); ^ Pixmap.c:819:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String StripFilename(filename) ^ Pixmap.c:840: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 SetTransparentPixels(pw, image, mask_image) ^ Pixmap.c:852: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 InitializeXpmAttributes(PW, attribs) ^ Pixmap.c:881: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 InitializeXpmInfo(infos) ^ Pixmap.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 InitializeXpmImage(xpm_image) ^ Pixmap.c:962:24: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-void-pointer-cast] {XtWidgetBaseOffset, (XtPointer) XtOffset(Widget, core.screen), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Pixmap.c:1040:26: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] printf("Pixel %d\n", *(pixel-shift)); ~~ ^~~~~~~~~~~~~~ %lu Pixmap.c:1145:36: warning: passing arguments to 'xpmReadRgbNames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] max_ncolors = xpmReadRgbNames(rgb_fname, rgb_table); ^ Pixmap.c:1270:19: warning: passing arguments to 'InternalResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InternalResize(new); ^ Pixmap.c:1271:11: warning: passing arguments to 'Resize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(new); ^ Pixmap.c:1132: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 Initialize(request, new, argv, argc) ^ Pixmap.c:264: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 Initialize(); ^ Pixmap.c:1298: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 FixMark(PW) ^ Pixmap.c:1373:24: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] printf("Pixel %d\n", *(pixel-shift)); ~~ ^~~~~~~~~~~~~~ %lu Pixmap.c:1706:28: warning: passing arguments to 'xpmGetRgbName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rgb_name = xpmGetRgbName(rgb_table, max_ncolors, ^ Pixmap.c:1725:37: warning: passing arguments to 'xpmGetRgbName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(rgb_name = xpmGetRgbName(rgb_table, max_ncolors, ^ Pixmap.c:1758:26: warning: passing arguments to 'InternalResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resized = InternalResize(PW); ^ Pixmap.c:1808:29: warning: passing arguments to 'InternalResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resized = InternalResize(PW); ^ Pixmap.c:1826: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 buildXpmImageAndAttributes(PW, image, mask_image, ^ Pixmap.c:2000:41: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] CopyExtensions( &infos->extensions, &infos->nextensions, ^~~~~~~~~~~~~~~~~~~ Pixmap.c:2060: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 FixHotSpot(PW) ^ Pixmap.c:2068: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 ZoomOut(PW) ^ Pixmap.c:2125:26: warning: passing arguments to 'InternalResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resized = InternalResize(PW); ^ Pixmap.c:2218:29: warning: passing arguments to 'InternalResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resized = InternalResize(PW); ^ Pixmap.c:2220:13: warning: passing arguments to 'Refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Refresh(PW, 0, 0, PW->core.width, PW->core.height); ^ Pixmap.c:2159:30: warning: variable 'coreWidth' set but not used [-Wunused-but-set-variable] Dimension width, height, coreWidth, coreHeight; ^ Pixmap.c:2159:41: warning: variable 'coreHeight' set but not used [-Wunused-but-set-variable] Dimension width, height, coreWidth, coreHeight; ^ Pixmap.c:2264:29: warning: passing arguments to 'InternalResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resized = InternalResize(PW); ^ Pixmap.c:2316:29: warning: passing arguments to 'InternalResize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resized = InternalResize(PW); ^ Pixmap.c:2324: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 Destroy(w) ^ Pixmap.c:268: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 Destroy(); ^ Pixmap.c:2365: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 InternalResize(PW) ^ Pixmap.c:267: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 InternalResize(); ^ Pixmap.c:2388: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 Resize(PW) ^ Pixmap.c:266: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 Resize(); ^ Pixmap.c:2430:13: warning: passing arguments to 'Refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Refresh(PW, ^ Pixmap.c:2423: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 Redisplay(PW, event, region) ^ Pixmap.c:265: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 Redisplay(); ^ Pixmap.c:2508: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 Refresh(PW, x, y, width, height) ^ Pixmap.c:957: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 Refresh(); ^ Pixmap.c:2587:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new) ^ Pixmap.c:269: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] static Boolean SetValues(); ^ Pixmap.c:58:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[] = "$Id: Pixmap.c,v 1.22 1996/09/02 08:32:37 lmallet Exp $"; ^ --- Dialog.o --- 23 warnings generated. --- pixmap._man --- rm -f pixmap._man if test -z "" ; then cd `dirname pixmap` && ln -s `basename pixmap.man` `basename pixmap._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" < pixmap.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/\@\@$/\/' >pixmap._man; fi --- dotpixmap --- awk 'NF == 4 && $4 !~ /[Gg]rey/ && $4 !~ /[0-9]/ {print $4}' /opt/pkg/share/X11/rgb.txt > dotpixmap --- Pixmap.ad --- Pixmap compiled with Motif. --- PixEdit.o --- 127 warnings generated. --- Pixmap.o --- 209 warnings generated. --- pixmap --- rm -f pixmap clang -o pixmap -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib PixEdit.o Pixmap.o Dialog.o -L/opt/pkg/lib -lXpm -L/opt/pkg/lib -L/opt/pkg/lib -lXm -lXft -lXm -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11 -lm ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-lXft', '-lXm', '-lXt' ld: Undefined symbols: _xpmGetRgbName, referenced from: _PWUpdateColorInTable in Pixmap.o _PWUpdateColorInTable in Pixmap.o _xpmReadRgbNames, referenced from: _Initialize in Pixmap.o clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [pixmap] Error code 1 bmake: stopped in /Users/pbulk/build/graphics/pixmap/work/pixmap 1 error bmake: stopped in /Users/pbulk/build/graphics/pixmap/work/pixmap *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/graphics/pixmap *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/graphics/pixmap