=> 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 htdig-3.1.6nb5
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Configuration.cc
In file included from Configuration.cc:13:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Configuration.cc:26:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    separators = new String("=:");
                            ^
Configuration.cc:85:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            Add(name, "true");
                      ^
Configuration.cc:95:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            Add(name, "true");
                      ^
Configuration.cc:110:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            Add(name, "");
                      ^
Configuration.cc:327:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        line.chop("\r\n");
                  ^
Configuration.cc:344:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            value = "";                 // Blank value
                    ^
Configuration.cc:375:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    str = "";           // No slash in current filename
                          ^
8 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Connection.cc
In file included from Connection.cc:11:
In file included from ../htlib/Connection.h:39:
../htlib/io.h:30:53: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              *read_line(String &, char *terminator = "\n");
                                                                ^
../htlib/io.h:31:71: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    char                        *read_line(char *buffer, int maxlength, char *terminator = "\n");
                                                                                           ^
../htlib/io.h:32:43: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              *read_line(char *terminator = "\n");
                                                      ^
../htlib/io.h:34:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    int                 write_line(char *buffer, char *eol = "\n");
                                                             ^
In file included from Connection.cc:13:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
5 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Database.cc
In file included from Database.cc:24:
In file included from ../htlib/Database.h:26:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
1 warning generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Dictionary.cc
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated DB2_db.cc
In file included from DB2_db.cc:62:
In file included from ../htlib/DB2_db.h:20:
In file included from ../htlib/Database.h:26:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
DB2_db.cc:429:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    char *progname = "DB2 problem...";
                     ^
2 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated IntObject.cc
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated List.cc
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Object.cc
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated ParsedString.cc
In file included from ParsedString.cc:27:
In file included from ../htlib/ParsedString.h:18:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
ParsedString.cc:83:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              variable("");
                                 ^
ParsedString.cc:205:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        s.chop("\r\n\t ");
               ^
3 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Queue.cc
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated QuotedStringList.cc
In file included from QuotedStringList.cc:24:
In file included from ../htlib/QuotedStringList.h:14:
In file included from ../htlib/StringList.h:22:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
1 warning generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Stack.cc
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated String.cc
In file included from String.cc:17:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
String.cc:227:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
static char     *null = "";
                        ^
2 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated StringList.cc
In file included from StringList.cc:32:
In file included from ../htlib/StringList.h:22:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
StringList.cc:301:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  String str("");
             ^
2 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated StringMatch.cc
In file included from StringMatch.cc:17:
In file included from ../htlib/HtWordType.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
1 warning generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated String_fmt.cc
In file included from String_fmt.cc:18:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
1 warning generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated URL.cc
In file included from URL.cc:11:
In file included from ../htlib/URL.h:49:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
In file included from URL.cc:11:
../htlib/URL.h:108:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
void encodeURL(String &, char *valid = UNRESERVED);
                                       ^
../htlib/URL.h:105:20: note: expanded from:
#define UNRESERVED      "-_.!~*"
                        ^
URL.cc:78:17: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    temp.remove(" \r\n\t");
                ^
URL.cc:218:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    _url << ":";
            ^
URL.cc:220:10: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        _url << "//" << _host;
                ^
URL.cc:241:17: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    temp.remove(" \t\r\n");
                ^
URL.cc:263:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        _service = "http";
                   ^
URL.cc:300:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        _host.chop(" \t");
                   ^
URL.cc:307:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    _path = "/";
            ^
URL.cc:319:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    _url << "://" << _host;
            ^
URL.cc:340:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    while ((i = _path.indexOf("/../")) >= 0 && i < pathend)
                              ^
URL.cc:357:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if ((i = _path.indexOf("/..")) >= 0 && i == pathend-3)
                           ^
URL.cc:375:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    while ((i = _path.indexOf("/./")) >= 0 && i < pathend)
                              ^
URL.cc:385:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if ((i = _path.indexOf("/.")) >= 0 && i == pathend-2)
                           ^
URL.cc:397:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    while ((i = _path.indexOf("//")) >= 0 && i < pathend)
                              ^
URL.cc:409:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    while ((i = _path.indexOf("%7E")) >= 0 && i < pathend)
                              ^
URL.cc:413:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        newPath << "~";
                   ^
URL.cc:422:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if (!config.Boolean("case_sensitive", 1))
                        ^
URL.cc:445:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if (!config.Boolean("case_sensitive", 1))
                        ^
URL.cc:448:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    _url << "://" << _host;
            ^
URL.cc:474:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
      StringList  l(config["remove_default_doc"], " \t");
                           ^
URL.cc:474:51: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
      StringList  l(config["remove_default_doc"], " \t");
                                                  ^
URL.cc:509:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if (!config.Boolean("allow_virtual_hosts", 1))
                        ^
URL.cc:553:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    _url << ":";
            ^
URL.cc:555:10: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        _url << "//" << _host;
                ^
URL.cc:594:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
      String l= config["server_aliases"];
                       ^
URL.cc:610:18: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            from.append(":80");
                        ^
URL.cc:613:17: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            to->append(":80");
                       ^
28 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated URLTrans.cc
In file included from URLTrans.cc:21:
In file included from ../htlib/URL.h:49:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
In file included from URLTrans.cc:21:
../htlib/URL.h:108:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
void encodeURL(String &, char *valid = UNRESERVED);
                                       ^
../htlib/URL.h:105:20: note: expanded from:
#define UNRESERVED      "-_.!~*"
                        ^
URLTrans.cc:76:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static char *digits = "0123456789ABCDEF";
                          ^
3 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated cgi.cc
In file included from cgi.cc:16:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
In file included from cgi.cc:20:
../htlib/URL.h:108:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
void encodeURL(String &, char *valid = UNRESERVED);
                                       ^
../htlib/URL.h:105:20: note: expanded from:
#define UNRESERVED      "-_.!~*"
                        ^
cgi.cc:32:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        init("");
             ^
cgi.cc:95:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        StringList      list(results, "&;");
                                      ^
4 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated good_strtok.cc
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated io.cc
In file included from io.cc:18:
../htlib/io.h:30:53: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              *read_line(String &, char *terminator = "\n");
                                                                ^
../htlib/io.h:31:71: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    char                        *read_line(char *buffer, int maxlength, char *terminator = "\n");
                                                                                           ^
../htlib/io.h:32:43: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              *read_line(char *terminator = "\n");
                                                      ^
../htlib/io.h:34:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    int                 write_line(char *buffer, char *eol = "\n");
                                                             ^
In file included from io.cc:19:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
5 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated strcasecmp.cc
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated HtCodec.cc
In file included from HtCodec.cc:12:
In file included from ../htlib/HtCodec.h:15:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
1 warning generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated HtWordCodec.cc
In file included from HtWordCodec.cc:8:
In file included from ../htlib/HtWordCodec.h:19:
In file included from ../htlib/HtCodec.h:15:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
HtWordCodec.cc:83:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
      "Expected pairs, got odd number of strings";
      ^
HtWordCodec.cc:110:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
      errmsg = "Empty strings are not allowed";
               ^
HtWordCodec.cc:122:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
      errmsg = "Empty strings are not allowed";
               ^
