=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for mpd-1.0.1nb7 echo "#" >paths.sh echo "# Created mechanically; DO NOT EDIT THIS FILE." >>paths.sh echo "#" >>paths.sh sed -n >>paths.sh >paths.sh echo >paths.tmp '/*' echo >>paths.tmp ' * Created mechanically; DO NOT EDIT THIS FILE.' echo >>paths.tmp ' */' sed >>paths.tmp or explicitly provide a declaration for 'strcmp' main.c:401:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*argp++ = *rlp++) /* copy list */ ~~~~~~~~^~~~~~~~ main.c:401:20: note: place parentheses around the assignment to silence this warning while (*argp++ = *rlp++) /* copy list */ ^ ( ) main.c:401:20: note: use '==' to turn this assignment into an equality comparison while (*argp++ = *rlp++) /* copy list */ ^ == 7 warnings generated. ...expect one shift/reduce conflict: yacc -d grammar.y yacc: 1 shift/reduce conflict. mv y.tab.c grammar.c mv y.tab.h tokens.h cc -O3 -Wall -I/usr/X11R7/include -c grammar.c lex tokens.l mv lex.yy.c tokens.c cc -O3 -Wall -I/usr/X11R7/include -c tokens.c cc -O3 -Wall -I/usr/X11R7/include -c alloc.c alloc.c:31:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free ((char *) cur); ^ alloc.c:80:25: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' return strcpy (ralloc (strlen (s) + 1), s); ^ alloc.c:80:25: note: please include the header or explicitly provide a declaration for 'strlen' 2 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c attest.c attest.c:502:14: warning: 146 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (e->e_opr) { ^ attest.c:76:13: warning: 123 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (e->e_opr) { ^ attest.c:626:13: warning: 61 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (e->e_opr) { ^ 3 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c dynamic.c dynamic.c:101:2: warning: variable 'c' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: BOOM ("bad alctemp type", typetos ((Type) n)); ^~~~~~~ dynamic.c:103:27: note: uninitialized use occurs here sprintf (buf, "%c%d", c, ++used[n]); ^ dynamic.c:73:11: note: initialize the variable 'c' to silence this warning char c, **p, *s, buf[10]; ^ = '\0' 1 warning generated. cc -O3 -Wall -I/usr/X11R7/include -c errors.c errors.c:76:15: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (!isalpha (yytext[0])) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ errors.c:198:5: warning: implicit declaration of function 'qsort' is invalid in C99 [-Wimplicit-function-declaration] qsort ((char *) elist, nerrors, sizeof (Error), errcmp); ^ errors.c:268:10: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' n = strlen (srcname[f]) + 2; ^ errors.c:268:10: note: please include the header or explicitly provide a declaration for 'strlen' 3 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c fold.c fold.c:31:13: warning: 147 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (o) { /* certain parts of the tree should not be walked */ ^ fold.c:49:10: warning: 141 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (o) { ^ fold.c:121:10: warning: 146 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (o) { ^ fold.c:147:10: warning: 139 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (o) { ^ 4 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c gdecl.c cc -O3 -Wall -I/usr/X11R7/include -c gexpr.c gexpr.c:179:14: warning: 16 enumeration values not handled in switch: 'T_BOGUS', 'T_VOID', 'T_ANY'... [-Wswitch] switch (t) { ^ gexpr.c:197:14: warning: 16 enumeration values not handled in switch: 'T_BOGUS', 'T_VOID', 'T_ANY'... [-Wswitch] switch (t) { ^ gexpr.c:340:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ gexpr.c:839:14: warning: 13 enumeration values not handled in switch: 'T_BOGUS', 'T_VOID', 'T_ANY'... [-Wswitch] switch (t) { ^ gexpr.c:824:13: warning: 14 enumeration values not handled in switch: 'T_BOGUS', 'T_VOID', 'T_ANY'... [-Wswitch] switch (e->e_sig->g_type) { /* switch on result type */ ^ 5 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c ginput.c cc -O3 -Wall -I/usr/X11R7/include -c gloop.c cc -O3 -Wall -I/usr/X11R7/include -c gmisc.c gmisc.c:39:13: warning: 139 enumeration values not handled in switch: 'O_BOGUS', 'O_LIST', 'O_SEQ'... [-Wswitch] switch (e->e_opr) { ^ gmisc.c:139:9: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' o += strlen (o); ^ gmisc.c:139:9: note: please include the header or explicitly provide a declaration for 'strlen' gmisc.c:257:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ gmisc.c:529:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 4 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c gparam.c gparam.c:163:25: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (m->m_pass != O_VAL & (!lvalue (a))) ~~~~~~~~~~~~~~~~~~~^ gparam.c:163:25: note: place parentheses around the '!=' expression to silence this warning if (m->m_pass != O_VAL & (!lvalue (a))) ^ ( ) gparam.c:163:25: note: place parentheses around the & expression to evaluate it first if (m->m_pass != O_VAL & (!lvalue (a))) ^ ( ) 1 warning generated. cc -O3 -Wall -I/usr/X11R7/include -c gstmt.c gstmt.c:72:38: warning: array subscript is of type 'char' [-Wchar-subscripts] && o->s_op->o_impl != I_DCL && isalpha (o->s_name[0])) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ 1 warning generated. cc -O3 -Wall -I/usr/X11R7/include -c import.c import.c:207:11: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' len = strlen (tmp_name); ^ import.c:207:11: note: please include the header or explicitly provide a declaration for 'strlen' import.c:213:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' if (strcmp (sname, srcname[i]) == 0) ^ import.c:213:6: note: please include the header or explicitly provide a declaration for 'strcmp' 2 warnings generated. echo '/* Created mechanically; DO NOT EDIT THIS FILE */' >tkflags.h echo '' >>tkflags.h awk '/^%t[^*]*\*[BEG + END]*\*/{printf("TKFLAGS(%s,%s)\n",$2,$4);}' >tkflags.h cc -O3 -Wall -I/usr/X11R7/include -c input.c input.c:153:2: warning: variable 's' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: BOOM ("unknown component type",oprtos(e->e_r->e_opr)); ^~~~~~~ input.c:163:33: note: uninitialized use occurs here fprintf (specfile, "%s %s", s, e->e_l->e_name); ^ input.c:141:12: note: initialize the variable 's' to silence this warning char *s; ^ = NULL input.c:244:5: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink (specname); ^ input.c:255:11: warning: unused variable 'old' [-Wunused-variable] FILE *old; ^ 3 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c list.c cc -O3 -Wall -I/usr/X11R7/include -c names.c names.c:87:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' if (strcmp (string, p->text) == 0) ^ names.c:87:6: note: please include the header or explicitly provide a declaration for 'strcmp' 1 warning generated. cc -O3 -Wall -I/usr/X11R7/include -c node.c cc -O3 -Wall -I/usr/X11R7/include -c op.c op.c:247:11: warning: enumeration value 'I_SEM' not handled in switch [-Wswitch] switch (o->o_impl) { ^ op.c:515:9: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned int)' if (strncmp (line, SRC_PREFIX, strlen (SRC_PREFIX)) != 0) ^ op.c:515:9: note: please include the header or explicitly provide a declaration for 'strncmp' op.c:515:36: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' if (strncmp (line, SRC_PREFIX, strlen (SRC_PREFIX)) != 0) ^ op.c:515:36: note: please include the header or explicitly provide a declaration for 'strlen' op.c:532:27: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' if (t->s_imp == s && strcmp (t->s_name, opname) == 0) ^ op.c:532:27: note: please include the header or explicitly provide a declaration for 'strcmp' 4 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c output.c output.c:76:6: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration] if (mkdir (ifdir, 0777) != 0 && errno != EEXIST) ^ output.c:182:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free ((char *) p); /* free after writing */ ^ output.c:249:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *fmt++) { ~~^~~~~~~~ output.c:249:14: note: place parentheses around the assignment to silence this warning while (c = *fmt++) { ^ ( ) output.c:249:14: note: use '==' to turn this assignment into an equality comparison while (c = *fmt++) { ^ == output.c:368:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = va_arg (ap, char *); c = *s++; ) ~~^~~~~~ output.c:368:36: note: place parentheses around the assignment to silence this warning for (s = va_arg (ap, char *); c = *s++; ) ^ ( ) output.c:368:36: note: use '==' to turn this assignment into an equality comparison for (s = va_arg (ap, char *); c = *s++; ) ^ == output.c:472:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = buf; c = *s++; ) /* write the characters */ ~~^~~~~~ output.c:472:21: note: place parentheses around the assignment to silence this warning for (s = buf; c = *s++; ) /* write the characters */ ^ ( ) output.c:472:21: note: use '==' to turn this assignment into an equality comparison for (s = buf; c = *s++; ) /* write the characters */ ^ == 5 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c params.c cc -O3 -Wall -I/usr/X11R7/include -c pregen.c pregen.c:317:2: warning: variable 'func' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: BOOM ("bad type in getarg gen", typetos (t)); ^~~~~~~ pregen.c:319:27: note: uninitialized use occurs here cprintf ("%s(%e,%a)", func, e1, e2); ^~~~ pregen.c:303:15: note: initialize the variable 'func' to silence this warning char *func; ^ = NULL pregen.c:365:52: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' cprintf ("%7STRING(f%d,%d,\"%s\");\n", fmtnum, strlen (format), format); ^ pregen.c:365:52: note: please include the header or explicitly provide a declaration for 'strlen' 2 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c presig.c presig.c:463:13: warning: 52 enumeration values not handled in switch: 'PRE_BOGUS', 'PRE_lb', 'PRE_ub'... [-Wswitch] switch (e->e_l->e_sym->s_pre) { ^ 1 warning generated. cc -O3 -Wall -E includer.c | sed 's/,/ ,/' | awk -f elabels.awk >print.h cc -O3 -Wall -I/usr/X11R7/include -c print.c print.c:36:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (spacing); ^~~~~~~ print.c:53:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (spacing); ^~~~~~~ print.c:58:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (spacing); ^~~~~~~ print.c:93:24: warning: format specifies type 'unsigned int' but the argument has type 'struct node *' [-Wformat] printf ("%08X [?!]", e->e_l); ~~~~ ^~~~~~ print.c:146:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (spacing); ^~~~~~~ print.c:180:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (spacing); ^~~~~~~ print.c:213:13: warning: 4 enumeration values not handled in switch: 'K_BOGUS', 'K_FIELD', 'K_IMP'... [-Wswitch] switch (s->s_kind) { ^ print.c:437:8: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' bp += strlen (buf); ^ print.c:437:8: note: please include the header or explicitly provide a declaration for 'strlen' 8 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c resource.c resource.c:125:6: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if (unlink (cpath) != 0) /* remove C code after compilation */ ^ resource.c:196:13: warning: 137 enumeration values not handled in switch: 'O_BOGUS', 'O_ID', 'O_SYM'... [-Wswitch] switch (e->e_opr) { ^ 2 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c signat.c signat.c:104:2: warning: variable 'g' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: ^~~~~~~ signat.c:108:9: note: uninitialized use occurs here if (g == NULL) ^ signat.c:74:13: note: initialize the variable 'g' to silence this warning Sigptr g; ^ = NULL signat.c:329:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 2 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c symtab.c symtab.c:143:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isalpha (s->s_name[0]) && s->s_kind != K_IMP) { ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ symtab.c:175:20: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' buf = ralloc (strlen (name) + 3); ^ symtab.c:175:20: note: please include the header or explicitly provide a declaration for 'strlen' symtab.c:321:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (l->e_sym->s_kind == K_TYPE) ^ symtab.c:334:11: warning: 10 enumeration values not handled in switch: 'K_BOGUS', 'K_BLOCK', 'K_VAR'... [-Wswitch] switch (s->s_kind) { ^ symtab.c:218:3: warning: variable 'k' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: BOOM ("bad param kind", ""); ^~~~~~~ symtab.c:220:22: note: uninitialized use occurs here define (l->e_l, k); ^ symtab.c:98:5: note: variable 'k' is declared here Kind k; ^ 5 warnings generated. . ../paths.sh; cc -O3 -Wall -o mpd main.o grammar.o tokens.o ../util.o alloc.o attest.o dynamic.o errors.o fold.o gdecl.o gexpr.o ginput.o gloop.o gmisc.o gparam.o gstmt.o import.o input.o list.o names.o node.o op.o output.o params.o pregen.o presig.o print.o resource.o signat.o symtab.o $LIBM $LIBC cd mpdl; make CC="cc" CFLAGS="-O3 -Wall" cc -O3 -Wall -I/usr/X11R7/include -c main.c main.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^~~~ main.c:48:17: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "+eglvwI:o:r:AC:L:N:O:P:Q:R:V:S:")) != EOF) ^ main.c:52:24: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' MPDinter = alloc (strlen (optarg) + strlen (INTER_DIR) + 2); ^ main.c:52:24: note: please include the header or explicitly provide a declaration for 'strlen' main.c:101:5: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned int)' || strncmp (optarg, "-l", 2) == 0) { ^ main.c:101:5: note: please include the header or explicitly provide a declaration for 'strncmp' 4 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c limits.c limits.c:23:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 'C', &max_co_stmts, "maximum number of active `co' statements", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } limits.c:24:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 'L', &max_loops, "maximum number of loops before context switch", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } limits.c:25:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 'N', &max_classes, "maximum number of `in' operation classes", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } limits.c:26:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 'O', &max_operations, "maximum number of active operations", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } limits.c:27:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 'P', &max_processes, "maximum number of processes", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } limits.c:28:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 'Q', &max_rmt_reqs, "maximum number of pending remote requests", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } limits.c:29:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 'R', &max_resources, "maximum number of active resources", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } limits.c:30:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 'V', &max_semaphores, "maximum number of semaphores", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } limits.c:31:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 'S', &stack_size, "size of a process stack", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } limits.c:32:5: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, 0}; ^~~~~~~ { } limits.c:51:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit (*p)) ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 11 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c resource.c resource.c:25:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' if (strcmp (name, res->name) == 0) { ^ resource.c:25:6: note: please include the header or explicitly provide a declaration for 'strcmp' resource.c:46:20: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' strcpy (path + strlen (path) - strlen (SPEC_SUF), ".o"); ^ resource.c:46:20: note: please include the header or explicitly provide a declaration for 'strlen' 2 warnings generated. cc -O3 -Wall -I/usr/X11R7/include -c gen.c gen.c:26:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (exe_tail = strrchr (exe_file, '/')) /* strip path */ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ gen.c:26:18: note: place parentheses around the assignment to silence this warning if (exe_tail = strrchr (exe_file, '/')) /* strip path */ ^ ( ) gen.c:26:18: note: use '==' to turn this assignment into an equality comparison if (exe_tail = strrchr (exe_file, '/')) /* strip path */ ^ == gen.c:152:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace (*s)) /* skip leading whitespace */ ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ gen.c:157:24: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*s != '\0' && !isspace (*s)) ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 3 warnings generated. . ../paths.sh; cc -O3 -Wall -o mpdl main.o limits.o resource.o gen.o ../util.o $LIBC cd csw; make CC="cc" CFLAGS="-O3 -Wall" cc -O3 -Wall -I/usr/X11R7/include -c cstest.c cstest.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main () ^~~~ cstest.c:112:16: warning: implicit declaration of function 'rand' is invalid in C99 [-Wimplicit-function-declaration] r->stack[i] = rand (); ^ cstest.c:320:32: warning: array subscript is of type 'char' [-Wchar-subscripts] c = toascii (*p++); putchar (isprint (c) ? c : '.'); ^ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^ /usr/include/stdio.h:499:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:495:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ cstest.c:321:32: warning: array subscript is of type 'char' [-Wchar-subscripts] c = toascii (*p++); putchar (isprint (c) ? c : '.'); ^ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^ /usr/include/stdio.h:499:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:495:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ cstest.c:322:32: warning: array subscript is of type 'char' [-Wchar-subscripts] c = toascii (*p++); putchar (isprint (c) ? c : '.'); ^ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^ /usr/include/stdio.h:499:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:495:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ cstest.c:323:32: warning: array subscript is of type 'char' [-Wchar-subscripts] c = toascii (*p++); putchar (isprint (c) ? c : '.'); ^ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^ /usr/include/stdio.h:499:25: note: expanded from macro 'putchar' #define putchar(x) putc(x, stdout) ^ /usr/include/stdio.h:495:29: note: expanded from macro 'putc' #define putc(x, fp) __sputc(x, fp) ^ cstest.c:324:16: warning: implicitly declaring library function 'abs' with type 'int (int)' if (i != 0 && abs (i) <= 10000) ^ cstest.c:324:16: note: please include the header or explicitly provide a declaration for 'abs' 7 warnings generated. cc -O3 -Wall -c netbsd.c ld -r -o asm.o netbsd.o /usr/lib/libpthread.a /usr/bin/ld: cannot find /usr/lib/libpthread.a: No such file or directory *** Error code 1 Stop. make: stopped in /usr/pkgsrc/work/lang/mpd/work/mpd.1.0.1/csw *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/lang/mpd/work/mpd.1.0.1 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/mpd *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/mpd