=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/xbmbrowser", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xbmbrowser-5.1nb5 clang -pipe -Os -I/opt/pkg/include -DNDEBUG -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBRARY_RC=\"/opt/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/opt/pkg/include/X11 -I/opt/pkg/include -c -o xbmbrowser.o xbmbrowser.c clang -pipe -Os -I/opt/pkg/include -DNDEBUG -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBRARY_RC=\"/opt/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/opt/pkg/include/X11 -I/opt/pkg/include -c -o images.o images.c images.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | free_image(item) | ^ images.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | free_item(item) | ^ In file included from images.c:24: ./xbmbrowser.h:236: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] 236 | extern Item *free_item(); /* free file/image item */ | ^ images.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | free_list(list) | ^ In file included from images.c:24: ./xbmbrowser.h:237: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] 237 | extern void free_list(); /* free a list of items */ | ^ images.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | allocate_widgets( n ) | ^ images.c:224:51: warning: '&&' within '||' [-Wlogical-op-parentheses] 224 | ( app_data.label_syms || IsDirItem(item) && app_data.label_dirs ) ); | ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ images.c:224:51: note: place parentheses around the '&&' expression to silence this warning 224 | ( app_data.label_syms || IsDirItem(item) && app_data.label_dirs ) ); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ images.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | assign_widget(item) | ^ images.c:320:45: warning: '/*' within block comment [-Wcomment] 320 | ** item->fname, c, i ); /**/ | ^ xbmbrowser.c:280:18: 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]images.c :279:1: 280warning: | a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | load_image(i { extern char *getem) tenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h| ^ :162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ images.c:521:14: warning: enumeration values 'Xbm', 'Xpm', and 'NumFileTypes' not handled in switch [-Wswitch] 521 | switch ( item->type ) { | ^~~~~~~~~~ images.c:521:14: note: add missing switch cases 521 | switchxbmbrowser.c:334:22 :( item->type ) { | ^ warning: passing arguments to 'read_user_menus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | 334 | read_user_menus(t case Unknown: deoplesvce l=, "rucn,k naopwpn_"d;a t a.cmd_ r c ) ; | ^ break; 523 | case Dir: desc = "directory"; break; xbmbrowser.c :347:22: warning: passing arguments to 'read_user_menus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | 524 | case D i rrUepa:d _user_menus(toplevel, rc , r cdfeislce )=; " p| a ^r ent directory"; break; 525 | case DirLink: dxbmbrowser.c:353:22: warning: passing arguments to 'read_user_menus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] e s353c = "directory sym-l | i n k " ; r ead_user_menu breask;( toplev e526l, rc, app_dat | a .library_rc) case DirB;a | ^d : desc = "directory (no access)"; break; 527 | case File: desc = "file (unknown)"; break; 528 | case Text: desc = "text"; break; 529 | case Binary: desc = "binary"; break; 530 | case XpmBad: desc = "pixmap (unable to display)"; break; 531 | } images.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | load_item(item) | ^ images.c:593:33: warning: '/*' within block comment [-Wcomment] 593 | /* *last_ptr = NULL; /* terminate current list (not needed?) */ | ^ images.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | merge_item(item) | ^ images.c:622:14: warning: unused variable 'item' [-Wunused-variable]xbmbrowser.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | main(argc, ar 622 | Item gv) *item; | ^ /* looping variable */ | ^~~~ images.c:764:33: warning: passing arguments to 'check_file_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | if ( (time = check_file_time(item->fname)) == 0 ) | ^ images.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | rescan_item(item) | ^ In file included from images.c:24: ./xbmbrowser.h:238: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] 238 | extern void rescan_item(); /* just re-load this one item */ | ^ images.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | redisplay_images(unmap) | ^ In file included from images.c:24: ./xbmbrowser.h:239: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] 239 | extern void redisplay_images(); /* just redisplay all images - fast */ | ^ images.c:54:11: warning: unused variable 'invert_pixmaps_gc' [-Wunused-variable] 54 | static GC invert_pixmaps_gc = None; | ^~~~~~~~~~~~~~~~~ 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -DNDEBUG -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBRARY_RC=\"/opt/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/opt/pkg/include/X11 -I/opt/pkg/include -c -o callbacks.o callbacks.c 21 warnings generated. clang -pipe -Os -I/opt/pkg/include -DNDEBUG -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBRARY_RC=\"/opt/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/opt/pkg/include/X11 -I/opt/pkg/include -c -o misc.o misc.c callbacks.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | set_name(widget, event) | ^ In file included from callbacks.c:16: ./xbmbrowser.h:210: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] 210 | extern void set_name(); /* set the info line with file name */ | ^ callbacks.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | set_label(widget, event) | ^ In file included from callbacks.c:16: ./xbmbrowser.h:211: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] 211 | extern void set_label(); /* reset the info line to file counts */ | ^ callbacks.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | rescan(widget, client_data, call_data ) | ^ In file included from callbacks.c:16: ./xbmbrowser.h:215: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] 215 | extern void rescan(); /* rescan button callback */ | ^ callbacks.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | scan(widget, client_data, call_data ) | ^ In file included from callbacks.c:16: ./xbmbrowser.h:216: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] 216 | extern void scan(); /* scan button callback */ | ^ callbacks.c:85:13: warning: passing arguments to 'change_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | change_dir( XawDialogGetValueString(dirwidget) ); | ^ callbacks.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | dir_return(widget, event) | ^ In file included from callbacks.c:16: ./xbmbrowser.h:212: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] 212 | extern void dir_return(); /* return key in directory string */ | ^ callbacks.c:102:13: warning: passing arguments to 'change_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | change_dir( dir->string ); | ^ callbacks.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | dir_menu(widget, client_data, call_data ) | ^ In file included from callbacks.c:16: ./xbmbrowser.h:214: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] 214 | extern void dir_menu(); /* menu button in directory string */ | ^ callbacks.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | pos_dir(widget, event) | ^ In file included from callbacks.c:16: ./xbmbrowser.h:213: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] 213 | extern void pos_dir(); /* position directory menu */ | ^ callbacks.c:144:21: warning: passing arguments to 'redisplay_images' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | redisplay_images(False); /* Display style change -- FAST (dont unmap) */ | ^ callbacks.c:149:21: warning: passing arguments to 'redisplay_images' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | redisplay_images(True); /* Display style change -- FAST (with unmap) */ | ^ callbacks.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | toggle_option(widget, client_data, call_data ) | ^ In file included from callbacks.c:16: ./xbmbrowser.h:217: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] 217 | extern void toggle_option(); /* user option toggle callback */ | ^ callbacks.c:205:12: warning: passing arguments to 'change_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | change_dir(file_name); /* WARNING: change_dir() modifies string */ | ^ callbacks.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | popup_user_menu(widget, event) | ^ In file included from callbacks.c:16: ./xbmbrowser.h:218: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] 218 | extern void popup_user_menu(); /* menu popup over icon or symbol */ | ^ misc.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | merge(a,b) | ^ misc.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | sort(n) | ^ misc.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | read_dir(dir) | ^ misc.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | check_file_time(file) | ^ In file included from misc.c:19: ./xbmbrowser.h:250: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] 250 | extern time_t check_file_time(); /* check if a file was modified */ | ^ 23 warnings generated. clang -pipe -Os -I/opt/pkg/include -DNDEBUG -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBRARY_RC=\"/opt/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/opt/pkg/include/X11 -I/opt/pkg/include -c -o user_menu.o user_menu.c 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -DNDEBUG -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBRARY_RC=\"/opt/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/opt/pkg/include/X11 -I/opt/pkg/include -c -o user_functs.o user_functs.c user_menu.c:304:27: 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] 304 | (next_function->funct)(arg[0], arg[1]); | ^ user_menu.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | menu_item_handler(widget, client_data, call_data) | ^ user_menu.c:388:45: warning: '/*' within block comment [-Wcomment] 388 | /* static Boolean firstitem = FALSE; /* item is the first in menu */ | ^ user_menu.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | unget( c ) | ^ user_menu.c:512:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 512 | } | ^ user_menu.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | parse_menu(parent) | ^ user_menu.c:674:45: warning: '&&' within '||' [-Wlogical-op-parentheses] 674 | if ( token == STRING || token == CHAR && token_string[0] != ',' ) | ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ user_menu.c:674:45: note: place parentheses around the '&&' expression to silence this warning 674 | if ( token == STRING || token == CHAR && token_string[0] != ',' ) | ^ | ( ) user_menu.c:741:14: warning: enumeration value 'KEYWORD' not handled in switch [-Wswitch] 741 | switch ( token ) { | ^~~~~ user_menu.c:741:14: note: add missing switch cases 741 | user_functs.c : switch ( token ) { | ^ 742 | cas53:e22 :E Owarning: La 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] : 743 | 53c | ontinue; struct pass744 | wd *p, c*agsetpwnam(); | ^ e/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/pwd.h :101:16: note: conflicting prototype is here S T101R | struct passwd *getpwInaNmG(:c onst ch 745 | fprar *); | ^ intf(stderr, "Unexpected String \"%s\" in \"%s\" at line %d.\n", 746 | token_string, configname, line ); 747 | Quser_functs.c:64:37: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 64 | UIT_APP(); 748 | cas e iCfH(A*Rb:u f && (749p | = g e t pfwpnraimn(tbfu(stderrf,) )" U=n=e x'p\e0c't)e d/ *C hfaracter `%c' in \ind correct ho"me */ | ^~~~ | (void *)0%s\" at line %d.\n", 750 | token_string[0], configname, line ); 751 | QUIT_APP(); 752 | } user_functs.c:37:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | void expand_tilder(text) /* expand in-situ in twiddle */ | ^ user_menu.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | read_user_menus(parent, rc, name) | ^ In file included from user_menu.c:139: ./xbmbrowser.h:252:14: 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] 252 | extern void read_user_menus(); | ^ user_functs.c:115:22: warning: passing arguments to 'toggle_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | toggle_option(recur_opt, &app_data.recursive, NULL); /* fake it */ | ^ user_functs.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | change_dir(dir) | ^ In file included from user_functs.c:23: ./xbmbrowser.h:228: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] 228 | extern void change_dir(); /* change the directory to that given */ | ^ user_functs.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | exec_string(command) | ^ In file included from user_functs.c:23: ./xbmbrowser.h:229: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] 229 | extern void exec_string(); /* execute the string given */ | ^ user_functs.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | user_ok(widget, client_data, call_data ) | ^ user_functs.c:150:17: 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] 150 | static void user_ok(); | ^ user_functs.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | user_cancel(widget, client_data, call_data ) | ^ user_functs.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | setup_dialog(prompt, value) | ^ user_functs.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | user_confirm(prompt) | ^ In file included from user_functs.c:23: ./xbmbrowser.h:230: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] 230 | extern void user_confirm(); /* ask the user for confirmation */ | ^ user_functs.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | input_string(prompt, initial) | ^ In file included from user_functs.c:23: ./xbmbrowser.h:231: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] 231 | extern void input_string(); /* input a string from the user */ | ^ 16 warnings generated. clang -pipe -Os -I/opt/pkg/include -DNDEBUG -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBRARY_RC=\"/opt/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/opt/pkg/include/X11 -I/opt/pkg/include -c -o IconLabel.o IconLabel.c 10 warnings generated. IconLabel.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | GetGCs(ilw) | ^ IconLabel.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | ReleaseGCs(ilw) | ^ IconLabel.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | SetPixmapDimensions(ilw) | ^ IconLabel.c:226:16: warning: unused variable 'nl' [-Wunused-variable] 226 | char *nl; | ^~ IconLabel.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | SetLabelDimensions(ilw) | ^ IconLabel.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | PreferredWidth(ilw) | ^ IconLabel.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | PreferredHeight(ilw) | ^ IconLabel.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | SetWindowShape(ilw) | ^ IconLabel.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | PositionParts(ilw, width, height) | ^ IconLabel.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | Initialize(req, new, args, num_args) | ^ IconLabel.c:47:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static void Initialize(); | ^ IconLabel.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | Realize(w, valueMask, attributes) | ^ IconLabel.c:48:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static void Realize(); | ^ IconLabel.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | Redisplay(w, event, region) | ^ IconLabel.c:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static void Redisplay(); | ^ IconLabel.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | Resize(w) | ^ IconLabel.c:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static void Resize(); | ^ IconLabel.c:510:18: warning: unused variable 'ilwp_req' [-Wunused-variable] 510 | IconLabelPart *ilwp_req = &((IconLabelWidget)req)->icon_label; | ^~~~~~~~ IconLabel.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | SetValues(cur, req, new, args, num_args) | ^ IconLabel.c:51: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] 51 | static Boolean SetValues(); | ^ IconLabel.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | QueryGeometry(w, intended, preferred) | ^ IconLabel.c:53:25: 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] 53 | static XtGeometryResult QueryGeometry(); | ^ IconLabel.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | Destroy(w) | ^ IconLabel.c:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static void Destroy(); | ^ IconLabel.c:655:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | void SetInfoPtr(w, info_ptr) | ^ IconLabel.c:667:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | XPointer GetInfoPtr(w) | ^ 26 warnings generated. rm -f xbmbrowser clang -o xbmbrowser -pipe -Os -I/opt/pkg/include -DNDEBUG -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib xbmbrowser.o images.o callbacks.o misc.o user_menu.o user_functs.o IconLabel.o -lXpm -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 ld: warning: ignoring duplicate libraries: '-lXpm' rm -f xbmbrowser._man if test -z "" ; then \ cd `dirname xbmbrowser` && \ ln -s `basename xbmbrowser.man` `basename xbmbrowser._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" \ < xbmbrowser.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/\@\@$/\\/' >xbmbrowser._man; \ fi DIVIDING COLOR AD "XbmBrowser-color.ad.sed" ==> "XbmBrowser.ad.sed" SED SUBSTITUTIONS "XbmBrowser-color.ad.sed" ==> "XbmBrowser-color.ad" SED SUBSTITUTIONS "xbmbrowser.menu.sed" ==> "xbmbrowser.menu" SED SUBSTITUTIONS "xbmbrowser.menu.tut.sed" ==> "xbmbrowser.menu.tut" SED SUBSTITUTIONS "XbmBrowser.ad.sed" ==> "XbmBrowser.ad"