HtWordCodec.cc:133:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        form("(\"%s\" =>) \"%s\" contains a reserved character (number %d)",
             ^
HtWordCodec.cc:154:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
          form("\"%s\" => \"%s\" collides with (\"%s\" => \"%s\")",
               ^
HtWordCodec.cc:189:18: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            form("(\"%s\" => \"%s\") overlaps (\"%s\" => \"%s\")",
                 ^
HtWordCodec.cc:196:18: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            form("Overlap in (\"%s\" => \"%s\")",
                 ^
HtWordCodec.cc:235:18: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        errmsg = "Empty strings are not allowed";
                 ^
HtWordCodec.cc:350:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    errmsg = "Limit reached; use fewer encodings";
             ^
10 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated HtURLCodec.cc
In file included from HtURLCodec.cc:8:
In file included from ../htlib/HtURLCodec.h:12:
In file included from ../htlib/HtWordCodec.h:19:
In file included from ../htlib/HtCodec.h:15:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
HtURLCodec.cc:16:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  StringList l1(config["url_part_aliases"], " \t");
                       ^
HtURLCodec.cc:16:45: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  StringList l1(config["url_part_aliases"], " \t");
                                            ^
HtURLCodec.cc:17:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  StringList l2(config["common_url_parts"], " \t");
                       ^
HtURLCodec.cc:17:45: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  StringList l2(config["common_url_parts"], " \t");
                                            ^
5 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated HtWordType.cc
In file included from HtWordType.cc:9:
In file included from ../htlib/HtWordType.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
HtWordType.cc:17:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  char *valid_punct = config["valid_punctuation"];
                             ^
HtWordType.cc:18:35: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  char *extra_word_chars = config["extra_word_characters"];
                                  ^
3 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated HtRegex.cc
In file included from HtRegex.cc:19:
In file included from ../htlib/HtRegex.h:20:
In file included from ../htlib/StringList.h:22:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
HtRegex.cc:86:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        transformedLimits << "|";
                             ^
2 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated HtRegexReplace.cc
In file included from HtRegexReplace.cc:15:
In file included from ../htlib/HtRegexReplace.h:22:
In file included from ../htlib/HtRegex.h:20:
In file included from ../htlib/StringList.h:22:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
1 warning generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated HtRegexReplaceList.cc
In file included from HtRegexReplaceList.cc:18:
In file included from ../htlib/HtRegexReplaceList.h:20:
In file included from ../htlib/HtRegexReplace.h:22:
In file included from ../htlib/HtRegex.h:20:
In file included from ../htlib/StringList.h:22:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
HtRegexReplaceList.cc:25:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                lastErrorMessage = "HtRegexReplaceList needs an even number of strings";
                                   ^
2 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated HtURLRewriter.cc
In file included from HtURLRewriter.cc:8:
In file included from ../htlib/HtURLRewriter.h:9:
In file included from ../htlib/HtRegexReplaceList.h:20:
In file included from ../htlib/HtRegexReplace.h:22:
In file included from ../htlib/HtRegex.h:20:
In file included from ../htlib/StringList.h:22:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
HtURLRewriter.cc:16:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  StringList list(config["url_rewrite_rules"], " \t");
                         ^
HtURLRewriter.cc:16:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  StringList list(config["url_rewrite_rules"], " \t");
                                               ^
3 warnings generated.
gcc -c -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated -I/usr/pkg/include/db2 -I/usr/include  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include  regex.c
regex.c:149:7: warning: incompatible redeclaration of library function 'malloc'
char *malloc ();
      ^
regex.c:149:7: note: 'malloc' is a builtin with type 'void *(unsigned long)'
regex.c:150:7: warning: incompatible redeclaration of library function 'realloc'
char *realloc ();
      ^
regex.c:150:7: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
regex.c:2437:33: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
      if (!COMPILED_BUFFER_VAR) FREE_STACK_RETURN (REG_ESPACE);
                                ^
regex.c:2261:11: note: expanded from:
  return (free (compile_stack.stack), value)
          ^
regex.c:4867:11: warning: implicitly declaring C library function 'abort' with type 'void (void) __attribute__((noreturn))'
          abort (); /* We have listed all the cases.  */
          ^
regex.c:4867:11: note: please include the header <stdlib.h> or explicitly provide a declaration for 'abort'
regex.c:7872:19: warning: expression result unused [-Wunused-value]
          memcpy (errbuf, msg, errbuf_size - 1);
          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex.c:182:48: note: expanded from:
#    define memcpy(d, s, n)     (bcopy (s, d, n), (d))
                                                   ^
regex.c:7877:17: warning: expression result unused [-Wunused-value]
        memcpy (errbuf, msg, msg_size);
        ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
regex.c:182:48: note: expanded from:
#    define memcpy(d, s, n)     (bcopy (s, d, n), (d))
                                                   ^
6 warnings generated.
/usr/bin/ar rcv libht.a Configuration.o Connection.o Database.o Dictionary.o DB2_db.o IntObject.o List.o Object.o ParsedString.o Queue.o QuotedStringList.o Stack.o String.o StringList.o StringMatch.o String_fmt.o URL.o URLTrans.o cgi.o good_strtok.o io.o strcasecmp.o HtCodec.o HtWordCodec.o HtURLCodec.o HtWordType.o HtRegex.o HtRegexReplace.o HtRegexReplaceList.o HtURLRewriter.o regex.o
a - Configuration.o
a - Connection.o
a - Database.o
a - Dictionary.o
a - DB2_db.o
a - IntObject.o
a - List.o
a - Object.o
a - ParsedString.o
a - Queue.o
a - QuotedStringList.o
a - Stack.o
a - String.o
a - StringList.o
a - StringMatch.o
a - String_fmt.o
a - URL.o
a - URLTrans.o
a - cgi.o
a - good_strtok.o
a - io.o
a - strcasecmp.o
a - HtCodec.o
a - HtWordCodec.o
a - HtURLCodec.o
a - HtWordType.o
a - HtRegex.o
a - HtRegexReplace.o
a - HtRegexReplaceList.o
a - HtURLRewriter.o
a - regex.o
ranlib libht.a
c++ -c -DBIN_DIR=\"/usr/pkg/bin\"  -DCOMMON_DIR=\"/usr/pkg/share/htdig/common\"  -DCONFIG_DIR=\"/usr/pkg/etc/htdig\"  -DDATABASE_DIR=\"/var/db/htdig\"  -DIMAGE_URL_PREFIX=\"/htdig\"  -DPDF_PARSER=\"/usr/pkg/bin/acroread\"  -DSORT_PROG=\"/usr/bin/sort\" -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated DocumentDB.cc
In file included from DocumentDB.cc:15:
In file included from ../htcommon/DocumentDB.h:20:
In file included from ../htcommon/DocumentRef.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
DocumentDB.cc:61:15: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        if (dbf->Get("nextDocID", data) == OK)
                     ^
DocumentDB.cc:104:11: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        dbf->Put("nextDocID", data.get(), data.length() + 1);
                 ^
DocumentDB.cc:226:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
      perror(form("DocumentDB::DumpDB: opening %s for writing", filename));
                  ^
DocumentDB.cc:303:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
      perror(form("DocumentDB::LoadDB: opening %s for reading", filename));
                  ^
5 warnings generated.
c++ -c -DBIN_DIR=\"/usr/pkg/bin\"  -DCOMMON_DIR=\"/usr/pkg/share/htdig/common\"  -DCONFIG_DIR=\"/usr/pkg/etc/htdig\"  -DDATABASE_DIR=\"/var/db/htdig\"  -DIMAGE_URL_PREFIX=\"/htdig\"  -DPDF_PARSER=\"/usr/pkg/bin/acroread\"  -DSORT_PROG=\"/usr/bin/sort\" -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated DocumentRef.cc
In file included from DocumentRef.cc:10:
In file included from ../htcommon/DocumentRef.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
DocumentRef.cc:32:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  static int cf=config.Value("compression_level",0);    
                             ^
DocumentRef.cc:75:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
  static int cf=config.Value("compression_level",0);    
                             ^
DocumentRef.cc:554:15: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    desc.chop(" \t");
              ^
DocumentRef.cc:566:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        words->WordTempFile(config["word_list"]);
                                   ^
DocumentRef.cc:567:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        words->BadWordFile(config["bad_word_list"]);
                                  ^
DocumentRef.cc:574:54: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int    minimum_word_length = config.Value("minimum_word_length", 3);
                                                     ^
DocumentRef.cc:575:55: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static double description_factor  = config.Double("description_factor");
                                                      ^
DocumentRef.cc:576:54: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int    max_descriptions    = config.Value("max_descriptions", 5);
                                                     ^
9 warnings generated.
c++ -c -DBIN_DIR=\"/usr/pkg/bin\"  -DCOMMON_DIR=\"/usr/pkg/share/htdig/common\"  -DCONFIG_DIR=\"/usr/pkg/etc/htdig\"  -DDATABASE_DIR=\"/var/db/htdig\"  -DIMAGE_URL_PREFIX=\"/htdig\"  -DPDF_PARSER=\"/usr/pkg/bin/acroread\"  -DSORT_PROG=\"/usr/bin/sort\" -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated WordList.cc
In file included from WordList.cc:13:
In file included from ../htcommon/WordList.h:18:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
WordList.cc:49:51: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int  maximum_word_length = config.Value("maximum_word_length", 12);
                                                   ^
WordList.cc:100:47: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int  allow_numbers = config.Boolean("allow_numbers", 0);
                                               ^
WordList.cc:101:51: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int  minimum_word_length = config.Value("minimum_word_length", 3);
                                                   ^
WordList.cc:224:51: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int  minimum_word_length = config.Value("minimum_word_length", 3);
                                                   ^
WordList.cc:225:51: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int  maximum_word_length = config.Value("maximum_word_length", 12);
                                                   ^
6 warnings generated.
c++ -c -DBIN_DIR=\"/usr/pkg/bin\"  -DCOMMON_DIR=\"/usr/pkg/share/htdig/common\"  -DCONFIG_DIR=\"/usr/pkg/etc/htdig\"  -DDATABASE_DIR=\"/var/db/htdig\"  -DIMAGE_URL_PREFIX=\"/htdig\"  -DPDF_PARSER=\"/usr/pkg/bin/acroread\"  -DSORT_PROG=\"/usr/bin/sort\" -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated defaults.cc
defaults.cc:19:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"common_dir",                      COMMON_DIR},
     ^
defaults.cc:19:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"common_dir",                      COMMON_DIR},
                                        ^
<command line>:2:20: note: expanded from:
#define COMMON_DIR "/usr/pkg/share/htdig/common"
                   ^
defaults.cc:20:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"config_dir",                      CONFIG_DIR},
     ^
defaults.cc:20:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"config_dir",                      CONFIG_DIR},
                                        ^
<command line>:3:20: note: expanded from:
#define CONFIG_DIR "/usr/pkg/etc/htdig"
                   ^
defaults.cc:21:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"database_dir",                    DATABASE_DIR},
     ^
defaults.cc:21:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"database_dir",                    DATABASE_DIR},
                                        ^
<command line>:4:22: note: expanded from:
#define DATABASE_DIR "/var/db/htdig"
                     ^
defaults.cc:22:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"bin_dir",                         BIN_DIR},
     ^
defaults.cc:22:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"bin_dir",                         BIN_DIR},
                                        ^
<command line>:1:17: note: expanded from:
#define BIN_DIR "/usr/pkg/bin"
                ^
defaults.cc:23:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"image_url_prefix",                IMAGE_URL_PREFIX},
     ^
defaults.cc:23:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"image_url_prefix",                IMAGE_URL_PREFIX},
                                        ^
<command line>:5:26: note: expanded from:
#define IMAGE_URL_PREFIX "/htdig"
                         ^
defaults.cc:24:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"pdf_parser",                      PDF_PARSER " -toPostScript"},
     ^
defaults.cc:24:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"pdf_parser",                      PDF_PARSER " -toPostScript"},
                                        ^
<command line>:6:20: note: expanded from:
#define PDF_PARSER "/usr/pkg/bin/acroread"
                   ^
defaults.cc:25:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"version",                         VERSION},
     ^
defaults.cc:25:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"version",                         VERSION},
                                        ^
../include/htconfig.h:16:17: note: expanded from:
#define VERSION "3.1.6"
                ^
defaults.cc:30:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"accents_db",                      "${database_base}.accents.db"},
     ^
defaults.cc:30:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"accents_db",                      "${database_base}.accents.db"},
                                        ^
defaults.cc:31:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"add_anchors_to_excerpt",          "true"},
     ^
defaults.cc:31:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"add_anchors_to_excerpt",          "true"},
                                        ^
defaults.cc:32:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"allow_in_form",                   ""},
     ^
defaults.cc:32:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"allow_in_form",                   ""},
                                        ^
defaults.cc:33:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"allow_numbers",                   "false"},
     ^
defaults.cc:33:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"allow_numbers",                   "false"},
                                        ^
defaults.cc:34:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"allow_virtual_hosts",             "true"},
     ^
defaults.cc:34:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"allow_virtual_hosts",             "true"},
                                        ^
defaults.cc:35:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"anchor_target",                   ""},
     ^
defaults.cc:35:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"anchor_target",                   ""},
                                        ^
defaults.cc:36:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"any_keywords",                    "false"},
     ^
defaults.cc:36:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"any_keywords",                    "false"},
                                        ^
defaults.cc:37:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"authorization",                   ""}, 
     ^
defaults.cc:37:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"authorization",                   ""}, 
                                        ^
defaults.cc:38:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"backlink_factor",                 "1000"},
     ^
defaults.cc:38:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"backlink_factor",                 "1000"},
                                        ^
defaults.cc:39:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"bad_extensions",                  ".wav .gz .z .sit .au .zip .tar .hqx .exe .com .gif .jpg .jpeg .aiff .class .map .ram .tgz .bin .rpm .mpg .mov .avi .css"},
     ^
defaults.cc:39:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"bad_extensions",                  ".wav .gz .z .sit .au .zip .tar .hqx .exe .com .gif .jpg .jpeg .aiff .class .map .ram .tgz .bin .rpm .mpg .mov .avi .css"},
                                        ^
defaults.cc:40:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"bad_querystr",                    ""},
     ^
defaults.cc:40:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"bad_querystr",                    ""},
                                        ^
defaults.cc:41:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"bad_word_list",                   "${common_dir}/bad_words"},
     ^
defaults.cc:41:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"bad_word_list",                   "${common_dir}/bad_words"},
                                        ^
defaults.cc:42:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"boolean_keywords",                "and or not"},
     ^
defaults.cc:42:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"boolean_keywords",                "and or not"},
                                        ^
defaults.cc:43:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"boolean_syntax_errors",           "Expected 'a search word' 'at the end' 'instead of' 'end of expression'"},
     ^
defaults.cc:43:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"boolean_syntax_errors",           "Expected 'a search word' 'at the end' 'instead of' 'end of expression'"},
                                        ^
defaults.cc:44:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"build_select_lists",              ""},
     ^
defaults.cc:44:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"build_select_lists",              ""},
                                        ^
defaults.cc:45:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"case_sensitive",                  "true"},
     ^
defaults.cc:45:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"case_sensitive",                  "true"},
                                        ^
defaults.cc:46:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"common_url_parts",                "http:// http://www. ftp:// ftp://ftp. /pub/ .html .htm .gif .jpg .jpeg /index.html /index.htm .com/ .com mailto:"},
     ^
defaults.cc:46:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"common_url_parts",                "http:// http://www. ftp:// ftp://ftp. /pub/ .html .htm .gif .jpg .jpeg /index.html /index.htm .com/ .com mailto:"},
                                        ^
defaults.cc:47:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"create_image_list",               "false"},
     ^
defaults.cc:47:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"create_image_list",               "false"},
                                        ^
