=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/pixmap", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for pixmap-2.6.4nb9 --- PixEdit.o --- --- Pixmap.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 --- PixEdit.o --- 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 C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- 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 C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- 65 | unsetKillfromWM(text_options->popup); | ^ --- Pixmap.o --- 51 | void CopyExtension( dst, src ) | ^ --- PixEdit.o --- ./TextOpt.c:37:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | static void PopupTextOptions(button, text_options) | ^ --- 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 C23 [-Wdeprecated-non-prototype] 77 | void FreeExtension( extension ) | ^ --- 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 C23 [-Wdeprecated-non-prototype] 72 | static void PopdownTextOptions( w, client_data, call_data ) | ^ --- 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 C23 [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 127 | int AddExtension( exts, n, name ) | ^ --- PixEdit.o --- ./TextOpt.c:86:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | static void Apply( w, client_data, call_data ) | ^ --- 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 C23 [-Wdeprecated-non-prototype] 166 | 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 C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- ./TextOpt.c:214:12: warning: unused variable 'font_name' [-Wunused-variable] --- Pixmap.o --- 207 | void CopyExtensions( dst_e, dst_n, src_e, src_n ) | ^ --- PixEdit.o --- 214 | String font_name, text_string; | ^~~~~~~~~ ./TextOpt.c:214:23: warning: unused variable 'text_string' [-Wunused-variable] 214 | 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 C23 [-Wdeprecated-non-prototype] 204 | TextOptions* CreateTextOptions(parent, name ) | ^ --- Pixmap.o --- ./Extensions.c:236:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | 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 C23 [-Wdeprecated-non-prototype] 267 | char **PWGetExtensionNames( w ) | ^ --- PixEdit.o --- PixEdit.c:412:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- 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 C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- 412 | void client_message(w, tag, event, b) --- Pixmap.o --- 289 | XpmExtension *PWFindExtension( w, name ) | ^ --- PixEdit.o --- | ^ --- 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 C23 [-Wdeprecated-non-prototype] 314 | void PWAddExtension( w, name ) | ^ --- PixEdit.o --- PixEdit.c:427:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- Pixmap.o --- ./Extensions.c:334:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- 34 | extern void unsetKillfromWM(); --- Pixmap.o --- 334 | void PWRemoveExtension( w, name ) --- PixEdit.o --- | ^ --- Pixmap.o --- | ^ ./Extensions.c:354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | void PWUpdateExtension( w, new_extension ) | ^ --- PixEdit.o --- PixEdit.c:441:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | void FixColorMenuLabel(old_name, name) | ^ PixEdit.c:476:5: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] --- Pixmap.o --- 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 C23 [-Wdeprecated-non-prototype] 97 | Pixel GetPxlFromImageAndMask(image, mask_image, x, y) | ^ --- PixEdit.o --- 475 | "Warning: Color pixel %d out of bounds for display (pixel range [0->%d]\n", | ~~ | %lu 476 | pixel, max_colors-1); | ^~~~~ --- 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 C23 [-Wdeprecated-non-prototype] 109 | Pixel GetPxl(pw, x, y) | ^ --- PixEdit.o --- PixEdit.c:465:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- ./Graphics.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | void SetPxl(pw, x, y, color) | ^ --- PixEdit.o --- 465 | void colorToAdd(w, pixel, name) | ^ --- 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 C23 [-Wdeprecated-non-prototype] 161 | XPoint *HotSpotShape(PW, x ,y) | ^ --- PixEdit.o --- PixEdit.c:529:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- ./Graphics.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | void HighlightSquare(PW, x, y) | ^ --- PixEdit.o --- 529 | void FixImage(w, client_data, call_data) | ^ --- Pixmap.o --- ./Graphics.c:203:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | void ClearSquare(PW, x, y) | ^ --- PixEdit.o --- PixEdit.c:582:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- 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 C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- 582 | void FixEntry(w, id) | ^ --- Pixmap.o --- 216 | void DrawSquare(PW, x, y, color) | ^ --- PixEdit.o --- PixEdit.c:674:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- 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 C23 [-Wdeprecated-non-prototype] 286 | Flood(PW, x, y, value); | ^ ./Graphics.c:274:3: note: expanded from macro 'Flood' --- PixEdit.o --- 367 | void FixMenu(), SwitchImage(), SwitchGrid(), SwitchAxes(), | ^ --- Pixmap.o --- 274 | DrawPoint(PW, x, y, value, NotLazy) | ^ ./Graphics.c:247:23: note: expanded from macro 'DrawPoint' --- PixEdit.o --- PixEdit.c:685:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- 247 | RedrawAxesInSquare(PW, x, y); \ | ^ --- PixEdit.o --- 685 | void FixMenuCB(w, client_data, call_data) | ^ --- 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 C23 [-Wdeprecated-non-prototype] 293 | Flood(PW, x, y, value); | ^ ./Graphics.c:274:3: note: expanded from macro 'Flood' 274 | DrawPoint(PW, x, y, value, NotLazy) | ^ ./Graphics.c:247:23: note: expanded from macro 'DrawPoint' 247 | RedrawAxesInSquare(PW, x, y); \ | ^ --- PixEdit.o --- PixEdit.c:726:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- ./Graphics.c:301:5: warning: passing arguments to 'RedrawAxesInSquare' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- 726 | void FixColor(w, current) | ^ --- Pixmap.o --- 301 | Flood(PW, x, y, value); | ^ ./Graphics.c:274:3: note: expanded from macro 'Flood' 274 | DrawPoint(PW, x, y, value, NotLazy) | ^ ./Graphics.c:247:23: note: expanded from macro 'DrawPoint' 247 | RedrawAxesInSquare(PW, x, y); \ | ^ --- PixEdit.o --- PixEdit.c:757:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-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 C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- 757 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 374 | void TheCallback(); --- Pixmap.o --- 276 | void FloodLoop(PW, x, y, value, toflood) | ^ --- PixEdit.o --- | ^ PixEdit.c:1072:24: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | 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 C23 [-Wdeprecated-non-prototype] 1079 | if (PopupDialog(error_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 C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- | ^ PixEdit.c:1091:19: warning: passing arguments to 'PopupFDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- 364 | void CopyImageData(source, destination, from_x, from_y, to_x, to_y, at_x, at_y) | ^ --- PixEdit.o --- 1091 | 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 C23 [-Wdeprecated-non-prototype] --- 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 C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- 1101 | if (PopupDialog(error_dialog, message, --- Pixmap.o --- 380 | void TransferImageData(source, destination) --- PixEdit.o --- | ^ --- Pixmap.o --- | ^ --- PixEdit.o --- PixEdit.c:1118:19: warning: passing arguments to 'PopupFDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- ./Graphics.c:434:4: warning: passing arguments to 'RedrawAxesInSquare' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | DrawPoint(PW, at_x + x, at_y + y, val, mode); | ^ ./Graphics.c:247:23: note: expanded from macro 'DrawPoint' --- PixEdit.o --- 1118 | if (PopupFDialog(file_dialog, "Insert file:", | ^ --- Pixmap.o --- 247 | RedrawAxesInSquare(PW, x, y); \ | ^ --- PixEdit.o --- PixEdit.c:1126:22: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | if (PopupDialog(error_dialog, message, | ^ --- Pixmap.o --- ./Graphics.c:392:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | void DrawImageData(PW, image, mask_image, at_x, at_y, value, mode) | ^ --- PixEdit.o --- PixEdit.c:1142:22: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | 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 C23 [-Wdeprecated-non-prototype] 1156 | 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 C23 [-Wdeprecated-non-prototype] 1164 | 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 C23 [-Wdeprecated-non-prototype] 1179 | if (PopupFDialog(file_dialog, "Change filename:", | ^ --- Pixmap.o --- ./Graphics.c:516:11: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 516 | if (!fabs(beta1 - beta2) > PRECISION) return(NULL); | ^ ~ ./Graphics.c:516:11: note: add parentheses after the '!' to evaluate the comparison first --- PixEdit.o --- PixEdit.c:1193:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- 516 | if (!fabs(beta1 - beta2) > PRECISION) return(NULL); | ^ | ( ) ./Graphics.c:516:11: note: add parentheses around left hand side expression to silence this warning --- PixEdit.o --- 1193 | if (PopupDialog(input_dialog, "Pixmap hints comment:", | ^ --- Pixmap.o --- 516 | if (!fabs(beta1 - beta2) > PRECISION) return(NULL); | ^ | ( ) --- PixEdit.o --- PixEdit.c:1211:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | if (PopupDialog(input_dialog, "Pixmap colors comment:", | ^ --- 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 C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- PixEdit.c:1229:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- 450 | XPoint *intersect(P1, Q1, P2, Q2) | ^ --- PixEdit.o --- 1229 | if (PopupDialog(input_dialog, "Pixmap pixels comment:", | ^ --- Pixmap.o --- ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 539 | else if (!vert1 && !horiz1 && !vert2 && !horiz2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- PixEdit.o --- PixEdit.c:1249:24: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- ./Graphics.c:554:27: note: uninitialized use occurs here 554 | if (((Position)roundint(x) < min(P1.x, Q1.x)) || | ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' --- PixEdit.o --- 1249 | switch (PopupDialog(qsave_dialog, "Save file before quitting?", | ^ --- Pixmap.o --- 75 | #define roundint(x) floor((x) + 0.5) | ^ --- PixEdit.o --- PixEdit.c:1254:17: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- ./Graphics.c:539:8: note: remove the 'if' if its condition is always true --- PixEdit.o --- 1254 | if (PopupDialog(error_dialog, message, | ^ --- Pixmap.o --- 539 | else if (!vert1 && !horiz1 && !vert2 && !horiz2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 540 | { ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 539 | else if (!vert1 && !horiz1 && !vert2 && !horiz2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Graphics.c:554:27: note: uninitialized use occurs here --- PixEdit.o --- PixEdit.c:1272:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | if (PopupDialog(input_dialog, "Color name (name or #rgb) to add:", | ^ --- Pixmap.o --- 554 | if (((Position)roundint(x) < min(P1.x, Q1.x)) || | ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' 75 | #define roundint(x) floor((x) + 0.5) | ^ ./Graphics.c:539:12: note: remove the '&&' if its condition is always true 539 | else if (!vert1 && !horiz1 && !vert2 && !horiz2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 539 | else if (!vert1 && !horiz1 && !vert2 && !horiz2) | ^~~~~~~~~~~~~~~~~ ./Graphics.c:554:27: note: uninitialized use occurs here --- PixEdit.o --- PixEdit.c:1299:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] --- Pixmap.o --- 554 | if (((Position)roundint(x) < min(P1.x, Q1.x)) || --- PixEdit.o --- 1298 | sprintf(message, "Color `%s' [%d] symbolic name:", | ~~ | %lu --- Pixmap.o --- | ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' --- PixEdit.o --- 1299 | color->c_name, current_color); | ^~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' --- Pixmap.o --- 75 | #define roundint(x) floor((x) + 0.5) | ^ ./Graphics.c:539:12: note: remove the '&&' if its condition is always true 539 | else if (!vert1 && !horiz1 && !vert2 && !horiz2) | ^~~~~~~~~~~~~~~~~~~~ --- PixEdit.o --- 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ --- Pixmap.o --- ./Graphics.c:539:12: warning: variable 'x' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] --- PixEdit.o --- PixEdit.c:1301:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | if (PopupDialog(input_dialog, message, | ^ --- Pixmap.o --- 539 | else if (!vert1 && !horiz1 && !vert2 && !horiz2) | ^~~~~~ ./Graphics.c:554:27: note: uninitialized use occurs here 554 | if (((Position)roundint(x) < min(P1.x, Q1.x)) || | ^ ./Graphics.c:75:46: note: expanded from macro 'roundint' --- PixEdit.o --- PixEdit.c:1322:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] --- Pixmap.o --- 75 | #define roundint(x) floor((x) + 0.5) | ^ ./Graphics.c:539:12: note: remove the '&&' if its condition is always true --- PixEdit.o --- 1321 | sprintf(message, "Color `%s' [%d] monochrome display name:", | ~~ | %lu --- Pixmap.o --- 539 | else if (!vert1 && !horiz1 && !vert2 && !horiz2) | ^~~~~~~~~ --- PixEdit.o --- 1322 | color->c_name, current_color); | ^~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' --- Pixmap.o --- ./Graphics.c:457:11: note: initialize the variable 'x' to silence this warning 457 | double x, y; | ^ | = 0.0 --- PixEdit.o --- 50 | __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 C23 [-Wdeprecated-non-prototype] 1324 | if (PopupDialog(input_dialog, message, | ^ PixEdit.c:1355:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] 1354 | sprintf(message, "Color `%s' [%d] grey scale 4 display name:", | ~~ | %lu 1355 | color->c_name, current_color); | ^~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __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 C23 [-Wdeprecated-non-prototype] 1357 | if (PopupDialog(input_dialog, message, | ^ PixEdit.c:1388:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] --- 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 C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- 1387 | sprintf(message, "Color `%s' [%d] grey scale display name:", | ~~ | %lu --- Pixmap.o --- 577 | void RedrawAxesInSquare(PW, x, y) --- PixEdit.o --- 1388 | color->c_name, current_color); | ^~~~~~~~~~~~~ --- Pixmap.o --- | ^ --- PixEdit.o --- /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' --- Pixmap.o --- ./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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | void RedrawAxesInSquare(); | ^ --- PixEdit.o --- 50 | __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 C23 [-Wdeprecated-non-prototype] 1390 | if (PopupDialog(input_dialog, message, | ^ PixEdit.c:1421:19: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] 1420 | sprintf(message, "Color `%s' [%d] color display name:", | ~~ | %lu 1421 | color->c_name, current_color); | ^~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __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 C23 [-Wdeprecated-non-prototype] 1423 | if ((PopupDialog(input_dialog, message, | ^ --- 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 C23 [-Wdeprecated-non-prototype] 695 | 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 C23 [-Wdeprecated-non-prototype] 681 | 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 C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- PixEdit.c:1560:21: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- 752 | dst = CreateMaskImage(PW, width, height); | ^ --- PixEdit.o --- 1560 | if ((PopupDialog(input_dialog, message, | ^ --- Pixmap.o --- ./Graphics.c:738:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- PixEdit.c:1583:18: warning: passing arguments to 'PopupDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- 738 | XImage *ScaleMaskImage(PW, src, scale_x, scale_y) | ^ --- PixEdit.o --- 1583 | 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 C23 [-Wdeprecated-non-prototype] 1595 | 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 C23 [-Wdeprecated-non-prototype] 1609 | 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 C23 [-Wdeprecated-non-prototype] 1621 | 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 C23 [-Wdeprecated-non-prototype] 1668 | 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 C23 [-Wdeprecated-non-prototype] 120 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23 [-Wdeprecated-non-prototype] 192 | 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 C23 [-Wdeprecated-non-prototype] 210 | 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 C23 [-Wdeprecated-non-prototype] 238 | 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 C23 [-Wdeprecated-non-prototype] 281 | 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 C23 [-Wdeprecated-non-prototype] 324 | 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 C23 [-Wdeprecated-non-prototype] 352 | 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 C23 [-Wdeprecated-non-prototype] 373 | 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 C23 [-Wdeprecated-non-prototype] 403 | 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 C23 [-Wdeprecated-non-prototype] 690 | 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 C23 [-Wdeprecated-non-prototype] 713 | 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 C23 [-Wdeprecated-non-prototype] 738 | 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 C23 [-Wdeprecated-non-prototype] 777 | 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 C23 [-Wdeprecated-non-prototype] 811 | void RotatePorts( w, direction ) | ^ --- 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 C23 [-Wdeprecated-non-prototype] --- PixEdit.o --- ./PortEdit.c:844:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | void PortEditorCallback( w, client_data, call_data ) | ^ --- Pixmap.o --- 1526 | 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 C23 [-Wdeprecated-non-prototype] 1528 | mask_storage = CreateMaskImage(PW, (Dimension) PW->pixmap.mask_image->width, | ^ --- PixEdit.o --- ./PortEdit.c:912:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | void CreatePortEditorButtons( parentW, radioGroupW ) | ^ --- 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 C23 [-Wdeprecated-non-prototype] 1549 | 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 C23 [-Wdeprecated-non-prototype] 1550 | DestroyMaskImage(&mask_storage); | ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' --- PixEdit.o --- ./PortEdit.c:958:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Pixmap.o --- 235 | #define DestroyMaskImage(mask) DestroyPixmapImage(mask) | ^ --- PixEdit.o --- 958 | 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 C23 [-Wdeprecated-non-prototype] 59 | 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 C23 [-Wdeprecated-non-prototype] 94 | XpmExtension *StringToXpmExtension( s ) | ^ --- Pixmap.o --- 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 C23 [-Wdeprecated-non-prototype] 1649 | void PWTranslatePoint( w, x, y, dx, dy ) | ^ --- PixEdit.o --- ./ExtEdit.c:149:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | void PositionPopup( popup ) | ^ --- Pixmap.o --- ./Graphics.c:1674:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1674 | 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 C23 [-Wdeprecated-non-prototype] 1698 | void PWRotatePoint( w, x, y, direction ) | ^ --- PixEdit.o --- ./ExtEdit.c:211:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | 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 C23 [-Wdeprecated-non-prototype] 235 | 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 C23 [-Wdeprecated-non-prototype] 256 | 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 C23 [-Wdeprecated-non-prototype] 294 | 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 C23 [-Wdeprecated-non-prototype] 318 | 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 C23 [-Wdeprecated-non-prototype] 352 | 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 C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 382 | char **PWGetExtensionNames(); | ^ ./Pixmap.h:299:15: note: conflicting prototype is here 299 | 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 C23 [-Wdeprecated-non-prototype] 403 | 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 C23 [-Wdeprecated-non-prototype] 377 | 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 C23 [-Wdeprecated-non-prototype] 427 | 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 C23 [-Wdeprecated-non-prototype] 470 | 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 C23 [-Wdeprecated-non-prototype] 557 | 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 C23 [-Wdeprecated-non-prototype] 640 | 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 C23 [-Wdeprecated-non-prototype] 1801 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 375 | 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 C23 [-Wdeprecated-non-prototype] 1840 | MakeMenu( menubar, menuName, buttonName, menu, num, callback ) | ^ PixEdit.c:1876:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 1876 | void main(argc, argv) | ^ PixEdit.c:1876:1: note: change return type to 'int' 1876 | 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 C23 [-Wdeprecated-non-prototype] 2202 | 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 C23 [-Wdeprecated-non-prototype] 2203 | 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 C23 [-Wdeprecated-non-prototype] 2204 | 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 C23 [-Wdeprecated-non-prototype] 2205 | 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 C23 [-Wdeprecated-non-prototype] 2206 | 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 C23 [-Wdeprecated-non-prototype] 1876 | void main(argc, argv) | ^ --- 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 C23 [-Wdeprecated-non-prototype] 2033 | 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 C23 [-Wdeprecated-non-prototype] 2034 | DestroyMaskImage(&PW->pixmap.mask_storage); | ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' 235 | #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 C23 [-Wdeprecated-non-prototype] 2039 | 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 C23 [-Wdeprecated-non-prototype] 2040 | PW->pixmap.mask_storage = CreateMaskImage(PW, width, height); | ^ --- PixEdit.o --- PixEdit.c:58:13: warning: unused variable 'rcsid' [-Wunused-variable] 58 | static char rcsid[] = "$Id: PixEdit.c,v 1.20 1996/09/02 16:50:33 lmallet Exp $"; | ^~~~~ --- Pixmap.o --- ./Graphics.c:2151:32: warning: passing arguments to 'CreatePixmapImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2151 | 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 C23 [-Wdeprecated-non-prototype] 2152 | 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 C23 [-Wdeprecated-non-prototype] 2169 | 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 C23 [-Wdeprecated-non-prototype] 2170 | DestroyMaskImage(&mask_storage); | ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' 235 | #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 C23 [-Wdeprecated-non-prototype] 2192 | 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 C23 [-Wdeprecated-non-prototype] 2193 | 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 C23 [-Wdeprecated-non-prototype] 2213 | 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 C23 [-Wdeprecated-non-prototype] 2214 | DestroyMaskImage(&mask_storage); | ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' 235 | #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 C23 [-Wdeprecated-non-prototype] 2231 | 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 C23 [-Wdeprecated-non-prototype] 2233 | 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 C23 [-Wdeprecated-non-prototype] 2236 | 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 C23 [-Wdeprecated-non-prototype] 2237 | DestroyMaskImage(&PW->pixmap.mask_buffer); | ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' 235 | #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 C23 [-Wdeprecated-non-prototype] 2376 | 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 C23 [-Wdeprecated-non-prototype] 2438 | 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 C23 [-Wdeprecated-non-prototype] 2439 | 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 C23 [-Wdeprecated-non-prototype] 2477 | 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 C23 [-Wdeprecated-non-prototype] 2484 | 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 C23 [-Wdeprecated-non-prototype] 2485 | DestroyMaskImage(&mask_tmp_image); | ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' 235 | #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 C23 [-Wdeprecated-non-prototype] 85 | 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 C23 [-Wdeprecated-non-prototype] 159 | ((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 C23 [-Wdeprecated-non-prototype] 147 | 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 C23 [-Wdeprecated-non-prototype] 174 | 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 C23 [-Wdeprecated-non-prototype] 213 | (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 C23 [-Wdeprecated-non-prototype] 270 | (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 C23 [-Wdeprecated-non-prototype] 105 | 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 C23 [-Wdeprecated-non-prototype] 110 | *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 C23 [-Wdeprecated-non-prototype] 111 | 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 C23 [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 130 | 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 C23 [-Wdeprecated-non-prototype] 142 | 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 C23 [-Wdeprecated-non-prototype] 187 | 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 C23 [-Wdeprecated-non-prototype] 188 | DestroyMaskImage(&PW->pixmap.mask_storage); | ^ ./PixmapP.h:235:50: note: expanded from macro 'DestroyMaskImage' 235 | #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 C23 [-Wdeprecated-non-prototype] 190 | 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 C23 [-Wdeprecated-non-prototype] 192 | 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 C23 [-Wdeprecated-non-prototype] 172 | 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 C23 [-Wdeprecated-non-prototype] 107 | (*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 C23 [-Wdeprecated-non-prototype] 131 | (*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 C23 [-Wdeprecated-non-prototype] 85 | 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 C23 [-Wdeprecated-non-prototype] 140 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | 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 C23 [-Wdeprecated-non-prototype] 195 | (*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 C23 [-Wdeprecated-non-prototype] 210 | (*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 C23 [-Wdeprecated-non-prototype] 218 | (*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 C23 [-Wdeprecated-non-prototype] 240 | (*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 C23 [-Wdeprecated-non-prototype] 245 | (*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 C23 [-Wdeprecated-non-prototype] 175 | 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 C23 [-Wdeprecated-non-prototype] 253 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | 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 C23 [-Wdeprecated-non-prototype] 284 | (*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 C23 [-Wdeprecated-non-prototype] 271 | 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 C23 [-Wdeprecated-non-prototype] 301 | (*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 C23 [-Wdeprecated-non-prototype] 310 | (*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 C23 [-Wdeprecated-non-prototype] 293 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | 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 C23 [-Wdeprecated-non-prototype] 326 | (*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 C23 [-Wdeprecated-non-prototype] 332 | (*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 C23 [-Wdeprecated-non-prototype] 319 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | 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 C23 [-Wdeprecated-non-prototype] 364 | (*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 C23 [-Wdeprecated-non-prototype] 381 | (*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 C23 [-Wdeprecated-non-prototype] 390 | (*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 C23 [-Wdeprecated-non-prototype] 409 | (*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 C23 [-Wdeprecated-non-prototype] 415 | (*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 C23 [-Wdeprecated-non-prototype] 424 | (*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 C23 [-Wdeprecated-non-prototype] 343 | 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 C23 [-Wdeprecated-non-prototype] 433 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | 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 C23 [-Wdeprecated-non-prototype] 462 | (*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 C23 [-Wdeprecated-non-prototype] 473 | (*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 C23 [-Wdeprecated-non-prototype] 454 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | 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 C23 [-Wdeprecated-non-prototype] 490 | (*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 C23 [-Wdeprecated-non-prototype] 498 | (*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 C23 [-Wdeprecated-non-prototype] 483 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | 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 C23 [-Wdeprecated-non-prototype] 515 | (*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 C23 [-Wdeprecated-non-prototype] 523 | (*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 C23 [-Wdeprecated-non-prototype] 508 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 538 | (*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 C23 [-Wdeprecated-non-prototype] 533 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | 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 C23 [-Wdeprecated-non-prototype] 578 | (*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 C23 [-Wdeprecated-non-prototype] 593 | (*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 C23 [-Wdeprecated-non-prototype] 541 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | 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 C23 [-Wdeprecated-non-prototype] 622 | (*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 C23 [-Wdeprecated-non-prototype] 652 | (*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 C23 [-Wdeprecated-non-prototype] 598 | 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 C23 [-Wdeprecated-non-prototype] 662 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | 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 C23 [-Wdeprecated-non-prototype] 692 | (*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 C23 [-Wdeprecated-non-prototype] 682 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | 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 C23 [-Wdeprecated-non-prototype] 706 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | 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 C23 [-Wdeprecated-non-prototype] 728 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | 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 C23 [-Wdeprecated-non-prototype] 741 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | 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 C23 [-Wdeprecated-non-prototype] 480 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | 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 C23 [-Wdeprecated-non-prototype] 553 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 231 | 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 C23 [-Wdeprecated-non-prototype] 571 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 230 | 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 C23 [-Wdeprecated-non-prototype] 589 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 233 | 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 C23 [-Wdeprecated-non-prototype] 613 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 232 | 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 C23 [-Wdeprecated-non-prototype] 653 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 234 | 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 C23 [-Wdeprecated-non-prototype] 687 | (*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 C23 [-Wdeprecated-non-prototype] 812 | 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 C23 [-Wdeprecated-non-prototype] 833 | 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 C23 [-Wdeprecated-non-prototype] 845 | 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 C23 [-Wdeprecated-non-prototype] 874 | 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 C23 [-Wdeprecated-non-prototype] 884 | 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] 955 | {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] 1033 | 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 C23 [-Wdeprecated-non-prototype] 1263 | 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 C23 [-Wdeprecated-non-prototype] 1264 | 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 C23 [-Wdeprecated-non-prototype] 1125 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 257 | 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 C23 [-Wdeprecated-non-prototype] 1291 | void FixMark(PW) | ^ Pixmap.c:1366:24: warning: format specifies type 'int' but the argument has type 'Pixel' (aka 'unsigned long') [-Wformat] 1366 | 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 C23 [-Wdeprecated-non-prototype] 1751 | 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 C23 [-Wdeprecated-non-prototype] 1801 | 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 C23 [-Wdeprecated-non-prototype] 1819 | 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] 1993 | 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 C23 [-Wdeprecated-non-prototype] 2053 | 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 C23 [-Wdeprecated-non-prototype] 2061 | 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 C23 [-Wdeprecated-non-prototype] 2118 | 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 C23 [-Wdeprecated-non-prototype] 2211 | 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 C23 [-Wdeprecated-non-prototype] 2213 | 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] 2152 | Dimension width, height, coreWidth, coreHeight; | ^ Pixmap.c:2152:41: warning: variable 'coreHeight' set but not used [-Wunused-but-set-variable] 2152 | 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 C23 [-Wdeprecated-non-prototype] 2257 | 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 C23 [-Wdeprecated-non-prototype] 2309 | 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 C23 [-Wdeprecated-non-prototype] 2317 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 261 | 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 C23 [-Wdeprecated-non-prototype] 2358 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 260 | 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 C23 [-Wdeprecated-non-prototype] 2381 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 259 | 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 C23 [-Wdeprecated-non-prototype] 2423 | 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 C23 [-Wdeprecated-non-prototype] 2416 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 258 | 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 C23 [-Wdeprecated-non-prototype] 2501 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 950 | 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 C23 [-Wdeprecated-non-prototype] 2580 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | static Boolean SetValues(); | ^ Pixmap.c:58:13: warning: unused variable 'rcsid' [-Wunused-variable] 58 | static char rcsid[] = "$Id: Pixmap.c,v 1.22 1996/09/02 08:32:37 lmallet Exp $"; | ^~~~~ --- PixEdit.o --- 98 warnings generated. --- 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:88:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | 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] 117 | if (popup = (Dialog) XtMalloc(sizeof(_Dialog))) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dialog.c:117:15: note: place parentheses around the assignment to silence this warning 117 | if (popup = (Dialog) XtMalloc(sizeof(_Dialog))) { | ^ | ( ) Dialog.c:117:15: note: use '==' to turn this assignment into an equality comparison 117 | 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 C23 [-Wdeprecated-non-prototype] 108 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | 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 C23 [-Wdeprecated-non-prototype] 226 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 319 | 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 C23 [-Wdeprecated-non-prototype] 243 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | 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 C23 [-Wdeprecated-non-prototype] 336 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | 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 C23 [-Wdeprecated-non-prototype] 444 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 520 | 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 C23 [-Wdeprecated-non-prototype] 459 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | extern int PopupFDialog(); | ^ 16 warnings generated. --- rgb.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 rgb.c --- 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. --- Pixmap.o --- 205 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 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'