=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for blackened-1.7.1
gcc -O2 -DHAVE_CONFIG_H  -I../include -c alias.c
alias.c:762:56: warning: conversion specifies type 'long' but the argument has type 'int' [-Wformat]
                                        sprintf(tmp,"%ld",r);
                                                     ~~^  ~
                                                     %d
alias.c:2437:19: warning: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                sprintf(tstr, "%d day%s ", days, (days==1)?"":"s");
                               ~^          ~~~~
                               %ld
alias.c:2442:19: warning: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                sprintf(tstr, "%d hour%s ", hours, (hours==1)?"":"s");
                               ~^           ~~~~~
                               %ld
alias.c:2447:19: warning: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                sprintf(tstr, "%d minute%s ", minutes, (minutes==1)?"":"s");
                               ~^             ~~~~~~~
                               %ld
alias.c:2452:19: warning: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                sprintf(tstr, "%d second%s", seconds, (seconds==1)?"":"s");
                               ~^            ~~~~~~~
                               %ld
alias.c:2988:22: warning: conversion specifies type 'long' but the argument has type 'suseconds_t' (aka 'int') [-Wformat]
                sprintf(tmp,"%ld %ld",tp.tv_sec,tp.tv_usec);
                                 ~~^            ~~~~~~~~~~
                                 %d
alias.c:3056:19: warning: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                sprintf(tstr, "%dd ", days);
                               ~^     ~~~~
                               %ld
alias.c:3061:19: warning: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                sprintf(tstr, "%dh ", hours);
                               ~^     ~~~~~
                               %ld
alias.c:3066:19: warning: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                sprintf(tstr, "%dm ", minutes);
                               ~^     ~~~~~~~
                               %ld
alias.c:3071:19: warning: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                sprintf(tstr, "%ds", seconds);
                               ~^    ~~~~~~~
                               %ld
alias.c:3666:20: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
                                sprintf(tmp, "%d", i);
                                              ~^   ~
                                              %ld
alias.c:3673:20: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
                                sprintf(tmp, "%d", i);
                                              ~^   ~
                                              %ld
12 warnings generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -c autoop.c
gcc -O2 -DHAVE_CONFIG_H  -I../include -c cignore.c
gcc -O2 -DHAVE_CONFIG_H  -I../include -c comstud.c
comstud.c:56:23: warning: '/*' within block comment [-Wcomment]
#define CHECK_FOR_OPS   /* define this if you want to
                        ^
comstud.c:122:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (*reason = strchr(temp, ' '))
            ~~~~~~~~^~~~~~~~~~~~~~~~~~~
comstud.c:122:14: note: place parentheses around the assignment to silence this warning
        if (*reason = strchr(temp, ' '))
                    ^
            (                          )
comstud.c:122:14: note: use '==' to turn this assignment into an equality comparison
        if (*reason = strchr(temp, ' '))
                    ^
                    ==
comstud.c:317:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (ptr = strrchr(string, *chars))
          ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
comstud.c:317:15: note: place parentheses around the assignment to silence this warning
      if (ptr = strrchr(string, *chars))
              ^
          (                            )
comstud.c:317:15: note: use '==' to turn this assignment into an equality comparison
      if (ptr = strrchr(string, *chars))
              ^
              ==
comstud.c:756:7: warning: implicit declaration of function 'match' is invalid in C99 [-Wimplicit-function-declaration]
                if (match(this, string2) || match(string2, this))
                    ^
comstud.c:892:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (spec=my_next_arg(&args))
            ~~~~^~~~~~~~~~~~~~~~~~~
comstud.c:892:10: note: place parentheses around the assignment to silence this warning
        if (spec=my_next_arg(&args))
                ^
            (                      )
comstud.c:892:10: note: use '==' to turn this assignment into an equality comparison
        if (spec=my_next_arg(&args))
                ^
                ==
comstud.c:924:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (spec=my_next_arg(&args))
            ~~~~^~~~~~~~~~~~~~~~~~~
comstud.c:924:17: note: place parentheses around the assignment to silence this warning
        if (spec=my_next_arg(&args))
                ^
            (                      )
comstud.c:924:17: note: use '==' to turn this assignment into an equality comparison
        if (spec=my_next_arg(&args))
                ^
                ==