defaults.cc:48:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"create_url_list",                 "false"},
     ^
defaults.cc:48:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"create_url_list",                 "false"},
                                        ^
defaults.cc:49:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"compression_level",               "0"},
     ^
defaults.cc:49:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"compression_level",               "0"},
                                        ^
defaults.cc:50:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"date_factor",                     "0"},
     ^
defaults.cc:50:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"date_factor",                     "0"},
                                        ^
defaults.cc:51:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"date_format",                     ""},
     ^
defaults.cc:51:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"date_format",                     ""},
                                        ^
defaults.cc:52:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"database_base",                   "${database_dir}/db"},
     ^
defaults.cc:52:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"database_base",                   "${database_dir}/db"},
                                        ^
defaults.cc:53:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"description_factor",              "150"},
     ^
defaults.cc:53:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"description_factor",              "150"},
                                        ^
defaults.cc:54:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"description_meta_tag_names",      "description"},
     ^
defaults.cc:54:36: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"description_meta_tag_names",      "description"},
                                        ^
defaults.cc:55:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"doc_db",                          "${database_base}.docdb"},
     ^
defaults.cc:55:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"doc_db",                          "${database_base}.docdb"},
                                        ^
defaults.cc:56:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"doc_index",                       "${database_base}.docs.index"},
     ^
defaults.cc:56:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"doc_index",                       "${database_base}.docs.index"},
                                        ^
defaults.cc:57:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"doc_list",                        "${database_base}.docs"},
     ^
defaults.cc:57:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"doc_list",                        "${database_base}.docs"},
                                        ^
defaults.cc:58:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endday",                          ""},
     ^
defaults.cc:58:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endday",                          ""},
                                        ^
defaults.cc:59:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"end_ellipses",                    "<b><tt> ...</tt></b>"},
     ^
defaults.cc:59:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"end_ellipses",                    "<b><tt> ...</tt></b>"},
                                        ^
defaults.cc:60:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"end_highlight",                   "</strong>"},
     ^
defaults.cc:60:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"end_highlight",                   "</strong>"},
                                        ^
defaults.cc:61:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endings_affix_file",              "${common_dir}/english.aff"},
     ^
defaults.cc:61:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endings_affix_file",              "${common_dir}/english.aff"},
                                        ^
defaults.cc:62:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endings_dictionary",              "${common_dir}/english.0"},
     ^
defaults.cc:62:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endings_dictionary",              "${common_dir}/english.0"},
                                        ^
defaults.cc:63:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endings_root2word_db",            "${common_dir}/root2word.db"},
     ^
defaults.cc:63:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endings_root2word_db",            "${common_dir}/root2word.db"},
                                        ^
defaults.cc:64:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endings_word2root_db",            "${common_dir}/word2root.db"},
     ^
defaults.cc:64:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endings_word2root_db",            "${common_dir}/word2root.db"},
                                        ^
defaults.cc:65:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endmonth",                        ""},
     ^
defaults.cc:65:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endmonth",                        ""},
                                        ^
defaults.cc:66:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endyear",                         ""},
     ^
defaults.cc:66:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"endyear",                         ""},
                                        ^
defaults.cc:67:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"excerpt_length",                  "300"},
     ^
defaults.cc:67:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"excerpt_length",                  "300"},
                                        ^
defaults.cc:68:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"excerpt_show_top",                "false"},
     ^
defaults.cc:68:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"excerpt_show_top",                "false"},
                                        ^
defaults.cc:69:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"exclude",                         ""},
     ^
defaults.cc:69:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"exclude",                         ""},
                                        ^
defaults.cc:70:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"exclude_urls",                    "/cgi-bin/ .cgi"},
     ^
defaults.cc:70:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"exclude_urls",                    "/cgi-bin/ .cgi"},
                                        ^
defaults.cc:71:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"external_parsers",                ""},
     ^
defaults.cc:71:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"external_parsers",                ""},
                                        ^
defaults.cc:72:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"extra_word_characters",           ""},
     ^
defaults.cc:72:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"extra_word_characters",           ""},
                                        ^
defaults.cc:73:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_1",                "5"},
     ^
defaults.cc:73:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_1",                "5"},
                                        ^
defaults.cc:74:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_2",                "4"},
     ^
defaults.cc:74:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_2",                "4"},
                                        ^
defaults.cc:75:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_3",                "3"},
     ^
defaults.cc:75:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_3",                "3"},
                                        ^
defaults.cc:76:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_4",                "1"},
     ^
defaults.cc:76:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_4",                "1"},
                                        ^
defaults.cc:77:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_5",                "1"},
     ^
defaults.cc:77:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_5",                "1"},
                                        ^
defaults.cc:78:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_6",                "0"},
     ^
defaults.cc:78:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"heading_factor_6",                "0"},
                                        ^
defaults.cc:79:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"htnotify_sender",                 "webmaster@www"},
     ^
defaults.cc:79:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"htnotify_sender",                 "webmaster@www"},
                                        ^
defaults.cc:80:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"htnotify_replyto",                ""},
     ^
defaults.cc:80:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"htnotify_replyto",                ""},
                                        ^
defaults.cc:81:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"htnotify_webmaster",              "ht://Dig Notification Service"},
     ^
defaults.cc:81:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"htnotify_webmaster",              "ht://Dig Notification Service"},
                                        ^
defaults.cc:82:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"htnotify_prefix_file",            ""},
     ^
defaults.cc:82:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"htnotify_prefix_file",            ""},
                                        ^
defaults.cc:83:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"htnotify_suffix_file",            ""},
     ^
defaults.cc:83:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"htnotify_suffix_file",            ""},
                                        ^
defaults.cc:84:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"http_proxy",                      ""},
     ^
defaults.cc:84:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"http_proxy",                      ""},
                                        ^
defaults.cc:85:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"http_proxy_exclude",              ""},
     ^
defaults.cc:85:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"http_proxy_exclude",              ""},
                                        ^
defaults.cc:86:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"ignore_alt_text",                 "false"},
     ^
defaults.cc:86:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"ignore_alt_text",                 "false"},
                                        ^
defaults.cc:87:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"ignore_dead_servers",             "true"},
     ^
defaults.cc:87:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"ignore_dead_servers",             "true"},
                                        ^
defaults.cc:88:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"image_list",                      "${database_base}.images"},
     ^
defaults.cc:88:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"image_list",                      "${database_base}.images"},
                                        ^
defaults.cc:89:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"iso_8601",                        "false"},
     ^
defaults.cc:89:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"iso_8601",                        "false"},
                                        ^
defaults.cc:90:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"keywords_factor",                 "100"},
     ^
defaults.cc:90:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"keywords_factor",                 "100"},
                                        ^
defaults.cc:91:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"keywords_meta_tag_names",         "keywords htdig-keywords"},
     ^
defaults.cc:91:34: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"keywords_meta_tag_names",         "keywords htdig-keywords"},
                                        ^
defaults.cc:92:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"limit_urls_to",                   "${start_url}"},
     ^
defaults.cc:92:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"limit_urls_to",                   "${start_url}"},
                                        ^
defaults.cc:93:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"limit_normalized",                ""},
     ^
defaults.cc:93:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"limit_normalized",                ""},
                                        ^
defaults.cc:94:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"locale",                          "C"},
     ^
defaults.cc:94:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"locale",                          "C"},
                                        ^
defaults.cc:95:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"local_default_doc",               "index.html"},
     ^
defaults.cc:95:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"local_default_doc",               "index.html"},
                                        ^
defaults.cc:96:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"local_urls",                      ""},
     ^
defaults.cc:96:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"local_urls",                      ""},
                                        ^
defaults.cc:97:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"local_urls_only",                 "false"},
     ^
defaults.cc:97:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"local_urls_only",                 "false"},
                                        ^
defaults.cc:98:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"local_user_urls",                 ""},
     ^
defaults.cc:98:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"local_user_urls",                 ""},
                                        ^
defaults.cc:99:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"logging",                         "false"},
     ^
defaults.cc:99:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"logging",                         "false"},
                                        ^
defaults.cc:100:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"maintainer",                      "bogus@unconfigured.htdig.user"},
     ^
defaults.cc:100:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"maintainer",                      "bogus@unconfigured.htdig.user"},
                                        ^
defaults.cc:101:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"match_method",                    "and"},
     ^
defaults.cc:101:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"match_method",                    "and"},
                                        ^
defaults.cc:102:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"matches_per_page",                "10"},
     ^
defaults.cc:102:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"matches_per_page",                "10"},
                                        ^
defaults.cc:103:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_description_length",          "60"},
     ^
defaults.cc:103:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_description_length",          "60"},
                                        ^
defaults.cc:104:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_descriptions",                "5"},
     ^
defaults.cc:104:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_descriptions",                "5"},
                                        ^
defaults.cc:105:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_doc_size",                    "100000"},
     ^
defaults.cc:105:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_doc_size",                    "100000"},
                                        ^
defaults.cc:106:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_excerpts",                    "1" },
     ^
defaults.cc:106:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_excerpts",                    "1" },
                                        ^
defaults.cc:107:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_head_length",                 "512"},
     ^
defaults.cc:107:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_head_length",                 "512"},
                                        ^
defaults.cc:108:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_hop_count",                   "999999"},
     ^
defaults.cc:108:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_hop_count",                   "999999"},
                                        ^
defaults.cc:109:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_keywords",                    "-1"},
     ^
defaults.cc:109:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_keywords",                    "-1"},
                                        ^
defaults.cc:110:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_meta_description_length",     "512"},
     ^
defaults.cc:110:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_meta_description_length",     "512"},
                                        ^
defaults.cc:111:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_prefix_matches",              "1000"},
     ^
defaults.cc:111:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_prefix_matches",              "1000"},
                                        ^
defaults.cc:112:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_stars",                       "4"},
     ^
defaults.cc:112:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"max_stars",                       "4"},
                                        ^
defaults.cc:113:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"maximum_page_buttons",            "${maximum_pages}"},
     ^
defaults.cc:113:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"maximum_page_buttons",            "${maximum_pages}"},
                                        ^
defaults.cc:114:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"maximum_pages",                   "10"},
     ^
defaults.cc:114:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"maximum_pages",                   "10"},
                                        ^
defaults.cc:115:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"maximum_word_length",             "12"},
     ^
defaults.cc:115:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"maximum_word_length",             "12"},
                                        ^
defaults.cc:116:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"metaphone_db",                    "${database_base}.metaphone.db"},
     ^
defaults.cc:116:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"metaphone_db",                    "${database_base}.metaphone.db"},
                                        ^
defaults.cc:117:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"meta_description_factor",         "50"},
     ^
defaults.cc:117:34: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"meta_description_factor",         "50"},
                                        ^
defaults.cc:118:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"method_names",                    "and All or Any boolean Boolean"},
     ^
defaults.cc:118:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"method_names",                    "and All or Any boolean Boolean"},
                                        ^
defaults.cc:119:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"minimum_word_length",             "3"},
     ^
defaults.cc:119:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"minimum_word_length",             "3"},
                                        ^
defaults.cc:120:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"minimum_prefix_length",           "1"},
     ^
defaults.cc:120:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"minimum_prefix_length",           "1"},
                                        ^
defaults.cc:121:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"modification_time_is_now",        "true"},
     ^
defaults.cc:121:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"modification_time_is_now",        "true"},
                                        ^
defaults.cc:122:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"multimatch_factor",               "1"},
     ^
defaults.cc:122:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"multimatch_factor",               "1"},
                                        ^
defaults.cc:123:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"next_page_text",                  "[next]"},
     ^
