===> Building for pixmap-2.6.4nb9 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 In file included from PixEdit.c:349: ./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) ^ ./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: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: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:412: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) ^ PixEdit.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 unsetKillfromWM(w) ^ In file included from PixEdit.c:349: ./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:441: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) ^ PixEdit.c:476:5: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] pixel, max_colors-1); ^~~~~ PixEdit.c:465: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) ^ PixEdit.c:529: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) ^ PixEdit.c:582: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) ^ PixEdit.c:674: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: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 FixMenu(), SwitchImage(), SwitchGrid(), SwitchAxes(), ^ PixEdit.c:685: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) ^ PixEdit.c:726: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:757: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:374: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(); ^ PixEdit.c:1072: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?", ^ PixEdit.c:1079: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:1091: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:1101: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:1118: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:1126: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:1142: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:1156: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:", ^ PixEdit.c:1164: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:1179: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:1193: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:1211: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:1229: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:1249: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:1254: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:1272: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:1299:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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:1301: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:1322:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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:1324: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:1355:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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:1357: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:1388:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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:1390: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:1421:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] color->c_name, current_color); ^~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.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:1423: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, ^ PixEdit.c:1560: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:1583: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:1595: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:1609: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:1621: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:1668: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, ^ In file included from PixEdit.c:1674: ./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 ) ^ ./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 ) ^ ./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 ) ^ ./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:1675: ./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: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:1675: ./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: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: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:1801: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:375: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(); ^ PixEdit.c:1840: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:1876:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(argc, argv) ^ PixEdit.c:1876:1: note: change return type to 'int' void main(argc, argv) ^~~~ int PixEdit.c:2202: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:2203: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:2204: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:2205: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:2206: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:1876: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 $"; ^ 98 warnings generated. 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 In file included from Pixmap.c:463: ./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 ) ^ ./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 ) ^ ./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 ) ^ ./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 ) ^ ./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 ) ^ ./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 ) ^ ./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 ) ^ ./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 ) ^ ./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 ) ^ In file included from Pixmap.c:464: ./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) ^ ./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) ^ ./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) ^ ./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) ^ ./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); \ ^ ./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); \ ^ ./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) ^ ./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) ^ ./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) ^ ./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); ^ ( ) ./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) ^ ./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 ./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(); ^ ./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) ^ ./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, ^ ./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) ^ In file included from Pixmap.c:464: ./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 ) ^ ./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:464: ./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:464: ./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:464: ./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:464: ./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:465: ./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:466: ./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:466: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:254: ./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:467: ./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:161: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:467: ./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:159: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:467: ./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:160: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:480: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:162: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:553: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:571: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:589: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:613: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:653: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:687: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:812: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:833: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:845: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:874: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:884: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:955: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:1033: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:1263: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:1264: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:1125: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:257: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:1291: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:1366: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:1751: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:1801: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:1819: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:1993: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:2053: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:2061: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:2118: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:2211: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:2213: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:2152:30: warning: variable 'coreWidth' set but not used [-Wunused-but-set-variable] Dimension width, height, coreWidth, coreHeight; ^ Pixmap.c:2152:41: warning: variable 'coreHeight' set but not used [-Wunused-but-set-variable] Dimension width, height, coreWidth, coreHeight; ^ Pixmap.c:2257: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:2309: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:2317: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:261: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:2358: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:260: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:2381: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:259: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:2423: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:2416: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:258: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:2501: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:950: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:2580: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:262: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 $"; ^ 205 warnings generated. 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:88: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:117:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (popup = (Dialog) XtMalloc(sizeof(_Dialog))) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dialog.c:117:15: note: place parentheses around the assignment to silence this warning if (popup = (Dialog) XtMalloc(sizeof(_Dialog))) { ^ ( ) Dialog.c:117:15: note: use '==' to turn this assignment into an equality comparison if (popup = (Dialog) XtMalloc(sizeof(_Dialog))) { ^ == Dialog.c:108: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(); ^ Dialog.c:226: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(); ^ Dialog.c:319: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:243: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(); ^ Dialog.c:336: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(); ^ Dialog.c:444: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(); ^ Dialog.c:520: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:459: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(); ^ 16 warnings generated. 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 rgb.c 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 awk 'NF == 4 && $4 !~ /[Gg]rey/ && $4 !~ /[0-9]/ {print $4}' /opt/pkg/share/X11/rgb.txt > dotpixmap Pixmap compiled with Motif. 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 rgb.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'