comstud.c:968:3: warning: implicit declaration of function 'remove_ban' is invalid in C99 [-Wimplicit-function-declaration]
                remove_ban(args, uh);
                ^
comstud.c:1163:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   if (to=my_next_arg(&args))
       ~~^~~~~~~~~~~~~~~~~~~
comstud.c:1163:10: note: place parentheses around the assignment to silence this warning
   if (to=my_next_arg(&args))
         ^
       (                    )
comstud.c:1163:10: note: use '==' to turn this assignment into an equality comparison
   if (to=my_next_arg(&args))
         ^
         ==
comstud.c:1189:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (host=my_next_arg(&args))
      ~~~~^~~~~~~~~~~~~~~~~~~
comstud.c:1189:11: note: place parentheses around the assignment to silence this warning
  if (host=my_next_arg(&args))
          ^
      (                      )
comstud.c:1189:11: note: use '==' to turn this assignment into an equality comparison
  if (host=my_next_arg(&args))
          ^
          ==
comstud.c:1228:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (newhname = next_arg(args, &args))
            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
comstud.c:1228:22: note: place parentheses around the assignment to silence this warning
        if (newhname = next_arg(args, &args))
                     ^
            (                               )
comstud.c:1228:22: note: use '==' to turn this assignment into an equality comparison
        if (newhname = next_arg(args, &args))
                     ^
                     ==
comstud.c:1253:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (newusername = my_next_arg(&args))
        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
comstud.c:1253:21: note: place parentheses around the assignment to silence this warning
    if (newusername = my_next_arg(&args))
                    ^
        (                               )
comstud.c:1253:21: note: use '==' to turn this assignment into an equality comparison
    if (newusername = my_next_arg(&args))
                    ^
                    ==
comstud.c:1265:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (userhost=my_next_arg(&args))
        ~~~~~~~~^~~~~~~~~~~~~~~~~~~
comstud.c:1265:17: note: place parentheses around the assignment to silence this warning
    if (userhost=my_next_arg(&args))
                ^
        (                          )
comstud.c:1265:17: note: use '==' to turn this assignment into an equality comparison
    if (userhost=my_next_arg(&args))
                ^
                ==
comstud.c:1269:5: warning: implicit declaration of function 'add_userhost_to_whois' is invalid in C99 [-Wimplicit-function-declaration]
                  add_userhost_to_whois(userhost, userhost_finger);
                  ^
comstud.c:2517:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        static count = 0;
        ~~~~~~ ^
14 warnings generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -c crypt.c
gcc -O2 -DHAVE_CONFIG_H  -I../include -c ctcp.c
ctcp.c:676:6: warning: implicit declaration of function 'utimediff' is invalid in C99 [-Wimplicit-function-declaration]
                                        utimediff(tp.tv_sec, tp.tv_usec, sec, usec, &timediff, &timediff2);
                                        ^
ctcp.c:696:20: warning: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                                sprintf(buf, "%d second%s", timediff,
                                              ~^            ~~~~~~~~
                                              %ld
2 warnings generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -c dcc.c
dcc.c:360:4: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        &rl);
                        ^~~
/usr/include/sys/socket.h:610:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
dcc.c:385:61: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                getsockname(Client->read, (struct sockaddr *) &localaddr, &sla);
                                                                          ^~~~
/usr/include/sys/socket.h:611:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
dcc.c:496:58: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        getsockname(Client->read, (struct sockaddr *) &locaddr, &size);
                                                                ^~~~~
/usr/include/sys/socket.h:611:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
dcc.c:731:59: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        getsockname(Client->file, (struct sockaddr *) &SockAddr, &dummy);
                                                                 ^~~~~~
/usr/include/sys/socket.h:611:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
dcc.c:736:8: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                            &dummy);
                            ^~~~~~
/usr/include/sys/socket.h:611:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
dcc.c:1153:14: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        &remaddr, &sra);
                                  ^~~~
/usr/include/sys/socket.h:607:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
dcc.c:1202:3: warning: implicit declaration of function 'adddccnick' is invalid in C99 [-Wimplicit-function-declaration]
                adddccnick(Client->user);
                ^