defaults.cc:123:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"next_page_text",                  "[next]"},
                                        ^
defaults.cc:124:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_excerpt_text",                 "<em>(None of the search words were found in the top of this document.)</em>"},
     ^
defaults.cc:124:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_excerpt_text",                 "<em>(None of the search words were found in the top of this document.)</em>"},
                                        ^
defaults.cc:125:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_excerpt_show_top",             "false"},
     ^
defaults.cc:125:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_excerpt_show_top",             "false"},
                                        ^
defaults.cc:126:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"noindex_start",                   "<!--htdig_noindex-->"},
     ^
defaults.cc:126:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"noindex_start",                   "<!--htdig_noindex-->"},
                                        ^
defaults.cc:127:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"noindex_end",                     "<!--/htdig_noindex-->"},
     ^
defaults.cc:127:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"noindex_end",                     "<!--/htdig_noindex-->"},
                                        ^
defaults.cc:128:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_next_page_text",               "[next]"},
     ^
defaults.cc:128:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_next_page_text",               "[next]"},
                                        ^
defaults.cc:129:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_page_list_header",             ""},
     ^
defaults.cc:129:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_page_list_header",             ""},
                                        ^
defaults.cc:130:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_page_number_text",             ""},
     ^
defaults.cc:130:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_page_number_text",             ""},
                                        ^
defaults.cc:131:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_prev_page_text",               "[prev]"},
     ^
defaults.cc:131:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_prev_page_text",               "[prev]"},
                                        ^
defaults.cc:132:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_title_text",                   "filename"},
     ^
defaults.cc:132:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"no_title_text",                   "filename"},
                                        ^
defaults.cc:133:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"nothing_found_file",              "${common_dir}/nomatch.html"},
     ^
defaults.cc:133:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"nothing_found_file",              "${common_dir}/nomatch.html"},
                                        ^
defaults.cc:134:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"nph",                             "false"},
     ^
defaults.cc:134:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"nph",                             "false"},
                                        ^
defaults.cc:135:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"page_list_header",                "<hr noshade size=2>Pages:<br>"},
     ^
defaults.cc:135:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"page_list_header",                "<hr noshade size=2>Pages:<br>"},
                                        ^
defaults.cc:136:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"page_number_separator",           "\" \""},
     ^
defaults.cc:136:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"page_number_separator",           "\" \""},
                                        ^
defaults.cc:137:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"page_number_text",                ""},
     ^
defaults.cc:137:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"page_number_text",                ""},
                                        ^
defaults.cc:138:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"plural_suffix",                   "s"},
     ^
defaults.cc:138:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"plural_suffix",                   "s"},
                                        ^
defaults.cc:139:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"prefix_match_character",          "*"},
     ^
defaults.cc:139:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"prefix_match_character",          "*"},
                                        ^
defaults.cc:140:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"prev_page_text",                  "[prev]"},
     ^
defaults.cc:140:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"prev_page_text",                  "[prev]"},
                                        ^
defaults.cc:141:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"remove_bad_urls",                 "true"},
     ^
defaults.cc:141:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"remove_bad_urls",                 "true"},
                                        ^
defaults.cc:142:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"remove_default_doc",              "index.html"},
     ^
defaults.cc:142:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"remove_default_doc",              "index.html"},
                                        ^
defaults.cc:143:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"restrict",                        ""},
     ^
defaults.cc:143:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"restrict",                        ""},
                                        ^
defaults.cc:144:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"robotstxt_name",                  "htdig"},
     ^
defaults.cc:144:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"robotstxt_name",                  "htdig"},
                                        ^
defaults.cc:145:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"script_name",                     ""},
     ^
defaults.cc:145:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"script_name",                     ""},
                                        ^
defaults.cc:146:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_algorithm",                "exact:1"},
     ^
defaults.cc:146:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_algorithm",                "exact:1"},
                                        ^
defaults.cc:147:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_results_contenttype",      "text/html"},
     ^
defaults.cc:147:36: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_results_contenttype",      "text/html"},
                                        ^
defaults.cc:148:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_results_footer",           "${common_dir}/footer.html"},
     ^
defaults.cc:148:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_results_footer",           "${common_dir}/footer.html"},
                                        ^
defaults.cc:149:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_results_header",           "${common_dir}/header.html"},
     ^
defaults.cc:149:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_results_header",           "${common_dir}/header.html"},
                                        ^
defaults.cc:150:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_results_wrapper",          ""},
     ^
defaults.cc:150:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_results_wrapper",          ""},
                                        ^
defaults.cc:151:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_rewrite_rules",            ""},
     ^
defaults.cc:151:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"search_rewrite_rules",            ""},
                                        ^
defaults.cc:152:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"server_aliases",                  ""},
     ^
defaults.cc:152:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"server_aliases",                  ""},
                                        ^
defaults.cc:153:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"server_wait_time",                "0"},
     ^
defaults.cc:153:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"server_wait_time",                "0"},
                                        ^
defaults.cc:154:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"server_max_docs",                 "-1"},
     ^
defaults.cc:154:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"server_max_docs",                 "-1"},
                                        ^
defaults.cc:155:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"sort",                            "score"},
     ^
defaults.cc:155:17: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"sort",                            "score"},
                                        ^
defaults.cc:156:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"sort_names",                      "score Score time Time title Title revscore 'Reverse Score' revtime 'Reverse Time' revtitle 'Reverse Title'"},
     ^
defaults.cc:156:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"sort_names",                      "score Score time Time title Title revscore 'Reverse Score' revtime 'Reverse Time' revtitle 'Reverse Title'"},
                                        ^
defaults.cc:157:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"soundex_db",                      "${database_base}.soundex.db"},
     ^
defaults.cc:157:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"soundex_db",                      "${database_base}.soundex.db"},
                                        ^
defaults.cc:158:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"star_blank",                      "${image_url_prefix}/star_blank.gif"},
     ^
defaults.cc:158:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"star_blank",                      "${image_url_prefix}/star_blank.gif"},
                                        ^
defaults.cc:159:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"star_image",                      "${image_url_prefix}/star.gif"},
     ^
defaults.cc:159:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"star_image",                      "${image_url_prefix}/star.gif"},
                                        ^
defaults.cc:160:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"star_patterns",                   ""},
     ^
defaults.cc:160:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"star_patterns",                   ""},
                                        ^
defaults.cc:161:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"startday",                        ""},
     ^
defaults.cc:161:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"startday",                        ""},
                                        ^
defaults.cc:162:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"start_ellipses",                  "<b><tt>... </tt></b>"},
     ^
defaults.cc:162:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"start_ellipses",                  "<b><tt>... </tt></b>"},
                                        ^
defaults.cc:163:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"start_highlight",                 "<strong>"},
     ^
defaults.cc:163:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"start_highlight",                 "<strong>"},
                                        ^
defaults.cc:164:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"startmonth",                      ""},
     ^
defaults.cc:164:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"startmonth",                      ""},
                                        ^
defaults.cc:165:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"start_url",                       "http://www.htdig.org/"},
     ^
defaults.cc:165:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"start_url",                       "http://www.htdig.org/"},
                                        ^
defaults.cc:166:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"startyear",                       ""},
     ^
defaults.cc:166:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"startyear",                       ""},
                                        ^
defaults.cc:167:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"substring_max_words",             "25"},
     ^
defaults.cc:167:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"substring_max_words",             "25"},
                                        ^
defaults.cc:168:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"synonym_db",                      "${common_dir}/synonyms.db"},
     ^
defaults.cc:168:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"synonym_db",                      "${common_dir}/synonyms.db"},
                                        ^
defaults.cc:169:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"synonym_dictionary",              "${common_dir}/synonyms"},
     ^
defaults.cc:169:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"synonym_dictionary",              "${common_dir}/synonyms"},
                                        ^
defaults.cc:170:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"syntax_error_file",               "${common_dir}/syntax.html"},
     ^
defaults.cc:170:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"syntax_error_file",               "${common_dir}/syntax.html"},
                                        ^
defaults.cc:171:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"template_map",                    "Long builtin-long builtin-long Short builtin-short builtin-short"},
     ^
defaults.cc:171:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"template_map",                    "Long builtin-long builtin-long Short builtin-short builtin-short"},
                                        ^
defaults.cc:172:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"template_name",                   "builtin-long"},
     ^
defaults.cc:172:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"template_name",                   "builtin-long"},
                                        ^
defaults.cc:173:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"template_patterns",               ""},
     ^
defaults.cc:173:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"template_patterns",               ""},
                                        ^
defaults.cc:174:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"text_factor",                     "1"},
     ^
defaults.cc:174:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"text_factor",                     "1"},
                                        ^
defaults.cc:175:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"timeout",                         "30"},
     ^
defaults.cc:175:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"timeout",                         "30"},
                                        ^
defaults.cc:176:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"title_factor",                    "100"},
     ^
defaults.cc:176:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"title_factor",                    "100"},
                                        ^
defaults.cc:177:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"translate_amp",                   "true"},
     ^
defaults.cc:177:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"translate_amp",                   "true"},
                                        ^
defaults.cc:178:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"translate_latin1",                "true"},
     ^
defaults.cc:178:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"translate_latin1",                "true"},
                                        ^
defaults.cc:179:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"translate_lt_gt",                 "true"},
     ^
defaults.cc:179:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"translate_lt_gt",                 "true"},
                                        ^
defaults.cc:180:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"translate_quot",                  "true"},
     ^
defaults.cc:180:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"translate_quot",                  "true"},
                                        ^
defaults.cc:181:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"uncoded_db_compatible",           "true"},
     ^
defaults.cc:181:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"uncoded_db_compatible",           "true"},
                                        ^
defaults.cc:182:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"url_list",                        "${database_base}.urls"},
     ^
defaults.cc:182:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"url_list",                        "${database_base}.urls"},
                                        ^
defaults.cc:183:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"url_log",                         "${database_base}.log"},
     ^
defaults.cc:183:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"url_log",                         "${database_base}.log"},
                                        ^
defaults.cc:184:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"url_part_aliases",                ""},
     ^
defaults.cc:184:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"url_part_aliases",                ""},
                                        ^
defaults.cc:185:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"url_rewrite_rules",               ""},
     ^
defaults.cc:185:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"url_rewrite_rules",               ""},
                                        ^
defaults.cc:186:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"use_doc_date",                    "false"},
     ^
defaults.cc:186:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"use_doc_date",                    "false"},
                                        ^
defaults.cc:187:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"use_star_image",                  "true"},
     ^
defaults.cc:187:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"use_star_image",                  "true"},
                                        ^
defaults.cc:188:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"use_meta_description",            "false"},
     ^
defaults.cc:188:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"use_meta_description",            "false"},
                                        ^
defaults.cc:189:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"user_agent",                      "htdig"},
     ^
defaults.cc:189:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"user_agent",                      "htdig"},
                                        ^
defaults.cc:190:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"valid_extensions",                ""},
     ^
defaults.cc:190:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"valid_extensions",                ""},
                                        ^
defaults.cc:191:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"valid_punctuation",               ".-_/!#$%^&'"},
     ^
defaults.cc:191:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"valid_punctuation",               ".-_/!#$%^&'"},
                                        ^
defaults.cc:192:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"word_db",                         "${database_base}.words.db"},
     ^
defaults.cc:192:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"word_db",                         "${database_base}.words.db"},
                                        ^
defaults.cc:193:6: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"word_list",                       "${database_base}.wordlist"},
     ^
defaults.cc:193:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    {"word_list",                       "${database_base}.wordlist"},
                                        ^
