=> Bootstrap dependency digest>=20010302: found digest-20111104
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 freewais-sf-2.2.12nb6
Making all in lib...
libtool  --tag=CC --mode=compile cc -O2 -I.. -I../lib -I../lib/regexp/  -c cutil.c
libtool: compile:  cc -O2 -I.. -I../lib -I../lib/regexp/ -c cutil.c  -fPIC -DPIC -o .libs/cutil.o
In file included from cutil.c:23:
In file included from ../lib/cutil.h:20:
../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
cutil.c:537:25: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        fprintf(waislogfile, "%d: %d: %s: %d: ", wais_pid, log_line++,
                              ~^                 ~~~~~~~~
                              %ld
cutil.c:537:29: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        fprintf(waislogfile, "%d: %d: %s: %d: ", wais_pid, log_line++,
                                  ~^                       ~~~~~~~~~~
                                  %ld
cutil.c:537:37: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        fprintf(waislogfile, "%d: %d: %s: %d: ", wais_pid, log_line++,
                                          ~^
                                          %ld
5 warnings generated.
libtool: compile:  cc -O2 -I.. -I../lib -I../lib/regexp/ -c cutil.c -o cutil.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I.. -I../lib -I../lib/regexp/  -c ustubs.c
libtool: compile:  cc -O2 -I.. -I../lib -I../lib/regexp/ -c ustubs.c  -fPIC -DPIC -o .libs/ustubs.o
In file included from ustubs.c:26:
In file included from ../lib/cutil.h:20:
../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from ustubs.c:26:
../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
ustubs.c:73:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (p = getpwuid (uid)) {
      ~~^~~~~~~~~~~~~~~~
ustubs.c:73:9: note: place parentheses around the assignment to silence this warning
  if (p = getpwuid (uid)) {
        ^
      (                 )
ustubs.c:73:9: note: use '==' to turn this assignment into an equality comparison
  if (p = getpwuid (uid)) {
        ^
        ==
4 warnings generated.
libtool: compile:  cc -O2 -I.. -I../lib -I../lib/regexp/ -c ustubs.c -o ustubs.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I.. -I../lib -I../lib/regexp/  -c panic.c
libtool: compile:  cc -O2 -I.. -I../lib -I../lib/regexp/ -c panic.c  -fPIC -DPIC -o .libs/panic.o
In file included from panic.c:22:
In file included from ../lib/futil.h:18:
In file included from ../lib/cutil.h:20:
../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from panic.c:22:
In file included from ../lib/futil.h:18:
../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
3 warnings generated.
libtool: compile:  cc -O2 -I.. -I../lib -I../lib/regexp/ -c panic.c -o panic.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I.. -I../lib -I../lib/regexp/  -c futil.c
libtool: compile:  cc -O2 -I.. -I../lib -I../lib/regexp/ -c futil.c  -fPIC -DPIC -o .libs/futil.o
In file included from futil.c:40:
In file included from ../lib/futil.h:18:
In file included from ../lib/cutil.h:20:
../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from futil.c:40:
In file included from ../lib/futil.h:18:
../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
futil.c:432:5: warning: implicit declaration of function 'mygethostname' is invalid in C99 [-Wimplicit-function-declaration]
    mygethostname(hostname, 120);
    ^
4 warnings generated.
libtool: compile:  cc -O2 -I.. -I../lib -I../lib/regexp/ -c futil.c -o futil.o >/dev/null 2>&1
Making all in lib/../lib/regexp...
libtool  --tag=CC --mode=compile cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 regexp.c
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 regexp.c  -fPIC -DPIC -o .libs/regexp.o
regexp.c:198:15: warning: incompatible redeclaration of library function 'malloc'
        extern char *malloc();
                     ^
regexp.c:198:15: note: 'malloc' is a builtin with type 'void *(unsigned long)'
1 warning generated.
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 regexp.c -o regexp.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 regerror.c
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 regerror.c  -fPIC -DPIC -o .libs/regerror.o
regerror.c:11:2: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
        exit(1);
        ^
regerror.c:11:2: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning generated.
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 regerror.c -o regerror.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 regsub.c
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 regsub.c  -fPIC -DPIC -o .libs/regsub.o
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 regsub.c -o regsub.o >/dev/null 2>&1
Making all in lib/ftw...
libtool  --tag=CC --mode=compile cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 alphasort.c
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 alphasort.c  -fPIC -DPIC -o .libs/alphasort.o
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 alphasort.c -o alphasort.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 alloca.c
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 alloca.c  -fPIC -DPIC -o .libs/alloca.o
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 alloca.c -o alloca.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 freedir.c
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 freedir.c  -fPIC -DPIC -o .libs/freedir.o
freedir.c:23:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
        free(*s++);
        ^
1 warning generated.
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 freedir.c -o freedir.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 ftw.c
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 ftw.c  -fPIC -DPIC -o .libs/ftw.o
ftw.c:90:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (entp = readdir(dirp))
           ~~~~~^~~~~~~~~~~~~~~
ftw.c:90:17: note: place parentheses around the assignment to silence this warning
    while (entp = readdir(dirp))
                ^
           (                   )
ftw.c:90:17: note: use '==' to turn this assignment into an equality comparison
    while (entp = readdir(dirp))
                ^
                ==
1 warning generated.
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 ftw.c -o ftw.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 scandir.c
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 scandir.c  -fPIC -DPIC -o .libs/scandir.o
libtool: compile:  cc -c -O2 -I. -I../.. -I../../lib -I../../lib/regexp/ -O2 scandir.c -o scandir.o >/dev/null 2>&1
Making all in lib/ir...
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c any_stemmer.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c any_stemmer.c  -fPIC -DPIC -o .libs/any_stemmer.o
In file included from any_stemmer.c:28:
In file included from ./stemmer.h:18:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from any_stemmer.c:28:
In file included from ./stemmer.h:18:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
In file included from any_stemmer.c:30:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
any_stemmer.c:37:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter]
char tag;
     ^
any_stemmer.c:34:30: note: previous declaration is here
char * any_stemmer _AP((char tag, char *word));
                             ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
6 warnings generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c any_stemmer.c -o any_stemmer.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c grundform.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c grundform.c  -fPIC -DPIC -o .libs/grundform.o
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c grundform.c -o grundform.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c syslog.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c syslog.c  -fPIC -DPIC -o .libs/syslog.o
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c syslog.c -o syslog.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c ircfiles.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c ircfiles.c  -fPIC -DPIC -o .libs/ircfiles.o
In file included from ircfiles.c:54:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from ircfiles.c:54:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
ircfiles.c:1338:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "ARTICLE")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1338:22: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "ARTICLE")){
                     ^~~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1385:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "From ")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1385:22: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "From ")){
                     ^~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1481:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Date: ")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1481:22: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Date: ")){
                     ^~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1485:14: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          substrcmp(line, "From ")){
                    ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1485:20: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          substrcmp(line, "From ")){
                          ^~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1492:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
ircfiles.c:1503:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Subject: ") &&
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1503:22: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Subject: ") &&
                     ^~~~~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1510:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "From: ") &&
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1510:22: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "From: ") &&
                     ^~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1555:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "From ") &&
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1555:22: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "From ") &&
                     ^~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1561:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if(substrcmp(line, "")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1561:22: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if(substrcmp(line, "")){
                     ^~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1586:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "------------------------------")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1586:22: warning: passing 'char [31]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "------------------------------")){
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1606:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line,"========================================")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1606:21: warning: passing 'char [41]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line,"========================================")){
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1617:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if((strlen(line) > strlen("Date: ")) && substrcmp(line, "Date: ")){
                                                    ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1617:59: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if((strlen(line) > strlen("Date: ")) && substrcmp(line, "Date: ")){
                                                          ^~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1621:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "From: ") && (strlen(listserv_from) == 0)){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1621:22: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "From: ") && (strlen(listserv_from) == 0)){
                     ^~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1627:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
ircfiles.c:1633:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Subject: ") && (strlen(listserv_subject) == 0)){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1633:22: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Subject: ") && (strlen(listserv_subject) == 0)){
                     ^~~~~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1639:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "From: ") && (strlen(listserv_from) == 0)){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1639:22: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "From: ") && (strlen(listserv_from) == 0)){
                     ^~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1704:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (title_start = strstr(line, TITLE_MARKER))
      ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ircfiles.c:1704:19: note: place parentheses around the assignment to silence this warning
  if (title_start = strstr(line, TITLE_MARKER))
                  ^
      (                                       )
ircfiles.c:1704:19: note: use '==' to turn this assignment into an equality comparison
  if (title_start = strstr(line, TITLE_MARKER))
                  ^
                  ==
ircfiles.c:1737:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, ">>>")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1737:22: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, ">>>")){
                     ^~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1783:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "@A")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1783:22: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "@A")){
                     ^~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1798:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "APPLICATION:")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1798:22: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "APPLICATION:")){
                     ^~~~~~~~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1942:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if((strlen(line) > 20) && substrcmp(line,"--------------------")){
                                      ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:1942:44: warning: passing 'char [21]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if((strlen(line) > 20) && substrcmp(line,"--------------------")){
                                           ^~~~~~~~~~~~~~~~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2072:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Headline:")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2072:22: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Headline:")){
                     ^~~~~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2156:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "BBoard-ID: ") &&
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2156:22: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "BBoard-ID: ") &&
                     ^~~~~~~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2309:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "TI "))){    
                ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2309:23: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "TI "))){    
                      ^~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2314:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "SO "))){
                ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2314:23: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "SO "))){
                      ^~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2322:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "AU "))){
                ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2322:23: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "AU "))){
                      ^~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2400:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "%T "))){    
                ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2400:23: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "%T "))){    
                      ^~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2404:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "%B ")) && (strlen(refer_title) == 0)){    
                ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2404:23: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "%B ")) && (strlen(refer_title) == 0)){    
                      ^~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2409:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "%D "))){
                ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2409:23: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "%D "))){
                      ^~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2414:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "%A ")) && (strlen(refer_author) == 0)){
                ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2414:23: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "%A ")) && (strlen(refer_author) == 0)){
                      ^~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2419:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "%E ")) && (strlen(refer_author) == 0)){
                ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2419:23: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     (substrcmp(line, "%E ")) && (strlen(refer_author) == 0)){
                      ^~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2977:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if((strlen(line) < 3) && substrcmp(line,"")){
                                     ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:2977:43: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if((strlen(line) < 3) && substrcmp(line,"")){
                                          ^~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3000:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    } else if (!strncmp(line, "TI: ", 4)) {
      ^
ircfiles.c:3034:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "ED: ")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3034:22: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "ED: ")){
                     ^~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3056:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if((strlen(line) < 3) && substrcmp(line,"")){
                                     ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3056:43: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if((strlen(line) < 3) && substrcmp(line,"")){
                                          ^~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3319:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Erfasst: ")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3319:22: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Erfasst: ")){
                     ^~~~~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3337:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "**********")){
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3337:22: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "**********")){
                     ^~~~~~~~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3349:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Re: ") &&
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3349:22: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Re: ") &&
                     ^~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3356:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Fr: ") &&
               ^~~~
../../lib/cutil.h:161:39: note: passing argument to parameter 'string1' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                      ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3356:22: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     substrcmp(line, "Fr: ") &&
                     ^~~~~~
../../lib/cutil.h:161:63: note: passing argument to parameter 'string2' here
boolean substrcmp _AP((unsigned char *string1, unsigned char *string2));
                                                              ^
../../lib/cdialect.h:100:19: note: expanded from macro '_AP'
#define _AP(args) args
                  ^
ircfiles.c:3627:36: warning: '/*' within block comment [-Wcomment]
      /* clear_Ftable_pos;         /* close all fields (more should happen here) */
                                   ^
78 warnings generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c ircfiles.c -o ircfiles.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c irfileio.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c irfileio.c  -fPIC -DPIC -o .libs/irfileio.o
In file included from irfileio.c:36:
In file included from ./irfileio.h:24:
In file included from ../../lib/futil.h:18:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from irfileio.c:36:
In file included from ./irfileio.h:24:
In file included from ../../lib/futil.h:18:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
irfileio.c:589:46: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        fprintf(stderr,"Expected an 's' but got an %c\n", ch);
                                                   ~^     ~~
                                                   %ld
irfileio.c:597:49: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        fprintf(stderr,"Expected an '(' but got an an %c\n",ch);
                                                      ~^    ~~
                                                      %ld
irfileio.c:692:68: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
      fprintf(stderr,"error in reading array.  Expected # and got %c", ch);
                                                                  ~^   ~~
                                                                  %ld
irfileio.c:699:46: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        fprintf(stderr,"Expected an '(' but got an %c\n", ch);
                                                   ~^     ~~
                                                   %ld
7 warnings generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c irfileio.c -o irfileio.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c irfiles.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c irfiles.c  -fPIC -DPIC -o .libs/irfiles.o
irfiles.c:277:24: warning: '/*' within block comment [-Wcomment]
/* #include <string.h> /* for memset() */
                       ^
In file included from irfiles.c:278:
In file included from ./irhash.h:23:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from irfiles.c:278:
In file included from ./irhash.h:23:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
irfiles.c:480:9: warning: implicit declaration of function 'utlk_using_lock_and_get_pid' is invalid in C99 [-Wimplicit-function-declaration]
    if( utlk_using_lock_and_get_pid(db->database_file, LOCK_INDEX, &pid) &&
        ^
irfiles.c:630:5: warning: implicit declaration of function 'clear_fields' is invalid in C99 [-Wimplicit-function-declaration]
    clear_fields(db);
    ^
irfiles.c:1172:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
irfiles.c:2860:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
irfiles.c:3244:33: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
      fprintf(catalog, "DocID: %d %d %s\n\n",
                               ~^
                               %ld
irfiles.c:3244:36: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
      fprintf(catalog, "DocID: %d %d %s\n\n",
                                  ~^
                                  %ld
irfiles.c:3442:30: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
      sprintf(destination, "%d %d %s, \"%s\"", 
                            ~^
                            %ld
irfiles.c:3442:33: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
      sprintf(destination, "%d %d %s, \"%s\"", 
                               ~^
                               %ld
irfiles.c:3447:30: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
      sprintf(destination, "%d %d %s", 
                            ~^
                            %ld
irfiles.c:3447:33: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
      sprintf(destination, "%d %d %s", 
                               ~^
                               %ld
irfiles.c:3469:16: warning: conversion specifies type 'int *' but the argument has type 'long *' [-Wformat]
        sscanf(doc, "%d %d %s", &start, &end, fn);
                     ~^         ~~~~~~
                     %ld
irfiles.c:3469:19: warning: conversion specifies type 'int *' but the argument has type 'long *' [-Wformat]
        sscanf(doc, "%d %d %s", &start, &end, fn);
                        ~^              ~~~~
                        %ld
irfiles.c:3512:18: warning: conversion specifies type 'int *' but the argument has type 'long *' [-Wformat]
          sscanf(doc, "%d %d %s", &start, &end, fn);
                       ~^         ~~~~~~
                       %ld
irfiles.c:3512:21: warning: conversion specifies type 'int *' but the argument has type 'long *' [-Wformat]
          sscanf(doc, "%d %d %s", &start, &end, fn);
                          ~^              ~~~~
                          %ld
18 warnings generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c irfiles.c -o irfiles.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c irtfiles.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c irtfiles.c  -fPIC -DPIC -o .libs/irtfiles.o
In file included from irtfiles.c:37:
In file included from ./irhash.h:23:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from irtfiles.c:37:
In file included from ./irhash.h:23:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
irtfiles.c:177:7: warning: implicit declaration of function 'add_word' is invalid in C99 [-Wimplicit-function-declaration]
      add_word (make_joint_word (last_word, word),      /* added word_position (up) */
      ^
irtfiles.c:224:19: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
  static          last_current_field_id = -1;
  ~~~~~~          ^
irtfiles.c:252:7: warning: implicit declaration of function 'field_add_word' is invalid in C99 [-Wimplicit-function-declaration]
      field_add_word (make_joint_word (field_last_word, word),
      ^
6 warnings generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c irtfiles.c -o irtfiles.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c irkeywords.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c irkeywords.c  -fPIC -DPIC -o .libs/irkeywords.o
In file included from irkeywords.c:22:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from irkeywords.c:22:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
irkeywords.c:51:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
retreive_keywords(db)
^~~~~~~~~~~~~~~~~
irkeywords.c:77:3: warning: implicit declaration of function 'look_up_total_word_count' is invalid in C99 [-Wimplicit-function-declaration]
  look_up_total_word_count(db);
  ^
irkeywords.c:157:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
6 warnings generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c irkeywords.c -o irkeywords.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c html_entities.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c html_entities.c  -fPIC -DPIC -o .libs/html_entities.o
html_entities.c:302:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          code = hash (s + 1);
                       ^~~~~
1 warning generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c html_entities.c -o html_entities.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c stemmer.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c stemmer.c  -fPIC -DPIC -o .libs/stemmer.o
In file included from stemmer.c:26:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from stemmer.c:26:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
stemmer.c:57:1: warning: implicit declaration of function 'Stem' is invalid in C99 [-Wimplicit-function-declaration]
Stem(word);
^
4 warnings generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c stemmer.c -o stemmer.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c sockets.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c sockets.c  -fPIC -DPIC -o .libs/sockets.o
In file included from sockets.c:22:
In file included from ./sockets.h:20:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from sockets.c:22:
In file included from ./sockets.h:20:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
sockets.c:186:54: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    *fd = accept (socket, (struct sockaddr *)&saddr, &len);
                                                     ^~~~
/usr/include/sys/socket.h:604:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
4 warnings generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c sockets.c -o sockets.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c transprt.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c transprt.c  -fPIC -DPIC -o .libs/transprt.o
In file included from transprt.c:33:
In file included from ./transprt.h:21:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from transprt.c:33:
In file included from ./transprt.h:21:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
3 warnings generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c transprt.c -o transprt.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c wmessage.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c wmessage.c  -fPIC -DPIC -o .libs/wmessage.o
In file included from wmessage.c:32:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from wmessage.c:32:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
3 warnings generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c wmessage.c -o wmessage.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c wprot.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c wprot.c  -fPIC -DPIC -o .libs/wprot.o
In file included from wprot.c:25:
In file included from ./wprot.h:22:
In file included from ./zprot.h:22:
In file included from ./zutil.h:21:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from wprot.c:25:
In file included from ./wprot.h:22:
In file included from ./zprot.h:22:
In file included from ./zutil.h:21:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
3 warnings generated.
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c wprot.c -o wprot.o >/dev/null 2>&1
libtool  --tag=CC --mode=compile cc -O2 -I../.. -I../../lib -I../../lib/regexp/  -c wutil.c
libtool: compile:  cc -O2 -I../.. -I../../lib -I../../lib/regexp/ -c wutil.c  -fPIC -DPIC -o .libs/wutil.o
In file included from wutil.c:24:
In file included from ../../lib/futil.h:18:
In file included from ../../lib/cutil.h:20:
../../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from wutil.c:24:
In file included from ../../lib/futil.h:18:
../../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
wutil.c:335:5: warning: implicit declaration of function 'twais_tmplt_typ3_srch_apdu' is invalid in C99 [-Wimplicit-function-declaration]
    twais_tmplt_typ3_srch_apdu(apdu_buff, &len);
    ^
wutil.c:1076:17: warning: conversion specifies type 'long' but the argument has type 'char' [-Wformat]
      printf("%ld, ", info->ChunkMarker[i]);
              ~~^     ~~~~~~~~~~~~~~~~~~~~
              %hhd
wutil.c:1082:17: warning: conversion specifies type 'long' but the argument has type 'char' [-Wformat]
      printf("%ld, ", info->HighlightMarker[i]);
              ~~^     ~~~~~~~~~~~~~~~~~~~~~~~~
              %hhd
wutil.c:1088:17: warning: conversion specifies type 'long' but the argument has type 'char' [-Wformat]
      printf("%ld, ", info->DeHighlightMarker[i]);
              ~~^     ~~~~~~~~~~~~~~~~~~~~~~~~~~
              %hhd
wutil.c:1094:17: warning: conversion specifies type 'long' but the argument has type 'char' [-Wformat]
      printf("%ld, ", info->NewlineCharacters[i]);
              ~~^     ~~~~~~~~~~~~~~~~~~~~~~~~~~
              %hhd
wutil.c:1193:25: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("\n    record %2d, ", i);
                             ~~^     ~
                             %2ld
wutil.c:1194:2: warning: implicit declaration of function 'dsply_doc_hdr_record' is invalid in C99 [-Wimplicit-function-declaration]
        dsply_doc_hdr_record( info->DocHeaders[k++]);
        ^
wutil.c:1208:25: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("\n    record %2d, ", i);
                             ~~^     ~
                             %2ld
wutil.c:1209:2: warning: implicit declaration of function 'dsply_short_hdr_record' is invalid in C99 [-Wimplicit-function-declaration]
        dsply_short_hdr_record( info->ShortHeaders[k++]);
        ^
wutil.c:1223:25: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("\n    record %2d, ", i);
                             ~~^     ~
                             %2ld
wutil.c:1238:25: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("\n    record %2d, ", i);
                             ~~^     ~
                             %2ld
wutil.c:1253:25: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("\n    record %2d, ", i);
                             ~~^     ~
                             %2ld
wutil.c:1268:25: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("\n    record %2d, ", i);
                             ~~^     ~
                             %2ld
wutil.c:1293:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dsply_doc_hdr_record( record)
^~~~~~~~~~~~~~~~~~~~
wutil.c:1322:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
wutil.c:1328:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dsply_short_hdr_record( record)
^~~~~~~~~~~~~~~~~~~~~~
wutil.c:1339:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
wutil.c:1749:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
twais_tmplt_typ1_stry_rsp_apdu( buff, buff_len)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wutil.c:1776:5: error: non-void function 'twais_tmplt_typ1_stry_rsp_apdu' should return a value [-Wreturn-type]
    return;
    ^
wutil.c:1785:5: error: non-void function 'twais_tmplt_typ1_stry_rsp_apdu' should return a value [-Wreturn-type]
    return;
    ^
wutil.c:1831:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
twais_tmplt_typ3_srch_apdu( buff, buff_len)
^~~~~~~~~~~~~~~~~~~~~~~~~~
22 warnings and 2 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/freewais-sf/work/freeWAIS-sf-2.2.12/lib/ir
*** Error code 1

Stop.
make: stopped in /scratch/net/freewais-sf/work/freeWAIS-sf-2.2.12/lib
Making all in server...
cc -c -O2 -I../lib/ir -I.. -I../lib -I../lib/regexp/ -O2 waisserver.c
In file included from waisserver.c:29:
In file included from ../lib/ir/sockets.h:20:
In file included from ../lib/cutil.h:20:
../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from waisserver.c:29:
In file included from ../lib/ir/sockets.h:20:
../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
waisserver.c:214:3: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration]
  wait(NULL);                   /* give the kid a decent burial */
  ^
waisserver.c:365:1: error: 'main' must return 'int'
void
^
waisserver.c:413:3: warning: implicit declaration of function 'stop_list_file' is invalid in C99 [-Wimplicit-function-declaration]
  stop_list_file("\0");
  ^
waisserver.c:435:64: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!getpeername(fileno(stdout),(struct sockaddr *)&source,&sourcelen)) {
                                                               ^~~~~~~~~~
/usr/include/sys/socket.h:607:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
waisserver.c:660:4: warning: implicit declaration of function 'freedir' is invalid in C99 [-Wimplicit-function-declaration]
          freedir(list);                /* array of filenames */
          ^
waisserver.c:704:10: warning: implicit declaration of function 'server_security' is invalid in C99 [-Wimplicit-function-declaration]
    if ( server_security(index_dir,NULL) != true ){
         ^
8 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/freewais-sf/work/freeWAIS-sf-2.2.12/server
Making all in indexer...
cc -c -O2 -I../lib/ir -I.. -I../lib -I../lib/regexp/ -O2 waisindex.c
In file included from waisindex.c:24:
In file included from ../lib/cutil.h:20:
../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from waisindex.c:24:
../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
waisindex.c:138:47: warning: invalid conversion specifier ']' [-Wformat-invalid-specifier]
  fprintf (stderr, "          [-cmmem  mem\045] /* percent of CM memory (CM code only) */\n");
                                          ~~~~^
waisindex.c:239:1: error: 'main' must return 'int'
void
^
waisindex.c:1102:8: warning: implicit declaration of function 'open_global_Database' is invalid in C99 [-Wimplicit-function-declaration]
          if (open_global_Database (false, db)) {
              ^
waisindex.c:1107:2: warning: implicit declaration of function 'init_index_fields' is invalid in C99 [-Wimplicit-function-declaration]
        init_index_fields (&adding_to_existing_index, &create_new_fields,
        ^
waisindex.c:1217:6: warning: implicit declaration of function 'open_field_streams_init' is invalid in C99 [-Wimplicit-function-declaration]
        if (open_field_streams_init (!adding_to_existing_index,
            ^
waisindex.c:1355:7: warning: implicit declaration of function 'retreive_keywords' is invalid in C99 [-Wimplicit-function-declaration]
      retreive_keywords (db);
      ^
waisindex.c:1397:29: warning: implicit declaration of function 'read_src_structure' is invalid in C99 [-Wimplicit-function-declaration]
      } else if ((oldKeys = read_src_structure (source_filename (filename, db), oldkeys))) {
                            ^
waisindex.c:1441:3: warning: implicit declaration of function 'free_keywords' is invalid in C99 [-Wimplicit-function-declaration]
  free_keywords ();             /* 8/94 (up) */
  ^
waisindex.c:1446:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
read_src_structure (filename, output)
^~~~~~~~~~~~~~~~~~
11 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/freewais-sf/work/freeWAIS-sf-2.2.12/indexer
Making all in ui...
cc -c -O2 -I../lib/ir -I.. -I../lib -I../lib/regexp/ -O2 waissearch.c
In file included from waissearch.c:35:
In file included from ../lib/ir/ui.h:29:
In file included from ../lib/ir/zprot.h:22:
In file included from ../lib/ir/zutil.h:21:
In file included from ../lib/cutil.h:20:
../lib/../defaults.h:66:21: warning: '/*' within block comment [-Wcomment]
/* #define MYREGEXP /**/
                    ^
../lib/../defaults.h:67:20: warning: '/*' within block comment [-Wcomment]
/* #define MYCTYPE /**/
                   ^
In file included from waissearch.c:35:
In file included from ../lib/ir/ui.h:29:
In file included from ../lib/ir/zprot.h:22:
In file included from ../lib/ir/zutil.h:21:
../lib/cutil.h:188:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern wais_log_level;
~~~~~~ ^
waissearch.c:76:39: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
  printf("  NumberOfRecordsReturned: %d\n", 
                                     ~^
                                     %ld
waissearch.c:90:14: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("  %2d: Score: %4ld, lines:%4ld '%s'\n", 
                  ~~^
                  %2ld
waissearch.c:101:37: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("\n    ShortHeader record %2d, (can't display)", i);
                                         ~~^                    ~
                                         %2ld
waissearch.c:108:36: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("\n    Longheader record %2d, (cant display) ", i);
                                        ~~^                    ~
                                        %2ld
waissearch.c:116:30: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("\n    Text record %2d, ", i);
                                  ~~^     ~
                                  %2ld
waissearch.c:124:34: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("\n    headline record %2d, (cant display) ", i);
                                      ~~^                    ~
                                      %2ld
waissearch.c:132:30: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("\n    code record %2d, (dont knowhow to display) ", i);
                                  ~~^                               ~
                                  %2ld
waissearch.c:146:1: error: 'main' must return 'int'
void
^
10 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/freewais-sf/work/freeWAIS-sf-2.2.12/ui
Making all in bin...
Nothing to make in "bin".
pod2man makedb > makedb.man
pod2man catalog > catalog.man
pod2man dictionary > dictionary.man
pod2man inverted_file > inverted_file.man
pod2man mkfmt > mkfmt.man
Making all in doc/original-TM-wais/manl...
Making all in test...
=> Unwrapping files-to-be-installed.
cd /scratch/net/freewais-sf/work/freeWAIS-sf-2.2.12/doc/SF && makeinfo fwsf.texi
fwsf.texi:328: warning: @sc argument all uppercase, thus no effect.
fwsf.texi:1378: warning: unlikely character [ in @var.
fwsf.texi:1378: warning: unlikely character ] in @var.
fwsf.texi:1425: warning: unlikely character [ in @var.
fwsf.texi:1425: warning: unlikely character ] in @var.
fwsf.texi:1526: warning: `.' or `,' must follow @xref, not `@'.
fwsf.texi:1774: warning: `.' or `,' must follow @xref, not `@'.
fwsf.texi:1838: warning: `.' or `,' must follow @xref, not `@'.