dcc.c:1225:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                                if (temp = strrchr(ptr, '\001'))
                                    ~~~~~^~~~~~~~~~~~~~~~~~~~~~
dcc.c:1225:14: note: place parentheses around the assignment to silence this warning
                                if (temp = strrchr(ptr, '\001'))
                                         ^
                                    (                          )
dcc.c:1225:14: note: use '==' to turn this assignment into an equality comparison
                                if (temp = strrchr(ptr, '\001'))
                                         ^
                                         ==
dcc.c:1263:9: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                             &sra);
                             ^~~~
/usr/include/sys/socket.h:607:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
dcc.c:1354:14: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        &remaddr, &sra);
                                  ^~~~
/usr/include/sys/socket.h:607:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
dcc.c:1425:35: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                (struct sockaddr *) &remaddr, &sra);
                                                              ^~~~
/usr/include/sys/socket.h:607:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
dcc.c:1695:19: warning: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
                sprintf(sent, "%d", Client->bytes_sent);
                               ~^   ~~~~~~~~~~~~~~~~~~
                               %ld
dcc.c:1696:19: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
                sprintf(read, "%d", Client->bytes_read);
                               ~^   ~~~~~~~~~~~~~~~~~~
                               %ld
dcc.c:1736:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (Client = dcc_searchlist(description, user, CType, 0, description))
            ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dcc.c:1736:13: note: place parentheses around the assignment to silence this warning
        if (Client = dcc_searchlist(description, user, CType, 0, description))
                   ^
            (                                                                )
dcc.c:1736:13: note: use '==' to turn this assignment into an equality comparison
        if (Client = dcc_searchlist(description, user, CType, 0, description))
                   ^
                   ==
14 warnings generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -c debug.c
gcc -O2 -DHAVE_CONFIG_H  -I../include -c edit.c
edit.c:569:2: warning: implicit declaration of function 'set_server_operator_pwd' is invalid in C99 [-Wimplicit-function-declaration]
        set_server_operator_pwd(from_server,(char *)0);
        ^
edit.c:570:2: warning: implicit declaration of function 'set_server_operator_nick' is invalid in C99 [-Wimplicit-function-declaration]
        set_server_operator_nick(from_server,(char *)0);
        ^
edit.c:2096:4: warning: implicit declaration of function 'addnick' is invalid in C99 [-Wimplicit-function-declaration]
                        addnick(nick);
                        ^
edit.c:2420:6: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration]
                                        term_beep();
                                        ^
../include/term.h:49:23: note: expanded from:
#define term_beep()             (tputs_x(BL),fflush(current_screen ? \
                                 ^
../include/term.h:39:22: note: expanded from:
#define tputs_x(s)              (tputs(s, 0, putchar_x))
                                 ^
edit.c:3174:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype
        u_char  key;
                ^
../include/edit.h:24:39: note: previous declaration is here
extern  void    edit_char _((unsigned char));
                                          ^
../include/irc_std.h:18:15: note: expanded from:
# define _(a) a
              ^
edit.c:3801:34: warning: conversion specifies type 'long' but the argument has type 'suseconds_t' (aka 'int') [-Wformat]
                sprintf(buffer, "%s PING %ld %ld", args, tp.tv_sec,tp.tv_usec);
                                             ~~^                   ~~~~~~~~~~
                                             %d
edit.c:3803:34: warning: conversion specifies type 'long' but the argument has type 'suseconds_t' (aka 'int') [-Wformat]
                sprintf(buffer, "%s ECHO %ld %ld", args, tp.tv_sec,tp.tv_usec);
                                             ~~^                   ~~~~~~~~~~
                                             %d
7 warnings generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -c exec.c
exec.c:236:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
exec.c:713:9: warning: implicit declaration of function 'getpgid' is invalid in C99 [-Wimplicit-function-declaration]
                kill(-getpgid(process_list[kill_index]->pid), sig);
                      ^
exec.c:798:6: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration]
        if (pipe(p0) || pipe(p1) || pipe(p2))
            ^
exec.c:803:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(p0[0]);
                        ^
exec.c:818:16: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
        switch (pid = fork())
                      ^
exec.c:825:3: warning: implicit declaration of function 'setsid' is invalid in C99 [-Wimplicit-function-declaration]
                setsid();
                ^
