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 xbmbrowser.c:223:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(1); ^ xbmbrowser.c:223:3: note: include the header or explicitly provide a declaration for 'exit' xbmbrowser.c:227:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int xbmbrowser.c:280:35: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) strcpy(home_dir, getenv("HOME")); ^ xbmbrowser.c:333:7: warning: call to undeclared function 'read_user_menus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] read_user_menus(toplevel, rc, app_data.cmd_rc); ^ xbmbrowser.c:346:7: warning: call to undeclared function 'read_user_menus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] read_user_menus(toplevel, rc, rcfile); ^ xbmbrowser.c:352:7: warning: call to undeclared function 'read_user_menus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] read_user_menus(toplevel, rc, app_data.library_rc); ^ xbmbrowser.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 7 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 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] free_item(item) ^ In file included from images.c:24: ./xbmbrowser.h:234:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern 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 C2x [-Wdeprecated-non-prototype] free_list(list) ^ In file included from images.c:24: ./xbmbrowser.h:235:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void free_list(); /* free a list of items */ ^ images.c:167:9: warning: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] abort(); ^ images.c:167:9: note: include the header or explicitly provide a declaration for 'abort' images.c:170:32: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] widget_array = (Widget *)realloc(widget_array, n * sizeof(Widget) ); ^ images.c:170:32: note: include the header or explicitly provide a declaration for 'realloc' images.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocate_widgets( n ) ^ images.c:224:51: warning: '&&' within '||' [-Wlogical-op-parentheses] ( app_data.label_syms || IsDirItem(item) && app_data.label_dirs ) ); ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ images.c:224:51: note: place parentheses around the '&&' expression to silence this warning ( 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 C2x [-Wdeprecated-non-prototype] assign_widget(item) ^ images.c:320:45: warning: '/*' within block comment [-Wcomment] ** item->fname, c, i ); /**/ ^ images.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_image(item) ^ images.c:521:14: warning: enumeration values 'Xbm', 'Xpm', and 'NumFileTypes' not handled in switch [-Wswitch] switch ( item->type ) { ^~~~~~~~~~ images.c:521:14: note: add missing switch cases switch ( item->type ) { ^ images.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_item(item) ^ images.c:593:33: warning: '/*' within block comment [-Wcomment] /* *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 C2x [-Wdeprecated-non-prototype] merge_item(item) ^ images.c:622:14: warning: unused variable 'item' [-Wunused-variable] Item *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] rescan_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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] redisplay_images(unmap) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void redisplay_images(); /* just redisplay all images - fast */ ^ images.c:54:11: warning: unused variable 'invert_pixmaps_gc' [-Wunused-variable] static GC invert_pixmaps_gc = None; ^ 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 callbacks.o callbacks.c callbacks.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_name(widget, event) ^ In file included from callbacks.c:16: ./xbmbrowser.h:208:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern 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 C2x [-Wdeprecated-non-prototype] set_label(widget, event) ^ In file included from callbacks.c:16: ./xbmbrowser.h:209:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern 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 C2x [-Wdeprecated-non-prototype] rescan(widget, client_data, call_data ) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] scan(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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] dir_return(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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] dir_menu(widget, client_data, call_data ) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] pos_dir(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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] toggle_option(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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] popup_user_menu(widget, event) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void popup_user_menu(); /* menu popup over icon or symbol */ ^ 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 misc.o misc.c misc.c:80:13: warning: call to undeclared function 'XmuCreateStippledPixmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] stipple = XmuCreateStippledPixmap( ^ misc.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] check_file_time(file) ^ In file included from misc.c:19: ./xbmbrowser.h:248:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern time_t check_file_time(); /* check if a file was modified */ ^ 6 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 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] menu_item_handler(widget, client_data, call_data) ^ user_menu.c:388:45: warning: '/*' within block comment [-Wcomment] /* 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 C2x [-Wdeprecated-non-prototype] unget( c ) ^ user_menu.c:512:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ user_menu.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_menu(parent) ^ user_menu.c:674:45: warning: '&&' within '||' [-Wlogical-op-parentheses] if ( token == STRING || token == CHAR && token_string[0] != ',' ) ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ user_menu.c:674:45: note: place parentheses around the '&&' expression to silence this warning if ( token == STRING || token == CHAR && token_string[0] != ',' ) ^ ( ) user_menu.c:741:14: warning: enumeration value 'KEYWORD' not handled in switch [-Wswitch] switch ( token ) { ^~~~~ user_menu.c:741:14: note: add missing switch cases switch ( token ) { ^ user_menu.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_user_menus(parent, rc, name) ^ 9 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_functs.c:33:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(0); ^ user_functs.c:33:3: note: include the header or explicitly provide a declaration for 'exit' user_functs.c:53:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] struct passwd *p, *getpwnam(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/pwd.h:101:16: note: conflicting prototype is here struct passwd *getpwnam(const char *); ^ user_functs.c:64:37: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] if(*buf && (p = getpwnam(buf)) == '\0') /* find correct home */ ^~~~ (void *)0 user_functs.c:37:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void expand_tilder(text) /* expand in-situ in twiddle */ ^ 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] change_dir(dir) ^ In file included from user_functs.c:23: ./xbmbrowser.h:226:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void change_dir(); /* change the directory to that given */ ^ user_functs.c:132:3: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] system(command); ^ user_functs.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exec_string(command) ^ In file included from user_functs.c:23: ./xbmbrowser.h:227:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] user_confirm(prompt) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] input_string(prompt, initial) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void input_string(); /* input a string from the user */ ^ 18 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 IconLabel.c:170:23: warning: call to undeclared function 'XmuCreateStippledPixmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] values.tile = XmuCreateStippledPixmap( XtScreen((Widget)ilw), ^ IconLabel.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGCs(ilw) ^ IconLabel.c:187:3: warning: call to undeclared function 'XmuReleaseStippledPixmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XmuReleaseStippledPixmap( XtScreen((Widget)ilw), ilw->icon_label.stipple ); ^ IconLabel.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReleaseGCs(ilw) ^ IconLabel.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetPixmapDimensions(ilw) ^ IconLabel.c:225:16: warning: unused variable 'nl' [-Wunused-variable] char *nl; ^ IconLabel.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetLabelDimensions(ilw) ^ IconLabel.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PreferredWidth(ilw) ^ IconLabel.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PreferredHeight(ilw) ^ IconLabel.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetWindowShape(ilw) ^ IconLabel.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PositionParts(ilw, width, height) ^ IconLabel.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize(req, new, args, num_args) ^ IconLabel.c:46:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ IconLabel.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Realize(w, valueMask, attributes) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(); ^ IconLabel.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(); ^ IconLabel.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize(w) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Resize(); ^ IconLabel.c:509:18: warning: unused variable 'ilwp_req' [-Wunused-variable] IconLabelPart *ilwp_req = &((IconLabelWidget)req)->icon_label; ^ IconLabel.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues(cur, req, new, args, num_args) ^ IconLabel.c:50:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ IconLabel.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryGeometry(w, intended, preferred) ^ IconLabel.c:52:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ IconLabel.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy(w) ^ IconLabel.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); ^ IconLabel.c:654:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SetInfoPtr(w, info_ptr) ^ IconLabel.c:666:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XPointer GetInfoPtr(w) ^ 28 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.ad.sed" ==> "XbmBrowser.ad" 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"