342 warnings generated.
/usr/bin/ar rcv libcommon.a DocumentDB.o DocumentRef.o WordList.o defaults.o
a - DocumentDB.o
a - DocumentRef.o
a - WordList.o
a - defaults.o
ranlib libcommon.a
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Endings.cc
In file included from Endings.cc:34:
In file included from ../htlib/StringList.h:22:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Endings.cc:47:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    name = "endings";
           ^
Endings.cc:96:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    StringList  roots(word, " ");
                            ^
Endings.cc:167:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    filename = config["endings_word2root_db"];
                      ^
Endings.cc:172:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    filename = config["endings_root2word_db"];
                      ^
5 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated EndingsDB.cc
In file included from EndingsDB.cc:11:
In file included from ./Endings.h:14:
In file included from ./Fuzzy.h:25:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
EndingsDB.cc:49:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        word2root = "/tmp";
                    ^
EndingsDB.cc:50:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        root2word = "/tmp";
                    ^
EndingsDB.cc:53:18: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    word2root << "/word2root.db";
                 ^
EndingsDB.cc:54:18: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    root2word << "/root2word.db";
                 ^
EndingsDB.cc:59:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if (readRules(rules, config["endings_affix_file"]) == NOTOK)
                                ^
EndingsDB.cc:66:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                   config["endings_dictionary"]) == NOTOK)
                          ^
EndingsDB.cc:75:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                root2word.get(), config["endings_root2word_db"],
                                        ^
EndingsDB.cc:76:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                word2root.get(), config["endings_word2root_db"]));
                                        ^
EndingsDB.cc:74:17: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    system(form("/bin/mv %s %s;/bin/mv %s %s",
                ^
EndingsDB.cc:124:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            line.chop("\r\n");
                      ^
EndingsDB.cc:206:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            data = "";
                   ^
12 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Exact.cc
In file included from Exact.cc:26:
In file included from ./Exact.h:14:
In file included from ./Fuzzy.h:25:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Exact.cc:36:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        name = "exact";
               ^
2 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Fuzzy.cc
In file included from Fuzzy.cc:11:
In file included from ./Fuzzy.h:25:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Fuzzy.cc:104:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    var << "_db";
           ^
Fuzzy.cc:126:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    var << "_db";
           ^
3 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Metaphone.cc
In file included from Metaphone.cc:9:
In file included from ./Metaphone.h:14:
In file included from ./Fuzzy.h:25:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Metaphone.cc:19:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        name = "metaphone";
               ^
Metaphone.cc:77:15: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    ntrans << "0000";
              ^
Metaphone.cc:135:35: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (same(*n) || *(n - 1) == '\0' && vowel(*n))
                     ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~
Metaphone.cc:135:35: note: place parentheses around the '&&' expression to silence this warning
        if (same(*n) || *(n - 1) == '\0' && vowel(*n))
                        ~~~~~~~~~~~~~~~~~^~~~~~~~
Metaphone.cc:274:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    key << "KS";        /* Insert K, then S */
                           ^
5 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Soundex.cc
In file included from Soundex.cc:12:
In file included from ./Soundex.h:14:
In file included from ./Fuzzy.h:25:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Soundex.cc:21:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    name = "soundex";
           ^
2 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated SuffixEntry.cc
In file included from SuffixEntry.cc:15:
In file included from ./SuffixEntry.h:18:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
SuffixEntry.cc:48:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    temp = "^.*";
           ^
SuffixEntry.cc:55:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    temp << "$";
            ^
3 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Synonym.cc
In file included from Synonym.cc:11:
In file included from ./Synonym.h:14:
In file included from ./Fuzzy.h:25:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Synonym.cc:24:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    name = "synonyms";
           ^
Synonym.cc:50:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    sourceFile = config["synonym_dictionary"];
                        ^
Synonym.cc:51:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    dbFile = config["synonym_db"];
                    ^
Synonym.cc:76:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        StringList      sl(input, " \t\r\n");
                                  ^
Synonym.cc:123:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    char        *dbFile = config["synonym_db"];
                                 ^
6 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated htfuzzy.cc
In file included from htfuzzy.cc:54:
In file included from ./Fuzzy.h:25:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
htfuzzy.cc:84:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              configFile = DEFAULT_CONFIG_FILE;
                                     ^
<command line>:1:29: note: expanded from:
#define DEFAULT_CONFIG_FILE "/usr/pkg/etc/htdig/htdig.conf"
                            ^
htfuzzy.cc:135:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            reportError(form("'%s' is not a supported algorithm",
                             ^
htfuzzy.cc:151:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        reportError(form("Unable to find configuration file."));
                         ^
htfuzzy.cc:161:35: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        String  wordFile = config["word_db"];
                                  ^
htfuzzy.cc:164:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            reportError(form("Unable to read word database file '%s'\nDid you run htmerge?",
                             ^
htfuzzy.cc:216:18: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            reportError("Unable to open word database");
                        ^
7 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Substring.cc
In file included from Substring.cc:22:
In file included from ./Substring.h:14:
In file included from ./Fuzzy.h:25:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Substring.cc:63:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    dbf->OpenRead(config["word_db"]);
                         ^
Substring.cc:66:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    int         maximumWords = config.Value("substring_max_words", 25);
                                            ^
3 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Prefix.cc
In file included from Prefix.cc:12:
In file included from ./Prefix.h:17:
In file included from ./Fuzzy.h:25:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Prefix.cc:26:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        name = "prefix";
               ^
Prefix.cc:49:35: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    char        *prefix_suffix = config["prefix_match_character"];
                                        ^
Prefix.cc:52:47: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    int         minimum_prefix_length = config.Value("minimum_prefix_length");
                                                     ^
Prefix.cc:71:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    dbf->OpenRead(config["word_db"]);
                         ^
Prefix.cc:74:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    int         maximumWords = config.Value("max_prefix_matches", 1000);
                                            ^
6 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Accents.cc
In file included from Accents.cc:14:
In file included from ./Accents.h:10:
In file included from ./Fuzzy.h:25:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Accents.cc:70:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    name = "accents";
           ^
Accents.cc:140:51: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int  maximum_word_length = config.Value("maximum_word_length", 12);
                                                   ^
3 warnings generated.
c++ -o htfuzzy -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -L../htlib -L../htcommon Endings.o EndingsDB.o Exact.o  Fuzzy.o Metaphone.o Soundex.o  SuffixEntry.o Synonym.o htfuzzy.o  Substring.o Prefix.o Accents.o ../htcommon/libcommon.a  ../htlib/libht.a -lz -ldb2
/usr/bin/ar rcv libfuzzy.a Endings.o Exact.o Fuzzy.o Metaphone.o Soundex.o Synonym.o EndingsDB.o SuffixEntry.o Substring.o Prefix.o Accents.o
a - Endings.o
a - Exact.o
a - Fuzzy.o
a - Metaphone.o
a - Soundex.o
a - Synonym.o
a - EndingsDB.o
a - SuffixEntry.o
a - Substring.o
a - Prefix.o
a - Accents.o
ranlib libfuzzy.a
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Document.cc
In file included from Document.cc:16:
In file included from ./Document.h:18:
In file included from ./Parsable.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
In file included from Document.cc:16:
In file included from ./Document.h:20:
../htlib/URL.h:108:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
void encodeURL(String &, char *valid = UNRESERVED);
                                       ^
../htlib/URL.h:105:20: note: expanded from:
#define UNRESERVED      "-_.!~*"
                        ^
In file included from Document.cc:17:
In file included from ../htlib/Connection.h:39:
../htlib/io.h:30:53: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              *read_line(String &, char *terminator = "\n");
                                                                ^
../htlib/io.h:31:71: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    char                        *read_line(char *buffer, int maxlength, char *terminator = "\n");
                                                                                           ^
../htlib/io.h:32:43: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              *read_line(char *terminator = "\n");
                                                      ^
../htlib/io.h:34:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    int                 write_line(char *buffer, char *eol = "\n");
                                                             ^
Document.cc:47:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        max_doc_size = config.Value("max_doc_size");
                                    ^
Document.cc:49:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    char        *proxyURL = config["http_proxy"];
                                   ^
Document.cc:56:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    char        *credentials = config["authorization"];
                                      ^
Document.cc:61:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    contentType = "";
                  ^
Document.cc:422:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        StringList l(config["http_proxy_exclude"], " \t");
                            ^
Document.cc:422:45: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        StringList l(config["http_proxy_exclude"], " \t");
                                                   ^
Document.cc:495:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String        command = "GET ";
                            ^
Document.cc:499:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        command << url->get() << " HTTP/1.0\r\n";
                                 ^
Document.cc:503:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        command << url->path() << " HTTP/1.0\r\n";
                                  ^
Document.cc:505:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    command << "User-Agent: " << config["user_agent"] << "/" 
               ^
Document.cc:505:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    command << "User-Agent: " << config["user_agent"] << "/" 
                                        ^
Document.cc:505:58: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    command << "User-Agent: " << config["user_agent"] << "/" 
                                                         ^
Document.cc:506:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            << VERSION << " (" <<       config["maintainer"] << ")\r\n";
               ^
../include/htconfig.h:16:17: note: expanded from:
#define VERSION "3.1.6"
                ^
Document.cc:506:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            << VERSION << " (" <<       config["maintainer"] << ")\r\n";
                          ^
Document.cc:506:35: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            << VERSION << " (" <<       config["maintainer"] << ")\r\n";
                                               ^
Document.cc:506:52: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            << VERSION << " (" <<       config["maintainer"] << ")\r\n";
                                                                ^
Document.cc:513:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        command << "Referer: " << referer << "\r\n";
                   ^
Document.cc:513:39: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        command << "Referer: " << referer << "\r\n";
                                             ^
Document.cc:525:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        command << "If-Modified-Since: " << buffer << "\r\n";
                   ^
Document.cc:525:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        command << "If-Modified-Since: " << buffer << "\r\n";
                                                      ^
Document.cc:534:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        command << "Authorization: Basic " << authorization << "\r\n";
                   ^
Document.cc:534:57: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        command << "Authorization: Basic " << authorization << "\r\n";
                                                               ^
Document.cc:542:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if (config.Boolean("allow_virtual_hosts", 1))
                       ^
Document.cc:544:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        command << "Host: " << url->host();
                   ^
Document.cc:546:17: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            command << ":" << url->port();
                       ^
Document.cc:547:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        command << "\r\n";
                   ^
Document.cc:553:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    command << "\r\n";
               ^
Document.cc:563:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    c.timeout(config.Value("timeout"));
                           ^
Document.cc:641:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        c.read_line(line, "\n");
                          ^
Document.cc:700:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    mystrncasecmp("text/", token, 5) != 0 &&
                                  ^
Document.cc:701:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    mystrncasecmp("application/pdf", token, 15) != 0)
                                  ^
Document.cc:712:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                        config.Boolean("modification_time_is_now");
                                       ^
Document.cc:761:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        contentType = "text/html";
                      ^
Document.cc:763:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        contentType = "text/plain";
                      ^
Document.cc:765:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        contentType = "application/pdf";
                      ^
Document.cc:767:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        contentType = "application/postscript";
                      ^
42 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated HTML.cc
In file included from HTML.cc:17:
In file included from ./htdig.h:12:
In file included from ../htcommon/DocumentDB.h:20:
In file included from ../htcommon/DocumentRef.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
In file included from HTML.cc:23:
../htlib/URL.h:108:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
void encodeURL(String &, char *valid = UNRESERVED);
                                       ^
../htlib/URL.h:105:20: note: expanded from:
#define UNRESERVED      "-_.!~*"
                        ^
HTML.cc:79:18: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    tags.Pattern("title|/title|a|/a|h1|h2|h3|h4|h5|h6|/h1|/h2|/h3|/h4|/h5|/h6|noindex|/noindex|img|li|meta|frame|area|base|embed|object|link|style|/style|script|/script");
                 ^
HTML.cc:85:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    nobreaktags.Pattern("font|/font|em|/em|strong|/strong|i|/i|b|/b|u|/u|tt|/tt|abbr|/abbr|code|/code|q|/q|samp|/samp|kbd|/kbd|var|/var|dfn|/dfn|cite|/cite|blink|/blink|big|/big|small|/small|s|/s");
                        ^
HTML.cc:90:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    spacebeforetags.Pattern("title|h1|h2|h3|h4|h5|h6|address|blockquote|noindex|img|li|th|td|dt|dd|p|br|hr|center|spacer");
                            ^
HTML.cc:92:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    spaceaftertags.Pattern("/title|/h1|/h2|/h3|/h4|/h5|/h6|/address|/blockquote");
                           ^
HTML.cc:96:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    metadatetags.Pattern("date|dc.date|dc.date.created|dc.data.modified");
                         ^
HTML.cc:99:34: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    StringList descrNames(config["description_meta_tag_names"], " \t");
                                 ^
HTML.cc:99:65: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    StringList descrNames(config["description_meta_tag_names"], " \t");
                                                                ^
HTML.cc:105:36: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    StringList keywordNames(config["keywords_meta_tag_names"], " \t");
                                   ^
HTML.cc:105:64: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    StringList keywordNames(config["keywords_meta_tag_names"], " \t");
                                                               ^
HTML.cc:109:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    max_keywords = config.Value("max_keywords", -1);
                                ^
HTML.cc:126:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    minimumWordLength = config.Value("minimum_word_length", 3);
                                     ^
HTML.cc:161:46: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static char         *skip_start = config["noindex_start"];
                                             ^
HTML.cc:162:44: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static char         *skip_end = config["noindex_end"];
                                           ^
HTML.cc:315:20: warning: '&&' within '||' [-Wlogical-op-parentheses]
            if (!in_space && spacebeforetags.CompareWord((char *)position)
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HTML.cc:315:20: note: place parentheses around the '&&' expression to silence this warning
            if (!in_space && spacebeforetags.CompareWord((char *)position)
                          ^
                (                                                         )
HTML.cc:316:29: warning: '&&' within '||' [-Wlogical-op-parentheses]
                || !in_space && !in_punct && *position != '/')
                ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
HTML.cc:316:29: note: place parentheses around the '&&' expression to silence this warning
                || !in_space && !in_punct && *position != '/')
                                          ^
                   (                                         )
HTML.cc:388:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    description << " ...";
                                   ^
HTML.cc:470:49: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int  ignore_alt_text = config.Boolean("ignore_alt_text", 0);
                                                 ^
HTML.cc:483:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    attrs.NameValueSeparators("=");
                              ^
HTML.cc:513:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
          if (attrs["href"])
                    ^
HTML.cc:530:39: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
              href = new URL(transSGML(attrs["href"]), *base);
                                             ^
HTML.cc:536:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
          if (attrs["title"] && attrs["href"])
                    ^
HTML.cc:536:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
          if (attrs["title"] && attrs["href"])
                                      ^
HTML.cc:541:50: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
              retriever.got_href(*href, transSGML(attrs["title"]));
                                                        ^
HTML.cc:544:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
          if (attrs["name"])
                    ^
HTML.cc:549:45: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
              retriever.got_anchor(transSGML(attrs["name"]));
                                                   ^
HTML.cc:599:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["follow"])
                      ^
HTML.cc:630:36: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (!ignore_alt_text && attrs["alt"])
                                          ^
HTML.cc:632:34: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                char    *alttxt = transSGML(attrs["alt"]);
                                                  ^
HTML.cc:634:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    title << alttxt << " ";
                                       ^
HTML.cc:636:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    description << alttxt << " ";
                                             ^
HTML.cc:638:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    head << alttxt << " ";
                                      ^
HTML.cc:651:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["src"])
                      ^
HTML.cc:653:39: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                retriever.got_image(transSGML(attrs["src"]));
                                                    ^
HTML.cc:660:11: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                head << "* ";
                        ^
HTML.cc:669:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["htdig-noindex"])
                      ^
HTML.cc:675:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["htdig-index"])
                      ^
HTML.cc:680:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["htdig-email"])
                      ^
