=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/cxref", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for cxref-1.6d cd cpp && /opt/pkg/bin/gmake programs gmake[1]: Entering directory '/home/pbulk/work/devel/cxref/work/cxref-1.6d/cpp' gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include cccp.c -o cccp.o -I. -I. -DIN_GCC \ '-DCXREF_CPP_DEFINES="/opt/pkg/share/cxref/cxref-cpp.defines"' gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include cexp.c -o cexp.o -I. -I. -DIN_GCC cccp.c: In function 'safe_read': cccp.c:1041:1: warning: old-style function definition [-Wold-style-definition] 1041 | safe_read (desc, ptr, len) | ^~~~~~~~~ cccp.c: In function 'safe_write': cccp.c:1090:1: warning: old-style function definition [-Wold-style-definition] 1090 | safe_write (desc, ptr, len) | ^~~~~~~~~~ cccp.c: In function 'eprint_string': cccp.c:1125:1: warning: old-style function definition [-Wold-style-definition] 1125 | eprint_string (string, length) | ^~~~~~~~~~~~~ cccp.c: In function 'main': cccp.c:1216:1: warning: old-style function definition [-Wold-style-definition] 1216 | main (argc, argv) | ^~~~ cccp.c:1319:3: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 1319 | bzero ((char *) pend_files, argc * sizeof (char *)); | ^~~~~ cccp.c:1319:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] cexp.c: In function 'parse_number': cexp.c:2086:1: warning: old-style function definition [-Wold-style-definition] 2086 | parse_number (olen) | ^~~~~~~~~~~~ cccp.c:1959:7: error: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 1959 | bcopy ((char *) include_defaults_array, | ^~~~~ cccp.c:1959:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] cccp.c:2082:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 2082 | bcopy (spec, output_file, s - spec); | ^~~~~ cexp.c: In function 'parse_escape': cexp.c:2519:1: warning: old-style function definition [-Wold-style-definition] 2519 | parse_escape (string_ptr, result_mask) | ^~~~~~~~~~~~ cccp.c:2114:20: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 2114 | p = (char *) alloca (strlen(q) + 8); | ^~~~~~ cccp.c:2114:20: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] cccp.c:2122:14: error: implicit declaration of function 'index' [-Wimplicit-function-declaration] 2122 | && index("cCsSm", p[len - 1])) | ^~~~~ cccp.c:2122:14: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] cexp.c: In function 'left_shift': cexp.c:2624:1: warning: old-style function definition [-Wold-style-definition] 2624 | left_shift (a, b) | ^~~~~~~~~~ cexp.c: In function 'right_shift': cexp.c:2638:1: warning: old-style function definition [-Wold-style-definition] 2638 | right_shift (a, b) | ^~~~~~~~~~~ cexp.c: In function 'parse_c_expression': cexp.c:2661:1: warning: old-style function definition [-Wold-style-definition] 2661 | parse_c_expression (string, warn_undefined) | ^~~~~~~~~~~~~~~~~~ cccp.c: In function 'path_include': cccp.c:2312:1: warning: old-style function definition [-Wold-style-definition] 2312 | path_include (path) | ^~~~~~~~~~~~ cccp.c: In function 'index0': cccp.c:2349:1: warning: old-style function definition [-Wold-style-definition] 2349 | index0 (s, c, n) | ^~~~~~ cccp.c:2356:15: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 2356 | char *q = index (p, c); | ^~~~~ cccp.c: In function 'trigraph_pcp': cccp.c:2380:1: warning: old-style function definition [-Wold-style-definition] 2380 | trigraph_pcp (buf) | ^~~~~~~~~~~~ cccp.c:2430:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 2430 | bcopy ((char *) fptr, (char *) bptr, len); | ^~~~~ cccp.c:2438:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 2438 | bcopy ((char *) fptr, (char *) bptr, len); | ^~~~~ cccp.c: In function 'newline_fix': cccp.c:2454:1: warning: old-style function definition [-Wold-style-definition] 2454 | newline_fix (bp) | ^~~~~~~~~~~ cccp.c: In function 'name_newline_fix': cccp.c:2487:1: warning: old-style function definition [-Wold-style-definition] 2487 | name_newline_fix (bp) | ^~~~~~~~~~~~~~~~ cccp.c: In function 'get_lintcmd': cccp.c:2526:1: warning: old-style function definition [-Wold-style-definition] 2526 | get_lintcmd (ibp, limit, argstart, arglen, cmdlen) | ^~~~~~~~~~~ cccp.c:2545:27: error: implicit declaration of function 'bcmp' [-Wimplicit-function-declaration] 2545 | if ((linsize >= 10) && !bcmp (ibp, "NOTREACHED", 10)) { | ^~~~ cccp.c:2545:52: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2545 | if ((linsize >= 10) && !bcmp (ibp, "NOTREACHED", 10)) { | ^~ : note: built-in 'bcmp' declared here cccp.c:2549:49: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2549 | if ((linsize >= 8) && !bcmp (ibp, "ARGSUSED", 8)) { | ^ : note: built-in 'bcmp' declared here cccp.c:2553:53: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2553 | if ((linsize >= 11) && !bcmp (ibp, "LINTLIBRARY", 11)) { | ^~ : note: built-in 'bcmp' declared here cccp.c:2557:48: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2557 | if ((linsize >= 7) && !bcmp (ibp, "VARARGS", 7)) { | ^ : note: built-in 'bcmp' declared here cccp.c: In function 'rescan': cccp.c:2608:1: warning: old-style function definition [-Wold-style-definition] 2608 | rescan (op, output_marks) | ^~~~~~ cccp.c:2736:11: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 2736 | bcopy ((char *) ibp, (char *) obp, ip->bufp - ibp); | ^~~~~ cccp.c:3009:19: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 3009 | bcopy ((char *) before_bp, (char *) obp, ibp - before_bp); | ^~~~~ cccp.c:3062:11: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 3062 | bcopy ("#pragma lint ", (char *) obp, 13); | ^~~~~ cccp.c:3143:11: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 3143 | bcopy ((char *) before_bp, (char *) obp, ibp - before_bp); | ^~~~~ cccp.c: In function 'expand_to_temp_buffer': cccp.c:3679:1: warning: old-style function definition [-Wold-style-definition] 3679 | expand_to_temp_buffer (buf, limit, output_marks, assertions) | ^~~~~~~~~~~~~~~~~~~~~ cccp.c:3697:21: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 3697 | buf1 = (U_CHAR *) alloca (length + 1); | ^~~~~~ cccp.c: In function 'handle_directive': cccp.c:3769:1: warning: old-style function definition [-Wold-style-definition] 3769 | handle_directive (ip, op) | ^~~~~~~~~~~~~~~~ cccp.c:3877:63: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 3877 | if (kt->length == ident_length && !bcmp (kt->name, ident, ident_length)) { | ^~~~~~~~~~~~ : note: built-in 'bcmp' declared here cccp.c:4031:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 4031 | bcopy (kt->name, op->bufp, kt->length); | ^~~~~ cccp.c:4051:25: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 4051 | cp = (U_CHAR *) alloca (bp - buf + 5); /* room for directive plus | ^~~~~~ cccp.c:4171:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 4171 | bcopy (kt->name, (char *) op->bufp, kt->length); | ^~~~~ cccp.c: In function 'special_symbol': cccp.c:4232:1: warning: old-style function definition [-Wold-style-definition] 4232 | special_symbol (hp, op) | ^~~~~~~~~~~~~~ cccp.c:4269:26: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 4269 | buf = (char *) alloca (3 + 4 * string_len); | ^~~~~~ cccp.c:4284:20: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 4284 | buf = (char *) alloca (8); /* Eight bytes ought to be more than enough */ | ^~~~~~ cccp.c:4403:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 4403 | bcopy (buf, (char *) op->bufp, len); | ^~~~~ cccp.c: In function 'do_include': cccp.c:4416:1: warning: old-style function definition [-Wold-style-definition] 4416 | do_include (buf, limit, op, keyword) | ^~~~~~~~~~ cccp.c:4482:26: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 4482 | fbeg = fend = (char *) alloca (limit - fin); | ^~~~~~ cccp.c: In function 'is_system_include': cccp.c:4867:1: warning: old-style function definition [-Wold-style-definition] 4867 | is_system_include (filename) | ^~~~~~~~~~~~~~~~~ cccp.c: In function 'base_name': cccp.c:4882:1: warning: old-style function definition [-Wold-style-definition] 4882 | base_name (fname) | ^~~~~~~~~ cccp.c:4897:12: error: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 4897 | if ((p = rindex (s, '/'))) s = p + 1; | ^~~~~~ cccp.c:4897:12: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] cccp.c:4899:12: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] 4899 | if ((p = rindex (s, DIR_SEPARATOR))) s = p + 1; | ^~~~~~ cccp.c: In function 'absolute_filename': cccp.c:4907:1: warning: old-style function definition [-Wold-style-definition] 4907 | absolute_filename (filename) | ^~~~~~~~~~~~~~~~~ cccp.c: In function 'is_dir_separator': cccp.c:4932:1: warning: old-style function definition [-Wold-style-definition] 4932 | is_dir_separator(ch) | ^~~~~~~~~~~~~~~~ cccp.c: In function 'simplify_filename': cccp.c:4951:1: warning: old-style function definition [-Wold-style-definition] 4951 | simplify_filename (filename) | ^~~~~~~~~~~~~~~~~ cccp.c: In function 'read_filename_string': cccp.c:5037:1: warning: old-style function definition [-Wold-style-definition] 5037 | read_filename_string (ch, f) | ^~~~~~~~~~~~~~~~~~~~ cccp.c: In function 'read_name_map': cccp.c:5070:1: warning: old-style function definition [-Wold-style-definition] 5070 | read_name_map (dirname) | ^~~~~~~~~~~~~ cccp.c:5098:19: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 5098 | name = (char *) alloca (dirlen + strlen (FILE_NAME_MAP_FILE) + 1); | ^~~~~~ cccp.c: In function 'open_include_file': cccp.c:5168:1: warning: old-style function definition [-Wold-style-definition] 5168 | open_include_file (filename, searchptr, importing, pinc) | ^~~~~~~~~~~~~~~~~ cccp.c: In function 'remap_include_file': cccp.c:5246:1: warning: old-style function definition [-Wold-style-definition] 5246 | remap_include_file (filename, searchptr) | ^~~~~~~~~~~~~~~~~~ cccp.c:5277:28: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 5277 | char *dir = (char *) alloca (from - filename + 1); | ^~~~~~ cccp.c:5278:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 5278 | bcopy (filename, dir, from - filename); | ^~~~~ cccp.c: In function 'lookup_ino_include': cccp.c:5294:1: warning: old-style function definition [-Wold-style-definition] 5294 | lookup_ino_include (inc) | ^~~~~~~~~~~~~~~~~~ cccp.c: In function 'finclude': cccp.c:5322:1: warning: old-style function definition [-Wold-style-definition] 5322 | finclude (f, inc, op, system_header_p, dirptr) | ^~~~~~~~ cccp.c:5337:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 5337 | bzero ((char *) fp, sizeof (FILE_BUF)); | ^~~~~ cccp.c: In function 'record_control_macro': cccp.c:5435:1: warning: old-style function definition [-Wold-style-definition] 5435 | record_control_macro (inc, macro_name) | ^~~~~~~~~~~~~~~~~~~~ cccp.c: In function 'check_precompiled': cccp.c:5456:1: warning: old-style function definition [-Wold-style-definition] 5456 | check_precompiled (pcf, st, fname, limit) | ^~~~~~~~~~~~~~~~~ cccp.c: In function 'check_preconditions': cccp.c:5512:1: warning: old-style function definition [-Wold-style-definition] 5512 | check_preconditions (prec) | ^~~~~~~~~~~~~~~~~~~ cccp.c:5519:15: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 5519 | lineend = index (prec, '\n'); | ^~~~~ cccp.c: In function 'pcfinclude': cccp.c:5572:1: warning: old-style function definition [-Wold-style-definition] 5572 | pcfinclude (buf, name, op) | ^~~~~~~~~~ cccp.c: In function 'pcstring_used': cccp.c:5688:1: warning: old-style function definition [-Wold-style-definition] 5688 | pcstring_used (hp) | ^~~~~~~~~~~~~ cccp.c: In function 'pass_thru_directive': cccp.c:5755:1: warning: old-style function definition [-Wold-style-definition] 5755 | pass_thru_directive (buf, limit, op, keyword) | ^~~~~~~~~~~~~~~~~~~ cccp.c:5764:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 5764 | bcopy (keyword->name, (char *) op->bufp, keyword_length); | ^~~~~ cccp.c: In function 'create_definition': cccp.c:5801:1: warning: old-style function definition [-Wold-style-definition] 5801 | create_definition (buf, limit, op) | ^~~~~~~~~~~~~~~~~ cccp.c:5842:33: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 5842 | temp = (struct arglist *) alloca (sizeof (struct arglist)); | ^~~~~~ cccp.c:5916:53: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 5916 | && bcmp (temp->name, otemp->name, temp->length) == 0) | ~~~~^~~~~~~~ : note: built-in 'bcmp' declared here cccp.c:5946:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 5946 | bcopy (temp->name, &defn->args.argnames[i], temp->length); | ^~~~~ cccp.c: In function 'do_define': cccp.c:6011:1: warning: old-style function definition [-Wold-style-definition] 6011 | do_define (buf, limit, op, keyword) | ^~~~~~~~~ cccp.c: In function 'check_macro_name': cccp.c:6080:1: warning: old-style function definition [-Wold-style-definition] 6080 | check_macro_name (symname, assertion) | ^~~~~~~~~~~~~~~~ cccp.c:6094:63: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6094 | || (sym_length == 7 && ! bcmp (symname, "defined", 7))) | ^ : note: built-in 'bcmp' declared here cccp.c: In function 'compare_defs': cccp.c:6105:1: warning: old-style function definition [-Wold-style-definition] 6105 | compare_defs (d1, d2) | ^~~~~~~~~~~~ cccp.c:6120:58: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6120 | if (!((a1->nchars == a2->nchars && ! bcmp (p1, p2, a1->nchars)) | ~~^~~~~~~~ : note: built-in 'bcmp' declared here cccp.c: In function 'comp_def_part': cccp.c:6149:1: warning: old-style function definition [-Wold-style-definition] 6149 | comp_def_part (first, beg1, len1, beg2, len2, last) | ^~~~~~~~~~~~~ cccp.c: In function 'collect_expansion': cccp.c:6192:1: warning: old-style function definition [-Wold-style-definition] 6192 | collect_expansion (buf, end, nargs, arglist) | ^~~~~~~~~~~~~~~~~ cccp.c:6413:43: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6413 | && bcmp (arg->name, id_beg, id_len) == 0) { | ^~~~~~ : note: built-in 'bcmp' declared here cccp.c: In function 'do_assert': cccp.c:6505:1: warning: old-style function definition [-Wold-style-definition] 6505 | do_assert (buf, limit, op, keyword) | ^~~~~~~~~ cccp.c:6567:58: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6567 | if (sym_length == 7 && ! bcmp (symname, "defined", 7)) | ^ : note: built-in 'bcmp' declared here cccp.c: In function 'do_unassert': cccp.c:6582:1: warning: old-style function definition [-Wold-style-definition] 6582 | do_unassert (buf, limit, op, keyword) | ^~~~~~~~~~~ cccp.c: In function 'check_assertion': cccp.c:6682:1: warning: old-style function definition [-Wold-style-definition] 6682 | check_assertion (name, sym_length, tokens_specified, tokens) | ^~~~~~~~~~~~~~~ cccp.c: In function 'compare_token_lists': cccp.c:6725:1: warning: old-style function definition [-Wold-style-definition] 6725 | compare_token_lists (l1, l2) | ^~~~~~~~~~~~~~~~~~~ cccp.c:6731:37: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6731 | if (bcmp (l1->name, l2->name, l1->length)) | ~~^~~~~~~~ : note: built-in 'bcmp' declared here cccp.c: In function 'read_token_list': cccp.c:6748:1: warning: old-style function definition [-Wold-style-definition] 6748 | read_token_list (bpp, limit, error_flag) | ^~~~~~~~~~~~~~~ cccp.c:6783:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 6783 | bcopy ((char *) beg, (char *) temp->name, bp - beg); | ^~~~~ cccp.c: In function 'free_token_list': cccp.c:6813:1: warning: old-style function definition [-Wold-style-definition] 6813 | free_token_list (tokens) | ^~~~~~~~~~~~~~~ cccp.c: In function 'assertion_install': cccp.c:6833:1: warning: old-style function definition [-Wold-style-definition] 6833 | assertion_install (name, len, hash) | ^~~~~~~~~~~~~~~~~ cccp.c: In function 'assertion_lookup': cccp.c:6872:1: warning: old-style function definition [-Wold-style-definition] 6872 | assertion_lookup (name, len, hash) | ^~~~~~~~~~~~~~~~ cccp.c:6881:60: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 6881 | if (bucket->length == len && bcmp (bucket->name, name, len) == 0) | ^~~ : note: built-in 'bcmp' declared here cccp.c: In function 'delete_assertion': cccp.c:6889:1: warning: old-style function definition [-Wold-style-definition] 6889 | delete_assertion (hp) | ^~~~~~~~~~~~~~~~ cccp.c: In function 'do_line': cccp.c:6913:1: warning: old-style function definition [-Wold-style-definition] 6913 | do_line (buf, limit, op, keyword) | ^~~~~~~ cccp.c:7033:41: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 7033 | bcmp (hp->value.cpval, fname, fname_length) == 0) { | ^~~~~~~~~~~~ : note: built-in 'bcmp' declared here cccp.c:7046:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7046 | bcopy (fname, hp->value.cpval, fname_length + 1); | ^~~~~ cccp.c: In function 'do_undef': cccp.c:7064:1: warning: old-style function definition [-Wold-style-definition] 7064 | do_undef (buf, limit, op, keyword) | ^~~~~~~~ cccp.c: In function 'do_error': cccp.c:7104:1: warning: old-style function definition [-Wold-style-definition] 7104 | do_error (buf, limit, op, keyword) | ^~~~~~~~ cccp.c:7110:29: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 7110 | U_CHAR *copy = (U_CHAR *) alloca (length + 1); | ^~~~~~ cccp.c:7111:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7111 | bcopy ((char *) buf, (char *) copy, length); | ^~~~~ cccp.c: In function 'do_warning': cccp.c:7123:1: warning: old-style function definition [-Wold-style-definition] 7123 | do_warning (buf, limit, op, keyword) | ^~~~~~~~~~ cccp.c:7129:29: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 7129 | U_CHAR *copy = (U_CHAR *) alloca (length + 1); | ^~~~~~ cccp.c:7130:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7130 | bcopy ((char *) buf, (char *) copy, length); | ^~~~~ cccp.c: In function 'do_ident': cccp.c:7161:1: warning: old-style function definition [-Wold-style-definition] 7161 | do_ident (buf, limit, op, keyword) | ^~~~~~~~ cccp.c:7179:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7179 | bcopy ("#ident ", (char *) op->bufp, 7); | ^~~~~ cccp.c: In function 'do_pragma': cccp.c:7192:1: warning: old-style function definition [-Wold-style-definition] 7192 | do_pragma (buf, limit, op, keyword) | ^~~~~~~~~ cccp.c:7217:25: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 7217 | if ((p = (U_CHAR *) index ((char *) fname, '\"'))) | ^~~~~ cccp.c: In function 'do_if': cccp.c:7287:1: warning: old-style function definition [-Wold-style-definition] 7287 | do_if (buf, limit, op, keyword) | ^~~~~ cccp.c: In function 'do_elif': cccp.c:7304:1: warning: old-style function definition [-Wold-style-definition] 7304 | do_elif (buf, limit, op, keyword) | ^~~~~~~ cccp.c: In function 'eval_if_expression': cccp.c:7348:1: warning: old-style function definition [-Wold-style-definition] 7348 | eval_if_expression (buf, length) | ^~~~~~~~~~~~~~~~~~ cccp.c: In function 'do_xifdef': cccp.c:7377:1: warning: old-style function definition [-Wold-style-definition] 7377 | do_xifdef (buf, limit, op, keyword) | ^~~~~~~~~ cccp.c:7458:7: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7458 | bcopy ((char *) buf, (char *) control_macro, end - buf); | ^~~~~ cccp.c: In function 'conditional_skip': cccp.c:7473:1: warning: old-style function definition [-Wold-style-definition] 7473 | conditional_skip (ip, skip, type, control_macro, op) | ^~~~~~~~~~~~~~~~ cccp.c: In function 'skip_if_group': cccp.c:7506:1: warning: old-style function definition [-Wold-style-definition] 7506 | skip_if_group (ip, any, op) | ^~~~~~~~~~~~~ cccp.c:7533:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7533 | bcopy (ptr, (char *) op->bufp, len); | ^~~~~ cccp.c:7783:38: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 7783 | && bcmp (cp, kt->name, kt->length) == 0) { | ~~^~~~~~~~ : note: built-in 'bcmp' declared here cccp.c:7858:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 7858 | bcopy ((char *) beg_of_group, (char *) op->bufp, | ^~~~~ cccp.c: In function 'do_else': cccp.c:7875:1: warning: old-style function definition [-Wold-style-definition] 7875 | do_else (buf, limit, op, keyword) | ^~~~~~~ cccp.c: In function 'do_endif': cccp.c:7922:1: warning: old-style function definition [-Wold-style-definition] 7922 | do_endif (buf, limit, op, keyword) | ^~~~~~~~ cccp.c: In function 'validate_else': cccp.c:7985:1: warning: old-style function definition [-Wold-style-definition] 7985 | validate_else (p, limit) | ^~~~~~~~~~~~~ cccp.c: In function 'skip_to_end_of_comment': cccp.c:8045:1: warning: old-style function definition [-Wold-style-definition] 8045 | skip_to_end_of_comment (ip, line_counter, nowarn) | ^~~~~~~~~~~~~~~~~~~~~~ cccp.c: In function 'skip_quoted_string': cccp.c:8174:1: warning: old-style function definition [-Wold-style-definition] 8174 | skip_quoted_string (bp, limit, start_line, count_newlines, backslash_newlines_p, eofp) | ^~~~~~~~~~~~~~~~~~ cccp.c: In function 'quote_string': cccp.c:8258:1: warning: old-style function definition [-Wold-style-definition] 8258 | quote_string (dst, src, srclen) | ^~~~~~~~~~~~ cccp.c: In function 'skip_paren_group': cccp.c:8298:1: warning: old-style function definition [-Wold-style-definition] 8298 | skip_paren_group (ip) | ^~~~~~~~~~~~~~~~ cccp.c: In function 'output_line_directive': cccp.c:8349:1: warning: old-style function definition [-Wold-style-definition] 8349 | output_line_directive (ip, op, conditional, file_change) | ^~~~~~~~~~~~~~~~~~~~~ cccp.c:8387:33: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 8387 | line_directive_buf = (char *) alloca (4 * ip->nominal_fname_len + 100); | ^~~~~~ cccp.c:8412:3: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 8412 | bcopy ((char *) line_directive_buf, (char *) op->bufp, len); | ^~~~~ cccp.c: In function 'macroexpand': cccp.c:8447:1: warning: old-style function definition [-Wold-style-definition] 8447 | macroexpand (hp, op) | ^~~~~~~~~~~ cccp.c:8478:31: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 8478 | args = (struct argdata *) alloca ((nargs + 1) * sizeof (struct argdata)); | ^~~~~~ cccp.c:8755:11: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 8755 | bcopy ((char *) p1, (char *) (xbuf + totlen), l1 - p1); | ^~~~~ cccp.c:8770:11: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 8770 | bcopy ((char *) arg->expanded, (char *) (xbuf + totlen), | ^~~~~ cccp.c: In function 'macarg': cccp.c:8857:1: warning: old-style function definition [-Wold-style-definition] 8857 | macarg (argptr, rest_args) | ^~~~~~ cccp.c:8892:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 8892 | bcopy ((char *) ip->bufp, (char *) buffer, bufsize); | ^~~~~ cccp.c: In function 'macarg1': cccp.c:8991:1: warning: old-style function definition [-Wold-style-definition] 8991 | macarg1 (start, limit, macro, depthptr, newlines, comments, rest_args) | ^~~~~~~ cccp.c: In function 'discard_comments': cccp.c:9127:1: warning: old-style function definition [-Wold-style-definition] 9127 | discard_comments (start, length, newlines) | ^~~~~~~~~~~~~~~~ cccp.c: In function 'change_newlines': cccp.c:9283:1: warning: old-style function definition [-Wold-style-definition] 9283 | change_newlines (start, length) | ^~~~~~~~~~~~~~~ cccp.c: In function 'my_strerror': cccp.c:9357:1: warning: old-style function definition [-Wold-style-definition] 9357 | my_strerror (errnum) | ^~~~~~~~~~~ cccp.c: In function 'vnotice': cccp.c:9406:1: warning: old-style function definition [-Wold-style-definition] 9406 | vnotice (msgid, args) | ^~~~~~~ cccp.c: In function 'verror': cccp.c:9434:1: warning: old-style function definition [-Wold-style-definition] 9434 | verror (msgid, args) | ^~~~~~ cccp.c: In function 'error_from_errno': cccp.c:9461:1: warning: old-style function definition [-Wold-style-definition] 9461 | error_from_errno (name) | ^~~~~~~~~~~~~~~~ cccp.c: In function 'vwarning': cccp.c:9507:1: warning: old-style function definition [-Wold-style-definition] 9507 | vwarning (msgid, args) | ^~~~~~~~ cccp.c: In function 'verror_with_line': cccp.c:9559:1: warning: old-style function definition [-Wold-style-definition] 9559 | verror_with_line (line, msgid, args) | ^~~~~~~~~~~~~~~~ cccp.c: In function 'vwarning_with_line': cccp.c:9605:1: warning: old-style function definition [-Wold-style-definition] 9605 | vwarning_with_line (line, msgid, args) | ^~~~~~~~~~~~~~~~~~ cccp.c: In function 'pedwarn_strange_white_space': cccp.c:9723:1: warning: old-style function definition [-Wold-style-definition] 9723 | pedwarn_strange_white_space (ch) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cccp.c: In function 'line_for_error': cccp.c:9790:1: warning: old-style function definition [-Wold-style-definition] 9790 | line_for_error (line) | ^~~~~~~~~~~~~~ cccp.c: In function 'grow_outbuf': cccp.c:9822:1: warning: old-style function definition [-Wold-style-definition] 9822 | grow_outbuf (obuf, needed) | ^~~~~~~~~~~ cccp.c: In function 'install': cccp.c:9866:1: warning: old-style function definition [-Wold-style-definition] 9866 | install (name, len, type, value, hash) | ^~~~~~~ cccp.c: In function 'lookup': cccp.c:9920:1: warning: old-style function definition [-Wold-style-definition] 9920 | lookup (name, len, hash) | ^~~~~~ cccp.c:9938:60: warning: 'bcmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 9938 | if (bucket->length == len && bcmp (bucket->name, name, len) == 0) | ^~~ : note: built-in 'bcmp' declared here cccp.c: In function 'delete_macro': cccp.c:9960:1: warning: old-style function definition [-Wold-style-definition] 9960 | delete_macro (hp) | ^~~~~~~~~~~~ cccp.c: In function 'hashf': cccp.c:9995:1: warning: old-style function definition [-Wold-style-definition] 9995 | hashf (name, len, hashsize) | ^~~~~ cccp.c: In function 'dump_single_macro': cccp.c:10012:1: warning: old-style function definition [-Wold-style-definition] 10012 | dump_single_macro (hp, of) | ^~~~~~~~~~~~~~~~~ cccp.c: In function 'dump_defn_1': cccp.c:10119:1: warning: old-style function definition [-Wold-style-definition] 10119 | dump_defn_1 (base, start, length, of) | ^~~~~~~~~~~ cccp.c: In function 'dump_arg_n': cccp.c:10152:1: warning: old-style function definition [-Wold-style-definition] 10152 | dump_arg_n (defn, argnum, of) | ^~~~~~~~~~ cccp.c:10159:20: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 10159 | p = (U_CHAR *) index ((char *) p, ' ') + 1; | ^~~~~ cccp.c: In function 'initialize_builtins': cccp.c:10213:1: warning: old-style function definition [-Wold-style-definition] 10213 | initialize_builtins (inp, outp) | ^~~~~~~~~~~~~~~~~~~ cccp.c: In function 'make_definition': cccp.c:10327:1: warning: old-style function definition [-Wold-style-definition] 10327 | make_definition (str) | ^~~~~~~~~~~~~~~ cccp.c:10348:22: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 10348 | buf = (U_CHAR *) alloca (p - buf + 4); | ^~~~~~ cccp.c:10357:22: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 10357 | buf = (U_CHAR *) alloca (2 * strlen (str) + 1); | ^~~~~~ cccp.c: In function 'make_undef': cccp.c:10411:1: warning: old-style function definition [-Wold-style-definition] 10411 | make_undef (str, op) | ^~~~~~~~~~ cccp.c: In function 'make_assertion': cccp.c:10441:1: warning: old-style function definition [-Wold-style-definition] 10441 | make_assertion (option, str) | ^~~~~~~~~~~~~~ cccp.c:10450:20: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 10450 | buf = (U_CHAR *) alloca (strlen (str) + 2); /* Change to handle gcc 3.x "-Afoo=bar" - AMB */ | ^~~~~~ cccp.c: In function 'new_include_prefix': cccp.c:10513:1: warning: old-style function definition [-Wold-style-definition] 10513 | new_include_prefix (prev_file_name, component, prefix, name) | ^~~~~~~~~~~~~~~~~~ cccp.c: In function 'append_include_chain': cccp.c:10609:1: warning: old-style function definition [-Wold-style-definition] 10609 | append_include_chain (first, last) | ^~~~~~~~~~~~~~~~~~~~ cccp.c: In function 'quote_string_for_make': cccp.c:10640:1: warning: old-style function definition [-Wold-style-definition] 10640 | quote_string_for_make (dst, src) | ^~~~~~~~~~~~~~~~~~~~~ cccp.c: In function 'deps_output': cccp.c:10703:1: warning: old-style function definition [-Wold-style-definition] 10703 | deps_output (string, spacer) | ^~~~~~~~~~~ cccp.c:10717:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 10717 | bcopy (" \\\n ", &deps_buffer[deps_size], 4); | ^~~~~ cccp.c: In function 'perror_with_name': cccp.c:10772:1: warning: old-style function definition [-Wold-style-definition] 10772 | perror_with_name (name) | ^~~~~~~~~~~~~~~~ cccp.c: In function 'pfatal_with_name': cccp.c:10780:1: warning: old-style function definition [-Wold-style-definition] 10780 | pfatal_with_name (name) | ^~~~~~~~~~~~~~~~ cccp.c: In function 'pipe_closed': cccp.c:10794:1: warning: old-style function definition [-Wold-style-definition] 10794 | pipe_closed (signo) | ^~~~~~~~~~~ cccp.c: In function 'xmalloc': cccp.c:10808:1: warning: old-style function definition [-Wold-style-definition] 10808 | xmalloc (size) | ^~~~~~~ cccp.c: In function 'xrealloc': cccp.c:10818:1: warning: old-style function definition [-Wold-style-definition] 10818 | xrealloc (old, size) | ^~~~~~~~ cccp.c: In function 'xcalloc': cccp.c:10833:1: warning: old-style function definition [-Wold-style-definition] 10833 | xcalloc (number, size) | ^~~~~~~ cccp.c:10840:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 10840 | bzero (ptr, total); | ^~~~~ cccp.c: In function 'xstrdup': cccp.c:10845:1: warning: old-style function definition [-Wold-style-definition] 10845 | xstrdup (input) | ^~~~~~~ gmake[1]: *** [Makefile:97: cccp.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/home/pbulk/work/devel/cxref/work/cxref-1.6d/cpp' gmake: *** [Makefile:23: programs] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/cxref *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/cxref