===> Building for DWB-20150517nb1 CXX=clang++ LEX=lex ./cfgr C++ compiler: /Users/pbulk/build/textproc/DWB/work/.cwrapper/bin/clang++ Lexer: /Users/pbulk/build/textproc/DWB/work/.tools/bin/lex ---- Making all in directory doc/pub ---- ---- Making all in directory doc/pub.att ---- ---- Making all in directory index/deroff ---- clang -pipe -Os -L/opt/pkg/lib -o deroff deroff.c deroff.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(ac, av) ^ int deroff.c:97:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register optchar; ~~~~~~~~ ^ int deroff.c:102:20: warning: call to undeclared function 'getflags'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while ((optchar = getflags(argc, argv, "wnpm:l:")) != EOF) switch(optchar) { ^ deroff.c:130:3: warning: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fatal("usage: deroff [-n] [ -w ] [ -mm [-li(-ml)|+li ]| ms] ] [ file ] ... \n", (char *) NULL); ^ deroff.c:134:15: warning: passing arguments to 'opn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] infile = opn(argv[optind++]); ^ deroff.c:151:2: warning: call to undeclared function 'work'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] work(); ^ deroff.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] main(ac, av) ^ deroff.c:159:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skeqn() ^ int deroff.c:164:8: warning: call to undeclared function 'eof'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] c = eof(); ^ deroff.c:168:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(c == EOF) ^ deroff.c:186:3: warning: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fatal("Cannot open file %s\n", p); ^ deroff.c:180:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILE *opn(p) ^ deroff.c:195:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] eof() ^ int deroff.c:243:18: warning: passing arguments to 'copys' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] q->datap = copys(fname); ^ deroff.c:250:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fatal(s,p) ^ int deroff.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] deroff.c:258:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] work() ^ int deroff.c:266:4: warning: call to undeclared function 'regline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] regline(NO,TWO); ^ deroff.c:273:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] regline(macline,constant) ^ int deroff.c:305:4: warning: call to undeclared function 'putmac'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] putmac(line,constant); ^ deroff.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regline(macline,constant) ^ deroff.c:310:1: warning: non-void function does not return a value [-Wreturn-type] } ^ deroff.c:315:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] putmac(s,constant) ^ int deroff.c:320:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register found; ~~~~~~~~ ^ int deroff.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putmac(s,constant) ^ deroff.c:350:1: warning: non-void function does not return a value [-Wreturn-type] } ^ deroff.c:414:4: warning: call to undeclared function 'stbl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] stbl(); ^ deroff.c:416:8: warning: call to undeclared function 'tbl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] else tbl(); ^ deroff.c:605:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] tbl() ^ int deroff.c:610:1: warning: non-void function does not return a value [-Wreturn-type] } ^ deroff.c:611:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] stbl() ^ int deroff.c:620:1: warning: non-void function does not return a value [-Wreturn-type] } ^ deroff.c:750:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *copys(s) ^ deroff.c:838:16: warning: while loop has empty body [-Wempty-body] else { SKIP; c='\n'; continue;} ^ deroff.c:838:16: note: put the semicolon on a separate line to silence this warning deroff.c:842:16: warning: while loop has empty body [-Wempty-body] else { SKIP; c='\n';continue; } ^ deroff.c:842:16: note: put the semicolon on a separate line to silence this warning deroff.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getflags(argc, argv, opts) ^ 36 warnings generated. ---- Making all in directory index/mptx ---- ---- Making all in directory index/ndx ---- cp ndx.sh ndx; chmod 755 ndx clang -pipe -Os -DBSD4_2 -c case.c case.c:18:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ulcase (string) ^ int case.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 2 warnings generated. lex ndexer.l clang -pipe -Os -DBSD4_2 -c -o ndexer.o lex.yy.c ndexer.l:130:2: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:134:25: warning: passing arguments to 'find_word' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w_ptr = find_word (wlist, yytext); ^ ndexer.l:136:7: warning: call to undeclared function 'w_activate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] w_activate (w_ptr, 'L'); /*lit match*/ ^ ndexer.l:139:15: warning: call to undeclared function 'ulcase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (ulcase (lc_token)) ^ ndexer.l:140:26: warning: passing arguments to 'find_word' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] {w_ptr = find_word (wlist, lc_token); ^ ndexer.l:146:7: warning: call to undeclared function 'ulcase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ulcase (root_token); ^ ndexer.l:147:18: warning: call to undeclared function 'rootword'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] root_token[rootword(root_token)] = '\0'; ^ ndexer.l:148:7: warning: call to undeclared function 'match_roots'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] match_roots (wlist, root_token); ^ ndexer.l:151:2: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:155:10: warning: call to undeclared function 'subj_search'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {subj_search (); ^ ndexer.l:156:10: warning: call to undeclared function 'write_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write_context (); ^ ndexer.l:157:10: warning: call to undeclared function 'wri_subjmacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] wri_subjmacro (); ^ ndexer.l:158:10: warning: call to undeclared function 'return_lists'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return_lists (); ^ ndexer.l:161:11: warning: call to undeclared function 'init_vars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {init_vars (); ^ ndexer.l:170:2: warning: call to undeclared function 'flush_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:174:2: warning: call to undeclared function 'flush_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:178:2: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:181:10: warning: call to undeclared function 'flush_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:185:2: warning: call to undeclared function 'flush_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:188:2: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:191:2: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {copy_in (yytext); /*footnote label*/ ^ ndexer.l:193:2: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {copy_in (yytext); /*font change*/ ^ ndexer.l:195:2: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {copy_in (yytext); /*size change*/ ^ ndexer.l:197:2: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {copy_in (yytext); /*escape seq*/ ^ ndexer.l:199:2: warning: call to undeclared function 'flush_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:207:2: warning: call to undeclared function 'flush_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:210:2: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {copy_in(yytext); ^ ndexer.l:212:2: warning: call to undeclared function 'flush_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:213:5: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] copy_in(yytext); ^ ndexer.l:215:2: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:218:2: warning: call to undeclared function 'flush_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:226:2: warning: call to undeclared function 'flush_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:234:2: warning: call to undeclared function 'flush_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {flush_context(); ^ ndexer.l:241:2: warning: call to undeclared function 'copy_in'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:254:8: warning: call to undeclared function 'init_subj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] init_subj (s_count);} ^ ndexer.l:262:8: warning: call to undeclared function 'build_subj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] build_subj (fsec);} ^ ndexer.l:272:9: warning: call to undeclared function 'build_subj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] build_subj (fsec); ^ ndexer.l:282:9: warning: call to undeclared function 'build_subj'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] build_subj (fsec); ^ ndexer.l:292:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] init_subj (subjno) ^ int ndexer.l:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ndexer.l:304:23: warning: non-void function does not return a value [-Wreturn-type] subject->nxts = NULL;} ^ ndexer.l:308:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] print_subj() /*For debugging, prints internal subj list*/ ^ int ndexer.l:319:47: warning: format specifies type 'int' but the argument has type 'struct s_ele *' [-Wformat] subject->type, subject->ckd, subject->id, subject->sec); ^~~~~~~~~~~~ ndexer.l:324:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:338:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] build_subj ( flag) ^ int ndexer.l:352:22: warning: passing arguments to 'word_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlist = word_insert (wlist, growth, newnode); ^ ndexer.l:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] build_subj ( flag) ^ ndexer.l:366:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:372:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct word *word_insert (tree, growth, nunode) ^ ndexer.l:499:24: warning: passing arguments to 'rootword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wd->rootp = rootword (token); ^ ndexer.l:521:27: warning: call to undeclared function 's_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while ((s != NULL) && (s_match(subject, s) == FALSE)) ^ ndexer.l:528:3: warning: call to undeclared function 'w_update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] w_update (slist); /*update all words in this subj*/ ^ ndexer.l:538:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] s_match (subj1, subj2) ^ int ndexer.l:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ndexer.l:563:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] w_update (s) ^ int ndexer.l:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ndexer.l:585:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:592:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] prnt_slist () ^ int ndexer.l:601:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:604:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] printtree (tree, c) ^ int ndexer.l:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ndexer.l:614:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:623:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] w_activate (w_ptr, m_type) ^ int ndexer.l:631:13: warning: call to undeclared function 'already_act'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {if ((i = already_act (w_ptr)) != -1) ^ ndexer.l:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] w_activate (w_ptr, m_type) ^ ndexer.l:644:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:649:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int already_act (wptr) ^ ndexer.l:655:47: warning: multiple unsequenced modifications to 'i' [-Wunsequenced] for (i = head[new_c]; i != tail[new_c]; i = (++i) MOD MAXACTIVE) ~ ^ ndexer.l:663:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] match_roots (tree, root) ^ int ndexer.l:671:20: warning: passing arguments to 'find_root' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r_ptr = find_root (tree, root); ^ ndexer.l:675:10: warning: call to undeclared function 'min'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (min (r_ptr->rootp, len) < 4) ^ ndexer.l:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] match_roots (tree, root) ^ ndexer.l:684:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:706:16: warning: call to undeclared function 'min'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] nchars = min (wptr->rootp, len); ^ ndexer.l:689:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct word *find_root (tree, token) /*is token a leading substring of a ^ ndexer.l:116:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] struct word *find_root (); ^ ndexer.l:729:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] subj_search() ^ int ndexer.l:793:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:798:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] copy_in (text) /*copies a string to the context buf*/ ^ int ndexer.l:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ndexer.l:806:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:811:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct word *find_word (tree, token) ^ ndexer.l:114:14: 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] struct word *find_word (); ^ ndexer.l:833:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] flush_context () ^ int ndexer.l:837:4: warning: call to undeclared function 'write_context'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write_context (); ^ ndexer.l:838:4: warning: call to undeclared function 'wri_subjmacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] wri_subjmacro (); ^ ndexer.l:839:4: warning: call to undeclared function 'return_lists'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return_lists (); ^ ndexer.l:842:2: warning: call to undeclared function 'init_vars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] init_vars (); ^ ndexer.l:843:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:846:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] write_context () ^ int ndexer.l:864:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:869:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] wri_subjmacro () /*write subj indexing macros to pagefile and*/ ^ int ndexer.l:883:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:888:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] return_lists () ^ int ndexer.l:895:48: warning: multiple unsequenced modifications to 'i' [-Wunsequenced] for ( i = head[old_c]; i != tail[old_c]; i = (++i) MOD MAXACTIVE) ~ ^ ndexer.l:900:48: warning: multiple unsequenced modifications to 'i' [-Wunsequenced] for (i = head[new_c]; i != tail[new_c]; i = (++i) MOD MAXACTIVE) ~ ^ ndexer.l:903:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:908:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] init_vars () ^ int ndexer.l:921:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:929:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] min (i, j) ^ int ndexer.l:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ndexer.l:942:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ndx_text (pfname) ^ int ndexer.l:947:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *tmpnam (); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:191:7: note: conflicting prototype is here char *tmpnam(char *); ^ ndexer.l:949:2: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] tmpnam (tmpbuf); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:189:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ ndexer.l:942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ndx_text (pfname) ^ ndexer.l:954:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:956:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] yywrap () ^ int ndexer.l:991:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main (argc,argv) ^ int ndexer.l:991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 109 warnings generated. rm -f lex.yy.c clang -pipe -Os -DBSD4_2 -c rootwd.c In file included from rootwd.c:13: ./ehash.h:133:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] egetd() ^ int ./ehash.h:141:15: 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] (*ptr->fun)(pp->entry, 0, pp); ^ ./ehash.h:146:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./ehash.h:150:31: warning: parameter 'aapr2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] aahash(s, ex, aatsize, aapr1, aapr2, tbl, data) ^ ./ehash.h:150:24: warning: parameter 'aapr1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] aahash(s, ex, aatsize, aapr1, aapr2, tbl, data) ^ ./ehash.h:150:15: warning: parameter 'aatsize' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] aahash(s, ex, aatsize, aapr1, aapr2, tbl, data) ^ ./ehash.h:150:11: warning: parameter 'ex' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] aahash(s, ex, aatsize, aapr1, aapr2, tbl, data) ^ ./ehash.h:159:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *cp++) ~~^~~~~~~ ./ehash.h:159:11: note: place parentheses around the assignment to silence this warning while (c = *cp++) ^ ( ) ./ehash.h:159:11: note: use '==' to turn this assignment into an equality comparison while (c = *cp++) ^ == ./ehash.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] aahash(s, ex, aatsize, aapr1, aapr2, tbl, data) ^ ./ehash.h:189:10: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] able(a0, a1, ptr) ^ ./ehash.h:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] able(a0, a1, ptr) ^ ./ehash.h:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char able(); ^ ./ehash.h:202:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ace(a0, a1, ptr) ^ ./ehash.h:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ace(a0, a1, ptr) ^ ./ehash.h:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ace(); ^ ./ehash.h:215:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] age(a0, a1, ptr) ^ ./ehash.h:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] age(a0, a1, ptr) ^ ./ehash.h:24:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char age(); ^ ./ehash.h:228:10: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ance(a0, a1, ptr) ^ ./ehash.h:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ance(a0, a1, ptr) ^ ./ehash.h:26:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ance(); ^ ./ehash.h:241:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ant(a0, a1, ptr) ^ ./ehash.h:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ant(a0, a1, ptr) ^ ./ehash.h:28:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ant(); ^ ./ehash.h:254:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cal(a0, a1, ptr) ^ ./ehash.h:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cal(a0, a1, ptr) ^ ./ehash.h:30:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char cal(); ^ ./ehash.h:267:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cle(a0, a1, ptr) ^ ./ehash.h:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cle(a0, a1, ptr) ^ ./ehash.h:32:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char cle(); ^ ./ehash.h:280:8: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ee(a0, a1, ptr) ^ ./ehash.h:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ee(a0, a1, ptr) ^ ./ehash.h:34:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ee(); ^ ./ehash.h:293:10: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ence(a0, a1, ptr) ^ ./ehash.h:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ence(a0, a1, ptr) ^ ./ehash.h:36:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ence(); ^ ./ehash.h:306:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ess(a0, a1, ptr) ^ ./ehash.h:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ess(a0, a1, ptr) ^ ./ehash.h:38:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ess(); ^ ./ehash.h:319:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] est(a0, a1, ptr) ^ ./ehash.h:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] est(a0, a1, ptr) ^ ./ehash.h:40:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char est(); ^ ./ehash.h:332:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ful(a0, a1, ptr) ^ ./ehash.h:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ful(a0, a1, ptr) ^ ./ehash.h:42:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ful(); ^ ./ehash.h:345:10: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ible(a0, a1, ptr) ^ ./ehash.h:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ible(a0, a1, ptr) ^ ./ehash.h:44:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ible(); ^ ./ehash.h:358:8: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ic(a0, a1, ptr) ^ ./ehash.h:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ic(a0, a1, ptr) ^ ./ehash.h:46:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ic(); ^ ./ehash.h:371:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ice(a0, a1, ptr) ^ ./ehash.h:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ice(a0, a1, ptr) ^ ./ehash.h:48:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ice(); ^ ./ehash.h:384:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ion(a0, a1, ptr) ^ ./ehash.h:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ion(a0, a1, ptr) ^ ./ehash.h:50:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ion(); ^ ./ehash.h:397:11: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ional(a0, a1, ptr) ^ ./ehash.h:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ional(a0, a1, ptr) ^ ./ehash.h:52:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ional(); ^ ./ehash.h:410:8: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] is(a0, a1, ptr) ^ ./ehash.h:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is(a0, a1, ptr) ^ ./ehash.h:54:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char is(); ^ ./ehash.h:423:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ish(a0, a1, ptr) ^ ./ehash.h:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ish(a0, a1, ptr) ^ ./ehash.h:56:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ish(); ^ ./ehash.h:436:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ist(a0, a1, ptr) ^ ./ehash.h:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ist(a0, a1, ptr) ^ ./ehash.h:58:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ist(); ^ ./ehash.h:449:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ite(a0, a1, ptr) ^ ./ehash.h:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ite(a0, a1, ptr) ^ ./ehash.h:60:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ite(); ^ ./ehash.h:462:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ive(a0, a1, ptr) ^ ./ehash.h:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ive(a0, a1, ptr) ^ ./ehash.h:62:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ive(); ^ ./ehash.h:475:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ize(a0, a1, ptr) ^ ./ehash.h:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ize(a0, a1, ptr) ^ ./ehash.h:64:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ize(); ^ ./ehash.h:488:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lar(a0, a1, ptr) ^ ./ehash.h:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lar(a0, a1, ptr) ^ ./ehash.h:66:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char lar(); ^ ./ehash.h:501:10: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] less(a0, a1, ptr) ^ ./ehash.h:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] less(a0, a1, ptr) ^ ./ehash.h:68:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char less(); ^ ./ehash.h:514:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] man(a0, a1, ptr) ^ ./ehash.h:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] man(a0, a1, ptr) ^ ./ehash.h:70:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char man(); ^ ./ehash.h:527:10: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ment(a0, a1, ptr) ^ ./ehash.h:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ment(a0, a1, ptr) ^ ./ehash.h:72:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ment(); ^ ./ehash.h:540:10: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ness(a0, a1, ptr) ^ ./ehash.h:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ness(a0, a1, ptr) ^ ./ehash.h:74:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ness(); ^ ./ehash.h:553:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ous(a0, a1, ptr) ^ ./ehash.h:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ous(a0, a1, ptr) ^ ./ehash.h:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ous(); ^ ./ehash.h:566:10: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ship(a0, a1, ptr) ^ ./ehash.h:566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ship(a0, a1, ptr) ^ ./ehash.h:78:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ship(); ^ ./ehash.h:579:8: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ss(a0, a1, ptr) ^ ./ehash.h:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ss(a0, a1, ptr) ^ ./ehash.h:80:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ss(); ^ ./ehash.h:592:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ure(a0, a1, ptr) ^ ./ehash.h:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ure(a0, a1, ptr) ^ ./ehash.h:82:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ure(); ^ ./ehash.h:605:8: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] us(a0, a1, ptr) ^ ./ehash.h:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] us(a0, a1, ptr) ^ ./ehash.h:84:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char us(); ^ ./ehash.h:618:9: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ing(a0, a1, ptr) ^ ./ehash.h:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ing(a0, a1, ptr) ^ ./ehash.h:86:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ing(); ^ ./ehash.h:631:8: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ed(a0, a1, ptr) ^ ./ehash.h:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ed(a0, a1, ptr) ^ ./ehash.h:88:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char ed(); ^ rootwd.c:29:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] rootword (token) ^ int rootwd.c:41:6: warning: call to undeclared function 'string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (string (token, TOKSIZE)) /*if token is a string*/ { ^ rootwd.c:48:13: warning: call to undeclared function 'except'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (except(ed, token, len, 2)); ^ rootwd.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rootword (token) ^ rootwd.c:166:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] except (endg, token, len, end) ^ int rootwd.c:176:2: warning: call to undeclared function 'strn_rev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strn_rev (token, rtok, (len - end)); /*reverse string minus ending*/ ^ rootwd.c:179:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] found = (*endg) (rtok, 1, 0); /*check except list*/ ^ rootwd.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] except (endg, token, len, end) ^ 122 warnings generated. clang -pipe -Os -DBSD4_2 -c space.c clang -pipe -Os -DBSD4_2 -c str.c str.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string (token, max) ^ 1 warning generated. clang -pipe -Os -DBSD4_2 -c strr.c strr.c:19:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] strn_rev (str, rstr, n) ^ int strr.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] strr.c:35:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 3 warnings generated. clang -pipe -Os -DBSD4_2 -L/opt/pkg/lib case.o ndexer.o rootwd.o space.o str.o strr.o -o ndexer clang -pipe -Os -DBSD4_2 -L/opt/pkg/lib -o ndxformat ndxformat.c ndxformat.c:11:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main() ^ int 1 warning generated. clang -pipe -Os -DBSD4_2 -L/opt/pkg/lib -o pages pages.c pages.c:20:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int pages.c:37:3: warning: call to undeclared function 'procnosect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] procnosect(); ^ pages.c:40:3: warning: call to undeclared function 'procsect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] procsect(); ^ pages.c:20: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) ^ pages.c:47:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] procnosect() ^ int pages.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] procsect() ^ int 6 warnings generated. clang -pipe -Os -DBSD4_2 -L/opt/pkg/lib -o sbjprep sbjprep.c sbjprep.c:16:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int sbjprep.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 2 warnings generated. ---- Making all in directory index/ptx ---- clang -pipe -Os -L/opt/pkg/lib -o ptx ptx.c ptx.c:82:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc,argv) ^ int ptx.c:125:6: warning: call to undeclared function 'diag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] diag("Wrong width:",*optarg); ^ ptx.c:173:5: warning: call to undeclared function 'diag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] diag("Too many filenames", empty); ^ ptx.c:210:4: warning: call to undeclared function 'diag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] diag("Cannot open break char file",bfile); ^ ptx.c:223:3: warning: call to undeclared function 'diag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] diag("Out of memory space",empty); ^ ptx.c:232:7: warning: call to undeclared function 'storeh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(storeh(hash(strtbufp,bufp),strtbufp)) ^ ptx.c:232:14: warning: call to undeclared function 'hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(storeh(hash(strtbufp,bufp),strtbufp)) ^ ptx.c:247:13: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] sortfile = mktemp("/tmp/ptxsXXXXX"); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:210:1: note: 'mktemp' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ ptx.c:260:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(pend=dwb_getline()) ~~~~^~~~~~~~~~~~~~ ptx.c:260:12: note: place parentheses around the assignment to silence this warning while(pend=dwb_getline()) ^ ( ) ptx.c:260:12: note: use '==' to turn this assignment into an equality comparison while(pend=dwb_getline()) ^ == ptx.c:261:3: warning: call to undeclared function 'cmpline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cmpline(pend); ^ ptx.c:280:2: warning: call to undeclared function 'getsort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] getsort(); ^ ptx.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] main(argc,argv) ^ ptx.c:290:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] diag(s,arg) ^ int ptx.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptx.c:302:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register c; ~~~~~~~~ ^ int ptx.c:335:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cmpline(pend) ^ int ptx.c:356:17: warning: call to undeclared function 'hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] hp = &hasht[hash(pstrt,pchar)]; ^ ptx.c:358:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *hp++){ ~~~^~~~~~~ ptx.c:358:14: note: place parentheses around the assignment to silence this warning while(cp = *hp++){ ^ ( ) ptx.c:358:14: note: use '==' to turn this assignment into an equality comparison while(cp = *hp++){ ^ == ptx.c:362:9: warning: call to undeclared function 'cmpword'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(cmpword(pstrt,pchar,cp)){ ^ ptx.c:365:8: warning: call to undeclared function 'putline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] putline(pstrt,pend); ^ ptx.c:373:7: warning: call to undeclared function 'putline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] putline(pstrt,pend); ^ ptx.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmpline(pend) ^ ptx.c:380:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ptx.c:382:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cmpword(cpp,pend,hpp) ^ int ptx.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptx.c:396:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] putline(strt, end) ^ int ptx.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptx.c:410:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ptx.c:412:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] getsort() ^ int ptx.c:414:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register c; ~~~~~~~~ ^ int ptx.c:443:15: warning: passing arguments to 'rtrim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p3b = rtrim(p3a=line,tilde,halflen-1); ^ ptx.c:446:15: warning: passing arguments to 'ltrim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p2a = ltrim(ref,p2b=linep,halflen-1); ^ ptx.c:449:15: warning: passing arguments to 'rtrim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p1b = rtrim(p1a=p3b+(isspace(p3b[0])!=0),tilde, ^ ptx.c:453:15: warning: passing arguments to 'ltrim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p4a = ltrim(ref,p4b=p2a-(isspace(p2a[-1])!=0), ^ ptx.c:458:4: warning: call to undeclared function 'putout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] putout(p1a,p1b); ^ ptx.c:490:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ptx.c:492:17: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] char *rtrim(a,c,d) ^ ptx.c:492:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *rtrim(a,c,d) ^ ptx.c:505:17: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] char *ltrim(c,b,d) ^ ptx.c:505:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *ltrim(c,b,d) ^ ptx.c:518:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] putout(strt,end) ^ int ptx.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptx.c:528:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ptx.c:538:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] hash(strtp,endp) ^ int ptx.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ptx.c:565:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] storeh(num,strtp) ^ int ptx.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 47 warnings generated. ---- Making all in directory index/subj ---- cp subj.sh subj; chmod 755 subj cp parts.sh parts; chmod 755 parts lex sbj1.l clang -pipe -Os -c -o sbj1.o lex.yy.c sbj1.l:53:3: warning: call to undeclared function 'skip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] { skip ('E');} ^ sbj1.l:54:2: warning: call to undeclared function 'skip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {skip ('T');} ^ sbj1.l:55:2: warning: call to undeclared function 'skip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {skip ('P');} ^ sbj1.l:56:2: warning: call to undeclared function 'skip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {skip ('G');} ^ sbj1.l:57:2: warning: call to undeclared function 'skip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {skip ('F');} ^ sbj1.l:58:2: warning: call to undeclared function 'skip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {skip ('D');} ^ sbj1.l:59:2: warning: call to undeclared function 'skip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {skip ('N');} ^ sbj1.l:60:2: warning: call to undeclared function 'skip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {skip ('L');} ^ sbj1.l:85:7: warning: call to undeclared function 'italic_arg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {italic_arg(); ^ sbj1.l:91:7: warning: call to undeclared function 'italic_arg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] {italic_arg(); ^ sbj1.l:242:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skip (type) ^ int sbj1.l:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sbj1.l:263:1: warning: non-void function does not return a value [-Wreturn-type] } ^ sbj1.l:280:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] italic_arg() ^ int sbj1.l:320:1: warning: non-void function does not return a value [-Wreturn-type] } ^ sbj1.l:326:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main (argc, argv) ^ int sbj1.l:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 17 warnings generated. rm -f lex.yy.c clang -pipe -Os -L/opt/pkg/lib sbj1.o -o sbj1 -lfl ld: library 'fl' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped making "all" in /Users/pbulk/build/textproc/DWB/work/DWB3.3-20150517/index/subj *** Error code 1 Stop. bmake[1]: stopped making "all" in /Users/pbulk/build/textproc/DWB/work/DWB3.3-20150517/index *** Error code 1 Stop. bmake: stopped making "all" in /Users/pbulk/build/textproc/DWB/work/DWB3.3-20150517 *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/DWB *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/DWB