HTML.cc:681:49: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
              retriever.got_meta_email(transSGML(attrs["htdig-email"]));
                                                       ^
HTML.cc:683:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["htdig-notification-date"])
                      ^
HTML.cc:684:56: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
              retriever.got_meta_notification(transSGML(attrs["htdig-notification-date"]));
                                                              ^
HTML.cc:686:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["htdig-email-subject"])
                      ^
HTML.cc:687:51: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
              retriever.got_meta_subject(transSGML(attrs["htdig-email-subject"]));
                                                         ^
HTML.cc:689:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["htdig-keywords"] || attrs["keywords"])
                      ^
HTML.cc:689:43: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["htdig-keywords"] || attrs["keywords"])
                                                 ^
HTML.cc:697:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                char    *keywords = attrs["htdig-keywords"];
                                          ^
HTML.cc:699:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    keywords = attrs["keywords"];
                                     ^
HTML.cc:711:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["http-equiv"])
                      ^
HTML.cc:715:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                if (mystrcasecmp(attrs["http-equiv"], "refresh") == 0
                                       ^
HTML.cc:716:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    && attrs["content"])
                             ^
HTML.cc:718:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    char *content = attrs["content"];
                                          ^
HTML.cc:719:39: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    char *q = mystrcasestr(content, "url");
                                                    ^
HTML.cc:733:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                          retriever.got_href(*href, "");
                                                    ^
HTML.cc:743:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["name"] && attrs["content"])
                      ^
HTML.cc:743:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            if (attrs["name"] && attrs["content"])
                                       ^
HTML.cc:745:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                char    *cache = attrs["name"];
                                       ^
HTML.cc:750:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                         && strlen(attrs["content"]) != 0)
                                         ^
HTML.cc:756:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                   meta_dsc = transSGML(attrs["content"]);
                                              ^
HTML.cc:763:46: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                     cout << "META Description: " << attrs["content"] << endl;
                                                           ^
HTML.cc:772:55: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                   char        *words = HtWordToken(transSGML(attrs["content"]));
                                                                    ^
HTML.cc:788:45: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    char        *w = HtWordToken(transSGML(attrs["content"]));
                                                                 ^
HTML.cc:800:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    retriever.got_meta_email(transSGML(attrs["content"]));
                                                             ^
HTML.cc:803:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                                config.Boolean("use_doc_date",0))
                                               ^
HTML.cc:805:42: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    retriever.got_time(transSGML(attrs["content"]));
                                                       ^
HTML.cc:809:55: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    retriever.got_meta_notification(transSGML(attrs["content"]));
                                                                    ^
HTML.cc:813:50: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    retriever.got_meta_subject(transSGML(attrs["content"]));
                                                               ^
HTML.cc:822:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                         && strlen(attrs["content"]) !=0)
                                         ^
HTML.cc:824:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    String   content_cache = attrs["content"];
                                                   ^
HTML.cc:826:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    if (content_cache.indexOf("noindex") != -1)
                                              ^
HTML.cc:831:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    if (content_cache.indexOf("nofollow") != -1)
                                              ^
HTML.cc:833:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    if (content_cache.indexOf("none") != -1)
                                              ^
HTML.cc:841:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            else if (attrs["name"] &&
                           ^
HTML.cc:842:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                     mystrcasecmp(attrs["name"], "htdig-noindex") == 0)
                                        ^
HTML.cc:854:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
          if (attrs["src"])
                    ^
HTML.cc:863:36: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                  href = new URL(transSGML(attrs["src"]), *base);
                                                 ^
HTML.cc:864:47: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                  retriever.got_href(*href, transSGML(attrs["title"]));
                                                            ^
HTML.cc:873:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
          if (attrs["data"])
                    ^
HTML.cc:882:36: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                  href = new URL(transSGML(attrs["data"]), *base);
                                                 ^
HTML.cc:883:47: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                  retriever.got_href(*href, transSGML(attrs["title"]));
                                                            ^
HTML.cc:893:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
          if (attrs["href"])
                    ^
HTML.cc:900:36: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                  href = new URL(transSGML(attrs["href"]), *base);
                                                 ^
HTML.cc:901:47: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                  retriever.got_href(*href, transSGML(attrs["title"]));
                                                            ^
HTML.cc:910:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
          if (attrs["href"])
                    ^
HTML.cc:913:37: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
              URL tempBase(transSGML(attrs["href"]));
                                           ^
85 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Images.cc
In file included from Images.cc:20:
In file included from ./htdig.h:12:
In file included from ../htcommon/DocumentDB.h:20:
In file included from ../htcommon/DocumentRef.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
In file included from Images.cc:21:
../htlib/URL.h:108:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
void encodeURL(String &, char *valid = UNRESERVED);
                                       ^
../htlib/URL.h:105:20: note: expanded from:
#define UNRESERVED      "-_.!~*"
                        ^
In file included from Images.cc:22:
In file included from ../htlib/Connection.h:39:
../htlib/io.h:30:53: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              *read_line(String &, char *terminator = "\n");
                                                                ^
../htlib/io.h:31:71: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    char                        *read_line(char *buffer, int maxlength, char *terminator = "\n");
                                                                                           ^
../htlib/io.h:32:43: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              *read_line(char *terminator = "\n");
                                                      ^
../htlib/io.h:34:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    int                 write_line(char *buffer, char *eol = "\n");
                                                             ^
Images.cc:92:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                String          command = "HEAD ";
                                          ^
Images.cc:93:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                command << Url.path() << " HTTP/1.0\r\n";
                                         ^
Images.cc:94:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                command << "User-Agent: " << config["user_agent"] << "/";
                           ^
Images.cc:94:39: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                command << "User-Agent: " << config["user_agent"] << "/";
                                                    ^
Images.cc:94:56: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                command << "User-Agent: " << config["user_agent"] << "/";
                                                                     ^
Images.cc:95:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                command << VERSION << " (" << config["maintainer"] << ")\r\n";
                           ^
../include/htconfig.h:16:17: note: expanded from:
#define VERSION "3.1.6"
                ^
Images.cc:95:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                command << VERSION << " (" << config["maintainer"] << ")\r\n";
                                      ^
Images.cc:95:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                command << VERSION << " (" << config["maintainer"] << ")\r\n";
                                                     ^
Images.cc:95:57: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                command << VERSION << " (" << config["maintainer"] << ")\r\n";
                                                                      ^
Images.cc:96:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                command << "\r\n";
                           ^
Images.cc:103:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                        c.read_line(line, "\n");
                                          ^
17 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Parsable.cc
In file included from Parsable.cc:11:
In file included from ./Parsable.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Parsable.cc:21:36: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    max_head_length = config.Value("max_head_length", 0);
                                   ^
Parsable.cc:22:43: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    max_description_length = config.Value("max_description_length", 50);
                                          ^
Parsable.cc:23:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    max_meta_description_length = config.Value("max_meta_description_length", 0);
                                               ^
4 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Plaintext.cc
In file included from Plaintext.cc:11:
In file included from ./Plaintext.h:14:
In file included from ./Parsable.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
Plaintext.cc:45:49: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int  minimumWordLength = config.Value("minimum_word_length", 3);
                                                 ^
