=> 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 alevt-1.6.1nb2
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o main.o main.c
In file included from main.c:8:
In file included from ./vbi.h:7:
./lang.h:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif LANG_H
       ^
       //
main.c:136:6: warning: implicit declaration of function 'strcmp' is invalid in C99 [-Wimplicit-function-declaration]
        if (streq(*arg, opts[i].nam) || streq(*arg, opts[i].altnam))
            ^
./misc.h:19:22: note: expanded from:
#define streq(a, b) (strcmp((a), (b)) == 0)
                     ^
main.c:170:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (opt = option(argc, argv, &ind, &arg))
           ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:170:16: note: place parentheses around the assignment to silence this warning
    while (opt = option(argc, argv, &ind, &arg))
               ^
           (                                   )
main.c:170:16: note: use '==' to turn this assignment into an equality comparison
    while (opt = option(argc, argv, &ind, &arg))
               ^
               ==
3 warnings generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o ui.o ui.c
In file included from ui.c:12:
In file included from ./vbi.h:7:
./lang.h:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif LANG_H
       ^
       //
ui.c:158:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (vtp = w->vbi->cache->op->foreach_pg(w->vbi->cache,
            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ui.c:158:17: note: place parentheses around the assignment to silence this warning
        if (vtp = w->vbi->cache->op->foreach_pg(w->vbi->cache,
                ^
ui.c:158:17: note: use '==' to turn this assignment into an equality comparison
        if (vtp = w->vbi->cache->op->foreach_pg(w->vbi->cache,
                ^
                ==
ui.c:166:12: warning: passing 'char [9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    err(w, "No page.");
           ^~~~~~~~~~
ui.c:27:38: note: passing argument to parameter 'str' here
static void err(struct vtwin *w, u8 *str, ...);
                                     ^
ui.c:266:12: warning: passing 'char [9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    err(w, "No page.");
           ^~~~~~~~~~
ui.c:27:38: note: passing argument to parameter 'str' here
static void err(struct vtwin *w, u8 *str, ...);
                                     ^
ui.c:317:12: warning: passing 'char [9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    err(w, "No page.");
           ^~~~~~~~~~
ui.c:27:38: note: passing argument to parameter 'str' here
static void err(struct vtwin *w, u8 *str, ...);
                                     ^
ui.c:330:9: warning: passing 'char [15]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        err(w, "Empty history.");
               ^~~~~~~~~~~~~~~~
ui.c:27:38: note: passing argument to parameter 'str' here
static void err(struct vtwin *w, u8 *str, ...);
                                     ^
ui.c:339:25: warning: passing 'char [40]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        xio_get_line(w->xw, 0, buf);
                               ^~~
./xio.h:72:52: note: passing argument to parameter 'data' here
int xio_get_line(struct xio_win *xw, int line, u8 *data);
                                                   ^
ui.c:356:28: warning: passing 'char [40]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    xio_put_line(w->xw, 0, buf);
                           ^~~
./xio.h:70:53: note: passing argument to parameter 'data' here
void xio_put_line(struct xio_win *xw, int line, u8 *data);
                                                    ^
ui.c:369:26: warning: passing 'char [41]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        xio_put_line(w->xw, 24, "\0   100     \4<<  \6Help  \4>>\0     999    ");
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./xio.h:70:53: note: passing argument to parameter 'data' here
void xio_put_line(struct xio_win *xw, int line, u8 *data);
                                                    ^
ui.c:378:18: warning: passing 'u8 [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    i = vsprintf(buf, str, args);
                 ^~~
/usr/include/stdio.h:272:32: note: passing argument to parameter here
int      vsprintf(char * __restrict, const char * __restrict,
                                   ^
ui.c:378:23: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    i = vsprintf(buf, str, args);
                      ^~~
/usr/include/stdio.h:272:57: note: passing argument to parameter here
int      vsprintf(char * __restrict, const char * __restrict,
                                                            ^
ui.c:428:13: warning: passing 'char [19]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            err(w, "Pattern not found.");
                   ^~~~~~~~~~~~~~~~~~~~
ui.c:400:26: note: passing argument to parameter 'str' here
err(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:431:9: warning: passing 'char [19]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        err(w, "No search pattern.");
               ^~~~~~~~~~~~~~~~~~~~
ui.c:400:26: note: passing argument to parameter 'str' here
err(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:450:13: warning: passing 'char [20]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            err(w, "Bad search pattern.");
                   ^~~~~~~~~~~~~~~~~~~~~
ui.c:400:26: note: passing argument to parameter 'str' here
err(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:462:32: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (export(w->export, w->vtp, name))
                                      ^~~~
./export.h:60:57: note: passing argument to parameter 'user_str' here
int export(struct export *e, struct vt_page *vtp, char *user_str);
                                                        ^
ui.c:463:13: warning: passing 'char *' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            err(w, export_errstr());
                   ^~~~~~~~~~~~~~~
ui.c:400:26: note: passing argument to parameter 'str' here
err(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:478:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strcpy(save_format, format);    // remember for next time
                            ^~~~~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
ui.c:479:30: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (w->export = export_open(format))
                                    ^~~~~~
./export.h:58:34: note: passing argument to parameter 'fmt' here
struct export *export_open(char *fmt);
                                 ^
ui.c:479:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (w->export = export_open(format))
            ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
ui.c:479:16: note: place parentheses around the assignment to silence this warning
        if (w->export = export_open(format))
                      ^
            (                              )
ui.c:479:16: note: use '==' to turn this assignment into an equality comparison
        if (w->export = export_open(format))
                      ^
                      ==
ui.c:481:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (name = export_mkname(w->export, "ttext-%p.%e", w->vtp, 0))
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ui.c:481:15: note: place parentheses around the assignment to silence this warning
            if (name = export_mkname(w->export, "ttext-%p.%e", w->vtp, 0))
                     ^
                (                                                        )
ui.c:481:15: note: use '==' to turn this assignment into an equality comparison
            if (name = export_mkname(w->export, "ttext-%p.%e", w->vtp, 0))
                     ^
                     ==
ui.c:483:33: warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                w->edline = edline_new(w->xw, "Name:\2", name, start_save2, w);
                                              ^~~~~~~~~
./edline.h:24:51: note: passing argument to parameter 'prompt' here
struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset,
                                                  ^
ui.c:483:44: warning: passing 'char *' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                w->edline = edline_new(w->xw, "Name:\2", name, start_save2, w);
                                                         ^~~~
./edline.h:24:63: note: passing argument to parameter 'preset' here
struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset,
                                                              ^
ui.c:491:9: warning: passing 'char *' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        err(w, export_errstr());
               ^~~~~~~~~~~~~~~
ui.c:400:26: note: passing argument to parameter 'str' here
err(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:610:11: warning: passing 'char [12]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        err(w, "Unused key.");
                               ^~~~~~~~~~~~~
ui.c:400:26: note: passing argument to parameter 'str' here
err(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:614:14: warning: passing 'char [20]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    msg(w, "Error bell %sabled.", bell ? "en" : "dis");
                           ^~~~~~~~~~~~~~~~~~~~~
ui.c:390:26: note: passing argument to parameter 'str' here
msg(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:623:11: warning: passing 'char [25]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        msg(w, "Error reduction %sabled.", i ? "dis" : "en");
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
ui.c:390:26: note: passing argument to parameter 'str' here
msg(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:628:11: warning: passing 'char [27]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        err(w, "Unable to open new window.");
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ui.c:400:26: note: passing argument to parameter 'str' here
err(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:666:31: warning: passing 'char [25]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    if (w->edline) { err(w, "internal: w->edline != 0"); break;}
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
ui.c:400:26: note: passing argument to parameter 'str' here
err(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:668:34: warning: passing 'char [2]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    w->edline = edline_new(xw, "/", "", start_search, w);
                                               ^~~
./edline.h:24:51: note: passing argument to parameter 'prompt' here
struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset,
                                                  ^
ui.c:668:39: warning: passing 'char [1]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    w->edline = edline_new(xw, "/", "", start_search, w);
                                                    ^~
./edline.h:24:63: note: passing argument to parameter 'preset' here
struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset,
                                                              ^
ui.c:671:31: warning: passing 'char [25]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    if (w->edline) { err(w, "internal: w->edline != 0"); break;}
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
ui.c:400:26: note: passing argument to parameter 'str' here
err(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:673:34: warning: passing 'char [2]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    w->edline = edline_new(xw, "?", "", start_search, w);
                                               ^~~
./edline.h:24:51: note: passing argument to parameter 'prompt' here
struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset,
                                                  ^
ui.c:673:39: warning: passing 'char [1]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    w->edline = edline_new(xw, "?", "", start_search, w);
                                                    ^~
./edline.h:24:63: note: passing argument to parameter 'preset' here
struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset,
                                                              ^
ui.c:676:31: warning: passing 'char [25]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    if (w->edline) { err(w, "internal: w->edline != 0"); break;}
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
ui.c:400:26: note: passing argument to parameter 'str' here
err(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:677:34: warning: passing 'char [9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    w->edline = edline_new(xw, "Format:\2", save_format, start_save1, w);
                                               ^~~~~~~~~~~
./edline.h:24:51: note: passing argument to parameter 'prompt' here
struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset,
                                                  ^
ui.c:677:47: warning: passing 'char [128]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    w->edline = edline_new(xw, "Format:\2", save_format, start_save1, w);
                                                            ^~~~~~~~~~~
./edline.h:24:63: note: passing argument to parameter 'preset' here
struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset,
                                                              ^
ui.c:690:11: warning: passing 'char [22]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        msg(w, "Finetune fixed at %d.", w->vbi->pll_adj);
                               ^~~~~~~~~~~~~~~~~~~~~~~
ui.c:390:26: note: passing argument to parameter 'str' here
msg(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:692:11: warning: passing 'char [25]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        msg(w, "Finetune auto adjusting.");
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
ui.c:390:26: note: passing argument to parameter 'str' here
msg(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:695:14: warning: passing 'char [12]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    err(w, "Unused key.");
                           ^~~~~~~~~~~~~
ui.c:400:26: note: passing argument to parameter 'str' here
err(struct vtwin *w, u8 *str, ...)
                         ^
ui.c:707:13: warning: passing 'char [15]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            msg(w, "Cache cleared!");//@@@
                   ^~~~~~~~~~~~~~~~
ui.c:390:26: note: passing argument to parameter 'str' here
msg(struct vtwin *w, u8 *str, ...)
                         ^
40 warnings generated.
gcc -O -s bdf2xbm.c -o bdf2xbm
./bdf2xbm font1 <vtxt-latin-1.bdf >font1.xbm
./bdf2xbm font2 <vtxt-latin-2.bdf >font2.xbm
fgrep -h "#define" font1.xbm font2.xbm >fontsize.h
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o xio.o xio.c
In file included from xio.c:20:
./lang.h:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif LANG_H
       ^
       //
xio.c:37:16: warning: unused parameter 'argc' [-Wunused-parameter]
timer_init(int argc, char **argv)
               ^
xio.c:132:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                            latin1 ? font1_bits : font2_bits,
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/multimedia/alevt/work/.buildlink/include/X11/Xlib.h:1615:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xio.c:149:71: warning: unused parameter 'data' [-Wunused-parameter]
xlib_conn_watch(Display *dpy, void *fds, int fd, int open_flag, void *data)
                                                                      ^
xio.c:204:6: warning: passing 'unsigned char [160]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                        icon_bits, icon_width, icon_height);
                                        ^~~~~~~~~
/scratch/multimedia/alevt/work/.buildlink/include/X11/Xlib.h:1615:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xio.c:233:46: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    f = XParseGeometry(geom, &sh->x, &sh->y, &sh->width, &sh->height);
                                             ^~~~~~~~~~
/scratch/multimedia/alevt/work/.buildlink/include/X11/Xlib.h:2868:37: note: passing argument to parameter here
    unsigned int*       /* width_return */,
                                          ^
xio.c:233:58: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    f = XParseGeometry(geom, &sh->x, &sh->y, &sh->width, &sh->height);
                                                         ^~~~~~~~~~~
/scratch/multimedia/alevt/work/.buildlink/include/X11/Xlib.h:2870:1: note: passing argument to parameter here
);
^
xio.c:379:16: warning: passing 'u8 [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (strcmp(xw->title, title) == 0)
               ^~~~~~~~~
/usr/include/string.h:56:25: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                            ^
xio.c:382:12: warning: passing 'u8 [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcpy(xw->title, title);
           ^~~~~~~~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
xio.c:385:41: warning: passing 'u8 [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    XSetIconName(xw->xio->dpy, xw->win, xw->title);
                                        ^~~~~~~~~
/scratch/multimedia/alevt/work/.buildlink/include/X11/Xlib.h:3256:1: note: passing argument to parameter here
);
^
xio.c:446:16: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    l = strlen(str);
               ^~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
xio.c:668:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    for (xio = $ dpys->first; vtn = $ xio->node->next; xio = vtn)
                              ~~~~^~~~~~~~~~~~~~~~~~~
xio.c:668:35: note: place parentheses around the assignment to silence this warning
    for (xio = $ dpys->first; vtn = $ xio->node->next; xio = vtn)
                                  ^
                              (                      )
xio.c:668:35: note: use '==' to turn this assignment into an equality comparison
    for (xio = $ dpys->first; vtn = $ xio->node->next; xio = vtn)
                                  ^
                                  ==
xio.c:669:39: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        for (xw = $ xio->windows->first; vwn = $ xw->node->next; xw = vwn)
                                         ~~~~^~~~~~~~~~~~~~~~~~
xio.c:669:39: note: place parentheses around the assignment to silence this warning
        for (xw = $ xio->windows->first; vwn = $ xw->node->next; xw = vwn)
                                             ^
                                         (                     )
xio.c:669:39: note: use '==' to turn this assignment into an equality comparison
        for (xw = $ xio->windows->first; vwn = $ xw->node->next; xw = vwn)
                                             ^
                                             ==
xio.c:1048:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (XLookupString(&ev->xkey, &ch, 1, &k, 0))
                                         ^~~
/scratch/multimedia/alevt/work/.buildlink/include/X11/Xutil.h:528:31: note: passing argument to parameter here
    char*               /* buffer_return */,
                                           ^
xio.c:1005:35: warning: unused parameter 'fd' [-Wunused-parameter]
handle_event(struct xio *xio, int fd)
                                  ^
xio.c:1160:17: warning: unused parameter 'data' [-Wunused-parameter]
xio_timer(void *data, int fd)
                ^
xio.c:1183:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            for (xio = $ dpys->first; vtn = $ xio->node->next; xio = vtn)
                                      ~~~~^~~~~~~~~~~~~~~~~~~
xio.c:1183:36: note: place parentheses around the assignment to silence this warning
            for (xio = $ dpys->first; vtn = $ xio->node->next; xio = vtn)
                                          ^
                                      (                      )
xio.c:1183:36: note: use '==' to turn this assignment into an equality comparison
            for (xio = $ dpys->first; vtn = $ xio->node->next; xio = vtn)
                                          ^
                                          ==
17 warnings generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o fdset.o fdset.c
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o vbi.o vbi.c
In file included from vbi.c:10:
In file included from ./vbi.h:7:
./lang.h:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif LANG_H
       ^
       //
vbi.c:85:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    for (cl = $ vbi->clients->first; cln = $ cl->node->next; cl = cln)
                                     ~~~~^~~~~~~~~~~~~~~~~~
vbi.c:85:42: note: place parentheses around the assignment to silence this warning
    for (cl = $ vbi->clients->first; cln = $ cl->node->next; cl = cln)
                                         ^
                                     (                     )
vbi.c:85:42: note: use '==' to turn this assignment into an equality comparison
    for (cl = $ vbi->clients->first; cln = $ cl->node->next; cl = cln)
                                         ^
                                         ==
vbi.c:266:32: warning: passing 'int [13]' to parameter of type 'u32 *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
            add_enhance(rvtp->enh, d, t);
                                      ^
./lang.h:19:54: note: passing argument to parameter 'data' here
void add_enhance(struct enhance *eh, int dcode, u32 *data);
                                                     ^
vbi.c:388:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (i = vt_line(vbi, data+1))
                ~~^~~~~~~~~~~~~~~~~~~~~~
vbi.c:388:12: note: place parentheses around the assignment to silence this warning
            if (i = vt_line(vbi, data+1))
                  ^
                (                       )
vbi.c:388:12: note: use '==' to turn this assignment into an equality comparison
            if (i = vt_line(vbi, data+1))
                  ^
                  ==
vbi.c:403:34: warning: unused parameter 'fd' [-Wunused-parameter]
vbi_handler(struct vbi *vbi, int fd)
                                 ^
5 warnings generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o cache.o cache.c
cache.c:71:37: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        for (cp = $ ca->hash[i].first; cpn = $ cp->node->next; cp = cpn)
                                       ~~~~^~~~~~~~~~~~~~~~~~
cache.c:71:37: note: place parentheses around the assignment to silence this warning
        for (cp = $ ca->hash[i].first; cpn = $ cp->node->next; cp = cpn)
                                           ^
                                       (                     )
cache.c:71:37: note: use '==' to turn this assignment into an equality comparison
        for (cp = $ ca->hash[i].first; cpn = $ cp->node->next; cp = cpn)
                                           ^
                                           ==
cache.c:176:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (vtp = cache_lookup(ca, pgno, subno))
        ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cache.c:176:13: note: place parentheses around the assignment to silence this warning
    if (vtp = cache_lookup(ca, pgno, subno))
            ^
        (                                  )
cache.c:176:13: note: use '==' to turn this assignment into an equality comparison
    if (vtp = cache_lookup(ca, pgno, subno))
            ^
            ==
cache.c:193:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (vtp = cache_lookup(ca, pgno, subno))
            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cache.c:193:10: note: place parentheses around the assignment to silence this warning
        if (vtp = cache_lookup(ca, pgno, subno))
                ^
            (                                  )
cache.c:193:10: note: use '==' to turn this assignment into an equality comparison
        if (vtp = cache_lookup(ca, pgno, subno))
                ^
                ==
3 warnings generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o help.o help.c
help.c:83:13: warning: missing field 'lang' initializer [-Wmissing-field-initializers]
    { -1, 0 }
            ^
1 warning generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o edline.o edline.c
edline.c:90:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (*p >= 0x20 && *p <= 0x7e || *p >= 0xa0 && *p <= 0xff)
                    ~~~~~~~~~~~^~~~~~~~~~~~~ ~~
edline.c:90:18: note: place parentheses around the '&&' expression to silence this warning
                if (*p >= 0x20 && *p <= 0x7e || *p >= 0xa0 && *p <= 0xff)
                               ^
                    (                       )
edline.c:90:46: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (*p >= 0x20 && *p <= 0x7e || *p >= 0xa0 && *p <= 0xff)
                                             ~~ ~~~~~~~~~~~^~~~~~~~~~~~~
edline.c:90:46: note: place parentheses around the '&&' expression to silence this warning
                if (*p >= 0x20 && *p <= 0x7e || *p >= 0xa0 && *p <= 0xff)
                                                           ^
                                                (                       )
edline.c:120:24: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((plen = strlen(prompt)) > 20)
                       ^~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
edline.c:122:24: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((slen = strlen(str)) > (int)sizeof(el->buf) - 1)
                       ^~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
edline.c:139:12: warning: passing 'u8 [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcpy(el->buf, str);
           ^~~~~~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
edline.c:139:21: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcpy(el->buf, str);
                    ^~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
6 warnings generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o search.o search.c
search.c:65:29: warning: passing 'u8 [1026]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (regexec(s->pattern, buf, 1, m, 0) == 0)
                            ^~~
/usr/include/regex.h:138:29: note: passing argument to parameter here
            const char * __restrict, size_t, regmatch_t [], int);
                                   ^
search.c:95:29: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (regcomp(s->pattern, pattern, f | REG_NEWLINE) != 0)
                            ^~~~~~~
/usr/include/regex.h:135:58: note: passing argument to parameter here
int     regcomp(regex_t * __restrict, const char * __restrict, int);
                                                             ^
2 warnings generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o edit.o edit.c
In file included from edit.c:7:
In file included from ./vbi.h:7:
./lang.h:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif LANG_H
       ^
       //
edit.c:29:13: warning: passing 'u8 [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf(buf2, "%2d\3%02x  \7    ", y, buf1[x]);
            ^~~~
/usr/include/stdio.h:269:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
edit.c:176:16: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    fp = fopen(name, "w");
               ^~~~
/usr/include/stdio.h:227:37: note: passing argument to parameter here
FILE    *fopen(const char * __restrict , const char * __restrict);
                                       ^
edit.c:179:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        ioerror(name);
                ^~~~
./misc.h:44:26: note: passing argument to parameter 'str' here
void ioerror(const char *str);
                         ^
edit.c:214:10: warning: passing 'u8 [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf(name, "vt%03x.out", w->pgno);
                ^~~~
/usr/include/stdio.h:269:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
edit.c:216:10: warning: passing 'u8 [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf(name, "vt%03x-%02x.out", w->pgno, w->subno & 0xff);
                ^~~~
/usr/include/stdio.h:269:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
edit.c:219:35: warning: passing 'char [10]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    w->edline = edline_new(w->xw, "Save as:\2", name, do_save, w);
                                  ^~~~~~~~~~~~
./edline.h:24:51: note: passing argument to parameter 'prompt' here
struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset,
                                                  ^
edit.c:250:10: warning: passing 'u8 [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf(buf, "Editor %03x", w->pgno);
                ^~~
/usr/include/stdio.h:269:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
edit.c:252:10: warning: passing 'u8 [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf(buf, "Editor %03x/%x", w->pgno, w->subno);
                ^~~
/usr/include/stdio.h:269:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
edit.c:253:22: warning: passing 'u8 [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    xio_title(w->xw, buf);
                     ^~~
./xio.h:82:42: note: passing argument to parameter 'title' here
void xio_title(struct xio_win *xw, char *title);
                                         ^
edit.c:275:39: warning: unused parameter 'shift' [-Wunused-parameter]
ins_key(struct edwin *w, int key, int shift)
                                      ^
11 warnings generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o misc.o misc.c
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o hamm.o hamm.c
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o lang.o lang.c
In file included from lang.c:4:
./lang.h:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif LANG_H
       ^
       //
lang.c:64:19: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* none */          { "#",
                          ^~~
lang.c:65:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "¤",
                          ^~~
lang.c:66:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "$"                                   },
                          ^~~
lang.c:67:23: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* grave - ` */     { " aeiouAEIOU",
                          ^~~~~~~~~~~~~
lang.c:68:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "`àèìòùÀÈÌÒÙ",
                          ^~~~~~~~~~~~~
lang.c:69:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "`aeiouAEIOU"                         },
                          ^~~~~~~~~~~~~
lang.c:70:23: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* acute - ' */     { " aceilnorsuyzACEILNORSUYZ",
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lang.c:71:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "'ácéílnórsúýzÁCÉÍLNÓRSÚÝZ",
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lang.c:72:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "'áæéíåñóà¶úý¼ÁÆÉÍÅÑÓÀ¦ÚÝ¬"           },
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lang.c:73:27: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* cirumflex - ^ */ { " aeiouAEIOU",
                          ^~~~~~~~~~~~~
lang.c:74:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "^âêîôûÂÊÎÔÛ",
                          ^~~~~~~~~~~~~
lang.c:75:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "^âeîôuÂEÎÔU"                         },
                          ^~~~~~~~~~~~~
lang.c:76:23: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* tilde - ~ */     { " anoANO",
                          ^~~~~~~~~
lang.c:77:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "~ãñõÃÑÕ",
                          ^~~~~~~~~
lang.c:78:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "~anoANO"                             },
                          ^~~~~~~~~
lang.c:79:21: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* ??? - ¯ */       { "",
                          ^~
lang.c:80:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "",
                          ^~
lang.c:81:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          ""                                    },
                          ^~
lang.c:82:23: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* breve - u */     { "aA",
                          ^~~~
lang.c:83:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "aA",
                          ^~~~
lang.c:84:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "ãÃ"                                  },
                          ^~~~
lang.c:85:26: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* abovedot - · */  { "zZ",
                          ^~~~
lang.c:86:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "zZ",
                          ^~~~
lang.c:87:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "¿¯"                                  },
                          ^~~~
lang.c:88:25: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* diaeresis ¨ */   { "aeiouAEIOU",
                          ^~~~~~~~~~~~
lang.c:89:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "äëïöüÄËÏÖÜ",
                          ^~~~~~~~~~~~
lang.c:90:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "äëiöüÄËIÖÜ"                          },
                          ^~~~~~~~~~~~
lang.c:91:21: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* ??? - . */       { "",
                          ^~
lang.c:92:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "",
                          ^~
lang.c:93:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          ""                                    },
                          ^~
lang.c:94:27: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* ringabove - ° */ { " auAU",
                          ^~~~~~~
lang.c:95:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "°åuÅU",
                          ^~~~~~~
lang.c:96:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "°aùAÙ"                               },
                          ^~~~~~~
lang.c:97:25: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* cedilla - ¸ */   { "cstCST",
                          ^~~~~~~~
lang.c:98:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "çstÇST",
                          ^~~~~~~~
lang.c:99:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "çºþÇªÞ"                              },
                          ^~~~~~~~
lang.c:100:21: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* ??? - _ */       { " ",
                          ^~~
lang.c:101:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "_",
                          ^~~
lang.c:102:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "_"                                   },
                          ^~~
lang.c:103:27: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* dbl acute - " */ { " ouOU",
                          ^~~~~~~
lang.c:104:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "\"ouOU",
                          ^~~~~~~~
lang.c:105:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "\"õûÕÛ"                              },
                          ^~~~~~~~
lang.c:106:25: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* ogonek - \, */   { "aeAE",
                          ^~~~~~
lang.c:107:10: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "aeAE",
                          ^~~~~~
lang.c:108:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "±ê¡Ê"                                },
                          ^~~~~~
lang.c:109:23: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign]
    /* caron - v */     { "cdelnrstzCDELNRSTZ",
                          ^~~~~~~~~~~~~~~~~~~~
lang.c:110:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "cdelnrstzCDELNRSTZ",
                          ^~~~~~~~~~~~~~~~~~~~
lang.c:111:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign]
                          "èïìµòø¹»¾ÈÏÌ¥ÒØ©«®"                  },
                          ^~~~~~~~~~~~~~~~~~~~
lang.c:218:23: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                            if (x = strchr(mark->g0, data))
                                           ^~~~~~~~
/usr/include/string.h:55:26: note: passing argument to parameter here
char    *strchr(const char *, int);
                            ^
lang.c:218:14: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                            if (x = strchr(mark->g0, data))
                                  ^ ~~~~~~~~~~~~~~~~~~~~~~
lang.c:218:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                            if (x = strchr(mark->g0, data))
                                ~~^~~~~~~~~~~~~~~~~~~~~~~~
lang.c:218:14: note: place parentheses around the assignment to silence this warning
                            if (x = strchr(mark->g0, data))
                                  ^
                                (                         )
lang.c:218:14: note: use '==' to turn this assignment into an equality comparison
                            if (x = strchr(mark->g0, data))
                                  ^
                                  ==
52 warnings generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o export.o export.c
export.c:59:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (oo = opts)
        ~~~^~~~~~
export.c:59:12: note: place parentheses around the assignment to silence this warning
    if (oo = opts)
           ^
        (        )
export.c:59:12: note: use '==' to turn this assignment into an equality comparison
    if (oo = opts)
           ^
           ==
export.c:60:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (o = *oo++)
               ~~^~~~~~~
export.c:60:11: note: place parentheses around the assignment to silence this warning
        while (o = *oo++)
                 ^
               (        )
export.c:60:11: note: use '==' to turn this assignment into an equality comparison
        while (o = *oo++)
                 ^
                 ==
export.c:62:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (a = strchr(o, '='))
                ~~^~~~~~~~~~~~~~~~
export.c:62:12: note: place parentheses around the assignment to silence this warning
            if (a = strchr(o, '='))
                  ^
                (                 )
export.c:62:12: note: use '==' to turn this assignment into an equality comparison
            if (a = strchr(o, '='))
                  ^
                  ==
export.c:87:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (fmt = strdup(fmt))
        ~~~~^~~~~~~~~~~~~
export.c:87:13: note: place parentheses around the assignment to silence this warning
    if (fmt = strdup(fmt))
            ^
        (                )
export.c:87:13: note: use '==' to turn this assignment into an equality comparison
    if (fmt = strdup(fmt))
            ^
            ==
export.c:89:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (opt = strchr(fmt, ','))
            ~~~~^~~~~~~~~~~~~~~~~~
export.c:89:10: note: place parentheses around the assignment to silence this warning
        if (opt = strchr(fmt, ','))
                ^
            (                     )
export.c:89:10: note: use '==' to turn this assignment into an equality comparison
        if (opt = strchr(fmt, ','))
                ^
                ==
export.c:91:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        for (eem = modules; em = *eem; eem++)
                            ~~~^~~~~~
export.c:91:25: note: place parentheses around the assignment to silence this warning
        for (eem = modules; em = *eem; eem++)
                               ^
                            (        )
export.c:91:25: note: use '==' to turn this assignment into an equality comparison
        for (eem = modules; em = *eem; eem++)
                               ^
                               ==
export.c:96:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (e = malloc(sizeof(*e) + em->local_size))
                ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export.c:96:12: note: place parentheses around the assignment to silence this warning
            if (e = malloc(sizeof(*e) + em->local_size))
                  ^
                (                                      )
export.c:96:12: note: use '==' to turn this assignment into an equality comparison
            if (e = malloc(sizeof(*e) + em->local_size))
                  ^
                  ==
export.c:106:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                        if (optend = strchr(opt, ','))
                            ~~~~~~~^~~~~~~~~~~~~~~~~~
export.c:106:15: note: place parentheses around the assignment to silence this warning
                        if (optend = strchr(opt, ','))
                                   ^
                            (                        )
export.c:106:15: note: use '==' to turn this assignment into an equality comparison
                        if (optend = strchr(opt, ','))
                                   ^
                                   ==
export.c:110:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                        if (optarg = strchr(opt, '='))
                            ~~~~~~~^~~~~~~~~~~~~~~~~~
export.c:110:15: note: place parentheses around the assignment to silence this warning
                        if (optarg = strchr(opt, '='))
                                   ^
                            (                        )
export.c:110:15: note: use '==' to turn this assignment into an equality comparison
                        if (optarg = strchr(opt, '='))
                                   ^
                                   ==
export.c:189:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (*p = *str++)
           ~~~^~~~~~~~
export.c:189:15: note: place parentheses around the assignment to silence this warning
    while (*p = *str++)
              ^
           (          )
export.c:189:15: note: use '==' to turn this assignment into an equality comparison
    while (*p = *str++)
              ^
              ==
export.c:200:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (*p = *fmt++)
           ~~~^~~~~~~~
export.c:200:15: note: place parentheses around the assignment to silence this warning
    while (*p = *fmt++)
              ^
           (          )
export.c:200:15: note: use '==' to turn this assignment into an equality comparison
    while (*p = *fmt++)
              ^
              ==
11 warnings generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o exp-txt.o exp-txt.c
exp-txt.c:65:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (*dst = *src++)
           ~~~~~^~~~~~~~
exp-txt.c:65:17: note: place parentheses around the assignment to silence this warning
    while (*dst = *src++)
                ^
           (            )
exp-txt.c:65:17: note: use '==' to turn this assignment into an equality comparison
    while (*dst = *src++)
                ^
                ==
1 warning generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o exp-html.o exp-html.c
In file included from exp-html.c:5:
./lang.h:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif LANG_H
       ^
       //
1 warning generated.
gcc -O2 -s -DVERSION=\"1.6.1\" -DWITH_PNG -I/usr/pkg/include -I/usr/pkg/include -I/usr/local/include -W -I/usr/pkg/include -I/usr/include  -c -o exp-gfx.o exp-gfx.c
In file included from exp-gfx.c:7:
./lang.h:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif LANG_H
       ^
       //
exp-gfx.c:105:27: warning: unused parameter 'e' [-Wunused-parameter]
ppm_output(struct export *e, char *name, struct fmt_page *pg)
                          ^
exp-gfx.c:196:22: error: use of undeclared identifier 'Z_DEFAULT_COMPRESSION'
    D->compression = Z_DEFAULT_COMPRESSION;
                     ^
2 warnings and 1 error generated.
gmake: *** [exp-gfx.o] Error 1
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/multimedia/alevt
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/multimedia/alevt