exec.c:830:3: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration]
                dup2(p0[0], 0);
                ^
exec.c:840:3: warning: implicit declaration of function 'close_all_dcc' is invalid in C99 [-Wimplicit-function-declaration]
                close_all_dcc();
                ^
exec.c:872:4: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration]
                        setuid(getuid()); /* If we are setuid, set it back! */
                        ^
exec.c:872:11: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration]
                        setuid(getuid()); /* If we are setuid, set it back! */
                               ^
exec.c:873:4: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration]
                        setgid(getgid());
                        ^
exec.c:873:11: warning: implicit declaration of function 'getgid' is invalid in C99 [-Wimplicit-function-declaration]
                        setgid(getgid());
                               ^
exec.c:874:4: warning: implicit declaration of function 'execvp' is invalid in C99 [-Wimplicit-function-declaration]
                        execvp(args[0], args);
                        ^
exec.c:883:4: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration]
                        execl(shell, shell, flag, name, (char *) 0);
                        ^
exec.c:887:3: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
                write(1, buffer, strlen(buffer));
                ^
exec.c:888:3: warning: implicitly declaring C library function '_exit' with type 'void (int) __attribute__((noreturn))'
                _exit(-1);
                ^
exec.c:888:3: note: please include the header <unistd.h> or explicitly provide a declaration for '_exit'
exec.c:1235:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
                sleep(2);       /* Give them a chance for a graceful exit */
                ^
17 warnings generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -c fileio.c
fileio.c:107:4: warning: implicit declaration of function 'say' is invalid in C99 [-Wimplicit-function-declaration]
                        say("Invalid filenum: %s", filenum ? filenum : empty_string);
                        ^
fileio.c:346:19: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
                        sprintf(tmp, "%d", retval);
                                      ~^   ~~~~~~
                                      %ld
2 warnings generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -c flood.c
gcc -O2 -DHAVE_CONFIG_H  -I../include -c format.c
format.c:211:5: warning: implicit declaration of function 'say' is invalid in C99 [-Wimplicit-function-declaration]
                                say("No such format \"%s\"", which);
                                ^
1 warning generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -c funny.c
funny.c:467:28: warning: implicit declaration of function 'get_server_operator_nick' is invalid in C99 [-Wimplicit-function-declaration]
                           get_server_operator_nick(from_server),
                           ^
funny.c:468:28: warning: implicit declaration of function 'get_server_operator_pwd' is invalid in C99 [-Wimplicit-function-declaration]
                           get_server_operator_pwd(from_server));
                           ^
2 warnings generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -DDEFAULT_HELP_FILE=\"/usr/pkg/share/blackened/1.7.1/help\" -DDEFAULT_HELP_PATH=\"/usr/pkg/share/blackened/1.7.1/help\" -c help.c
help.c:740:59: warning: too few arguments in call to 'help_pause_add_line'
                                help_pause_add_line("*** %s choices:", help_topic_list);
                                ~~~~~~~~~~~~~~~~~~~                                   ^
help.c:764:39: warning: too few arguments in call to 'help_pause_add_line'
                                                help_pause_add_line("%s", buffer);
                                                ~~~~~~~~~~~~~~~~~~~             ^
help.c:784:37: warning: too few arguments in call to 'help_pause_add_line'
                                help_pause_add_line("%s", buffer);
                                ~~~~~~~~~~~~~~~~~~~             ^
help.c:928:59: warning: too few arguments in call to 'help_pause_add_line'
                                help_pause_add_line("*** %s choices:", help_topic_list);
                                ~~~~~~~~~~~~~~~~~~~                                   ^
help.c:942:39: warning: too few arguments in call to 'help_pause_add_line'
                                                help_pause_add_line("%s", buffer);
                                                ~~~~~~~~~~~~~~~~~~~             ^
help.c:958:37: warning: too few arguments in call to 'help_pause_add_line'
                                help_pause_add_line("%s", buffer);
                                ~~~~~~~~~~~~~~~~~~~             ^
help.c:1125:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
7 warnings generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -c history.c
gcc -O2 -DHAVE_CONFIG_H  -I../include -c hold.c
gcc -O2 -DHAVE_CONFIG_H  -I../include -c hook.c
hook.c:279:20: warning: too many arguments in call to 'add_numeric_hook'
                        sernum, flexible);
                                        ^