Plaintext.cc:105:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                        head << "&lt;";
                                ^
Plaintext.cc:108:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                        head << "&gt;";
                                ^
Plaintext.cc:111:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                        head << "&amp;";
                                ^
5 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Retriever.cc
In file included from Retriever.cc:9:
In file included from ./Retriever.h:10:
In file included from ../htcommon/DocumentRef.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
In file included from Retriever.cc:15:
In file included from ./Document.h:20:
../htlib/URL.h:108:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
void encodeURL(String &, char *valid = UNRESERVED);
                                       ^
../htlib/URL.h:105:20: note: expanded from:
#define UNRESERVED      "-_.!~*"
                        ^
Retriever.cc:35:34: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    max_hop_count = config.Value("max_hop_count", 999999);
                                 ^
Retriever.cc:41:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    factor[0] = config.Double("text_factor"); // Normal words
                              ^
Retriever.cc:42:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    factor[1] = config.Double("title_factor");
                              ^
Retriever.cc:43:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    factor[2] = config.Double("heading_factor_1");
                              ^
Retriever.cc:44:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    factor[3] = config.Double("heading_factor_2");
                              ^
Retriever.cc:45:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    factor[4] = config.Double("heading_factor_3");
                              ^
Retriever.cc:46:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    factor[5] = config.Double("heading_factor_4");
                              ^
Retriever.cc:47:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    factor[6] = config.Double("heading_factor_5");
                              ^
Retriever.cc:48:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    factor[7] = config.Double("heading_factor_6");
                              ^
Retriever.cc:51:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    factor[10] = config.Double("keywords_factor");
                               ^
Retriever.cc:52:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    factor[11] = config.Double("meta_description_factor");
                               ^
Retriever.cc:57:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String      filename = config["word_list"];
                                  ^
Retriever.cc:59:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    words.BadWordFile(config["bad_word_list"]);
                             ^
Retriever.cc:62:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    minimumWordLength = config.Value("minimum_word_length", 3);
                                     ^
Retriever.cc:68:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String      filelog = config["url_log"];
                                 ^
Retriever.cc:126:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    StringList  tokens(list, " \t");
                             ^
Retriever.cc:140:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            String robotsURL = "http://";
                               ^
Retriever.cc:141:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            robotsURL << u.host() << "/robots.txt";
                                     ^
Retriever.cc:219:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        reportError("Cannot install SIGINT handler\n");
                    ^
Retriever.cc:221:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        reportError("Cannot install SIGQUIT handler\n");
                    ^
Retriever.cc:223:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        reportError("Cannot install SIGTERM handler\n");
                    ^
Retriever.cc:225:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        reportError("Cannot install SIGHUP handler\n");
                    ^
Retriever.cc:300:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String      filelog = config["url_log"];
                                 ^
Retriever.cc:305:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            reportError(form("Unable to create URL log file '%s'",
                             ^
Retriever.cc:336:50: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int          local_urls_only = config.Boolean("local_urls_only");
                                                         ^
Retriever.cc:337:52: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int          mark_dead_servers = config.Boolean("ignore_dead_servers");
                                                           ^
Retriever.cc:641:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        String  t = config["bad_extensions"];
                           ^
Retriever.cc:661:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        String  t = config["valid_extensions"];
                           ^
Retriever.cc:788:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        String t = config["local_urls"];
                          ^
Retriever.cc:807:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        t = config["local_default_doc"];
                   ^
Retriever.cc:851:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
              while (defaultdoc = (String *)defaultdocs->Get_Next()) {
                     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Retriever.cc:851:26: note: place parentheses around the assignment to silence this warning
              while (defaultdoc = (String *)defaultdocs->Get_Next()) {
                                ^
                     (                                             )
Retriever.cc:851:26: note: use '==' to turn this assignment into an equality comparison
              while (defaultdoc = (String *)defaultdocs->Get_Next()) {
                                ^
                                ==
Retriever.cc:894:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        String t = config["local_user_urls"];
                          ^
Retriever.cc:979:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          while (defaultdoc = (String *)defaultdocs->Get_Next()) {
                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Retriever.cc:979:22: note: place parentheses around the assignment to silence this warning
          while (defaultdoc = (String *)defaultdocs->Get_Next()) {
                            ^
                 (                                             )
Retriever.cc:979:22: note: use '==' to turn this assignment into an equality comparison
          while (defaultdoc = (String *)defaultdocs->Get_Next()) {
                            ^
                            ==
Retriever.cc:1368:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    String robotsURL = "http://";
                                       ^
Retriever.cc:1369:34: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    robotsURL << url.host() << "/robots.txt";
                                               ^
Retriever.cc:1512:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    String robotsURL = "http://";
                                       ^
Retriever.cc:1513:34: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                    robotsURL << url.host() << "/robots.txt";
                                               ^
Retriever.cc:1608:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    char        *message = "";
                           ^
Retriever.cc:1613:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            message = "Not found";
                      ^
Retriever.cc:1617:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            message = "Unknown host";
                      ^
Retriever.cc:1621:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            message = "Unable to contact server";
                      ^
Retriever.cc:1625:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    notFound << message << ": " << url << " Ref: " << referer << '\n';
                           ^
Retriever.cc:1625:43: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    notFound << message << ": " << url << " Ref: " << referer << '\n';
                                          ^
Retriever.cc:1645:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    newname << ":    ";
               ^
46 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated SGMLEntities.cc
In file included from SGMLEntities.cc:13:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
SGMLEntities.cc:29:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "lt",           '<' } ,
      ^
SGMLEntities.cc:30:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "gt",           '>' } ,
      ^
SGMLEntities.cc:31:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "amp",          '&' } ,
      ^
SGMLEntities.cc:32:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "quot",         '"' } ,
      ^
SGMLEntities.cc:33:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "trade",        153 } , /* trade mark */
      ^
SGMLEntities.cc:34:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "nbsp",         160 } , /* non breaking space */
      ^
SGMLEntities.cc:35:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "iexcl",        161 } , /* inverted exclamation mark */
      ^
SGMLEntities.cc:36:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "cent",         162 } , /* cent sign */
      ^
SGMLEntities.cc:37:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "pound",        163 } , /* pound sign */
      ^
SGMLEntities.cc:38:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "curren",       164 } , /* currency sign */
      ^
SGMLEntities.cc:39:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "yen",          165 } , /* yen sign */
      ^
SGMLEntities.cc:40:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "brvbar",       166 } , /* broken vertical bar, (brkbar) */
      ^
SGMLEntities.cc:41:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "sect",         167 } , /* section sign */
      ^
SGMLEntities.cc:42:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "uml",          168 } , /* spacing diaresis */
      ^
SGMLEntities.cc:43:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "copy",         169 } , /* copyright sign */
      ^
SGMLEntities.cc:44:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "ordf",         170 } , /* feminine ordinal indicator */
      ^
SGMLEntities.cc:45:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "laquo",        171 } , /* angle quotation mark, left */
      ^
SGMLEntities.cc:46:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "not",          172 } , /* negation sign */
      ^
SGMLEntities.cc:47:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "shy",          173 } , /* soft hyphen */
      ^
SGMLEntities.cc:48:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "reg",          174 } , /* circled R registered sign */
      ^
SGMLEntities.cc:49:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "hibar",        175 } , /* spacing macron */
      ^
SGMLEntities.cc:50:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "deg",          176 } , /* degree sign */
      ^
SGMLEntities.cc:51:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "plusmn",       177 } , /* plus-or-minus sign */
      ^
SGMLEntities.cc:52:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "sup2",         178 } , /* superscript 2 */
      ^
SGMLEntities.cc:53:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "sup3",         179 } , /* superscript 3 */
      ^
SGMLEntities.cc:54:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "acute",        180 } , /* spacing acute (96) */
      ^
SGMLEntities.cc:55:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "micro",        181 } , /* micro sign */
      ^
SGMLEntities.cc:56:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "para",         182 } , /* paragraph sign */
      ^
SGMLEntities.cc:57:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "middot",       183 } , /* middle dot */
      ^
SGMLEntities.cc:58:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "cedil",        184 } , /* spacing cedilla */
      ^
SGMLEntities.cc:59:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "sup1",         185 } , /* superscript 1 */
      ^
SGMLEntities.cc:60:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "ordm",         186 } , /* masculine ordinal indicator */
      ^
SGMLEntities.cc:61:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "raquo",        187 } , /* angle quotation mark, right */
      ^
SGMLEntities.cc:62:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "frac14",       188 } , /* fraction 1/4 */
      ^
SGMLEntities.cc:63:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "frac12",       189 } , /* fraction 1/2 */
      ^
SGMLEntities.cc:64:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "frac34",       190 } , /* fraction 3/4 */
      ^
SGMLEntities.cc:65:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "iquest",       191 } , /* inverted question mark */
      ^
SGMLEntities.cc:66:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Agrave",       192 } , /* capital A, grave accent */ 
      ^
SGMLEntities.cc:67:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Aacute",       193 } , /* capital A, acute accent */ 
      ^
SGMLEntities.cc:68:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Acirc",        194 } , /* capital A, circumflex accent */ 
      ^
SGMLEntities.cc:69:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Atilde",       195 } , /* capital A, tilde */ 
      ^
SGMLEntities.cc:70:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Auml",         196 } , /* capital A, dieresis or umlaut mark */ 
      ^
SGMLEntities.cc:71:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Aring",        197 } , /* capital A, ring */ 
      ^
SGMLEntities.cc:72:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "AElig",        198 } , /* capital AE diphthong (ligature) */ 
      ^
SGMLEntities.cc:73:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Ccedil",       199 } , /* capital C, cedilla */ 
      ^
SGMLEntities.cc:74:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Egrave",       200 } , /* capital E, grave accent */ 
      ^
SGMLEntities.cc:75:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Eacute",       201 } , /* capital E, acute accent */ 
      ^
SGMLEntities.cc:76:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Ecirc",        202 } , /* capital E, circumflex accent */ 
      ^
SGMLEntities.cc:77:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Euml",         203 } , /* capital E, dieresis or umlaut mark */ 
      ^
SGMLEntities.cc:78:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Igrave",       205 } , /* capital I, grave accent */ 
      ^
SGMLEntities.cc:79:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Iacute",       204 } , /* capital I, acute accent */ 
      ^
SGMLEntities.cc:80:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Icirc",        206 } , /* capital I, circumflex accent */ 
      ^
SGMLEntities.cc:81:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Iuml",         207 } , /* capital I, dieresis or umlaut mark */ 
      ^
SGMLEntities.cc:82:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "ETH",          208 } , /* capital Eth, Icelandic (Dstrok) */ 
      ^
SGMLEntities.cc:83:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Ntilde",       209 } , /* capital N, tilde */ 
      ^
SGMLEntities.cc:84:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Ograve",       210 } , /* capital O, grave accent */ 
      ^
SGMLEntities.cc:85:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Oacute",       211 } , /* capital O, acute accent */ 
      ^
SGMLEntities.cc:86:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Ocirc",        212 } , /* capital O, circumflex accent */ 
      ^
SGMLEntities.cc:87:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Otilde",       213 } , /* capital O, tilde */ 
      ^
SGMLEntities.cc:88:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Ouml",         214 } , /* capital O, dieresis or umlaut mark */ 
      ^
SGMLEntities.cc:89:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "times",        215 } , /* multiplication sign */ 
      ^
SGMLEntities.cc:90:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Oslash",       216 } , /* capital O, slash */ 
      ^
SGMLEntities.cc:91:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Ugrave",       217 } , /* capital U, grave accent */ 
      ^
SGMLEntities.cc:92:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Uacute",       218 } , /* capital U, acute accent */ 
      ^
SGMLEntities.cc:93:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Ucirc",        219 } , /* capital U, circumflex accent */ 
      ^
SGMLEntities.cc:94:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Uuml",         220 } , /* capital U, dieresis or umlaut mark */ 
      ^
SGMLEntities.cc:95:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "Yacute",       221 } , /* capital Y, acute accent */ 
      ^
SGMLEntities.cc:96:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "THORN",        222 } , /* capital THORN, Icelandic */ 
      ^
SGMLEntities.cc:97:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "szlig",        223 } , /* small sharp s, German (sz ligature) */ 
      ^
SGMLEntities.cc:98:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "agrave",       224 } , /* small a, grave accent */ 
      ^
SGMLEntities.cc:99:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "aacute",       225 } , /* small a, acute accent */ 
      ^
SGMLEntities.cc:100:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "acirc",        226 } , /* small a, circumflex accent */ 
      ^
SGMLEntities.cc:101:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "atilde",       227 } , /* small a, tilde */
      ^
SGMLEntities.cc:102:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "auml",         228 } , /* small a, dieresis or umlaut mark */ 
      ^
SGMLEntities.cc:103:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "aring",        229 } , /* small a, ring */
      ^
SGMLEntities.cc:104:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "aelig",        230 } , /* small ae diphthong (ligature) */ 
      ^
SGMLEntities.cc:105:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "ccedil",       231 } , /* small c, cedilla */ 
      ^
SGMLEntities.cc:106:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "egrave",       232 } , /* small e, grave accent */ 
      ^
SGMLEntities.cc:107:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "eacute",       233 } , /* small e, acute accent */ 
      ^
SGMLEntities.cc:108:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "ecirc",        234 } , /* small e, circumflex accent */ 
      ^
SGMLEntities.cc:109:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "euml",         235 } , /* small e, dieresis or umlaut mark */ 
      ^
SGMLEntities.cc:110:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "igrave",       236 } , /* small i, grave accent */ 
      ^
SGMLEntities.cc:111:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "iacute",       237 } , /* small i, acute accent */ 
      ^
SGMLEntities.cc:112:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "icirc",        238 } , /* small i, circumflex accent */ 
      ^
SGMLEntities.cc:113:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "iuml",         239 } , /* small i, dieresis or umlaut mark */ 
      ^
SGMLEntities.cc:114:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "eth",          240 } , /* small eth, Icelandic */ 
      ^
SGMLEntities.cc:115:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "ntilde",       241 } , /* small n, tilde */ 
      ^
SGMLEntities.cc:116:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "ograve",       242 } , /* small o, grave accent */ 
      ^
SGMLEntities.cc:117:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "oacute",       243 } , /* small o, acute accent */ 
      ^
SGMLEntities.cc:118:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "ocirc",        244 } , /* small o, circumflex accent */ 
      ^
SGMLEntities.cc:119:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "otilde",       245 } , /* small o, tilde */ 
      ^
SGMLEntities.cc:120:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "ouml",         246 } , /* small o, dieresis or umlaut mark */ 
      ^
SGMLEntities.cc:121:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "divide",       247 } , /* division sign */
      ^
SGMLEntities.cc:122:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "oslash",       248 } , /* small o, slash */ 
      ^
SGMLEntities.cc:123:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "ugrave",       249 } , /* small u, grave accent */ 
      ^
SGMLEntities.cc:124:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "uacute",       250 } , /* small u, acute accent */ 
      ^
SGMLEntities.cc:125:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "ucirc",        251 } , /* small u, circumflex accent */ 
      ^
SGMLEntities.cc:126:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "uuml",         252 } , /* small u, dieresis or umlaut mark */ 
      ^
SGMLEntities.cc:127:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "yacute",       253 } , /* small y, acute accent */ 
      ^
SGMLEntities.cc:128:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "thorn",        254 } , /* small thorn, Icelandic */ 
      ^
SGMLEntities.cc:129:7: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    { "yuml",         255 } , /* small y, dieresis or umlaut mark */
      ^
SGMLEntities.cc:193:49: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int          translate_quot = config.Boolean("translate_quot");
                                                        ^
SGMLEntities.cc:194:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int          translate_amp = config.Boolean("translate_amp");
                                                       ^
SGMLEntities.cc:195:50: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int          translate_lt_gt = config.Boolean("translate_lt_gt");
                                                         ^
SGMLEntities.cc:196:51: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int          translate_latin1 = config.Boolean("translate_latin1");
                                                          ^
SGMLEntities.cc:217:26: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            quoteMatch->Pattern("quot|#34");
                                ^
SGMLEntities.cc:239:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            ampMatch->Pattern("amp|#38");
                              ^
SGMLEntities.cc:261:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            ltgtMatch->Pattern("lt|#60|gt|#62");
                               ^
SGMLEntities.cc:285:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
    if (e == ' ' && strncmp((char *)orig, "&#32", 4) != 0
        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SGMLEntities.cc:285:18: note: place parentheses around the '&&' expression to silence this warning
    if (e == ' ' && strncmp((char *)orig, "&#32", 4) != 0
                 ^
        (                                                )
SGMLEntities.cc:286:26: warning: '&&' within '||' [-Wlogical-op-parentheses]
           || !translate_latin1 && e > 160)
           ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
SGMLEntities.cc:286:26: note: place parentheses around the '&&' expression to silence this warning
           || !translate_latin1 && e > 160)
                                ^
              (                           )
111 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated Server.cc
In file included from Server.cc:11:
In file included from ./htdig.h:12:
In file included from ../htcommon/DocumentDB.h:20:
In file included from ../htcommon/DocumentRef.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
In file included from Server.cc:15:
../htlib/URL.h:108:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
void encodeURL(String &, char *valid = UNRESERVED);
                                       ^
../htlib/URL.h:105:20: note: expanded from:
#define UNRESERVED      "-_.!~*"
                        ^
Server.cc:34:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if (!config.Boolean("case_sensitive"))
                        ^
Server.cc:36:35: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    _max_documents = config.Value("server_max_docs", -1);
                                  ^
Server.cc:37:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    _connection_space = config.Value("server_wait_time", 0);
                                     ^
Server.cc:43:18: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String      url = "http://";
                      ^
Server.cc:44:35: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    url << host << ':' << port << "/robots.txt";
                                  ^
Server.cc:47:50: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    static int          local_urls_only = config.Boolean("local_urls_only");
                                                         ^
Server.cc:121:28: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String      myname = config["robotstxt_name"];
                                ^
Server.cc:151:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            rest = "";
                   ^
Server.cc:303:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    out << name << " " << _host << ":" << _port;
                   ^
Server.cc:303:36: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    out << name << " " << _host << ":" << _port;
                                   ^
Server.cc:304:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    out << " " << _documents << " document";
           ^
Server.cc:304:33: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    out << " " << _documents << " document";
                                ^
Server.cc:306:9: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        out << "s";
               ^
15 warnings generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated URLRef.cc
In file included from URLRef.cc:15:
In file included from ./URLRef.h:18:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
1 warning generated.
c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htcommon  -I/usr/pkg/include/db2 -I../include -O2 -I/usr/pkg/include/db2 -I/usr/include -Wno-deprecated htdig.cc
In file included from htdig.cc:16:
In file included from ./Document.h:18:
In file included from ./Parsable.h:10:
../htlib/htString.h:124:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              &chop(char *str = "\r\n");
                                          ^
In file included from htdig.cc:16:
In file included from ./Document.h:20:
../htlib/URL.h:108:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
void encodeURL(String &, char *valid = UNRESERVED);
                                       ^
../htlib/URL.h:105:20: note: expanded from:
#define UNRESERVED      "-_.!~*"
                        ^
htdig.cc:42:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
String                  configFile = DEFAULT_CONFIG_FILE;
                                     ^
<command line>:1:29: note: expanded from:
#define DEFAULT_CONFIG_FILE "/usr/pkg/etc/htdig/htdig.conf"
                            ^
htdig.cc:52:1: error: C++ requires a type specifier for all declarations
main(int ac, char **av)
^~~~
htdig.cc:123:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                max_hops = "0";
                           ^
htdig.cc:137:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        reportError(form("Unable to find configuration file '%s'",
                         ^
htdig.cc:142:17: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if (*config["locale"] == '\0' && debug > 0)
                ^
htdig.cc:147:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        config.Add("max_hop_count", max_hops);
                   ^
htdig.cc:152:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        config.Add("authorization", credentials);
                   ^
htdig.cc:163:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
      reportError(form("Invalid url_part_aliases or common_url_parts: %s",
                       ^
htdig.cc:171:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
      reportError(form("Invalid url_rewrite_rules: %s",
                       ^
htdig.cc:183:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        configValue = config["doc_db"];
                             ^
htdig.cc:186:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            configValue << ".work";
                           ^
htdig.cc:187:17: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            config.Add("doc_db", configValue);
                       ^
htdig.cc:190:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        configValue = config["word_list"];
                             ^
htdig.cc:193:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            configValue << ".work";
                           ^
htdig.cc:194:17: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            config.Add("word_list", configValue);
                       ^
htdig.cc:201:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if (config.Boolean("create_url_list"))
                       ^
htdig.cc:203:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        String  filename = config["url_list"];
                                  ^
htdig.cc:207:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            reportError(form("Unable to create URL file '%s'",
                             ^
htdig.cc:215:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    if (config.Boolean("create_image_list"))
                       ^
htdig.cc:217:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        String  filename = config["image_list"];
                                  ^
htdig.cc:221:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            reportError(form("Unable to create images file '%s'",
                             ^
htdig.cc:229:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    StringList l(config["limit_urls_to"], " \t");
                        ^
htdig.cc:229:43: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    StringList l(config["limit_urls_to"], " \t");
                                          ^
htdig.cc:234:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    l.Create(config["limit_normalized"], " \t");
                    ^
htdig.cc:234:42: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    l.Create(config["limit_normalized"], " \t");
                                         ^
htdig.cc:242:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    l.Create(config["exclude_urls"], " \t");
                    ^
htdig.cc:242:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    l.Create(config["exclude_urls"], " \t");
                                     ^
htdig.cc:247:21: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    l.Create(config["bad_querystr"], " \t");
                    ^
htdig.cc:247:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    l.Create(config["bad_querystr"], " \t");
                                     ^
htdig.cc:256:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                       Boolean("uncoded_db_compatible", TRUE));
                               ^
htdig.cc:261:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
    String              filename = config["doc_db"];
                                          ^
htdig.cc:268:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
            reportError(form("Unable to open document database '%s'",
                             ^
htdig.cc:274:19: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        reportError(form("Unable to open/create document database '%s'",
                         ^
htdig.cc:280:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        filename = config["word_list"];
                          ^
htdig.cc:301:27: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        retriever.Initial(config["start_url"], 1);
                                 ^
htdig.cc:325:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                str.chop("\r\n\t ");
                         ^
htdig.cc:349:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        filename = config["doc_list"];
                          ^
htdig.cc:360:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        filename = config["doc_list"];
                          ^
htdig.cc:377:29: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        retriever.ReportStatistics("htdig");
                                   ^
40 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/www/htdig/work/htdig-3.1.6/htdig
*** Error code 1

Stop.
make: stopped in /scratch/www/htdig/work/htdig-3.1.6
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/www/htdig
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/www/htdig