WARNING: While resolving call to function 'add_numeric_hook' arguments were dropped!
1 warning generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -c if.c
if.c:32:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype
        char    type;
                ^
../include/if.h:14:40: note: previous declaration is here
extern  char    *next_expr _((char **, char));
                                           ^
../include/irc_std.h:18:15: note: expanded from:
# define _(a) a
              ^
if.c:159:3: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype
                what;
                ^
if.c:23:37: note: previous declaration is here
static  int     charcount _((char *, char));
                                         ^
../include/irc_std.h:18:15: note: expanded from:
# define _(a) a
              ^
if.c:164:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (place = index(place+1, what))
               ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
if.c:164:15: note: place parentheses around the assignment to silence this warning
        while (place = index(place+1, what))
                     ^
               (                           )
if.c:164:15: note: use '==' to turn this assignment into an equality comparison
        while (place = index(place+1, what))
                     ^
                     ==
if.c:236:3: warning: expression result unused [-Wunused-value]
                *args++;
                ^~~~~~~
if.c:325:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (var[ind++] = next_arg(vars, &vars))
               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
if.c:325:20: note: place parentheses around the assignment to silence this warning
        while (var[ind++] = next_arg(vars, &vars))
                          ^
               (                                 )
if.c:325:20: note: use '==' to turn this assignment into an equality comparison
        while (var[ind++] = next_arg(vars, &vars))
                          ^
                          ==
5 warnings generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -c ignore.c
gcc -O2 -DHAVE_CONFIG_H  -I../include -c input.c
input.c:66:4: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration]
                        term_move_cursor(cursor, input_line);
                        ^
../include/term.h:46:33: note: expanded from:
#define term_move_cursor(c, r)  (tputs_x(tgoto(CM, (c), (r))))
                                 ^
../include/term.h:39:22: note: expanded from:
#define tputs_x(s)              (tputs(s, 0, putchar_x))
                                 ^
input.c:66:4: warning: implicit declaration of function 'tgoto' is invalid in C99 [-Wimplicit-function-declaration]
                        term_move_cursor(cursor, input_line);
                        ^
../include/term.h:46:41: note: expanded from:
#define term_move_cursor(c, r)  (tputs_x(tgoto(CM, (c), (r))))
                                         ^
../include/term.h:39:28: note: expanded from:
#define tputs_x(s)              (tputs(s, 0, putchar_x))
                                       ^
input.c:679:41: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (term_cursor_left() || end_of_line && term_cursor_left())
                                       ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
input.c:679:41: note: place parentheses around the '&&' expression to silence this warning
                if (term_cursor_left() || end_of_line && term_cursor_left())
                                                      ^
                                          (                                )
3 warnings generated.
gcc -O2 -DHAVE_CONFIG_H  -I../include -DIRCLIB=\"/usr/pkg/share/blackened/1.7.1/\" -DIRCPATH=\"~/.irc:/usr/pkg/share/blackened/1.7.1/script:.\" -c irc.c
irc.c:181:3: warning: implicit declaration of function 'msglogger' is invalid in C99 [-Wimplicit-function-declaration]
                msglogger(0);
                ^
irc.c:182:2: warning: implicit declaration of function 'log_kill' is invalid in C99 [-Wimplicit-function-declaration]
        log_kill(NULL, NULL, "", "", "");
        ^
irc.c:189:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration]
                term_cr();
                ^
../include/term.h:47:21: note: expanded from:
#define term_cr()               (tputs_x(CR))
                                 ^
../include/term.h:39:22: note: expanded from:
#define tputs_x(s)              (tputs(s, 0, putchar_x))
                                 ^
irc.c:939:1: error: 'main' must return 'int'
void
^
irc.c:1018:2: warning: implicit declaration of function 'init_formats' is invalid in C99 [-Wimplicit-function-declaration]
        init_formats();
        ^
4 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/chat/blackened/work/blackened-1.7.1/source
*** Error code 1

Stop.
make: stopped in /scratch/chat/blackened/work/blackened-1.7.1
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/chat/blackened
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/chat/blackened
