WARNING: [license.mk] Every package should define a LICENSE. ===> Building for htdig-3.2.0b6nb1 Making all in db /opt/pkg/bin/bmake all-am /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_compare.lo `test -f 'bt_compare.c' || echo './'`bt_compare.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_compare.c -fno-common -DPIC -o .libs/bt_compare.o bt_compare.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_cmp(dbp, dbt, h, indx, func) ^ bt_compare.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_defcmp(a, b) ^ bt_compare.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_defpfx(a, b) ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_compare.c -o bt_compare.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_conv.lo `test -f 'bt_conv.c' || echo './'`bt_conv.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_conv.c -fno-common -DPIC -o .libs/bt_conv.o bt_conv.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_pgin(pg, pp, cookie) ^ bt_conv.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_pgout(pg, pp, cookie) ^ bt_conv.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_mswap(pg) ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_conv.c -o bt_conv.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_curadj.lo `test -f 'bt_curadj.c' || echo './'`bt_curadj.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_curadj.c -fno-common -DPIC -o .libs/bt_curadj.o bt_curadj.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_ca_delete(dbp, pgno, indx, delete) ^ bt_curadj.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_ca_di(dbp, pgno, indx, adjust) ^ bt_curadj.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_ca_dup(dbp, fpgno, first, fi, tpgno, ti) ^ bt_curadj.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_ca_rsplit(dbp, fpgno, tpgno) ^ bt_curadj.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_ca_split(dbp, ppgno, lpgno, rpgno, split_indx, cleft) ^ bt_curadj.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_ca_repl(dbp, dpgno, dindx, newpgno, newindx) ^ 6 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_curadj.c -o bt_curadj.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_cursor.lo `test -f 'bt_cursor.c' || echo './'`bt_cursor.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_cursor.c -fno-common -DPIC -o .libs/bt_cursor.o bt_cursor.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_reset(cp) ^ bt_cursor.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_init(dbc) ^ bt_cursor.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_dup(orig_dbc, new_dbc) ^ bt_cursor.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_close(dbc) ^ bt_cursor.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_destroy(dbc) ^ bt_cursor.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_del(dbc, flags) ^ bt_cursor.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_get(dbc_orig, key, data, flags) ^ bt_cursor.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_dsearch(dbc, data, iflagp) ^ bt_cursor.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_rget(dbc, data, flags) ^ bt_cursor.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_put(dbc_orig, key, data, flags) ^ bt_cursor.c:1104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_first(dbc) ^ bt_cursor.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_last(dbc) ^ bt_cursor.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_next(dbc, initial_move) ^ bt_cursor.c:1331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_prev(dbc) ^ bt_cursor.c:1444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_search(dbc, key, flags, exactp) ^ bt_cursor.c:1631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_dup(dbc, indx, last_dup) ^ bt_cursor.c:1694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_physdel(dbc) ^ bt_cursor.c:1954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_c_getstack(dbc) ^ 18 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_cursor.c -o bt_cursor.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_delete.lo `test -f 'bt_delete.c' || echo './'`bt_delete.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_delete.c -fno-common -DPIC -o .libs/bt_delete.o bt_delete.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_delete(dbp, txn, key, flags) ^ bt_delete.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_ditem(dbc, h, indx) ^ bt_delete.c:162:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_SIZE(bi->len); ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_delete.c:166:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_SIZE(bi->len); ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_delete.c:225:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_delete.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_adjindx(dbc, h, indx, indx_copy, is_insert) ^ bt_delete.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_dpage(dbc, key) ^ bt_delete.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_dpages(dbc) ^ bt_delete.c:537:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] b.size = BINTERNAL_SIZE(((BINTERNAL *)b.data)->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ 9 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_delete.c -o bt_delete.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_method.lo `test -f 'bt_method.c' || echo './'`bt_method.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_method.c -fno-common -DPIC -o .libs/bt_method.o bt_method.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_db_create(dbp) ^ bt_method.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_db_close(dbp) ^ bt_method.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_set_flags(dbp, flagsp) ^ bt_method.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_set_bt_compare(dbp, func) ^ bt_method.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_set_bt_maxkey(dbp, bt_maxkey) ^ bt_method.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_set_bt_minkey(dbp, bt_minkey) ^ bt_method.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_set_bt_prefix(dbp, func) ^ bt_method.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_set_flags(dbp, flagsp) ^ bt_method.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_set_re_delim(dbp, re_delim) ^ bt_method.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_set_re_len(dbp, re_len) ^ bt_method.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_set_re_pad(dbp, re_pad) ^ bt_method.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_set_re_source(dbp, re_source) ^ 12 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_method.c -o bt_method.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_open.lo `test -f 'bt_open.c' || echo './'`bt_open.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_open.c -fno-common -DPIC -o .libs/bt_open.o bt_open.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_open(dbp, name, base_pgno) ^ bt_open.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_setovflsize(dbp) ^ bt_open.c:134:34: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] t->bt_ovflsize = (dbp->pgsize - P_OVERHEAD) / (t->bt_minkey * P_INDX) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_open.c:135:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] - (BKEYDATA_PSIZE(0) + ALIGN(1, 4)); ^~~~~~~~~~~~~~~~~ ./db_page.h:477:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_open.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_metachk(dbp, name, btm) ^ bt_open.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_read_root(dbp, name, base_pgno) ^ 6 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_open.c -o bt_open.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_put.lo `test -f 'bt_put.c' || echo './'`bt_put.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_put.c -fno-common -DPIC -o .libs/bt_put.o bt_put.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_iitem(dbc, hp, indxp, key, data, op, flags) ^ bt_put.c:250:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] needed += BKEYDATA_PSIZE(key->size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:477:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_put.c:254:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] needed += BKEYDATA_PSIZE(data_size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:477:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_put.c:268:18: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] have_bytes = BKEYDATA_PSIZE(bk->len); ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:477:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_put.c:279:18: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] need_bytes += BKEYDATA_PSIZE(data_size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:477:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_put.c:296:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(h) < needed || ^~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_put.c:316:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_SIZE(key->size), NULL, key)) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_put.c:403:17: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] __hdr.size = SSZA(BKEYDATA, data); ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_put.c:405:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_SIZE(data->size), &__hdr, data); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_put.c:410:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_SIZE(data->size), NULL, data); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_put.c:448:19: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (dupadjust && P_FREESPACE(h) <= dbp->pgsize / 2) { ^~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_put.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_partsize(op, data, h, indx) ^ bt_put.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_build(dbc, op, dbt, h, indx, nbytes) ^ bt_put.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_ovput(dbc, h, indx, item) ^ bt_put.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_ritem(dbc, h, indx, data) ^ bt_put.c:760:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] lo = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_put.c:761:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] ln = BKEYDATA_SIZE(data->size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_put.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_ndup(dbc, h, indx) ^ bt_put.c:822:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE; ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:477:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_put.c:825:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE; ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:477:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_put.c:861:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_SIZE(bk->len) : BOVERFLOW_SIZE; ^~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ 21 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_put.c -o bt_put.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_rec.lo `test -f 'bt_rec.c' || echo './'`bt_rec.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_rec.c -fno-common -DPIC -o .libs/bt_rec.o bt_rec.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_pg_alloc_recover(dbenv, dbtp, lsnp, redo, info) ^ bt_rec.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_pg_free_recover(dbenv, dbtp, lsnp, redo, info) ^ bt_rec.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_split_recover(dbenv, dbtp, lsnp, redo, info) ^ bt_rec.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_rsplit_recover(dbenv, dbtp, lsnp, redo, info) ^ bt_rec.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_adj_recover(dbenv, dbtp, lsnp, redo, info) ^ bt_rec.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_cadjust_recover(dbenv, dbtp, lsnp, redo, info) ^ bt_rec.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_cdel_recover(dbenv, dbtp, lsnp, redo, info) ^ bt_rec.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_repl_recover(dbenv, dbtp, lsnp, redo, info) ^ bt_rec.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_root_recover(dbenv, dbtp, lsnp, redo, info) ^ 9 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_rec.c -o bt_rec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_reclaim.lo `test -f 'bt_reclaim.c' || echo './'`bt_reclaim.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_reclaim.c -fno-common -DPIC -o .libs/bt_reclaim.o bt_reclaim.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_reclaim(dbp, txn) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_reclaim.c -o bt_reclaim.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_recno.lo `test -f 'bt_recno.c' || echo './'`bt_recno.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_recno.c -fno-common -DPIC -o .libs/bt_recno.o bt_recno.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_open(dbp, name, base_pgno) ^ bt_recno.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_delete(dbp, txn, key, flags) ^ bt_recno.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_i_delete(dbc) ^ bt_recno.c:283:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hdr.size = SSZA(BKEYDATA, data); ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_recno.c:288:16: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] h, indx, BKEYDATA_SIZE(0), &hdr, &data)) != 0) ^~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_recno.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_put(dbp, txn, key, data, flags) ^ bt_recno.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_c_del(dbc, flags) ^ bt_recno.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_c_get(dbc, key, data, flags) ^ bt_recno.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_c_put(dbc, key, data, flags) ^ bt_recno.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_ca(dbp, recno, op) ^ bt_recno.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_getno(dbc, key, rep, can_create) ^ bt_recno.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_update(dbc, recno, can_create) ^ bt_recno.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_source(dbp) ^ bt_recno.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_writeback(dbp) ^ bt_recno.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_fmap(dbc, top) ^ bt_recno.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_vmap(dbc, top) ^ bt_recno.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_add(dbc, recnop, data, flags, bi_flags) ^ 17 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_recno.c -o bt_recno.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_rsearch.lo `test -f 'bt_rsearch.c' || echo './'`bt_rsearch.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_rsearch.c -fno-common -DPIC -o .libs/bt_rsearch.o bt_rsearch.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_rsearch(dbc, recnop, flags, stop, exactp) ^ bt_rsearch.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_adjust(dbc, adjust) ^ bt_rsearch.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_nrecs(dbc, rep) ^ bt_rsearch.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_total(h) ^ 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_rsearch.c -o bt_rsearch.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_search.lo `test -f 'bt_search.c' || echo './'`bt_search.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_search.c -fno-common -DPIC -o .libs/bt_search.o bt_search.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_search(dbc, key, flags, stop, recnop, exactp) ^ bt_search.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_stkrel(dbc, nolocks) ^ bt_search.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_stkgrow(cp) ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_search.c -o bt_search.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_split.lo `test -f 'bt_split.c' || echo './'`bt_split.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_split.c -fno-common -DPIC -o .libs/bt_split.o bt_split.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_split(dbc, arg) ^ bt_split.c:138:18: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] (db_indx_t)P_FREESPACE(cp->csp[0].page)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_root(dbc, cp) ^ bt_split.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_page(dbc, pp, cp) ^ bt_split.c:404:23: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] memcpy(alloc_rp, rp, LOFFSET(rp)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ bt_split.c:410:23: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] memcpy(cp->page, lp, LOFFSET(lp)); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ bt_split.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_broot(dbc, rootp, lp, rp) ^ bt_split.c:524:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hdr.size = SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:526:36: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] CDB___db_pitem(dbc, rootp, 0, BINTERNAL_SIZE(0), &hdr, NULL)) != 0) ^~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:542:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hdr.size = SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:546:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(child_bi->len), &hdr, &data)) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:568:15: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hdr.size = SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:572:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(child_bk->len), &hdr, &data)) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:585:15: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hdr.size = SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:589:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(BOVERFLOW_SIZE), &hdr, &data)) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ram_root(dbc, rootp, lp, rp) ^ bt_split.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_pinsert(dbc, parent, lchild, rchild, space_check) ^ bt_split.c:711:12: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_PSIZE(child_bi->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:540:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:713:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:726:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hdr.size = SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:731:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(child_bi->len), &hdr, &data)) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:744:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_PSIZE(child_bk->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:540:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:760:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] if ((n = BINTERNAL_PSIZE(nksize)) < nbytes) ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:540:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:765:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:777:15: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hdr.size = SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:782:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(nksize), &hdr, &data)) != 0) ^~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:787:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_PSIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:540:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:789:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:801:15: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hdr.size = SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:806:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(BOVERFLOW_SIZE), &hdr, &data)) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:823:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_split.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_psplit(dbc, cp, lp, rp, splitret) ^ bt_split.c:928:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(GET_BINTERNAL(pp, off)->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:930:15: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes += BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:935:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:942:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:950:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes += BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_copy(dbp, pp, cp, nxt, stop) ^ bt_split.c:1046:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(GET_BINTERNAL(pp, nxt)->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:1048:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:538:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ bt_split.c:1064:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_SIZE(GET_BKEYDATA(pp, nxt)->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ 41 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_split.c -o bt_split.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_stat.lo `test -f 'bt_stat.c' || echo './'`bt_stat.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_stat.c -fno-common -DPIC -o .libs/bt_stat.o bt_stat.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_stat(dbp, spp, db_malloc, flags) ^ bt_stat.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_traverse(dbc, mode, root_pgno, callback, cookie) ^ bt_stat.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_stat_callback(dbp, h, cookie, putp) ^ bt_stat.c:300:24: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] sp->bt_int_pgfree += P_FREESPACE(h); ^~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_stat.c:304:25: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] sp->bt_leaf_pgfree += P_FREESPACE(h); ^~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_stat.c:309:25: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] sp->bt_leaf_pgfree += P_FREESPACE(h); ^~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_stat.c:314:24: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] sp->bt_dup_pgfree += P_FREESPACE(h); ^~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bt_stat.c:318:25: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] sp->bt_over_pgfree += P_OVFLSPACE(dbp->pgsize, h); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:304:34: note: expanded from macro 'P_OVFLSPACE' #define P_OVFLSPACE(psize, pg) (P_MAXSPACE(psize) - HOFFSET(pg)) ^~~~~~~~~~~~~~~~~ ./db_page.h:301:38: note: expanded from macro 'P_MAXSPACE' #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_stat.c -o bt_stat.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o bt_upgrade.lo `test -f 'bt_upgrade.c' || echo './'`bt_upgrade.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_upgrade.c -fno-common -DPIC -o .libs/bt_upgrade.o bt_upgrade.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_upgrade(dbp, swapped, real_name, fhp, mbuf) ^ bt_upgrade.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_upgrade6(dbp, swapped, real_name, fhp) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c bt_upgrade.c -o bt_upgrade.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o btree_auto.lo `test -f 'btree_auto.c' || echo './'`btree_auto.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c btree_auto.c -fno-common -DPIC -o .libs/btree_auto.o btree_auto.c:19:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___bam_pg_alloc_log(dbenv, txnid, ret_lsnp, flags, ^ btree_auto.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_pg_alloc_print(notused1, dbtp, lsnp, notused2, notused3) ^ btree_auto.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_pg_alloc_read(recbuf, argpp) ^ btree_auto.c:169:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___bam_pg_free_log(dbenv, txnid, ret_lsnp, flags, ^ btree_auto.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_pg_free_print(notused1, dbtp, lsnp, notused2, notused3) ^ btree_auto.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_pg_free_read(recbuf, argpp) ^ btree_auto.c:328:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___bam_split_log(dbenv, txnid, ret_lsnp, flags, ^ btree_auto.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_split_print(notused1, dbtp, lsnp, notused2, notused3) ^ btree_auto.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_split_read(recbuf, argpp) ^ btree_auto.c:524:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___bam_rsplit_log(dbenv, txnid, ret_lsnp, flags, ^ btree_auto.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_rsplit_print(notused1, dbtp, lsnp, notused2, notused3) ^ btree_auto.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_rsplit_read(recbuf, argpp) ^ btree_auto.c:709:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___bam_adj_log(dbenv, txnid, ret_lsnp, flags, ^ btree_auto.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_adj_print(notused1, dbtp, lsnp, notused2, notused3) ^ btree_auto.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_adj_read(recbuf, argpp) ^ btree_auto.c:855:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___bam_cadjust_log(dbenv, txnid, ret_lsnp, flags, ^ btree_auto.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_cadjust_print(notused1, dbtp, lsnp, notused2, notused3) ^ btree_auto.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_cadjust_read(recbuf, argpp) ^ btree_auto.c:1001:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___bam_cdel_log(dbenv, txnid, ret_lsnp, flags, ^ btree_auto.c:1063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_cdel_print(notused1, dbtp, lsnp, notused2, notused3) ^ btree_auto.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_cdel_read(recbuf, argpp) ^ btree_auto.c:1133:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___bam_repl_log(dbenv, txnid, ret_lsnp, flags, ^ btree_auto.c:1233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_repl_print(notused1, dbtp, lsnp, notused2, notused3) ^ btree_auto.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_repl_read(recbuf, argpp) ^ btree_auto.c:1340:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___bam_root_log(dbenv, txnid, ret_lsnp, flags, ^ btree_auto.c:1402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_root_print(notused1, dbtp, lsnp, notused2, notused3) ^ btree_auto.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_root_read(recbuf, argpp) ^ btree_auto.c:1473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_init_print(dbenv) ^ btree_auto.c:1512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bam_init_recover(dbenv) ^ 29 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c btree_auto.c -o btree_auto.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o crdel_auto.lo `test -f 'crdel_auto.c' || echo './'`crdel_auto.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c crdel_auto.c -fno-common -DPIC -o .libs/crdel_auto.o crdel_auto.c:18:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___crdel_fileopen_log(dbenv, txnid, ret_lsnp, flags, ^ crdel_auto.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_fileopen_print(notused1, dbtp, lsnp, notused2, notused3) ^ crdel_auto.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_fileopen_read(recbuf, argpp) ^ crdel_auto.c:152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___crdel_metasub_log(dbenv, txnid, ret_lsnp, flags, ^ crdel_auto.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_metasub_print(notused1, dbtp, lsnp, notused2, notused3) ^ crdel_auto.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_metasub_read(recbuf, argpp) ^ crdel_auto.c:304:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___crdel_metapage_log(dbenv, txnid, ret_lsnp, flags, ^ crdel_auto.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_metapage_print(notused1, dbtp, lsnp, notused2, notused3) ^ crdel_auto.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_metapage_read(recbuf, argpp) ^ crdel_auto.c:471:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___crdel_delete_log(dbenv, txnid, ret_lsnp, flags, ^ crdel_auto.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_delete_print(notused1, dbtp, lsnp, notused2, notused3) ^ crdel_auto.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_delete_read(recbuf, argpp) ^ crdel_auto.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_init_print(dbenv) ^ crdel_auto.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_init_recover(dbenv) ^ 14 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c crdel_auto.c -o crdel_auto.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o crdel_rec.lo `test -f 'crdel_rec.c' || echo './'`crdel_rec.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c crdel_rec.c -fno-common -DPIC -o .libs/crdel_rec.o crdel_rec.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_fileopen_recover(dbenv, dbtp, lsnp, redo, info) ^ crdel_rec.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_metasub_recover(dbenv, dbtp, lsnp, redo, info) ^ crdel_rec.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_metapage_recover(dbenv, dbtp, lsnp, redo, info) ^ crdel_rec.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___crdel_delete_recover(dbenv, dbtp, lsnp, redo, info) ^ 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c crdel_rec.c -o crdel_rec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db.lo `test -f 'db.c' || echo './'`db.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db.c -fno-common -DPIC -o .libs/db.o db.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_open(dbp, name, subdb, type, flags, mode) ^ db.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_dbopen(dbp, name, flags, mode, meta_pgno) ^ db.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_master_open(dbenv, txn, name, flags, mode, dbpp) ^ db.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_master_update(mdbp, subdb, type, meta_pgnop, is_remove, flags) ^ db.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_dbenv_setup(dbp, name, flags) ^ db.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_file_setup(dbp, name, flags, mode, meta_pgno, zerop) ^ db.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_pgsize(dbp, fhp, name) ^ db.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_close(dbp, flags) ^ db.c:1161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_refresh(dbp) ^ db.c:1214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_remove(dbp, name, subdb, flags) ^ db.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_subdb_remove(dbp, name, subdb) ^ db.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_metabegin(dbp, lockp) ^ db.c:1449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_metaend(dbp, lockp, commit, callback, cookie) ^ db.c:1493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_backup_name(name, backup, lsn) ^ db.c:1527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_remove_callback(dbp, cookie) ^ 15 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db.c -o db.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_am.lo `test -f 'db_am.c' || echo './'`db_am.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_am.c -fno-common -DPIC -o .libs/db_am.o db_am.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_cursor(dbp, txn, dbcp, flags) ^ db_am.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_c_close(dbc) ^ db_am.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_c_dup(orig_dbc, dbcp, flags) ^ db_am.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_c_destroy(dbc) ^ db_am.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_fd(dbp, fdp) ^ db_am.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_get(dbp, txn, key, data, flags) ^ db_am.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_put(dbp, txn, key, data, flags) ^ db_am.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_sync(dbp, flags) ^ db_am.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_log_page(dbp, name, lsn, pgno, page) ^ 9 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_am.c -o db_am.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_auto.lo `test -f 'db_auto.c' || echo './'`db_auto.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_auto.c -fno-common -DPIC -o .libs/db_auto.o db_auto.c:18:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___db_addrem_log(dbenv, txnid, ret_lsnp, flags, ^ db_auto.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_addrem_print(notused1, dbtp, lsnp, notused2, notused3) ^ db_auto.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_addrem_read(recbuf, argpp) ^ db_auto.c:218:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___db_split_log(dbenv, txnid, ret_lsnp, flags, ^ db_auto.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_split_print(notused1, dbtp, lsnp, notused2, notused3) ^ db_auto.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_split_read(recbuf, argpp) ^ db_auto.c:377:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___db_big_log(dbenv, txnid, ret_lsnp, flags, ^ db_auto.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_big_print(notused1, dbtp, lsnp, notused2, notused3) ^ db_auto.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_big_read(recbuf, argpp) ^ db_auto.c:573:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___db_ovref_log(dbenv, txnid, ret_lsnp, flags, ^ db_auto.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_ovref_print(notused1, dbtp, lsnp, notused2, notused3) ^ db_auto.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_ovref_read(recbuf, argpp) ^ db_auto.c:705:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___db_relink_log(dbenv, txnid, ret_lsnp, flags, ^ db_auto.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_relink_print(notused1, dbtp, lsnp, notused2, notused3) ^ db_auto.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_relink_read(recbuf, argpp) ^ db_auto.c:874:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___db_addpage_log(dbenv, txnid, ret_lsnp, flags, ^ db_auto.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_addpage_print(notused1, dbtp, lsnp, notused2, notused3) ^ db_auto.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_addpage_read(recbuf, argpp) ^ db_auto.c:1017:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___db_debug_log(dbenv, txnid, ret_lsnp, flags, ^ db_auto.c:1105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_debug_print(notused1, dbtp, lsnp, notused2, notused3) ^ db_auto.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_debug_read(recbuf, argpp) ^ db_auto.c:1210:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___db_noop_log(dbenv, txnid, ret_lsnp, flags, ^ db_auto.c:1268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_noop_print(notused1, dbtp, lsnp, notused2, notused3) ^ db_auto.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_noop_read(recbuf, argpp) ^ db_auto.c:1336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_init_print(dbenv) ^ db_auto.c:1372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_init_recover(dbenv) ^ 26 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_auto.c -o db_auto.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_byteorder.lo `test -f 'db_byteorder.c' || echo './'`db_byteorder.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_byteorder.c -fno-common -DPIC -o .libs/db_byteorder.o db_byteorder.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_byteorder(dbenv, lorder) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_byteorder.c -o db_byteorder.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_conv.lo `test -f 'db_conv.c' || echo './'`db_conv.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_conv.c -fno-common -DPIC -o .libs/db_conv.o db_conv.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_pgin(pg, pp, cookie) ^ db_conv.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_pgout(pg, pp, cookie) ^ db_conv.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_metaswap(pg) ^ db_conv.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_byteswap(pg, h, pagesize, pgin) ^ db_conv.c:205:11: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] len = LEN_HKEYDATA(h, pagesize, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_conv.c:206:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] p = HKEYDATA_DATA(P_ENTRY(h, i)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_conv.c:223:9: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] p = HOFFPAGE_PGNO(P_ENTRY(h, i)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:403:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ db_conv.c:227:9: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] p = HOFFPAGE_PGNO(P_ENTRY(h, i)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:403:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_conv.c -o db_conv.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_dispatch.lo `test -f 'db_dispatch.c' || echo './'`db_dispatch.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_dispatch.c -fno-common -DPIC -o .libs/db_dispatch.o db_dispatch.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_dispatch(dbenv, db, lsnp, redo, info) ^ db_dispatch.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_add_recovery(dbenv, func, ndx) ^ db_dispatch.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_txnlist_init(retp) ^ db_dispatch.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_txnlist_add(listp, txnid) ^ db_dispatch.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_txnlist_close(listp, lid, count) ^ db_dispatch.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_txnlist_delete(listp, name, lid, deleted) ^ db_dispatch.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_txnlist_end(dbenv, listp) ^ db_dispatch.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_txnlist_find(listp, txnid) ^ db_dispatch.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_txnlist_gen(listp, incr) ^ 9 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_dispatch.c -o db_dispatch.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_dup.lo `test -f 'db_dup.c' || echo './'`db_dup.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_dup.c -fno-common -DPIC -o .libs/db_dup.o db_dup.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_dput(dbc, dbt, pp, indxp) ^ db_dup.c:69:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] size = BKEYDATA_PSIZE(dbt->size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:477:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ db_dup.c:70:11: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] isize = BKEYDATA_SIZE(dbt->size); ^~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ db_dup.c:76:13: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (size > P_FREESPACE(pagep)) { ^~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_dup.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_drem(dbc, pp, indx) ^ db_dup.c:127:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_SIZE(GET_BKEYDATA(pagep, indx)->len)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ db_dup.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_dend(dbc, pgno, pp) ^ db_dup.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_dsplit(dbc, hp, indxp, size) ^ db_dup.c:258:11: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] sum += BKEYDATA_SIZE(GET_BKEYDATA(h, i)->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ db_dup.c:304:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] s = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ db_dup.c:320:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] s = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ db_dup.c:335:16: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] memcpy(h, tp, LOFFSET(tp)); ~~~~~~~~~~~~~~^~~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ db_dup.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_ditem(dbc, pagep, indx, nbytes) ^ db_dup.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_pitem(dbc, pagep, indx, nbytes, hdr, data) ^ db_dup.c:492:15: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] thdr.size = SSZA(BKEYDATA, data); ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_dup.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_relink(dbc, add_rem, pagep, new_next, needlock) ^ db_dup.c:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_ddup(dbc, pgno) ^ db_dup.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_addpage(dbc, hp, indxp) ^ db_dup.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_dsearch(dbc, is_insert, dbt, pgno, indxp, pp, cmpp) ^ 19 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_dup.c -o db_dup.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_err.lo `test -f 'db_err.c' || echo './'`db_err.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_err.c -fno-common -DPIC -o .libs/db_err.o db_err.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_fchk(dbenv, name, flags, ok_flags) ^ db_err.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_fcchk(dbenv, name, flags, flag1, flag2) ^ db_err.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_ferr(dbenv, name, iscombo) ^ db_err.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_pgerr(dbp, pgno) ^ db_err.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_pgfmt(dbp, pgno) ^ db_err.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_panic_msg(dbenv) ^ db_err.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_panic(dbenv, errval) ^ db_err.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_db_strerror(error) ^ db_err.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_real_err(dbenv, error, error_set, stderr_default, fmt, ap) ^ db_err.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_errcall(dbenv, error, error_set, fmt, ap) ^ db_err.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_errfile(dbenv, error, error_set, fmt, ap) ^ 11 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_err.c -o db_err.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_getlong.lo `test -f 'db_getlong.c' || echo './'`db_getlong.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_getlong.c -fno-common -DPIC -o .libs/db_getlong.o db_getlong.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_getlong(dbp, progname, p, min, max, storep) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_getlong.c -o db_getlong.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_iface.lo `test -f 'db_iface.c' || echo './'`db_iface.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_iface.c -fno-common -DPIC -o .libs/db_iface.o db_iface.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_cursorchk(dbp, flags, isrdonly) ^ db_iface.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_cdelchk(dbp, flags, isrdonly, isvalid) ^ db_iface.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_cgetchk(dbp, key, data, flags, isvalid) ^ db_iface.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_cputchk(dbp, key, data, flags, isrdonly, isvalid) ^ db_iface.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_closechk(dbp, flags) ^ db_iface.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_delchk(dbp, key, flags, isrdonly) ^ db_iface.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_getchk(dbp, key, data, flags) ^ db_iface.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_joinchk(dbp, flags) ^ db_iface.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_putchk(dbp, key, data, flags, isrdonly, isdup) ^ db_iface.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_statchk(dbp, flags) ^ db_iface.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_syncchk(dbp, flags) ^ db_iface.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbt_ferr(dbp, name, dbt, check_thread) ^ db_iface.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_eopnotsup(dbenv) ^ db_iface.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_keyempty(dbenv) ^ db_iface.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_rdonly(dbenv, name) ^ db_iface.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_removechk(dbp, flags) ^ 16 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_iface.c -o db_iface.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_join.lo `test -f 'db_join.c' || echo './'`db_join.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_join.c -fno-common -DPIC -o .libs/db_join.o db_join.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_join(primary, curslist, dbcp, flags) ^ db_join.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_join_put(dbc, key, data, flags) ^ db_join.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_join_del(dbc, flags) ^ db_join.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_join_get(dbc, key, data, flags) ^ db_join.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_join_close(dbc) ^ db_join.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_join_getnext(dbc, key, data, matching, exhausted) ^ 6 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_join.c -o db_join.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_log2.lo `test -f 'db_log2.c' || echo './'`db_log2.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_log2.c -fno-common -DPIC -o .libs/db_log2.o db_log2.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_log2(num) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_log2.c -o db_log2.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_meta.lo `test -f 'db_meta.c' || echo './'`db_meta.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_meta.c -fno-common -DPIC -o .libs/db_meta.o db_meta.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_new(dbc, type, pagepp) ^ db_meta.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_free(dbc, h) ^ db_meta.c:172:15: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] ldbt.size = P_OVERHEAD; ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_meta.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_lget(dbc, do_couple, pgno, mode, flags, lockp) ^ 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_meta.c -o db_meta.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_method.lo `test -f 'db_method.c' || echo './'`db_method.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_method.c -fno-common -DPIC -o .libs/db_method.o db_method.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_db_create(dbpp, dbenv, flags) ^ db_method.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_init(dbp, flags) ^ db_method.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbh_am_chk(dbp, flags) ^ db_method.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_get_byteswapped(dbp) ^ db_method.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_get_type(dbp) ^ db_method.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_cachesize(dbp, cache_gbytes, cache_bytes, ncache) ^ db_method.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_dup_compare(dbp, func) ^ db_method.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_errcall(dbp, errcall) ^ db_method.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_errfile(dbp, errfile) ^ db_method.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_errpfx(dbp, errpfx) ^ db_method.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_feedback(dbp, feedback) ^ db_method.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_flags(dbp, flags) ^ db_method.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_lorder(dbp, db_lorder) ^ db_method.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_malloc(dbp, func) ^ db_method.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_pagesize(dbp, db_pagesize) ^ db_method.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_realloc(dbp, func) ^ db_method.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_set_paniccall(dbp, paniccall) ^ 17 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_method.c -o db_method.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_overflow.lo `test -f 'db_overflow.c' || echo './'`db_overflow.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_overflow.c -fno-common -DPIC -o .libs/db_overflow.o db_overflow.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_goff(dbp, dbt, tlen, pgno, bpp, bpsz) ^ db_overflow.c:139:26: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] src = (u_int8_t *)h + P_OVERHEAD; ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_overflow.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_poff(dbc, dbt, pgnop) ^ db_overflow.c:185:14: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] pagespace = P_MAXSPACE(dbp->pgsize); ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:301:38: note: expanded from macro 'P_MAXSPACE' #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_overflow.c:226:30: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] memcpy((u_int8_t *)pagep + P_OVERHEAD, p, pagespace); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:27: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~ db_overflow.c:226:30: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] memcpy((u_int8_t *)pagep + P_OVERHEAD, p, pagespace); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:62: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ~~~~~~~~~~~~~~~~^~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_common.h:38:55: note: expanded from macro '__darwin_obsz0' #define __darwin_obsz0(object) __builtin_object_size (object, 0) ^~~~~~ db_overflow.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_ovref(dbc, pgno, adjust) ^ db_overflow.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_doff(dbc, pgno) ^ db_overflow.c:313:39: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] tmp_dbt.data = (u_int8_t *)pagep + P_OVERHEAD; ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_overflow.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_moff(dbp, dbt, pgno, tlen, cmpfunc, cmpp) ^ db_overflow.c:385:27: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] (u_int8_t *)pagep + P_OVERHEAD; cmp_bytes-- > 0; ++p1, ++p2) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_overflow.c -o db_overflow.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_pr.lo `test -f 'db_pr.c' || echo './'`db_pr.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_pr.c -fno-common -DPIC -o .libs/db_pr.o db_pr.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_dump(dbp, op, name) ^ db_pr.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_prdb(dbp, fp, flags) ^ db_pr.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_prtree(dbp, flags) ^ db_pr.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_meta(dbp, dbmeta, fp, fn, flags) ^ db_pr.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_bmeta(dbp, fp, h, flags) ^ db_pr.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_hmeta(dbp, fp, h, flags) ^ db_pr.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_qmeta(dbp, fp, h, flags) ^ db_pr.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_prnpage(dbp, pgno) ^ db_pr.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_prpage(dbp, h, flags) ^ db_pr.c:570:31: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] CDB___db_pr((u_int8_t *)h + P_OVERHEAD, OV_LEN(h)); ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_pr.c:581:39: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_ENTRY(h, i) - (u_int8_t *)h < P_OVERHEAD || ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_pr.c:620:9: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:421:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ db_pr.c:632:12: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] len = LEN_HKEYDATA(h, 0, i); ^~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_pr.c:637:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] for (p = HKEYDATA_DATA(hk), ^~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_pr.c:647:17: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] CDB___db_pr(HKEYDATA_DATA(hk), ^~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_pr.c:648:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] LEN_HKEYDATA(h, i == 0 ? set_psize : 0, i)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_pr.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_isbad(h, die) ^ db_pr.c:749:39: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_ENTRY(h, i) - (u_int8_t *)h < P_OVERHEAD || ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_pr.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_pr(p, len) ^ db_pr.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_prdbt(dbtp, checkprint, prefix, fp, is_recno) ^ db_pr.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_proff(vp) ^ db_pr.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_prflags(flags, fn, fp) ^ db_pr.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_prinit(fp) ^ db_pr.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_psize(dbp) ^ db_pr.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_name(dbp) ^ 25 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_pr.c -o db_pr.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_rec.lo `test -f 'db_rec.c' || echo './'`db_rec.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_rec.c -fno-common -DPIC -o .libs/db_rec.o db_rec.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_addrem_recover(dbenv, dbtp, lsnp, redo, info) ^ db_rec.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_split_recover(dbenv, dbtp, lsnp, redo, info) ^ db_rec.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_big_recover(dbenv, dbtp, lsnp, redo, info) ^ db_rec.c:237:30: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] memcpy((u_int8_t *)pagep + P_OVERHEAD, argp->dbt.data, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:27: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~ db_rec.c:237:30: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] memcpy((u_int8_t *)pagep + P_OVERHEAD, argp->dbt.data, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:62: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ~~~~~~~~~~~~~~~~^~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_common.h:38:55: note: expanded from macro '__darwin_obsz0' #define __darwin_obsz0(object) __builtin_object_size (object, 0) ^~~~~~ db_rec.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_ovref_recover(dbenv, dbtp, lsnp, redo, info) ^ db_rec.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_relink_recover(dbenv, dbtp, lsnp, redo, info) ^ db_rec.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_addpage_recover(dbenv, dbtp, lsnp, redo, info) ^ db_rec.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_debug_recover(dbenv, dbtp, lsnp, redo, info) ^ db_rec.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_noop_recover(dbenv, dbtp, lsnp, redo, info) ^ 10 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_rec.c -o db_rec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_reclaim.lo `test -f 'db_reclaim.c' || echo './'`db_reclaim.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_reclaim.c -fno-common -DPIC -o .libs/db_reclaim.o db_reclaim.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_traverse_dup(dbp, pgno, callback, cookie) ^ db_reclaim.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_traverse_big(dbp, pgno, callback, cookie) ^ db_reclaim.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_reclaim_callback(dbp, p, cookie, putp) ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_reclaim.c -o db_reclaim.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_ret.lo `test -f 'db_ret.c' || echo './'`db_ret.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_ret.c -fno-common -DPIC -o .libs/db_ret.o db_ret.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_ret(dbp, h, indx, dbt, memp, memsize) ^ db_ret.c:57:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] len = LEN_HKEYDATA(h, dbp->pgsize, indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_ret.c:58:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] data = HKEYDATA_DATA(hk); ^~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_ret.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_retcopy(dbp, dbt, data, len, memp, memsize) ^ 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_ret.c -o db_ret.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_salloc.lo `test -f 'db_salloc.c' || echo './'`db_salloc.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_salloc.c -fno-common -DPIC -o .libs/db_salloc.o db_salloc.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_shalloc_init(area, size) ^ db_salloc.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_shalloc(p, len, align, retp) ^ db_salloc.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_shalloc_free(regionp, ptr) ^ db_salloc.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_shalloc_count(addr) ^ db_salloc.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_shsizeof(ptr) ^ db_salloc.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_shalloc_dump(addr, fp) ^ 6 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_salloc.c -o db_salloc.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_shash.lo `test -f 'db_shash.c' || echo './'`db_shash.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_shash.c -fno-common -DPIC -o .libs/db_shash.o db_shash.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_tablesize(n_buckets) ^ db_shash.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_hashinit(begin, nelements) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_shash.c -o db_shash.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o db_upgrade.lo `test -f 'db_upgrade.c' || echo './'`db_upgrade.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_upgrade.c -fno-common -DPIC -o .libs/db_upgrade.o db_upgrade.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_upgrade(dbp, fname, flags) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c db_upgrade.c -o db_upgrade.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o env_method.lo `test -f 'env_method.c' || echo './'`env_method.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c env_method.c -fno-common -DPIC -o .libs/env_method.o env_method.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_db_env_create(dbenvpp, flags) ^ env_method.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_init(dbenv) ^ env_method.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_errcall(dbenv, errcall) ^ env_method.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_errfile(dbenv, errfile) ^ env_method.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_errpfx(dbenv, errpfx) ^ env_method.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_feedback(dbenv, feedback) ^ env_method.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_mutexlocks(dbenv, onoff) ^ env_method.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_pageyield(dbenv, onoff) ^ env_method.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_panic(dbenv, onoff) ^ env_method.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_paniccall(dbenv, paniccall) ^ env_method.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_recovery_init(dbenv, recovery_init) ^ env_method.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_region_init(dbenv, onoff) ^ env_method.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_tas_spins(dbenv, tas_spins) ^ env_method.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_set_verbose(dbenv, which, onoff) ^ env_method.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_mi_env(dbenv, name) ^ env_method.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_mi_open(dbenv, name, after) ^ env_method.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_env_config(dbenv, subsystem) ^ 17 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c env_method.c -o env_method.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o env_open.lo `test -f 'env_open.c' || echo './'`env_open.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c env_open.c -fno-common -DPIC -o .libs/env_open.o env_open.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_db_version(majverp, minverp, patchp) ^ env_open.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_open(dbenv, db_home, db_config, flags, mode) ^ env_open.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_remove(dbenv, db_home, db_config, flags) ^ env_open.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_config(dbenv, db_home, db_config, flags) ^ env_open.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_close(dbenv, flags) ^ env_open.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dbenv_refresh(dbenv) ^ env_open.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_appname(dbenv, appname, dir, file, tmp_oflags, fhp, namep) ^ env_open.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_home(dbenv, db_home, flags) ^ env_open.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_parse(dbenv, s) ^ env_open.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_tmp_open(dbenv, tmp_oflags, path, fhp) ^ 10 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c env_open.c -o env_open.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o env_recover.lo `test -f 'env_recover.c' || echo './'`env_recover.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c env_recover.c -fno-common -DPIC -o .libs/env_recover.o env_recover.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_apprec(dbenv, flags) ^ env_recover.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lsn_diff(low, high, current, max, is_forward) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c env_recover.c -o env_recover.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o env_region.lo `test -f 'env_region.c' || echo './'`env_region.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c env_region.c -fno-common -DPIC -o .libs/env_region.o env_region.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_e_attach(dbenv) ^ env_region.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_e_detach(dbenv, destroy) ^ env_region.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_e_remove(dbenv, force) ^ env_region.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_e_remfile(dbenv) ^ env_region.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_e_stat(dbenv, arg_renv, arg_regions, arg_regions_cnt) ^ env_region.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_r_attach(dbenv, infop, size) ^ env_region.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_r_detach(dbenv, infop, destroy) ^ env_region.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_des_get(dbenv, env_infop, infop, rpp) ^ env_region.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_des_destroy(dbenv, rp) ^ env_region.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_faultmem(addr, size, created) ^ 10 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c env_region.c -o env_region.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash.lo `test -f 'hash.c' || echo './'`hash.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash.c -fno-common -DPIC -o .libs/hash.o hash.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_metachk(dbp, name, hashm) ^ hash.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_open(dbp, name, base_pgno) ^ hash.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_init_htab(dbc, name, pgno, nelem, ffactor) ^ hash.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_delete(dbp, txn, key, flags) ^ hash.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_c_init(dbc) ^ hash.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_c_close(dbc) ^ hash.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_c_destroy(dbc) ^ hash.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_c_del(dbc, flags) ^ hash.c:625:12: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:421:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:27: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~ hash.c:625:12: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:421:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:62: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ~~~~~~~~~~~~~~~~^~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_common.h:38:55: note: expanded from macro '__darwin_obsz0' #define __darwin_obsz0(object) __builtin_object_size (object, 0) ^~~~~~ hash.c:644:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] LEN_HDATA(hcp->pagep, hcp->hdr->dbmeta.pagesize, hcp->bndx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:390:36: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:653:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_c_dup(orig_dbc, new_dbc) ^ hash.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_c_get(dbc, key, data, flags) ^ hash.c:894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_c_put(dbc, key, data, flags) ^ hash.c:955:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_PSIZE(key->size)) + ^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:369:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:957:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_PSIZE(data->size)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:369:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_expand_table(dbc) ^ hash.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_call_hash(hcp, k, len) ^ hash.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_dup_return(dbc, val, flags) ^ hash.c:1204:20: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hcp->dup_tlen = LEN_HDATA(hcp->pagep, ^~~~~~~~~~~~~~~~~~~~~ ./db_page.h:390:36: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:1212:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(hk) + hcp->dup_off, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash.c:1221:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(hk), sizeof(db_indx_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash.c:1233:9: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ndx)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:421:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash.c:1270:9: warning: cast to smaller integer type 'int' from 'u_int32_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:404:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash.c:1272:9: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFPAGE_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:403:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash.c:1281:20: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] tmp_val.data = HKEYDATA_DATA(hk); ^~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:1282:20: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] tmp_val.size = LEN_HDATA(hcp->pagep, ^~~~~~~~~~~~~~~~~~~~~ ./db_page.h:390:36: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_overwrite(dbc, nval) ^ hash.c:1570:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:1601:8: warning: cast to smaller integer type 'int' from 'u_int32_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:404:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash.c:1603:19: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] tmp_val.dlen = LEN_HDATA(hcp->pagep, ^~~~~~~~~~~~~~~~~~~~~ ./db_page.h:390:36: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:1623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_lookup(dbc, key, sought, mode) ^ hash.c:1657:18: warning: cast to smaller integer type 'int' from 'u_int32_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&tlen, HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:404:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash.c:1660:9: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFPAGE_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:403:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash.c:1672:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] LEN_HKEY(hcp->pagep, dbp->pgsize, hcp->bndx) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:391:35: note: expanded from macro 'LEN_HKEY' #define LEN_HKEY(p, psize, pindx) LEN_HKEYDATA(p, psize, H_KEYINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:1674:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(hk), key->size) == 0) { ^~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:1709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_init_dbt(dbt, size, bufp, sizep) ^ hash.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_c_update(hcp, chg_pgno, len, add, is_dup) ^ hash.c:1866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_get_clist(dbp, bucket, indx, listp) ^ 40 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash.c -o hash.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash_auto.lo `test -f 'hash_auto.c' || echo './'`hash_auto.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_auto.c -fno-common -DPIC -o .libs/hash_auto.o hash_auto.c:19:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___ham_insdel_log(dbenv, txnid, ret_lsnp, flags, ^ hash_auto.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_insdel_print(notused1, dbtp, lsnp, notused2, notused3) ^ hash_auto.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_insdel_read(recbuf, argpp) ^ hash_auto.c:212:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___ham_newpage_log(dbenv, txnid, ret_lsnp, flags, ^ hash_auto.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_newpage_print(notused1, dbtp, lsnp, notused2, notused3) ^ hash_auto.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_newpage_read(recbuf, argpp) ^ hash_auto.c:381:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___ham_splitmeta_log(dbenv, txnid, ret_lsnp, flags, ^ hash_auto.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_splitmeta_print(notused1, dbtp, lsnp, notused2, notused3) ^ hash_auto.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_splitmeta_read(recbuf, argpp) ^ hash_auto.c:520:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___ham_splitdata_log(dbenv, txnid, ret_lsnp, flags, ^ hash_auto.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_splitdata_print(notused1, dbtp, lsnp, notused2, notused3) ^ hash_auto.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_splitdata_read(recbuf, argpp) ^ hash_auto.c:679:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___ham_replace_log(dbenv, txnid, ret_lsnp, flags, ^ hash_auto.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_replace_print(notused1, dbtp, lsnp, notused2, notused3) ^ hash_auto.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_replace_read(recbuf, argpp) ^ hash_auto.c:879:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___ham_newpgno_log(dbenv, txnid, ret_lsnp, flags, ^ hash_auto.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_newpgno_print(notused1, dbtp, lsnp, notused2, notused3) ^ hash_auto.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_newpgno_read(recbuf, argpp) ^ hash_auto.c:1051:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___ham_ovfl_log(dbenv, txnid, ret_lsnp, flags, ^ hash_auto.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_ovfl_print(notused1, dbtp, lsnp, notused2, notused3) ^ hash_auto.c:1161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_ovfl_read(recbuf, argpp) ^ hash_auto.c:1197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___ham_copypage_log(dbenv, txnid, ret_lsnp, flags, ^ hash_auto.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_copypage_print(notused1, dbtp, lsnp, notused2, notused3) ^ hash_auto.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_copypage_read(recbuf, argpp) ^ hash_auto.c:1386:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___ham_metagroup_log(dbenv, txnid, ret_lsnp, flags, ^ hash_auto.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_metagroup_print(notused1, dbtp, lsnp, notused2, notused3) ^ hash_auto.c:1495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_metagroup_read(recbuf, argpp) ^ hash_auto.c:1529:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___ham_groupalloc_log(dbenv, txnid, ret_lsnp, flags, ^ hash_auto.c:1602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_groupalloc_print(notused1, dbtp, lsnp, notused2, notused3) ^ hash_auto.c:1643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_groupalloc_read(recbuf, argpp) ^ hash_auto.c:1680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_init_print(dbenv) ^ hash_auto.c:1722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_init_recover(dbenv) ^ 32 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_auto.c -o hash_auto.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash_conv.lo `test -f 'hash_conv.c' || echo './'`hash_conv.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_conv.c -fno-common -DPIC -o .libs/hash_conv.o hash_conv.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_pgin(pg, pp, cookie) ^ hash_conv.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_pgout(pg, pp, cookie) ^ hash_conv.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_mswap(pg) ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_conv.c -o hash_conv.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash_dup.lo `test -f 'hash_dup.c' || echo './'`hash_dup.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_dup.c -fno-common -DPIC -o .libs/hash_dup.o hash_dup.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_add_dup(dbc, nval, flags) ^ hash_dup.c:125:6: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] LEN_HKEYDATA(hcp->pagep, dbp->pgsize, H_DATAINDEX(hcp->bndx)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:135:18: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] add_bytes > P_FREESPACE(hcp->pagep))) { ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:147:16: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] pval.data = HKEYDATA_DATA(hk); ^~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:148:16: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] pval.size = LEN_HDATA(hcp->pagep, dbp->pgsize, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:390:36: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:180:21: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hcp->dup_tlen = LEN_HDATA(hcp->pagep, ^~~~~~~~~~~~~~~~~~~~~ ./db_page.h:390:36: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:223:23: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&hcp->dpgno, HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:421:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash_dup.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_dup_convert(dbc) ^ hash_dup.c:313:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] LEN_HDATA(hcp->pagep, dbp->pgsize, hcp->bndx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:390:36: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:314:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] dbt.data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:316:24: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] (u_int32_t)dndx, BKEYDATA_SIZE(dbt.size), NULL, &dbt); ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:475:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:72:32: note: expanded from macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ hash_dup.c:344:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] p = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:346:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] LEN_HDATA(hcp->pagep, dbp->pgsize, hcp->bndx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:390:36: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_make_dup(notdup, duplicate, bufp, sizep) ^ hash_dup.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_check_move(dbc, add_len) ^ hash_dup.c:484:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] new_datalen = old_len - HKEYDATA_SIZE(0) + add_len; ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:497:32: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] HOFFDUP_SIZE - old_len <= P_FREESPACE(hcp->pagep))) ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:500:45: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (!ISBIG(hcp, new_datalen) && add_len <= P_FREESPACE(hcp->pagep)) ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:509:21: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HOFFDUP_SIZE : HKEYDATA_SIZE(new_datalen); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:522:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(next_pagep) >= new_datalen) ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:532:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(next_pagep) < new_datalen && (ret = ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:550:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRKEY(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:551:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] k.size = LEN_HKEY(hcp->pagep, dbp->pgsize, hcp->bndx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:391:35: note: expanded from macro 'LEN_HKEY' #define LEN_HKEY(p, psize, pindx) LEN_HKEYDATA(p, psize, H_KEYINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:560:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:561:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] d.size = LEN_HDATA(hcp->pagep, dbp->pgsize, hcp->bndx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:390:36: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_move_offpage(dbc, pagep, ndx, pgno) ^ hash_dup.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_dsearch(dbc, dbt, offp, cmpp) ^ hash_dup.c:692:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) + i; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:693:18: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hcp->dup_tlen = LEN_HDATA(hcp->pagep, dbp->pgsize, hcp->bndx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:390:36: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_dup.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_ca_split(dbp, ppgno, lpgno, rpgno, split_indx, cleft) ^ 30 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_dup.c -o hash_dup.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash_func.lo `test -f 'hash_func.c' || echo './'`hash_func.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_func.c -fno-common -DPIC -o .libs/hash_func.o hash_func.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_func2(key, len) ^ hash_func.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_func3(key, len) ^ hash_func.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_func4(key, len) ^ hash_func.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_func5(key, len) ^ 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_func.c -o hash_func.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash_meta.lo `test -f 'hash_meta.c' || echo './'`hash_meta.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_meta.c -fno-common -DPIC -o .libs/hash_meta.o hash_meta.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_get_meta(dbc) ^ hash_meta.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_release_meta(dbc) ^ hash_meta.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_dirty_meta(dbc) ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_meta.c -o hash_meta.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash_method.lo `test -f 'hash_method.c' || echo './'`hash_method.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_method.c -fno-common -DPIC -o .libs/hash_method.o hash_method.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_db_create(dbp) ^ hash_method.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_db_close(dbp) ^ hash_method.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_set_h_ffactor(dbp, h_ffactor) ^ hash_method.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_set_h_hash(dbp, func) ^ hash_method.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_set_h_nelem(dbp, h_nelem) ^ 5 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_method.c -o hash_method.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash_page.lo `test -f 'hash_page.c' || echo './'`hash_page.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_page.c -fno-common -DPIC -o .libs/hash_page.o hash_page.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_item(dbc, mode) ^ hash_page.c:106:26: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] && hcp->seek_size < P_FREESPACE(hcp->pagep)) ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:117:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash_page.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_item_reset(dbc) ^ hash_page.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_item_init(hcp) ^ hash_page.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_item_done(dbc, dirty) ^ hash_page.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_item_last(dbc, mode) ^ hash_page.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_item_first(dbc, mode) ^ hash_page.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_item_prev(dbc, mode) ^ hash_page.c:347:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] memcpy(&h->dup_len, HKEYDATA_DATA( ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash_page.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_item_next(dbc, mode) ^ hash_page.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_putitem(p, dbt, type) ^ hash_page.c:534:22: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] off = HOFFSET(p) - HKEYDATA_SIZE(dbt->size); ^~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_reputpair(p, psize, ndx, key, data) ^ hash_page.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_del_pair(dbc, reclaim_page) ^ hash_page.c:630:17: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&pgno, HOFFPAGE_PGNO(P_ENTRY(p, H_KEYINDEX(ndx))), ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:403:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash_page.c:639:8: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFPAGE_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:403:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash_page.c:645:8: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFDUP_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:421:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash_page.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_replpair(dbc, dbt, make_dup) ^ hash_page.c:888:16: warning: cast to smaller integer type 'int' from 'u_int32_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&len, HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:404:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash_page.c:890:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] len = LEN_HKEYDATA(hcp->pagep, ^~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:897:24: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (change > (int32_t)P_FREESPACE(hcp->pagep) || is_big) { ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:972:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] beg = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_onpage_replace(pagep, pgsize, ndx, off, change, dbt) ^ hash_page.c:1031:30: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] else if ((u_int32_t)off >= LEN_HKEYDATA(pagep, pgsize, ndx)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:1032:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] len = HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:1033:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] LEN_HKEYDATA(pagep, pgsize, ndx) - src; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:360:18: note: expanded from macro 'LEN_HKEYDATA' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:1036:11: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] len = (HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off) - src; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:1048:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] memcpy(HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:27: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~ hash_page.c:1048:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] memcpy(HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:349:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:62: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ~~~~~~~~~~~~~~~~^~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_common.h:38:55: note: expanded from macro '__darwin_obsz0' #define __darwin_obsz0(object) __builtin_object_size (object, 0) ^~~~~~ hash_page.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_split_page(dbc, obucket, nbucket) ^ hash_page.c:1138:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(*pp) < len) { ^~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_add_el(dbc, key, val, type) ^ hash_page.c:1279:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] key_size = HKEYDATA_PSIZE(key->size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:369:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:1280:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] data_size = HKEYDATA_PSIZE(val->size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:369:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./db_page.h:367:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:1298:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(hcp->pagep) >= pairsize) ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:1309:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(hcp->pagep) < pairsize) { ^~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_page.c:1407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_copy_item(pgsize, src_page, src_ndx, dest_page) ^ hash_page.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_add_ovflpage(dbc, pagep, release, pp) ^ hash_page.c:1483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_put_page(dbp, pagep, is_dirty) ^ hash_page.c:1498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_dirty_page(dbp, pagep) ^ hash_page.c:1509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_get_page(dbp, addr, pagep) ^ hash_page.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bucket_to_page(hcp, n) ^ hash_page.c:1537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_get_cpage(dbc, mode) ^ hash_page.c:1605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_next_cpage(dbc, pgno, dirty, flags) ^ hash_page.c:1648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_lock_bucket(dbc, mode) ^ hash_page.c:1679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_dpair(dbp, p, pndx) ^ 47 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_page.c -o hash_page.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash_rec.lo `test -f 'hash_rec.c' || echo './'`hash_rec.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_rec.c -fno-common -DPIC -o .libs/hash_rec.o hash_rec.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_insdel_recover(dbenv, dbtp, lsnp, redo, info) ^ hash_rec.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_newpage_recover(dbenv, dbtp, lsnp, redo, info) ^ hash_rec.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_replace_recover(dbenv, dbtp, lsnp, redo, info) ^ hash_rec.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_newpgno_recover(dbenv, dbtp, lsnp, redo, info) ^ hash_rec.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_splitmeta_recover(dbenv, dbtp, lsnp, redo, info) ^ hash_rec.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_splitdata_recover(dbenv, dbtp, lsnp, redo, info) ^ hash_rec.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_ovfl_recover(dbenv, dbtp, lsnp, redo, info) ^ hash_rec.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_copypage_recover(dbenv, dbtp, lsnp, redo, info) ^ hash_rec.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_metagroup_recover(dbenv, dbtp, lsnp, redo, info) ^ hash_rec.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_groupalloc_recover(dbenv, dbtp, lsnp, redo, info) ^ hash_rec.c:963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_free_pages(dbp, argp) ^ hash_rec.c:1023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_alloc_pages(dbp, meta, start, npages) ^ 12 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_rec.c -o hash_rec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash_reclaim.lo `test -f 'hash_reclaim.c' || echo './'`hash_reclaim.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_reclaim.c -fno-common -DPIC -o .libs/hash_reclaim.o hash_reclaim.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_reclaim(dbp, txn) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_reclaim.c -o hash_reclaim.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash_stat.lo `test -f 'hash_stat.c' || echo './'`hash_stat.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_stat.c -fno-common -DPIC -o .libs/hash_stat.o hash_stat.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_stat(dbp, spp, db_malloc, flags) ^ hash_stat.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_traverse(dbp, dbc, mode, callback, cookie) ^ hash_stat.c:160:21: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&opgno, HOFFDUP_PGNO(hk), ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./db_page.h:421:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash_stat.c:175:21: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&opgno, HOFFPAGE_PGNO(hk), ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./db_page.h:403:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^ ./db_int.h:88:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~~~~~~~~ hash_stat.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_stat_callback(dbp, pagep, cookie, putp) ^ hash_stat.c:223:24: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] sp->hash_dup_free += P_FREESPACE(pagep); ^~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_stat.c:227:25: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] sp->hash_big_bfree += P_OVFLSPACE(dbp->pgsize, pagep); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_page.h:304:34: note: expanded from macro 'P_OVFLSPACE' #define P_OVFLSPACE(psize, pg) (P_MAXSPACE(psize) - HOFFSET(pg)) ^~~~~~~~~~~~~~~~~ ./db_page.h:301:38: note: expanded from macro 'P_MAXSPACE' #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_stat.c:237:22: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] sp->hash_bfree += P_FREESPACE(pagep); ^~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash_stat.c:240:26: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] sp->hash_ovfl_free += P_FREESPACE(pagep); ^~~~~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_stat.c -o hash_stat.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o hash_upgrade.lo `test -f 'hash_upgrade.c' || echo './'`hash_upgrade.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_upgrade.c -fno-common -DPIC -o .libs/hash_upgrade.o hash_upgrade.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_upgrade(dbp, swapped, real_name, fhp, mbuf) ^ hash_upgrade.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ham_upgrade5(dbp, swapped, real_name, fhp) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c hash_upgrade.c -o hash_upgrade.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o lock.lo `test -f 'lock.c' || echo './'`lock.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c lock.c -fno-common -DPIC -o .libs/lock.o lock.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_lock_id(dbenv, idp) ^ lock.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_lock_vec(dbenv, locker, flags, list, nlist, elistp) ^ lock.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_lock_get(dbenv, locker, flags, obj, lock_mode, lock) ^ lock.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_get_internal(lt, locker, flags, obj, lock_mode, lock) ^ lock.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_lock_put(dbenv, lock) ^ lock.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_put_nolock(dbenv, lock, runp) ^ lock.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_downgrade(dbenv, lock, new_mode, flags) ^ lock.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_put_internal(lt, lockp, obj_ndx, flags) ^ lock.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_checklocker(lt, lockp, locker, flags, freed) ^ lock.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_addfamilylocker(dbenv, pid, id) ^ lock.c:971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_freefamilylocker(lt, locker) ^ lock.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_freelocker(lt, region, sh_locker, indx) ^ lock.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_getlocker(lt, locker, indx, create, retp) ^ lock.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_getobj(lt, obj, ndx, create, retp) ^ lock.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_is_parent(lt, locker, sh_locker) ^ lock.c:1209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_promote(lt, obj) ^ lock.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_remove_waiter(sh_obj, lockp, status) ^ lock.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_printlock(lt, lp, ispgno) ^ 18 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c lock.c -o lock.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o lock_conflict.lo `test -f 'lock_conflict.c' || echo './'`lock_conflict.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c lock_conflict.c -fno-common -DPIC -o .libs/lock_conflict.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c lock_conflict.c -o lock_conflict.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o lock_deadlock.lo `test -f 'lock_deadlock.c' || echo './'`lock_deadlock.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c lock_deadlock.c -fno-common -DPIC -o .libs/lock_deadlock.o lock_deadlock.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_lock_detect(dbenv, flags, atype, abortp) ^ lock_deadlock.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dd_build(dbenv, bmp, nlockers, idmap) ^ lock_deadlock.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dd_find(bmp, idmap, nlockers, deadp) ^ lock_deadlock.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___dd_abort(dbenv, info) ^ 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c lock_deadlock.c -o lock_deadlock.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o lock_region.lo `test -f 'lock_region.c' || echo './'`lock_region.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c lock_region.c -fno-common -DPIC -o .libs/lock_region.o lock_region.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_dbenv_create(dbenv) ^ lock_region.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_dbenv_close(dbenv) ^ lock_region.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_set_lk_conflicts(dbenv, lk_conflicts, lk_modes) ^ lock_region.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_set_lk_detect(dbenv, lk_detect) ^ lock_region.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_set_lk_max(dbenv, lk_max) ^ lock_region.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_open(dbenv) ^ lock_region.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_init(dbenv, lt) ^ lock_region.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_close(dbenv) ^ lock_region.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_lock_stat(dbenv, statp, db_malloc) ^ lock_region.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_dump_region(dbenv, area, fp) ^ lock_region.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_dump_locker(lt, lip, fp) ^ lock_region.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_dump_object(lt, op, fp) ^ lock_region.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_dump_status(status) ^ lock_region.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_region_size(dbenv) ^ 14 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c lock_region.c -o lock_region.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o lock_util.lo `test -f 'lock_util.c' || echo './'`lock_util.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c lock_util.c -fno-common -DPIC -o .libs/lock_util.o lock_util.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_cmp(dbt, lock_obj) ^ lock_util.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_locker_cmp(locker, sh_locker) ^ lock_util.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_ohash(dbt) ^ lock_util.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_lhash(lock_obj) ^ lock_util.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___lock_locker_hash(locker) ^ 5 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c lock_util.c -o lock_util.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o log.lo `test -f 'log.c' || echo './'`log.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log.c -fno-common -DPIC -o .libs/log.o log.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_open(dbenv) ^ log.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_init(dbenv, dblp) ^ log.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_recover(dblp) ^ log.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_find(dblp, find_first, valp) ^ log.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_valid(dblp, number, set_persist) ^ log.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_close(dbenv) ^ log.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_log_stat(dbenv, statp, db_malloc) ^ 7 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log.c -o log.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o log_archive.lo `test -f 'log_archive.c' || echo './'`log_archive.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_archive.c -fno-common -DPIC -o .libs/log_archive.o log_archive.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_log_archive(dbenv, listp, flags, db_malloc) ^ log_archive.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___build_data(dbenv, pref, listp, db_malloc) ^ log_archive.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___absname(pref, name, newnamep) ^ log_archive.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___usermem(listp, db_malloc) ^ log_archive.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___cmpfunc(p1, p2) ^ 5 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_archive.c -o log_archive.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o log_auto.lo `test -f 'log_auto.c' || echo './'`log_auto.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_auto.c -fno-common -DPIC -o .libs/log_auto.o log_auto.c:19:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___log_register_log(dbenv, txnid, ret_lsnp, flags, ^ log_auto.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_register_print(notused1, dbtp, lsnp, notused2, notused3) ^ log_auto.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_register_read(recbuf, argpp) ^ log_auto.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_init_print(dbenv) ^ log_auto.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_init_recover(dbenv) ^ 5 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_auto.c -o log_auto.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o log_compare.lo `test -f 'log_compare.c' || echo './'`log_compare.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_compare.c -fno-common -DPIC -o .libs/log_compare.o log_compare.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_log_compare(lsn0, lsn1) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_compare.c -o log_compare.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o log_findckp.lo `test -f 'log_findckp.c' || echo './'`log_findckp.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_findckp.c -fno-common -DPIC -o .libs/log_findckp.o log_findckp.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_findckp(dbenv, lsnp) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_findckp.c -o log_findckp.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o log_get.lo `test -f 'log_get.c' || echo './'`log_get.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_get.c -fno-common -DPIC -o .libs/log_get.o log_get.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_log_get(dbenv, alsn, dbt, flags) ^ log_get.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_get(dblp, alsn, dbt, flags, silent) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_get.c -o log_get.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o log_method.lo `test -f 'log_method.c' || echo './'`log_method.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_method.c -fno-common -DPIC -o .libs/log_method.o log_method.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_dbenv_create(dbenv) ^ log_method.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_set_lg_bsize(dbenv, lg_bsize) ^ log_method.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_set_lg_max(dbenv, lg_max) ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_method.c -o log_method.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o log_put.lo `test -f 'log_put.c' || echo './'`log_put.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_put.c -fno-common -DPIC -o .libs/log_put.o log_put.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_log_put(dbenv, lsn, dbt, flags) ^ log_put.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_put(dbenv, lsn, dbt, flags) ^ log_put.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_putr(dblp, lsn, dbt, prev) ^ log_put.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_log_flush(dbenv, lsn) ^ log_put.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_flush(dblp, lsn) ^ log_put.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_fill(dblp, lsn, addr, len) ^ log_put.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_write(dblp, addr, len) ^ log_put.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_log_file(dbenv, lsn, namep, len) ^ log_put.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_newfh(dblp) ^ log_put.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_name(dblp, filenumber, namep, fhp, flags) ^ 10 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_put.c -o log_put.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o log_rec.lo `test -f 'log_rec.c' || echo './'`log_rec.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_rec.c -fno-common -DPIC -o .libs/log_rec.o log_rec.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_register_recover(dbenv, dbtp, lsnp, redo, info) ^ log_rec.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_open_file(lp, argp) ^ log_rec.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_do_open(lp, uid, name, ftype, ndx) ^ log_rec.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_add_logid(logp, dbp, ndx) ^ log_rec.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_fileid_to_db(dbenv, dbpp, ndx, inc) ^ log_rec.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_close_files(dbenv) ^ log_rec.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_rem_logid(logp, ndx) ^ log_rec.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___log_lid_to_fname(dblp, lid, fnamep) ^ 8 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_rec.c -o log_rec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o log_register.lo `test -f 'log_register.c' || echo './'`log_register.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_register.c -fno-common -DPIC -o .libs/log_register.o log_register.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_log_register(dbenv, dbp, name, idp) ^ log_register.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_log_unregister(dbenv, fid) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c log_register.c -o log_register.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_alloc.lo `test -f 'mp_alloc.c' || echo './'`mp_alloc.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_alloc.c -fno-common -DPIC -o .libs/mp_alloc.o mp_alloc.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_alloc(dbmp, memreg, mfp, len, offsetp, retp) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_alloc.c -o mp_alloc.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_bh.lo `test -f 'mp_bh.c' || echo './'`mp_bh.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_bh.c -fno-common -DPIC -o .libs/mp_bh.o mp_bh.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_bhwrite(dbmp, mfp, bhp, restartp, wrotep) ^ mp_bh.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_pgread(dbmfp, bhp, can_create) ^ mp_bh.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_pgwrite(dbmp, dbmfp, bhp, restartp, wrotep) ^ mp_bh.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_pg(dbmfp, bhp, is_pgin) ^ mp_bh.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_bhfree(dbmp, bhp, free_mem) ^ mp_bh.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_upgrade(dbmp, dbmfp, mfp) ^ 6 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_bh.c -o mp_bh.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_cmpr.lo `test -f 'mp_cmpr.c' || echo './'`mp_cmpr.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_cmpr.c -fno-common -DPIC -o .libs/mp_cmpr.o mp_cmpr.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr(dbmfp, bhp, db_io, flag, niop) ^ mp_cmpr.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_read(dbmfp, bhp, db_io, niop) ^ mp_cmpr.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_write(dbmfp, bhp, db_io, niop) ^ mp_cmpr.c:397:93: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = CDB___memp_cmpr_deflate(orig_buff, CMPR_MULTIPLY(db_io->pagesize), &buffcmpr, &buffcmpr_length, cmpr_info->user_data); ^~~~~~~~~~~~~~~~ ./mp_ext.h:27:74: note: passing argument to parameter here int CDB___memp_cmpr_deflate __P((const u_int8_t *, int, u_int8_t **, int*, void *)); ^ mp_cmpr.c:399:92: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = (*cmpr_info->compress)(orig_buff, CMPR_MULTIPLY(db_io->pagesize), &buffcmpr, &buffcmpr_length, cmpr_info->user_data); ^~~~~~~~~~~~~~~~ mp_cmpr.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_page(dbmfp, cmpr, db_io, niop) ^ mp_cmpr.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_inflate(inbuff, inbuff_length, outbuff, outbuff_length, user_data) ^ mp_cmpr.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_deflate(inbuff, inbuff_length, outbuffp, outbuff_lengthp, user_data) ^ mp_cmpr.c:660:13: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] off = LOFFSET(pg); ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mp_cmpr.c:661:16: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] freesp = P_FREESPACE(pg); ^~~~~~~~~~~~~~~ ./db_page.h:273:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./db_page.h:270:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./db_page.h:267:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mp_cmpr.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_info_valid(dbenv,cmpr_info) ^ mp_cmpr.c:760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_coefficient(dbenv) ^ mp_cmpr.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_open(dbenv, path, flags, mode, cmpr_context) ^ mp_cmpr.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_close(cmpr_context) ^ mp_cmpr.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_alloc(dbmfp, pgnop, bhp, first_nonreused_chain_posp) ^ mp_cmpr.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_free(dbmfp, pgno) ^ mp_cmpr.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_alloc_chain(dbmp, bhp, alloc_type) ^ mp_cmpr.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_cmpr_free_chain(dbmp, bhp) ^ 18 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_cmpr.c -o mp_cmpr.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_fget.lo `test -f 'mp_fget.c' || echo './'`mp_fget.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_fget.c -fno-common -DPIC -o .libs/mp_fget.o mp_fget.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_memp_fget(dbmfp, pgnoaddr, flags, addrp) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_fget.c -o mp_fget.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_fopen.lo `test -f 'mp_fopen.c' || echo './'`mp_fopen.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_fopen.c -fno-common -DPIC -o .libs/mp_fopen.o mp_fopen.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_memp_fopen(dbenv, path, flags, mode, pagesize, finfop, retp) ^ mp_fopen.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_fopen(dbmp, mfp, path, flags, mode, pagesize, needlock, finfop, retp) ^ mp_fopen.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_mf_open(dbmp, path, pagesize, last_pgno, finfop, retp) ^ mp_fopen.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_memp_fclose(dbmfp) ^ mp_fopen.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_mf_close(dbmp, dbmfp) ^ mp_fopen.c:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_fremove(dbmfp) ^ mp_fopen.c:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_fn(dbmfp) ^ mp_fopen.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_fns(dbmp, mfp) ^ 8 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_fopen.c -o mp_fopen.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_fput.lo `test -f 'mp_fput.c' || echo './'`mp_fput.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_fput.c -fno-common -DPIC -o .libs/mp_fput.o mp_fput.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_memp_fput(dbmfp, pgaddr, flags) ^ mp_fput.c:85:36: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf)); ^~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_fput.c -o mp_fput.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_fset.lo `test -f 'mp_fset.c' || echo './'`mp_fset.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_fset.c -fno-common -DPIC -o .libs/mp_fset.o mp_fset.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_memp_fset(dbmfp, pgaddr, flags) ^ mp_fset.c:64:36: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf)); ^~~~~~~~~~~~~ ./db_int.h:91:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_fset.c -o mp_fset.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_method.lo `test -f 'mp_method.c' || echo './'`mp_method.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_method.c -fno-common -DPIC -o .libs/mp_method.o mp_method.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_dbenv_create(dbenv) ^ mp_method.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_set_cachesize(dbenv, gbytes, bytes, ncache) ^ mp_method.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_set_mp_mmapsize(dbenv, mp_mmapsize ) ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_method.c -o mp_method.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_region.lo `test -f 'mp_region.c' || echo './'`mp_region.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_region.c -fno-common -DPIC -o .libs/mp_region.o mp_region.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_open(dbenv) ^ mp_region.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___mpool_init(dbenv, dbmp, nc_reg) ^ mp_region.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___mcache_init(dbenv, dbmp, htab_buckets, reginfo_off) ^ mp_region.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_close(dbenv) ^ 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_region.c -o mp_region.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_register.lo `test -f 'mp_register.c' || echo './'`mp_register.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_register.c -fno-common -DPIC -o .libs/mp_register.o mp_register.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_memp_register(dbenv, ftype, pgin, pgout) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_register.c -o mp_register.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_stat.lo `test -f 'mp_stat.c' || echo './'`mp_stat.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_stat.c -fno-common -DPIC -o .libs/mp_stat.o mp_stat.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_memp_stat(dbenv, gspp, fspp, db_malloc) ^ mp_stat.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_dump_region(dbenv, area, fp) ^ mp_stat.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_dumpcache(dbmp, reginfo, fmap, fp, flags) ^ mp_stat.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_pbh(dbmp, bhp, fmap, fp) ^ 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_stat.c -o mp_stat.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_sync.lo `test -f 'mp_sync.c' || echo './'`mp_sync.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_sync.c -fno-common -DPIC -o .libs/mp_sync.o mp_sync.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_memp_sync(dbenv, lsnp) ^ mp_sync.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_memp_fsync(dbmfp) ^ mp_sync.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___mp_xxx_fh(dbmfp, fhp) ^ mp_sync.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_fsync(dbmfp) ^ mp_sync.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_sballoc(dbenv, bharrayp, ndirtyp) ^ mp_sync.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___bhcmp(p1, p2) ^ 6 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_sync.c -o mp_sync.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mp_trickle.lo `test -f 'mp_trickle.c' || echo './'`mp_trickle.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_trickle.c -fno-common -DPIC -o .libs/mp_trickle.o mp_trickle.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_memp_trickle(dbenv, pct, nwrotep) ^ mp_trickle.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___memp_trick(dbenv, ncache, pct, nwrotep) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mp_trickle.c -o mp_trickle.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mut_fcntl.lo `test -f 'mut_fcntl.c' || echo './'`mut_fcntl.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mut_fcntl.c -fno-common -DPIC -o .libs/mut_fcntl.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mut_fcntl.c -o mut_fcntl.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mut_pthread.lo `test -f 'mut_pthread.c' || echo './'`mut_pthread.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mut_pthread.c -fno-common -DPIC -o .libs/mut_pthread.o mut_pthread.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_pthread_mutex_init(dbenv, mutexp, flags) ^ mut_pthread.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_pthread_mutex_lock(mutexp) ^ mut_pthread.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_pthread_mutex_unlock(mutexp) ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mut_pthread.c -o mut_pthread.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mut_tas.lo `test -f 'mut_tas.c' || echo './'`mut_tas.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mut_tas.c -fno-common -DPIC -o .libs/mut_tas.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mut_tas.c -o mut_tas.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o mutex.lo `test -f 'mutex.c' || echo './'`mutex.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mutex.c -fno-common -DPIC -o .libs/mutex.o mutex.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_mutex_alloc(dbenv, infop, storep) ^ mutex.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_mutex_free(dbenv, infop, mutexp) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c mutex.c -o mutex.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_abs.lo `test -f 'os_abs.c' || echo './'`os_abs.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_abs.c -fno-common -DPIC -o .libs/os_abs.o os_abs.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_abspath(path) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_abs.c -o os_abs.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_alloc.lo `test -f 'os_alloc.c' || echo './'`os_alloc.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_alloc.c -fno-common -DPIC -o .libs/os_alloc.o os_alloc.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_strdup(str, storep) ^ os_alloc.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_calloc(num, size, storep) ^ os_alloc.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_malloc(size, db_malloc, storep) ^ os_alloc.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_realloc(size, db_realloc, storep) ^ os_alloc.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_free(ptr, size) ^ os_alloc.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_freestr(ptr) ^ os_alloc.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___ua_memcpy(dst, src, len) ^ 7 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_alloc.c -o os_alloc.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_dir.lo `test -f 'os_dir.c' || echo './'`os_dir.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_dir.c -fno-common -DPIC -o .libs/os_dir.o os_dir.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_dirlist(dir, namesp, cntp) ^ os_dir.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_dirfree(names, cnt) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_dir.c -o os_dir.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_errno.lo `test -f 'os_errno.c' || echo './'`os_errno.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_errno.c -fno-common -DPIC -o .libs/os_errno.o os_errno.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_errno(evalue) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_errno.c -o os_errno.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_fid.lo `test -f 'os_fid.c' || echo './'`os_fid.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_fid.c -fno-common -DPIC -o .libs/os_fid.o os_fid.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_fileid(dbenv, fname, timestamp, fidp) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_fid.c -o os_fid.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_finit.lo `test -f 'os_finit.c' || echo './'`os_finit.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_finit.c -fno-common -DPIC -o .libs/os_finit.o os_finit.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_finit(fhp, size, zerofill) ^ os_finit.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_fpinit(fhp, pgno, pagecount, pagesize) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_finit.c -o os_finit.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_fsync.lo `test -f 'os_fsync.c' || echo './'`os_fsync.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_fsync.c -fno-common -DPIC -o .libs/os_fsync.o os_fsync.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_fsync(fhp) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_fsync.c -o os_fsync.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_handle.lo `test -f 'os_handle.c' || echo './'`os_handle.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_handle.c -fno-common -DPIC -o .libs/os_handle.o os_handle.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_openhandle(name, flags, mode, fhp) ^ os_handle.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_closehandle(fhp) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_handle.c -o os_handle.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_map.lo `test -f 'os_map.c' || echo './'`os_map.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_map.c -fno-common -DPIC -o .libs/os_map.o os_map.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_r_sysattach(dbenv, infop, rp) ^ os_map.c:87:12: warning: call to undeclared function 'CDB___db_eopnotsup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (CDB___db_eopnotsup(dbenv)); ^ os_map.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_r_sysdetach(dbenv, infop, destroy) ^ os_map.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_mapfile(dbenv, path, fhp, len, is_rdonly, addrp) ^ os_map.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_unmapfile(dbenv, addr, len) ^ os_map.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_map(dbenv, path, fhp, len, is_region, is_rdonly, addrp) ^ 6 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_map.c -o os_map.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_method.lo `test -f 'os_method.c' || echo './'`os_method.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_method.c -fno-common -DPIC -o .libs/os_method.o os_method.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_dbenv_create(dbenv) ^ os_method.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_close(dbenv, func_close) ^ os_method.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_dirfree(dbenv, func_dirfree) ^ os_method.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_dirlist(dbenv, func_dirlist) ^ os_method.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_exists(dbenv, func_exists) ^ os_method.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_free(dbenv, func_free) ^ os_method.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_fsync(dbenv, func_fsync) ^ os_method.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_ioinfo(dbenv, func_ioinfo) ^ os_method.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_malloc(dbenv, func_malloc) ^ os_method.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_map(dbenv, func_map) ^ os_method.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_open(dbenv, func_open) ^ os_method.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_read(dbenv, func_read) ^ os_method.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_realloc(dbenv, func_realloc) ^ os_method.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_rename(dbenv, func_rename) ^ os_method.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_seek(dbenv, func_seek) ^ os_method.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_sleep(dbenv, func_sleep) ^ os_method.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_unlink(dbenv, func_unlink) ^ os_method.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_unmap(dbenv, func_unmap) ^ os_method.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_write(dbenv, func_write) ^ os_method.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_set_func_yield(dbenv, func_yield) ^ 20 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_method.c -o os_method.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_oflags.lo `test -f 'os_oflags.c' || echo './'`os_oflags.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_oflags.c -fno-common -DPIC -o .libs/os_oflags.o os_oflags.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_oflags(oflags) ^ os_oflags.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_omode(perm) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_oflags.c -o os_oflags.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_open.lo `test -f 'os_open.c' || echo './'`os_open.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_open.c -fno-common -DPIC -o .libs/os_open.o os_open.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_open(name, flags, mode, fhp) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_open.c -o os_open.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_region.lo `test -f 'os_region.c' || echo './'`os_region.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_region.c -fno-common -DPIC -o .libs/os_region.o os_region.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_r_attach(dbenv, infop, rp) ^ os_region.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_r_detach(dbenv, infop, destroy) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_region.c -o os_region.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_rename.lo `test -f 'os_rename.c' || echo './'`os_rename.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_rename.c -fno-common -DPIC -o .libs/os_rename.o os_rename.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_rename(old, new) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_rename.c -o os_rename.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_root.lo `test -f 'os_root.c' || echo './'`os_root.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_root.c -fno-common -DPIC -o .libs/os_root.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_root.c -o os_root.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_rpath.lo `test -f 'os_rpath.c' || echo './'`os_rpath.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_rpath.c -fno-common -DPIC -o .libs/os_rpath.o os_rpath.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_rpath(path) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_rpath.c -o os_rpath.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_rw.lo `test -f 'os_rw.c' || echo './'`os_rw.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_rw.c -fno-common -DPIC -o .libs/os_rw.o os_rw.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_io(db_iop, op, niop) ^ os_rw.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_read(fhp, addr, len, nrp) ^ os_rw.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_write(fhp, addr, len, nwp) ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_rw.c -o os_rw.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_seek.lo `test -f 'os_seek.c' || echo './'`os_seek.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_seek.c -fno-common -DPIC -o .libs/os_seek.o os_seek.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_seek(fhp, pgsize, pageno, relative, isrewind, db_whence) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_seek.c -o os_seek.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_sleep.lo `test -f 'os_sleep.c' || echo './'`os_sleep.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_sleep.c -fno-common -DPIC -o .libs/os_sleep.o os_sleep.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_sleep(secs, usecs) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_sleep.c -o os_sleep.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_spin.lo `test -f 'os_spin.c' || echo './'`os_spin.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_spin.c -fno-common -DPIC -o .libs/os_spin.o os_spin.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_yield(usecs) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_spin.c -o os_spin.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_stat.lo `test -f 'os_stat.c' || echo './'`os_stat.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_stat.c -fno-common -DPIC -o .libs/os_stat.o os_stat.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_exists(path, isdirp) ^ os_stat.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_ioinfo(path, fhp, mbytesp, bytesp, iosizep) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_stat.c -o os_stat.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_tmpdir.lo `test -f 'os_tmpdir.c' || echo './'`os_tmpdir.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_tmpdir.c -fno-common -DPIC -o .libs/os_tmpdir.o os_tmpdir.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_tmpdir(dbenv, flags) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_tmpdir.c -o os_tmpdir.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o os_unlink.lo `test -f 'os_unlink.c' || echo './'`os_unlink.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_unlink.c -fno-common -DPIC -o .libs/os_unlink.o os_unlink.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___os_unlink(path) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c os_unlink.c -o os_unlink.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o qam.lo `test -f 'qam.c' || echo './'`qam.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam.c -fno-common -DPIC -o .libs/qam.o qam.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_nrecs(dbc, rep, start) ^ qam.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_position(dbc, recnop, lock_mode, start, exactp) ^ qam.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_pitem(dbc, pagep, indx, recno, data) ^ qam.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_c_put(dbc, key, data, flags) ^ qam.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_i_put(dbc, data, flags) ^ qam.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_put(dbp, txn, key, data, flags) ^ qam.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_i_delete(dbc) ^ qam.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_delete(dbp, txn, key, flags) ^ qam.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_c_del(dbc, flags) ^ qam.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_c_get(dbc_orig, key, data, flags) ^ qam.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_c_close(dbc) ^ qam.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_c_dup(orig_dbc, new_dbc) ^ qam.c:1181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_c_init(dbc) ^ qam.c:1221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_c_destroy(dbc) ^ qam.c:1235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_getno(dbp, key, rep) ^ 15 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam.c -o qam.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o qam_auto.lo `test -f 'qam_auto.c' || echo './'`qam_auto.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_auto.c -fno-common -DPIC -o .libs/qam_auto.o qam_auto.c:19:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___qam_inc_log(dbenv, txnid, ret_lsnp, flags, ^ qam_auto.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_inc_print(notused1, dbtp, lsnp, notused2, notused3) ^ qam_auto.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_inc_read(recbuf, argpp) ^ qam_auto.c:137:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___qam_incfirst_log(dbenv, txnid, ret_lsnp, flags, ^ qam_auto.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_incfirst_print(notused1, dbtp, lsnp, notused2, notused3) ^ qam_auto.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_incfirst_read(recbuf, argpp) ^ qam_auto.c:251:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___qam_mvptr_log(dbenv, txnid, ret_lsnp, flags, ^ qam_auto.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_mvptr_print(notused1, dbtp, lsnp, notused2, notused3) ^ qam_auto.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_mvptr_read(recbuf, argpp) ^ qam_auto.c:405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___qam_del_log(dbenv, txnid, ret_lsnp, flags, ^ qam_auto.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_del_print(notused1, dbtp, lsnp, notused2, notused3) ^ qam_auto.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_del_read(recbuf, argpp) ^ qam_auto.c:544:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___qam_add_log(dbenv, txnid, ret_lsnp, flags, ^ qam_auto.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_add_print(notused1, dbtp, lsnp, notused2, notused3) ^ qam_auto.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_add_read(recbuf, argpp) ^ qam_auto.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_init_print(dbenv) ^ qam_auto.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_init_recover(dbenv) ^ 17 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_auto.c -o qam_auto.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o qam_conv.lo `test -f 'qam_conv.c' || echo './'`qam_conv.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_conv.c -fno-common -DPIC -o .libs/qam_conv.o qam_conv.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_mswap(pg) ^ qam_conv.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_pgin_out(pg, pp, cookie) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_conv.c -o qam_conv.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o qam_method.lo `test -f 'qam_method.c' || echo './'`qam_method.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_method.c -fno-common -DPIC -o .libs/qam_method.o qam_method.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_db_create(dbp) ^ qam_method.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_db_close(dbp) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_method.c -o qam_method.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o qam_open.lo `test -f 'qam_open.c' || echo './'`qam_open.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_open.c -fno-common -DPIC -o .libs/qam_open.o qam_open.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_open(dbp, name, base_pgno) ^ qam_open.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_metachk(dbp, name, qmeta) ^ 2 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_open.c -o qam_open.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o qam_rec.lo `test -f 'qam_rec.c' || echo './'`qam_rec.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_rec.c -fno-common -DPIC -o .libs/qam_rec.o qam_rec.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_inc_recover(dbenv, dbtp, lsnp, redo, info) ^ qam_rec.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_incfirst_recover(dbenv, dbtp, lsnp, redo, info) ^ qam_rec.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_mvptr_recover(dbenv, dbtp, lsnp, redo, info) ^ qam_rec.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_del_recover(dbenv, dbtp, lsnp, redo, info) ^ qam_rec.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_add_recover(dbenv, dbtp, lsnp, redo, info) ^ 5 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_rec.c -o qam_rec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o qam_stat.lo `test -f 'qam_stat.c' || echo './'`qam_stat.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_stat.c -fno-common -DPIC -o .libs/qam_stat.o qam_stat.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___qam_stat(dbp, spp, db_malloc, flags) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c qam_stat.c -o qam_stat.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o txn.lo `test -f 'txn.c' || echo './'`txn.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c txn.c -fno-common -DPIC -o .libs/txn.o txn.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_txn_begin(dbenv, parent, txnpp, flags) ^ txn.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_xa_begin(dbenv, txn) ^ txn.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_begin(txn) ^ txn.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_txn_commit(txnp, flags) ^ txn.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_txn_abort(txnp) ^ txn.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_txn_prepare(txnp) ^ txn.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_txn_id(txnp) ^ txn.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_check_running(txnp, tdp) ^ txn.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_end(txnp, is_commit) ^ txn.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_undo(txnp) ^ txn.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_txn_checkpoint(dbenv, kbytes, minutes) ^ txn.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_freekids(txnp) ^ txn.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_is_ancestor(dbenv, hold_off, req_off) ^ txn.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_makefamily(txnp, np, arrayp) ^ txn.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_count(txnp) ^ txn.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_lsn(txnp, array) ^ txn.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_activekids(txnp) ^ 17 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c txn.c -o txn.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o txn_auto.lo `test -f 'txn_auto.c' || echo './'`txn_auto.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c txn_auto.c -fno-common -DPIC -o .libs/txn_auto.o txn_auto.c:18:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___txn_regop_log(dbenv, txnid, ret_lsnp, flags, ^ txn_auto.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_regop_print(notused1, dbtp, lsnp, notused2, notused3) ^ txn_auto.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_regop_read(recbuf, argpp) ^ txn_auto.c:125:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___txn_ckp_log(dbenv, txnid, ret_lsnp, flags, ^ txn_auto.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_ckp_print(notused1, dbtp, lsnp, notused2, notused3) ^ txn_auto.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_ckp_read(recbuf, argpp) ^ txn_auto.c:247:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___txn_xa_regop_log(dbenv, txnid, ret_lsnp, flags, ^ txn_auto.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_xa_regop_print(notused1, dbtp, lsnp, notused2, notused3) ^ txn_auto.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_xa_regop_read(recbuf, argpp) ^ txn_auto.c:402:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int CDB___txn_child_log(dbenv, txnid, ret_lsnp, flags, ^ txn_auto.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_child_print(notused1, dbtp, lsnp, notused2, notused3) ^ txn_auto.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_child_read(recbuf, argpp) ^ txn_auto.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_init_print(dbenv) ^ txn_auto.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_init_recover(dbenv) ^ 14 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c txn_auto.c -o txn_auto.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o txn_rec.lo `test -f 'txn_rec.c' || echo './'`txn_rec.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c txn_rec.c -fno-common -DPIC -o .libs/txn_rec.o txn_rec.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_regop_recover(dbenv, dbtp, lsnp, redo, info) ^ txn_rec.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_xa_regop_recover(dbenv, dbtp, lsnp, redo, info) ^ txn_rec.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_ckp_recover(dbenv, dbtp, lsnp, redo, info) ^ txn_rec.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_child_recover(dbenv, dbtp, lsnp, redo, info) ^ 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c txn_rec.c -o txn_rec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o txn_region.lo `test -f 'txn_region.c' || echo './'`txn_region.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c txn_region.c -fno-common -DPIC -o .libs/txn_region.o txn_region.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_dbenv_create(dbenv) ^ txn_region.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_set_tx_max(dbenv, tx_max) ^ txn_region.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_set_tx_recover(dbenv, tx_recover) ^ txn_region.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_open(dbenv) ^ txn_region.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_init(dbenv, tmgrp) ^ txn_region.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___txn_close(dbenv) ^ txn_region.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB_txn_stat(dbenv, statp, db_malloc) ^ 7 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c txn_region.c -o txn_region.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o xa.lo `test -f 'xa.c' || echo './'`xa.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c xa.c -fno-common -DPIC -o .libs/xa.o xa.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xa_open(xa_info, rmid, flags) ^ xa.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xa_close(xa_info, rmid, flags) ^ xa.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xa_start(xid, rmid, flags) ^ xa.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xa_end(xid, rmid, flags) ^ xa.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xa_prepare(xid, rmid, flags) ^ xa.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xa_commit(xid, rmid, flags) ^ xa.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xa_recover(xids, count, rmid, flags) ^ xa.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xa_rollback(xid, rmid, flags) ^ xa.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xa_forget(xid, rmid, flags) ^ xa.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xa_complete(handle, retval, rmid, flags) ^ xa.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___xa_txn_init(env, td, off) ^ xa.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___xa_txn_end(env) ^ 12 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c xa.c -o xa.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o xa_db.lo `test -f 'xa_db.c' || echo './'`xa_db.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c xa_db.c -fno-common -DPIC -o .libs/xa_db.o xa_db.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xa_create(dbp) ^ xa_db.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___xa_cursor(dbp, txn, dbcp, flags) ^ xa_db.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___xa_del(dbp, txn, key, flags) ^ xa_db.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___xa_close(dbp, flags) ^ xa_db.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___xa_get(dbp, txn, key, data, flags) ^ xa_db.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___xa_put(dbp, txn, key, data, flags) ^ 6 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c xa_db.c -o xa_db.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -c -o xa_map.lo `test -f 'xa_map.c' || echo './'`xa_map.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c xa_map.c -fno-common -DPIC -o .libs/xa_map.o xa_map.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_rmid_to_env(rmid, envp) ^ xa_map.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_xid_to_txn(dbenv, xid, offp) ^ xa_map.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_map_rmid(rmid, env) ^ xa_map.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_unmap_rmid(rmid) ^ xa_map.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_map_xid(env, xid, off) ^ xa_map.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CDB___db_unmap_xid(env, xid, off) ^ 6 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./../htlib -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -c xa_map.c -o xa_map.o >/dev/null 2>&1 /opt/pkg/bin/mksh ./libtool --mode=link clang -pipe -Os -I/opt/pkg/include -L/opt/pkg/lib -o libhtdb.la -rpath /opt/pkg/lib/htdig_db -release 3.2.0 bt_compare.lo bt_conv.lo bt_curadj.lo bt_cursor.lo bt_delete.lo bt_method.lo bt_open.lo bt_put.lo bt_rec.lo bt_reclaim.lo bt_recno.lo bt_rsearch.lo bt_search.lo bt_split.lo bt_stat.lo bt_upgrade.lo btree_auto.lo crdel_auto.lo crdel_rec.lo db.lo db_am.lo db_auto.lo db_byteorder.lo db_conv.lo db_dispatch.lo db_dup.lo db_err.lo db_getlong.lo db_iface.lo db_join.lo db_log2.lo db_meta.lo db_method.lo db_overflow.lo db_pr.lo db_rec.lo db_reclaim.lo db_ret.lo db_salloc.lo db_shash.lo db_upgrade.lo env_method.lo env_open.lo env_recover.lo env_region.lo hash.lo hash_auto.lo hash_conv.lo hash_dup.lo hash_func.lo hash_meta.lo hash_method.lo hash_page.lo hash_rec.lo hash_reclaim.lo hash_stat.lo hash_upgrade.lo lock.lo lock_conflict.lo lock_deadlock.lo lock_region.lo lock_util.lo log.lo log_archive.lo log_auto.lo log_compare.lo log_findckp.lo log_get.lo log_method.lo log_put.lo log_rec.lo log_register.lo mp_alloc.lo mp_bh.lo mp_cmpr.lo mp_fget.lo mp_fopen.lo mp_fput.lo mp_fset.lo mp_method.lo mp_region.lo mp_register.lo mp_stat.lo mp_sync.lo mp_trickle.lo mut_fcntl.lo mut_pthread.lo mut_tas.lo mutex.lo os_abs.lo os_alloc.lo os_dir.lo os_errno.lo os_fid.lo os_finit.lo os_fsync.lo os_handle.lo os_map.lo os_method.lo os_oflags.lo os_open.lo os_region.lo os_rename.lo os_root.lo os_rpath.lo os_rw.lo os_seek.lo os_sleep.lo os_spin.lo os_stat.lo os_tmpdir.lo os_unlink.lo qam.lo qam_auto.lo qam_conv.lo qam_method.lo qam_open.lo qam_rec.lo qam_stat.lo txn.lo txn_auto.lo txn_rec.lo txn_region.lo xa.lo xa_db.lo xa_map.lo -lz -lz libtool: link: clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libhtdb-3.2.0.dylib .libs/bt_compare.o .libs/bt_conv.o .libs/bt_curadj.o .libs/bt_cursor.o .libs/bt_delete.o .libs/bt_method.o .libs/bt_open.o .libs/bt_put.o .libs/bt_rec.o .libs/bt_reclaim.o .libs/bt_recno.o .libs/bt_rsearch.o .libs/bt_search.o .libs/bt_split.o .libs/bt_stat.o .libs/bt_upgrade.o .libs/btree_auto.o .libs/crdel_auto.o .libs/crdel_rec.o .libs/db.o .libs/db_am.o .libs/db_auto.o .libs/db_byteorder.o .libs/db_conv.o .libs/db_dispatch.o .libs/db_dup.o .libs/db_err.o .libs/db_getlong.o .libs/db_iface.o .libs/db_join.o .libs/db_log2.o .libs/db_meta.o .libs/db_method.o .libs/db_overflow.o .libs/db_pr.o .libs/db_rec.o .libs/db_reclaim.o .libs/db_ret.o .libs/db_salloc.o .libs/db_shash.o .libs/db_upgrade.o .libs/env_method.o .libs/env_open.o .libs/env_recover.o .libs/env_region.o .libs/hash.o .libs/hash_auto.o .libs/hash_conv.o .libs/hash_dup.o .libs/hash_func.o .libs/hash_meta.o .libs/hash_method.o .libs/hash_page.o .libs/hash_rec.o .libs/hash_reclaim.o .libs/hash_stat.o .libs/hash_upgrade.o .libs/lock.o .libs/lock_conflict.o .libs/lock_deadlock.o .libs/lock_region.o .libs/lock_util.o .libs/log.o .libs/log_archive.o .libs/log_auto.o .libs/log_compare.o .libs/log_findckp.o .libs/log_get.o .libs/log_method.o .libs/log_put.o .libs/log_rec.o .libs/log_register.o .libs/mp_alloc.o .libs/mp_bh.o .libs/mp_cmpr.o .libs/mp_fget.o .libs/mp_fopen.o .libs/mp_fput.o .libs/mp_fset.o .libs/mp_method.o .libs/mp_region.o .libs/mp_register.o .libs/mp_stat.o .libs/mp_sync.o .libs/mp_trickle.o .libs/mut_fcntl.o .libs/mut_pthread.o .libs/mut_tas.o .libs/mutex.o .libs/os_abs.o .libs/os_alloc.o .libs/os_dir.o .libs/os_errno.o .libs/os_fid.o .libs/os_finit.o .libs/os_fsync.o .libs/os_handle.o .libs/os_map.o .libs/os_method.o .libs/os_oflags.o .libs/os_open.o .libs/os_region.o .libs/os_rename.o .libs/os_root.o .libs/os_rpath.o .libs/os_rw.o .libs/os_seek.o .libs/os_sleep.o .libs/os_spin.o .libs/os_stat.o .libs/os_tmpdir.o .libs/os_unlink.o .libs/qam.o .libs/qam_auto.o .libs/qam_conv.o .libs/qam_method.o .libs/qam_open.o .libs/qam_rec.o .libs/qam_stat.o .libs/txn.o .libs/txn_auto.o .libs/txn_rec.o .libs/txn_region.o .libs/xa.o .libs/xa_db.o .libs/xa_map.o -L/Users/pbulk/build/www/htdig/work/.buildlink/lib /Users/pbulk/build/www/htdig/work/.buildlink/lib/libz.dylib -Os -install_name /opt/pkg/lib/htdig_db/libhtdb-3.2.0.dylib libtool: link: (cd ".libs" && rm -f "libhtdb.dylib" && ln -s "libhtdb-3.2.0.dylib" "libhtdb.dylib") libtool: link: ar cr .libs/libhtdb.a bt_compare.o bt_conv.o bt_curadj.o bt_cursor.o bt_delete.o bt_method.o bt_open.o bt_put.o bt_rec.o bt_reclaim.o bt_recno.o bt_rsearch.o bt_search.o bt_split.o bt_stat.o bt_upgrade.o btree_auto.o crdel_auto.o crdel_rec.o db.o db_am.o db_auto.o db_byteorder.o db_conv.o db_dispatch.o db_dup.o db_err.o db_getlong.o db_iface.o db_join.o db_log2.o db_meta.o db_method.o db_overflow.o db_pr.o db_rec.o db_reclaim.o db_ret.o db_salloc.o db_shash.o db_upgrade.o env_method.o env_open.o env_recover.o env_region.o hash.o hash_auto.o hash_conv.o hash_dup.o hash_func.o hash_meta.o hash_method.o hash_page.o hash_rec.o hash_reclaim.o hash_stat.o hash_upgrade.o lock.o lock_conflict.o lock_deadlock.o lock_region.o lock_util.o log.o log_archive.o log_auto.o log_compare.o log_findckp.o log_get.o log_method.o log_put.o log_rec.o log_register.o mp_alloc.o mp_bh.o mp_cmpr.o mp_fget.o mp_fopen.o mp_fput.o mp_fset.o mp_method.o mp_region.o mp_register.o mp_stat.o mp_sync.o mp_trickle.o mut_fcntl.o mut_pthread.o mut_tas.o mutex.o os_abs.o os_alloc.o os_dir.o os_errno.o os_fid.o os_finit.o os_fsync.o os_handle.o os_map.o os_method.o os_oflags.o os_open.o os_region.o os_rename.o os_root.o os_rpath.o os_rw.o os_seek.o os_sleep.o os_spin.o os_stat.o os_tmpdir.o os_unlink.o qam.o qam_auto.o qam_conv.o qam_method.o qam_open.o qam_rec.o qam_stat.o txn.o txn_auto.o txn_rec.o txn_region.o xa.o xa_db.o xa_map.o libtool: link: ranlib .libs/libhtdb.a libtool: link: ( cd ".libs" && rm -f "libhtdb.la" && ln -s "../libhtdb.la" "libhtdb.la" ) Making all in htlib /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o Configuration.lo `test -f 'Configuration.cc' || echo './'`Configuration.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Configuration.cc -fno-common -DPIC -o .libs/Configuration.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Configuration.cc -o Configuration.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o Database.lo `test -f 'Database.cc' || echo './'`Database.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Database.cc -fno-common -DPIC -o .libs/Database.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Database.cc -o Database.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o Dictionary.lo `test -f 'Dictionary.cc' || echo './'`Dictionary.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Dictionary.cc -fno-common -DPIC -o .libs/Dictionary.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Dictionary.cc -o Dictionary.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o DB2_db.lo `test -f 'DB2_db.cc' || echo './'`DB2_db.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c DB2_db.cc -fno-common -DPIC -o .libs/DB2_db.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c DB2_db.cc -o DB2_db.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o IntObject.lo `test -f 'IntObject.cc' || echo './'`IntObject.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c IntObject.cc -fno-common -DPIC -o .libs/IntObject.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c IntObject.cc -o IntObject.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o List.lo `test -f 'List.cc' || echo './'`List.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c List.cc -fno-common -DPIC -o .libs/List.o List.cc:431:16: warning: variable 'i' set but not used [-Wunused-but-set-variable] for (int i = 0; ln != tail; i++, ln = ln->next) ^ 1 warning generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c List.cc -o List.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o Object.lo `test -f 'Object.cc' || echo './'`Object.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Object.cc -fno-common -DPIC -o .libs/Object.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Object.cc -o Object.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o ParsedString.lo `test -f 'ParsedString.cc' || echo './'`ParsedString.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c ParsedString.cc -fno-common -DPIC -o .libs/ParsedString.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c ParsedString.cc -o ParsedString.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o Queue.lo `test -f 'Queue.cc' || echo './'`Queue.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Queue.cc -fno-common -DPIC -o .libs/Queue.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Queue.cc -o Queue.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o QuotedStringList.lo `test -f 'QuotedStringList.cc' || echo './'`QuotedStringList.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c QuotedStringList.cc -fno-common -DPIC -o .libs/QuotedStringList.o In file included from QuotedStringList.cc:21: In file included from ./QuotedStringList.h:20: ./StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from QuotedStringList.cc:21: In file included from ./QuotedStringList.h:20: ./StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from QuotedStringList.cc:21: In file included from ./QuotedStringList.h:20: ./StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from QuotedStringList.cc:21: In file included from ./QuotedStringList.h:20: ./StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from QuotedStringList.cc:21: In file included from ./QuotedStringList.h:20: ./StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from QuotedStringList.cc:21: In file included from ./QuotedStringList.h:20: ./StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c QuotedStringList.cc -o QuotedStringList.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o Stack.lo `test -f 'Stack.cc' || echo './'`Stack.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Stack.cc -fno-common -DPIC -o .libs/Stack.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Stack.cc -o Stack.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o String.lo `test -f 'String.cc' || echo './'`String.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c String.cc -fno-common -DPIC -o .libs/String.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c String.cc -o String.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o StringList.lo `test -f 'StringList.cc' || echo './'`StringList.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c StringList.cc -fno-common -DPIC -o .libs/StringList.o In file included from StringList.cc:19: ./StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from StringList.cc:19: ./StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from StringList.cc:19: ./StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from StringList.cc:19: ./StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from StringList.cc:19: ./StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from StringList.cc:19: ./StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ StringList.cc:174:5: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete array; ^ [] StringList.cc:152:22: note: allocated with 'new[]' here String **array = new String*[Count()]; ^ 7 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c StringList.cc -o StringList.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o StringMatch.lo `test -f 'StringMatch.cc' || echo './'`StringMatch.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c StringMatch.cc -fno-common -DPIC -o .libs/StringMatch.o StringMatch.cc:314:25: warning: array subscript is of type 'char' [-Wchar-subscripts] new_state = table[trans[string[pos]]][state]; ^~~~~~~~~~~~ 1 warning generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c StringMatch.cc -o StringMatch.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o String_fmt.lo `test -f 'String_fmt.cc' || echo './'`String_fmt.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c String_fmt.cc -fno-common -DPIC -o .libs/String_fmt.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c String_fmt.cc -o String_fmt.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o good_strtok.lo `test -f 'good_strtok.cc' || echo './'`good_strtok.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c good_strtok.cc -fno-common -DPIC -o .libs/good_strtok.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c good_strtok.cc -o good_strtok.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o strcasecmp.lo `test -f 'strcasecmp.cc' || echo './'`strcasecmp.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c strcasecmp.cc -fno-common -DPIC -o .libs/strcasecmp.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c strcasecmp.cc -o strcasecmp.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -c -o mktime.lo `test -f 'mktime.c' || echo './'`mktime.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c mktime.c -fno-common -DPIC -o .libs/mktime.o mktime.c:311:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (t < TIME_T_MIN + 3 * quarter) ^~~~~~~~~~ mktime.c:92:21: note: expanded from macro 'TIME_T_MIN' # define TIME_T_MIN TYPE_MINIMUM (time_t) ^~~~~~~~~~~~~~~~~~~~~ mktime.c:81:20: note: expanded from macro 'TYPE_MINIMUM' ? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0)) ~~~~~~~ ^ mktime.c:343:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (TIME_T_MAX / INT_MAX / 366 / 24 / 60 / 60 < 3) ^~~~~~~~~~ mktime.c:95:21: note: expanded from macro 'TIME_T_MAX' # define TIME_T_MAX TYPE_MAXIMUM (time_t) ^~~~~~~~~~~~~~~~~~~~~ mktime.c:82:41: note: expanded from macro 'TYPE_MAXIMUM' #define TYPE_MAXIMUM(t) ((t) (~ (t) 0 - TYPE_MINIMUM (t))) ^~~~~~~~~~~~~~~~ mktime.c:81:20: note: expanded from macro 'TYPE_MINIMUM' ? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0)) ~~~~~~~ ^ mktime.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mymktime (tp) ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c mktime.c -o mktime.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o strptime.lo `test -f 'strptime.cc' || echo './'`strptime.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c strptime.cc -fno-common -DPIC -o .libs/strptime.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c strptime.cc -o strptime.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -c -o timegm.lo `test -f 'timegm.c' || echo './'`timegm.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c timegm.c -fno-common -DPIC -o .libs/timegm.o timegm.c:60:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] time_t Httimegm(tmp) ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c timegm.c -o timegm.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -c -o getcwd.lo `test -f 'getcwd.c' || echo './'`getcwd.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c getcwd.c -fno-common -DPIC -o .libs/getcwd.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c getcwd.c -o getcwd.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -c -o memcpy.lo `test -f 'memcpy.c' || echo './'`memcpy.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c memcpy.c -fno-common -DPIC -o .libs/memcpy.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c memcpy.c -o memcpy.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -c -o memmove.lo `test -f 'memmove.c' || echo './'`memmove.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c memmove.c -fno-common -DPIC -o .libs/memmove.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c memmove.c -o memmove.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -c -o raise.lo `test -f 'raise.c' || echo './'`raise.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c raise.c -fno-common -DPIC -o .libs/raise.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c raise.c -o raise.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -c -o strerror.lo `test -f 'strerror.c' || echo './'`strerror.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c strerror.c -fno-common -DPIC -o .libs/strerror.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c strerror.c -o strerror.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtCodec.lo `test -f 'HtCodec.cc' || echo './'`HtCodec.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtCodec.cc -fno-common -DPIC -o .libs/HtCodec.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtCodec.cc -o HtCodec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtWordCodec.lo `test -f 'HtWordCodec.cc' || echo './'`HtWordCodec.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtWordCodec.cc -fno-common -DPIC -o .libs/HtWordCodec.o In file included from HtWordCodec.cc:24: In file included from ./HtWordCodec.h:24: ./StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from HtWordCodec.cc:24: In file included from ./HtWordCodec.h:24: ./StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from HtWordCodec.cc:24: In file included from ./HtWordCodec.h:24: ./StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from HtWordCodec.cc:24: In file included from ./HtWordCodec.h:24: ./StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from HtWordCodec.cc:24: In file included from ./HtWordCodec.h:24: ./StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from HtWordCodec.cc:24: In file included from ./HtWordCodec.h:24: ./StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtWordCodec.cc -o HtWordCodec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtVector.lo `test -f 'HtVector.cc' || echo './'`HtVector.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtVector.cc -fno-common -DPIC -o .libs/HtVector.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtVector.cc -o HtVector.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtHeap.lo `test -f 'HtHeap.cc' || echo './'`HtHeap.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtHeap.cc -fno-common -DPIC -o .libs/HtHeap.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtHeap.cc -o HtHeap.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtPack.lo `test -f 'HtPack.cc' || echo './'`HtPack.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtPack.cc -fno-common -DPIC -o .libs/HtPack.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtPack.cc -o HtPack.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtDateTime.lo `test -f 'HtDateTime.cc' || echo './'`HtDateTime.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtDateTime.cc -fno-common -DPIC -o .libs/HtDateTime.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtDateTime.cc -o HtDateTime.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtRegex.lo `test -f 'HtRegex.cc' || echo './'`HtRegex.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtRegex.cc -fno-common -DPIC -o .libs/HtRegex.o In file included from HtRegex.cc:19: In file included from ./HtRegex.h:24: ./StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from HtRegex.cc:19: In file included from ./HtRegex.h:24: ./StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from HtRegex.cc:19: In file included from ./HtRegex.h:24: ./StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from HtRegex.cc:19: In file included from ./HtRegex.h:24: ./StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from HtRegex.cc:19: In file included from ./HtRegex.h:24: ./StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from HtRegex.cc:19: In file included from ./HtRegex.h:24: ./StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ HtRegex.cc:60:7: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete buf; ^ [] HtRegex.cc:57:19: note: allocated with 'new[]' here char *buf = new char[len]; ^ 7 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtRegex.cc -o HtRegex.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtRegexList.lo `test -f 'HtRegexList.cc' || echo './'`HtRegexList.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtRegexList.cc -fno-common -DPIC -o .libs/HtRegexList.o In file included from HtRegexList.cc:19: In file included from ./HtRegexList.h:21: ./StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from HtRegexList.cc:19: In file included from ./HtRegexList.h:21: ./StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from HtRegexList.cc:19: In file included from ./HtRegexList.h:21: ./StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from HtRegexList.cc:19: In file included from ./HtRegexList.h:21: ./StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from HtRegexList.cc:19: In file included from ./HtRegexList.h:21: ./StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from HtRegexList.cc:19: In file included from ./HtRegexList.h:21: ./StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtRegexList.cc -o HtRegexList.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtRegexReplace.lo `test -f 'HtRegexReplace.cc' || echo './'`HtRegexReplace.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtRegexReplace.cc -fno-common -DPIC -o .libs/HtRegexReplace.o In file included from HtRegexReplace.cc:15: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from HtRegexReplace.cc:15: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from HtRegexReplace.cc:15: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from HtRegexReplace.cc:15: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from HtRegexReplace.cc:15: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from HtRegexReplace.cc:15: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtRegexReplace.cc -o HtRegexReplace.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtRegexReplaceList.lo `test -f 'HtRegexReplaceList.cc' || echo './'`HtRegexReplaceList.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtRegexReplaceList.cc -fno-common -DPIC -o .libs/HtRegexReplaceList.o In file included from HtRegexReplaceList.cc:22: In file included from ./HtRegexReplaceList.h:20: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from HtRegexReplaceList.cc:22: In file included from ./HtRegexReplaceList.h:20: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ./List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from HtRegexReplaceList.cc:22: In file included from ./HtRegexReplaceList.h:20: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from HtRegexReplaceList.cc:22: In file included from ./HtRegexReplaceList.h:20: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ./List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from HtRegexReplaceList.cc:22: In file included from ./HtRegexReplaceList.h:20: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from HtRegexReplaceList.cc:22: In file included from ./HtRegexReplaceList.h:20: In file included from ./HtRegexReplace.h:22: In file included from ./HtRegex.h:24: ./StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ./List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtRegexReplaceList.cc -o HtRegexReplaceList.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtVectorGeneric.lo `test -f 'HtVectorGeneric.cc' || echo './'`HtVectorGeneric.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtVectorGeneric.cc -fno-common -DPIC -o .libs/HtVectorGeneric.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtVectorGeneric.cc -o HtVectorGeneric.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtMaxMin.lo `test -f 'HtMaxMin.cc' || echo './'`HtMaxMin.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtMaxMin.cc -fno-common -DPIC -o .libs/HtMaxMin.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtMaxMin.cc -o HtMaxMin.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtWordType.lo `test -f 'HtWordType.cc' || echo './'`HtWordType.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtWordType.cc -fno-common -DPIC -o .libs/HtWordType.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtWordType.cc -o HtWordType.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -c -o myqsort.lo `test -f 'myqsort.c' || echo './'`myqsort.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c myqsort.c -fno-common -DPIC -o .libs/myqsort.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c myqsort.c -o myqsort.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o md5.lo `test -f 'md5.cc' || echo './'`md5.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c md5.cc -fno-common -DPIC -o .libs/md5.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c md5.cc -o md5.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -c -o mhash_md5.lo `test -f 'mhash_md5.c' || echo './'`mhash_md5.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c mhash_md5.c -fno-common -DPIC -o .libs/mhash_md5.o mhash_md5.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Init(context) ^ mhash_md5.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Update(context, input, inputLen) ^ mhash_md5.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Final(context) ^ mhash_md5.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Transform(state, block) ^ mhash_md5.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Encode(output, input, len) ^ mhash_md5.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Decode(output, input, len) ^ mhash_md5.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5_memcpy(output, input, len) ^ mhash_md5.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5_memset(output, value, len) ^ 8 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wall -c mhash_md5.c -o mhash_md5.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=link clang++ -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -L/opt/pkg/lib -o libht.la -rpath /opt/pkg/lib/htdig -release 3.2.0 Configuration.lo Database.lo Dictionary.lo DB2_db.lo IntObject.lo List.lo Object.lo ParsedString.lo Queue.lo QuotedStringList.lo Stack.lo String.lo StringList.lo StringMatch.lo String_fmt.lo good_strtok.lo strcasecmp.lo mktime.lo strptime.lo timegm.lo getcwd.lo memcpy.lo memmove.lo raise.lo strerror.lo HtCodec.lo HtWordCodec.lo HtVector.lo HtHeap.lo HtPack.lo HtDateTime.lo HtRegex.lo HtRegexList.lo HtRegexReplace.lo HtRegexReplaceList.lo HtVectorGeneric.lo HtMaxMin.lo HtWordType.lo myqsort.lo md5.lo mhash_md5.lo -lz libtool: link: clang++ -r -keep_private_externs -nostdlib -o .libs/libht-3.2.0.dylib-master.o .libs/Configuration.o .libs/Database.o .libs/Dictionary.o .libs/DB2_db.o .libs/IntObject.o .libs/List.o .libs/Object.o .libs/ParsedString.o .libs/Queue.o .libs/QuotedStringList.o .libs/Stack.o .libs/String.o .libs/StringList.o .libs/StringMatch.o .libs/String_fmt.o .libs/good_strtok.o .libs/strcasecmp.o .libs/mktime.o .libs/strptime.o .libs/timegm.o .libs/getcwd.o .libs/memcpy.o .libs/memmove.o .libs/raise.o .libs/strerror.o .libs/HtCodec.o .libs/HtWordCodec.o .libs/HtVector.o .libs/HtHeap.o .libs/HtPack.o .libs/HtDateTime.o .libs/HtRegex.o .libs/HtRegexList.o .libs/HtRegexReplace.o .libs/HtRegexReplaceList.o .libs/HtVectorGeneric.o .libs/HtMaxMin.o .libs/HtWordType.o .libs/myqsort.o .libs/md5.o .libs/mhash_md5.o libtool: link: clang++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libht-3.2.0.dylib .libs/libht-3.2.0.dylib-master.o -L/Users/pbulk/build/www/htdig/work/.buildlink/lib /Users/pbulk/build/www/htdig/work/.buildlink/lib/libz.dylib -Os -install_name /opt/pkg/lib/htdig/libht-3.2.0.dylib libtool: link: (cd ".libs" && rm -f "libht.dylib" && ln -s "libht-3.2.0.dylib" "libht.dylib") libtool: link: ar cr .libs/libht.a Configuration.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 good_strtok.o strcasecmp.o mktime.o strptime.o timegm.o getcwd.o memcpy.o memmove.o raise.o strerror.o HtCodec.o HtWordCodec.o HtVector.o HtHeap.o HtPack.o HtDateTime.o HtRegex.o HtRegexList.o HtRegexReplace.o HtRegexReplaceList.o HtVectorGeneric.o HtMaxMin.o HtWordType.o myqsort.o md5.o mhash_md5.o libtool: link: ranlib .libs/libht.a libtool: link: ( cd ".libs" && rm -f "libht.la" && ln -s "../libht.la" "libht.la" ) Making all in htword /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordBitCompress.lo `test -f 'WordBitCompress.cc' || echo './'`WordBitCompress.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordBitCompress.cc -fno-common -DPIC -o .libs/WordBitCompress.o In file included from WordBitCompress.cc:29: ./WordBitCompress.h:129:28: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(check_tag(tag)==NOTOK){errr("BitStream::get() check_tag failed");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordBitCompress.h:129:28: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ ./WordBitCompress.h:130:31: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(bitpos>=(buff.size()<<3)){errr("BitStream::get reading past end of BitStream!");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordBitCompress.h:130:31: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:85:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(res); ^~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:85:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:313:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(intervals); ^~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:313:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:315:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(intervalsizes); ^~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:315:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:317:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(lboundaries); ^~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:317:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:370:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(intervals); ^~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:370:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:372:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(intervalsizes); ^~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:372:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:374:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(lboundaries); ^~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:374:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:517:31: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(check_tag(tag)==NOTOK){errr("BitStream::get(int) check_tag failed");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:517:31: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:706:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(res); ^~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:706:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:716:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] errr("BitStream::set_data: valid only if BitStream is empty"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:716:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:750:30: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(n>=pow2(NBITS_NVALS)){errr("Compressor::put(uint *,nvals) : overflow: nvals>2^16");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:750:30: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:809:31: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(check_tag(tag)==NOTOK){errr("Compressor::get_vals(unsigned int): check_tag failed");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:809:31: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:816:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(res); ^~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:816:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:827:16: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] default: errr("Compressor::get_vals invalid comptype");break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:827:16: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:854:30: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(n>=pow2(NBITS_NVALS)){errr("Compressor::put_fixedbitl(byte *) : overflow: nvals>2^16");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:854:30: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:892:31: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(check_tag(tag)==NOTOK){errr("Compressor::get_fixedbitl(byte *): check_tag failed");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:892:31: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordBitCompress.cc:899:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(res); ^~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordBitCompress.cc:899:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ 19 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordBitCompress.cc -o WordBitCompress.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordContext.lo `test -f 'WordContext.cc' || echo './'`WordContext.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordContext.cc -fno-common -DPIC -o .libs/WordContext.o In file included from WordContext.cc:30: In file included from ./WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordContext.cc:30: In file included from ./WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordContext.cc:30: In file included from ./WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordContext.cc:30: In file included from ./WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordContext.cc:30: In file included from ./WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordContext.cc:30: In file included from ./WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordContext.cc -o WordContext.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordCursor.lo `test -f 'WordCursor.cc' || echo './'`WordCursor.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordCursor.cc -fno-common -DPIC -o .libs/WordCursor.o In file included from WordCursor.cc:19: In file included from ./WordCursor.h:92: In file included from ./WordKey.h:72: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordCursor.cc:19: In file included from ./WordCursor.h:92: In file included from ./WordKey.h:72: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordCursor.cc:19: In file included from ./WordCursor.h:92: In file included from ./WordKey.h:72: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordCursor.cc:19: In file included from ./WordCursor.h:92: In file included from ./WordKey.h:72: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordCursor.cc:19: In file included from ./WordCursor.h:92: In file included from ./WordKey.h:72: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordCursor.cc:19: In file included from ./WordCursor.h:92: In file included from ./WordKey.h:72: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from WordCursor.cc:19: In file included from ./WordCursor.h:92: ./WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordCursor.cc:19: In file included from ./WordCursor.h:93: In file included from ./WordDB.h:32: ./WordReference.h:209:9: warning: 'WordReference::compare' hides overloaded virtual function [-Woverloaded-virtual] int compare(Object *to) { String word(((WordReference *) to)->key.GetWord()); return key.GetWord().nocase_compare(word); } ^ ../htlib/Object.h:37:14: note: hidden overloaded virtual function 'Object::compare' declared here: type mismatch at 1st parameter ('const Object &' vs 'Object *') virtual int compare(const Object &) const { return 0;} ^ 8 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordCursor.cc -o WordCursor.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordDB.lo `test -f 'WordDB.cc' || echo './'`WordDB.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordDB.cc -fno-common -DPIC -o .libs/WordDB.o In file included from WordDB.cc:18: In file included from ./WordDB.h:32: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordDB.cc:18: In file included from ./WordDB.h:32: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordDB.cc:18: In file included from ./WordDB.h:32: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordDB.cc:18: In file included from ./WordDB.h:32: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordDB.cc:18: In file included from ./WordDB.h:32: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordDB.cc:18: In file included from ./WordDB.h:32: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from WordDB.cc:18: In file included from ./WordDB.h:32: In file included from ./WordReference.h:49: ./WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDB.cc:18: In file included from ./WordDB.h:32: ./WordReference.h:209:9: warning: 'WordReference::compare' hides overloaded virtual function [-Woverloaded-virtual] int compare(Object *to) { String word(((WordReference *) to)->key.GetWord()); return key.GetWord().nocase_compare(word); } ^ ../htlib/Object.h:37:14: note: hidden overloaded virtual function 'Object::compare' declared here: type mismatch at 1st parameter ('const Object &' vs 'Object *') virtual int compare(const Object &) const { return 0;} ^ 8 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordDB.cc -o WordDB.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordDBCompress.lo `test -f 'WordDBCompress.cc' || echo './'`WordDBCompress.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordDBCompress.cc -fno-common -DPIC -o .libs/WordDBCompress.o In file included from WordDBCompress.cc:22: In file included from ./WordDBPage.h:33: ./WordBitCompress.h:129:28: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(check_tag(tag)==NOTOK){errr("BitStream::get() check_tag failed");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordBitCompress.h:129:28: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ ./WordBitCompress.h:130:31: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(bitpos>=(buff.size()<<3)){errr("BitStream::get reading past end of BitStream!");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordBitCompress.h:130:31: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordDBCompress.cc:22: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordDBCompress.cc:22: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordDBCompress.cc:22: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordDBCompress.cc:22: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordDBCompress.cc:22: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from WordDBCompress.cc:22: In file included from ./WordDBPage.h:35: ./WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:103:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] errr("UNUSED"); ^~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:103:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:107:21: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] {if(Get(j)!=0){errr("WordDBKey::is_null key has 0 len word but is not null");}} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:107:21: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:124:20: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(!data || !len){errr("WordDBKey::WordDBKey(data,len) !data || !len");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:124:20: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:149:21: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(type!=P_LBTREE){errr("WordDBPage::isleave: trying leave specific on non leave");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:149:21: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:155:21: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(type!=P_IBTREE){errr("WordDBPage::isintern: trying btreeinternal specific on non btreeinternal page type");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:155:21: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:166:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] {errr("WordDBPage:get_WordDBKey: bad page type");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:166:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:175:52: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(i<0 || i>=pg->entries){printf("btikey:%d\n",i);errr("WordDBPage::btikey out iof bounds");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:175:52: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:182:51: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(i<0 || i>=pg->entries){printf("entry:%d\n",i);errr("WordDBPage::entry out iof bounds");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:182:51: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:188:51: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(i<0 || 2*i>=pg->entries){printf("key:%d\n",i);errr("WordDBPage::key out iof bounds");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:188:51: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:194:54: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(i<0 || 2*i+1>=pg->entries){printf("data:%d\n",i);errr("WordDBPage::data out iof bounds");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:194:54: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:216:6: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] errr("WordDBPage::alloc_entry: PAGE OVERFLOW"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:216:6: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:227:23: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(!(insert_indx%2)){errr("WordDBPage::insert_data data must be an odd number!");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:227:23: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:242:20: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(insert_indx%2){errr("WordDBPage::insert_key key must be an even number!");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:242:20: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:354:25: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(len==0 && i!=0){errr("WordDBPage::uncompress_key: keylen=0 && i!=0");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:354:25: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:360:23: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(len!=bti.len){errr("WordDBPage::uncompress_key: incoherence: len!=bti.len");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:360:23: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:364:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(gotdata); ^~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:364:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:374:6: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(gotdata); ^~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:374:6: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:388:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(gotdata); ^~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:388:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:471:16: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(!pg){errr("WordDBPage::delete_page: pg==NULL");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:471:16: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:478:16: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(!pg){errr("WordDBPage::unset_page: pg==NULL");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:478:16: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:485:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(pg){errr("WordDBPage::~WordDBPage: page not empty");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:485:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBCompress.cc:22: ./WordDBPage.h:492:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(pg); ^~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:492:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ 31 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordDBCompress.cc -o WordDBCompress.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordDBInfo.lo `test -f 'WordDBInfo.cc' || echo './'`WordDBInfo.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordDBInfo.cc -fno-common -DPIC -o .libs/WordDBInfo.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordDBInfo.cc -o WordDBInfo.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordDBPage.lo `test -f 'WordDBPage.cc' || echo './'`WordDBPage.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordDBPage.cc -fno-common -DPIC -o .libs/WordDBPage.o In file included from WordDBPage.cc:19: In file included from ./WordDBPage.h:33: ./WordBitCompress.h:129:28: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(check_tag(tag)==NOTOK){errr("BitStream::get() check_tag failed");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordBitCompress.h:129:28: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ ./WordBitCompress.h:130:31: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(bitpos>=(buff.size()<<3)){errr("BitStream::get reading past end of BitStream!");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordBitCompress.h:130:31: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordDBPage.cc:19: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordDBPage.cc:19: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordDBPage.cc:19: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordDBPage.cc:19: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordDBPage.cc:19: In file included from ./WordDBPage.h:34: In file included from ./WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from WordDBPage.cc:19: In file included from ./WordDBPage.h:35: ./WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:103:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] errr("UNUSED"); ^~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:103:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:107:21: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] {if(Get(j)!=0){errr("WordDBKey::is_null key has 0 len word but is not null");}} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:107:21: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:124:20: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(!data || !len){errr("WordDBKey::WordDBKey(data,len) !data || !len");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:124:20: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:149:21: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(type!=P_LBTREE){errr("WordDBPage::isleave: trying leave specific on non leave");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:149:21: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:155:21: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(type!=P_IBTREE){errr("WordDBPage::isintern: trying btreeinternal specific on non btreeinternal page type");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:155:21: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:166:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] {errr("WordDBPage:get_WordDBKey: bad page type");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:166:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:175:52: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(i<0 || i>=pg->entries){printf("btikey:%d\n",i);errr("WordDBPage::btikey out iof bounds");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:175:52: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:182:51: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(i<0 || i>=pg->entries){printf("entry:%d\n",i);errr("WordDBPage::entry out iof bounds");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:182:51: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:188:51: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(i<0 || 2*i>=pg->entries){printf("key:%d\n",i);errr("WordDBPage::key out iof bounds");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:188:51: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:194:54: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(i<0 || 2*i+1>=pg->entries){printf("data:%d\n",i);errr("WordDBPage::data out iof bounds");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:194:54: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:216:6: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] errr("WordDBPage::alloc_entry: PAGE OVERFLOW"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:216:6: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:227:23: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(!(insert_indx%2)){errr("WordDBPage::insert_data data must be an odd number!");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:227:23: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:242:20: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(insert_indx%2){errr("WordDBPage::insert_key key must be an even number!");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:242:20: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:354:25: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(len==0 && i!=0){errr("WordDBPage::uncompress_key: keylen=0 && i!=0");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:354:25: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:360:23: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(len!=bti.len){errr("WordDBPage::uncompress_key: incoherence: len!=bti.len");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:360:23: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:364:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(gotdata); ^~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:364:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:374:6: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(gotdata); ^~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:374:6: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:388:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(gotdata); ^~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:388:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:471:16: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(!pg){errr("WordDBPage::delete_page: pg==NULL");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:471:16: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:478:16: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(!pg){errr("WordDBPage::unset_page: pg==NULL");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:478:16: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:485:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(pg){errr("WordDBPage::~WordDBPage: page not empty");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:485:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordDBPage.cc:19: ./WordDBPage.h:492:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(pg); ^~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordDBPage.h:492:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:85:23: warning: overflow in expression; result is 1497366528 with type 'int' [-Winteger-overflow] if(cmp || size>8*1024*1000000000) ^ WordDBPage.cc:106:14: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(cmp){errr("Compare failed");} ^~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:106:14: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:112:12: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] }else {errr("WordDBPage::TestCompress: Compress failed");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:112:12: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:144:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] errr("WordDBPage::Uncompress: *** Compression version mismatch ***"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:144:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:161:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] errr("WordDBPage::Uncompress: CMPRTYPE incoherent"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:161:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:173:14: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(!pin){errr("WordDBPage::Uncompress: no Compressor to uncompress from!!");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:173:14: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:179:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(rnums); ^~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:179:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:182:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(rnum_sizes); ^~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:182:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:296:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(rnum_pos); ^~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:296:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:320:18: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(type!=3){errr("WordDBPage::Uncompress_rebuild: unsupported type!=3");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:320:18: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:335:58: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(rnum_pos[CNWORDDIFFLEN]>=rnum_sizes[CNWORDDIFFLEN]){errr("WordDBPage::Uncompress read wrong num worddiffs");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:335:58: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:342:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(str); ^~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:342:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:365:31: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(indx>=rnum_sizes[k]){errr("WordDBPage::Uncompress read wrong num of changes in a field");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:365:31: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:398:18: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(type!=3){errr("WordDBPage::Uncompress_rebuild: unsupported type!=3");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:398:18: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:444:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(res); ^~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:444:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:460:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(res); ^~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:460:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:494:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(nums); ^~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:494:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:496:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(nums_pos); ^~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:496:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:583:18: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(type!=3){errr("WordDBPage::Compress_extract_vals_wordiffs: unsupported type!=3");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:583:18: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:699:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] CHECK_MEM(cnindexe2); ^~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:699:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:49:29: note: expanded from macro 'CHECK_MEM' #define CHECK_MEM(p) if(!p) errr("mifluz: Out of memory!"); ^ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:844:18: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] if(type!=3){errr("WordDBPage::Compare: unsupported type!=3");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^~~~~~~~~~~ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ WordDBPage.cc:844:18: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordBitCompress.h:48:55: note: expanded from macro 'errr' #define errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);FATAL_ABORT;} ^ ./WordBitCompress.h:47:125: note: expanded from macro 'FATAL_ABORT' #define FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordDBPage.cc:926:11: warning: variable 'pagecl' set but not used [-Wunused-but-set-variable] int pagecl=0; ^ 53 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordDBPage.cc -o WordDBPage.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordKey.lo `test -f 'WordKey.cc' || echo './'`WordKey.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordKey.cc -fno-common -DPIC -o .libs/WordKey.o In file included from WordKey.cc:27: In file included from ./WordKey.h:72: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordKey.cc:27: In file included from ./WordKey.h:72: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordKey.cc:27: In file included from ./WordKey.h:72: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordKey.cc:27: In file included from ./WordKey.h:72: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordKey.cc:27: In file included from ./WordKey.h:72: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordKey.cc:27: In file included from ./WordKey.h:72: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from WordKey.cc:27: ./WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ WordKey.cc:374:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 8 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordKey.cc -o WordKey.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordKeyInfo.lo `test -f 'WordKeyInfo.cc' || echo './'`WordKeyInfo.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordKeyInfo.cc -fno-common -DPIC -o .libs/WordKeyInfo.o In file included from WordKeyInfo.cc:18: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordKeyInfo.cc:18: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordKeyInfo.cc:18: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordKeyInfo.cc:18: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordKeyInfo.cc:18: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordKeyInfo.cc:18: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordKeyInfo.cc -o WordKeyInfo.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordList.lo `test -f 'WordList.cc' || echo './'`WordList.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordList.cc -fno-common -DPIC -o .libs/WordList.o In file included from WordList.cc:29: In file included from ./WordList.h:79: In file included from ./WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordList.cc:29: In file included from ./WordList.h:79: In file included from ./WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordList.cc:29: In file included from ./WordList.h:79: In file included from ./WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordList.cc:29: In file included from ./WordList.h:79: In file included from ./WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordList.cc:29: In file included from ./WordList.h:79: In file included from ./WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordList.cc:29: In file included from ./WordList.h:79: In file included from ./WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from WordList.cc:29: In file included from ./WordList.h:80: In file included from ./WordReference.h:49: ./WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordList.cc:29: In file included from ./WordList.h:80: ./WordReference.h:209:9: warning: 'WordReference::compare' hides overloaded virtual function [-Woverloaded-virtual] int compare(Object *to) { String word(((WordReference *) to)->key.GetWord()); return key.GetWord().nocase_compare(word); } ^ ../htlib/Object.h:37:14: note: hidden overloaded virtual function 'Object::compare' declared here: type mismatch at 1st parameter ('const Object &' vs 'Object *') virtual int compare(const Object &) const { return 0;} ^ 8 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordList.cc -o WordList.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordMonitor.lo `test -f 'WordMonitor.cc' || echo './'`WordMonitor.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordMonitor.cc -fno-common -DPIC -o .libs/WordMonitor.o In file included from WordMonitor.cc:24: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordMonitor.cc:24: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordMonitor.cc:24: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordMonitor.cc:24: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordMonitor.cc:24: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordMonitor.cc:24: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordMonitor.cc -o WordMonitor.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordRecord.lo `test -f 'WordRecord.cc' || echo './'`WordRecord.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordRecord.cc -fno-common -DPIC -o .libs/WordRecord.o In file included from WordRecord.cc:19: In file included from ./WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordRecord.cc:19: In file included from ./WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordRecord.cc:19: In file included from ./WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordRecord.cc:19: In file included from ./WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordRecord.cc:19: In file included from ./WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordRecord.cc:19: In file included from ./WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordRecord.cc -o WordRecord.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordRecordInfo.lo `test -f 'WordRecordInfo.cc' || echo './'`WordRecordInfo.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordRecordInfo.cc -fno-common -DPIC -o .libs/WordRecordInfo.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordRecordInfo.cc -o WordRecordInfo.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordReference.lo `test -f 'WordReference.cc' || echo './'`WordReference.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordReference.cc -fno-common -DPIC -o .libs/WordReference.o In file included from WordReference.cc:17: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordReference.cc:17: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordReference.cc:17: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordReference.cc:17: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordReference.cc:17: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordReference.cc:17: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from WordReference.cc:17: In file included from ./WordReference.h:49: ./WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordReference.cc:17: ./WordReference.h:209:9: warning: 'WordReference::compare' hides overloaded virtual function [-Woverloaded-virtual] int compare(Object *to) { String word(((WordReference *) to)->key.GetWord()); return key.GetWord().nocase_compare(word); } ^ ../htlib/Object.h:37:14: note: hidden overloaded virtual function 'Object::compare' declared here: type mismatch at 1st parameter ('const Object &' vs 'Object *') virtual int compare(const Object &) const { return 0;} ^ 8 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordReference.cc -o WordReference.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordStat.lo `test -f 'WordStat.cc' || echo './'`WordStat.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordStat.cc -fno-common -DPIC -o .libs/WordStat.o In file included from WordStat.cc:17: In file included from ./WordStat.h:18: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from WordStat.cc:17: In file included from ./WordStat.h:18: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from WordStat.cc:17: In file included from ./WordStat.h:18: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from WordStat.cc:17: In file included from ./WordStat.h:18: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from WordStat.cc:17: In file included from ./WordStat.h:18: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from WordStat.cc:17: In file included from ./WordStat.h:18: In file included from ./WordReference.h:48: In file included from ./WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from WordStat.cc:17: In file included from ./WordStat.h:18: In file included from ./WordReference.h:49: ./WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ./WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ./WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ./WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from WordStat.cc:17: In file included from ./WordStat.h:18: ./WordReference.h:209:9: warning: 'WordReference::compare' hides overloaded virtual function [-Woverloaded-virtual] int compare(Object *to) { String word(((WordReference *) to)->key.GetWord()); return key.GetWord().nocase_compare(word); } ^ ../htlib/Object.h:37:14: note: hidden overloaded virtual function 'Object::compare' declared here: type mismatch at 1st parameter ('const Object &' vs 'Object *') virtual int compare(const Object &) const { return 0;} ^ 8 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordStat.cc -o WordStat.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o WordType.lo `test -f 'WordType.cc' || echo './'`WordType.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordType.cc -fno-common -DPIC -o .libs/WordType.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c WordType.cc -o WordType.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=link clang++ -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -L/opt/pkg/lib -o libhtword.la -rpath /opt/pkg/lib/htdig -release 3.2.0 WordBitCompress.lo WordContext.lo WordCursor.lo WordDB.lo WordDBCompress.lo WordDBInfo.lo WordDBPage.lo WordKey.lo WordKeyInfo.lo WordList.lo WordMonitor.lo WordRecord.lo WordRecordInfo.lo WordReference.lo WordStat.lo WordType.lo -lz libtool: link: clang++ -r -keep_private_externs -nostdlib -o .libs/libhtword-3.2.0.dylib-master.o .libs/WordBitCompress.o .libs/WordContext.o .libs/WordCursor.o .libs/WordDB.o .libs/WordDBCompress.o .libs/WordDBInfo.o .libs/WordDBPage.o .libs/WordKey.o .libs/WordKeyInfo.o .libs/WordList.o .libs/WordMonitor.o .libs/WordRecord.o .libs/WordRecordInfo.o .libs/WordReference.o .libs/WordStat.o .libs/WordType.o libtool: link: clang++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libhtword-3.2.0.dylib .libs/libhtword-3.2.0.dylib-master.o -L/Users/pbulk/build/www/htdig/work/.buildlink/lib /Users/pbulk/build/www/htdig/work/.buildlink/lib/libz.dylib -Os -install_name /opt/pkg/lib/htdig/libhtword-3.2.0.dylib libtool: link: (cd ".libs" && rm -f "libhtword.dylib" && ln -s "libhtword-3.2.0.dylib" "libhtword.dylib") libtool: link: ar cr .libs/libhtword.a WordBitCompress.o WordContext.o WordCursor.o WordDB.o WordDBCompress.o WordDBInfo.o WordDBPage.o WordKey.o WordKeyInfo.o WordList.o WordMonitor.o WordRecord.o WordRecordInfo.o WordReference.o WordStat.o WordType.o libtool: link: ranlib .libs/libhtword.a libtool: link: ( cd ".libs" && rm -f "libhtword.la" && ln -s "../libhtword.la" "libhtword.la" ) Making all in htcommon /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o DocumentDB.lo `test -f 'DocumentDB.cc' || echo './'`DocumentDB.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c DocumentDB.cc -fno-common -DPIC -o .libs/DocumentDB.o In file included from DocumentDB.cc:23: In file included from ./DocumentDB.h:22: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from DocumentDB.cc:23: In file included from ./DocumentDB.h:22: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from DocumentDB.cc:23: In file included from ./DocumentDB.h:22: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from DocumentDB.cc:23: In file included from ./DocumentDB.h:22: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from DocumentDB.cc:23: In file included from ./DocumentDB.h:22: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from DocumentDB.cc:23: In file included from ./DocumentDB.h:22: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from DocumentDB.cc:23: In file included from ./DocumentDB.h:22: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:80: In file included from ../htword/WordReference.h:49: ../htword/WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../htword/WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ../htword/WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ../htword/WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../htword/WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ../htword/WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from DocumentDB.cc:23: In file included from ./DocumentDB.h:22: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:80: ../htword/WordReference.h:209:9: warning: 'WordReference::compare' hides overloaded virtual function [-Woverloaded-virtual] int compare(Object *to) { String word(((WordReference *) to)->key.GetWord()); return key.GetWord().nocase_compare(word); } ^ ../htlib/Object.h:37:14: note: hidden overloaded virtual function 'Object::compare' declared here: type mismatch at 1st parameter ('const Object &' vs 'Object *') virtual int compare(const Object &) const { return 0;} ^ 8 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c DocumentDB.cc -o DocumentDB.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o DocumentRef.lo `test -f 'DocumentRef.cc' || echo './'`DocumentRef.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c DocumentRef.cc -fno-common -DPIC -o .libs/DocumentRef.o In file included from DocumentRef.cc:21: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from DocumentRef.cc:21: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from DocumentRef.cc:21: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from DocumentRef.cc:21: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from DocumentRef.cc:21: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from DocumentRef.cc:21: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from DocumentRef.cc:21: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:80: In file included from ../htword/WordReference.h:49: ../htword/WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../htword/WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ../htword/WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ../htword/WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../htword/WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ../htword/WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from DocumentRef.cc:21: In file included from ./DocumentRef.h:22: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:80: ../htword/WordReference.h:209:9: warning: 'WordReference::compare' hides overloaded virtual function [-Woverloaded-virtual] int compare(Object *to) { String word(((WordReference *) to)->key.GetWord()); return key.GetWord().nocase_compare(word); } ^ ../htlib/Object.h:37:14: note: hidden overloaded virtual function 'Object::compare' declared here: type mismatch at 1st parameter ('const Object &' vs 'Object *') virtual int compare(const Object &) const { return 0;} ^ DocumentRef.cc:262:5: warning: result of comparison of constant 254 with expression of type 'ReferenceState' is always true [-Wtautological-constant-out-of-range-compare] addnum(DOC_STATE, s, docState); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DocumentRef.cc:158:12: note: expanded from macro 'addnum' if (var <= (unsigned char) ~1) \ ~~~ ^ ~~~~~~~~~~~~~~~~~~ DocumentRef.cc:262:5: warning: result of comparison of constant 65534 with expression of type 'ReferenceState' is always true [-Wtautological-constant-out-of-range-compare] addnum(DOC_STATE, s, docState); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DocumentRef.cc:164:17: note: expanded from macro 'addnum' else if (var <= (unsigned short int) ~1) \ ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c DocumentRef.cc -o DocumentRef.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtWordReference.lo `test -f 'HtWordReference.cc' || echo './'`HtWordReference.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtWordReference.cc -fno-common -DPIC -o .libs/HtWordReference.o In file included from HtWordReference.cc:17: In file included from ./HtWordReference.h:18: In file included from ../htword/WordReference.h:48: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from HtWordReference.cc:17: In file included from ./HtWordReference.h:18: In file included from ../htword/WordReference.h:48: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from HtWordReference.cc:17: In file included from ./HtWordReference.h:18: In file included from ../htword/WordReference.h:48: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from HtWordReference.cc:17: In file included from ./HtWordReference.h:18: In file included from ../htword/WordReference.h:48: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from HtWordReference.cc:17: In file included from ./HtWordReference.h:18: In file included from ../htword/WordReference.h:48: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from HtWordReference.cc:17: In file included from ./HtWordReference.h:18: In file included from ../htword/WordReference.h:48: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from HtWordReference.cc:17: In file included from ./HtWordReference.h:18: In file included from ../htword/WordReference.h:49: ../htword/WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../htword/WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ../htword/WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ../htword/WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../htword/WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ../htword/WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from HtWordReference.cc:17: In file included from ./HtWordReference.h:18: ../htword/WordReference.h:209:9: warning: 'WordReference::compare' hides overloaded virtual function [-Woverloaded-virtual] int compare(Object *to) { String word(((WordReference *) to)->key.GetWord()); return key.GetWord().nocase_compare(word); } ^ ../htlib/Object.h:37:14: note: hidden overloaded virtual function 'Object::compare' declared here: type mismatch at 1st parameter ('const Object &' vs 'Object *') virtual int compare(const Object &) const { return 0;} ^ 8 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtWordReference.cc -o HtWordReference.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtWordList.lo `test -f 'HtWordList.cc' || echo './'`HtWordList.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtWordList.cc -fno-common -DPIC -o .libs/HtWordList.o In file included from HtWordList.cc:20: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from HtWordList.cc:20: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from HtWordList.cc:20: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from HtWordList.cc:20: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from HtWordList.cc:20: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from HtWordList.cc:20: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:79: In file included from ../htword/WordRecord.h:44: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ In file included from HtWordList.cc:20: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:80: In file included from ../htword/WordReference.h:49: ../htword/WordKey.h:174:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] word_errr("WordKey::initialize"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../htword/WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^~~~~~~~~~~~~~~~ ../htword/WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^~~~~~~~~~~~ ../htword/WordKey.h:174:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../htword/WordKey.h:129:60: note: expanded from macro 'word_errr' #define word_errr(s) {fprintf(stderr,"FATAL ERROR:%s\n",s);WORD_FATAL_ABORT;} ^ ../htword/WordKey.h:128:130: note: expanded from macro 'WORD_FATAL_ABORT' #define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1 ^ In file included from HtWordList.cc:20: In file included from ./HtWordList.h:23: In file included from ../htword/WordList.h:80: ../htword/WordReference.h:209:9: warning: 'WordReference::compare' hides overloaded virtual function [-Woverloaded-virtual] int compare(Object *to) { String word(((WordReference *) to)->key.GetWord()); return key.GetWord().nocase_compare(word); } ^ ../htlib/Object.h:37:14: note: hidden overloaded virtual function 'Object::compare' declared here: type mismatch at 1st parameter ('const Object &' vs 'Object *') virtual int compare(const Object &) const { return 0;} ^ 8 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtWordList.cc -o HtWordList.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o defaults.lo `test -f 'defaults.cc' || echo './'`defaults.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c defaults.cc -fno-common -DPIC -o .libs/defaults.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c defaults.cc -o defaults.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtURLCodec.lo `test -f 'HtURLCodec.cc' || echo './'`HtURLCodec.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtURLCodec.cc -fno-common -DPIC -o .libs/HtURLCodec.o In file included from HtURLCodec.cc:22: In file included from ./HtURLCodec.h:21: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from HtURLCodec.cc:22: In file included from ./HtURLCodec.h:21: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from HtURLCodec.cc:22: In file included from ./HtURLCodec.h:21: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from HtURLCodec.cc:22: In file included from ./HtURLCodec.h:21: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from HtURLCodec.cc:22: In file included from ./HtURLCodec.h:21: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from HtURLCodec.cc:22: In file included from ./HtURLCodec.h:21: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtURLCodec.cc -o HtURLCodec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o URL.lo `test -f 'URL.cc' || echo './'`URL.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c URL.cc -fno-common -DPIC -o .libs/URL.o In file included from URL.cc:22: In file included from ../htlib/QuotedStringList.h:20: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from URL.cc:22: In file included from ../htlib/QuotedStringList.h:20: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from URL.cc:22: In file included from ../htlib/QuotedStringList.h:20: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from URL.cc:22: In file included from ../htlib/QuotedStringList.h:20: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from URL.cc:22: In file included from ../htlib/QuotedStringList.h:20: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from URL.cc:22: In file included from ../htlib/QuotedStringList.h:20: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ URL.cc:496:9: warning: variable 'leadingdotdot' set but not used [-Wunused-but-set-variable] int leadingdotdot = 0; ^ URL.cc:673:16: warning: variable 'hits' set but not used [-Wunused-but-set-variable] static int hits = 0, misses = 0; ^ URL.cc:673:26: warning: variable 'misses' set but not used [-Wunused-but-set-variable] static int hits = 0, misses = 0; ^ 9 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c URL.cc -o URL.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o URLTrans.lo `test -f 'URLTrans.cc' || echo './'`URLTrans.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c URLTrans.cc -fno-common -DPIC -o .libs/URLTrans.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c URLTrans.cc -o URLTrans.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtZlibCodec.lo `test -f 'HtZlibCodec.cc' || echo './'`HtZlibCodec.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtZlibCodec.cc -fno-common -DPIC -o .libs/HtZlibCodec.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtZlibCodec.cc -o HtZlibCodec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o cgi.lo `test -f 'cgi.cc' || echo './'`cgi.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c cgi.cc -fno-common -DPIC -o .libs/cgi.o In file included from cgi.cc:27: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from cgi.cc:27: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from cgi.cc:27: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from cgi.cc:27: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from cgi.cc:27: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from cgi.cc:27: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c cgi.cc -o cgi.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtSGMLCodec.lo `test -f 'HtSGMLCodec.cc' || echo './'`HtSGMLCodec.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtSGMLCodec.cc -fno-common -DPIC -o .libs/HtSGMLCodec.o In file included from HtSGMLCodec.cc:20: In file included from ./HtSGMLCodec.h:18: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from HtSGMLCodec.cc:20: In file included from ./HtSGMLCodec.h:18: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from HtSGMLCodec.cc:20: In file included from ./HtSGMLCodec.h:18: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from HtSGMLCodec.cc:20: In file included from ./HtSGMLCodec.h:18: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from HtSGMLCodec.cc:20: In file included from ./HtSGMLCodec.h:18: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from HtSGMLCodec.cc:20: In file included from ./HtSGMLCodec.h:18: In file included from ../htlib/HtWordCodec.h:24: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtSGMLCodec.cc -o HtSGMLCodec.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtConfiguration.lo `test -f 'HtConfiguration.cc' || echo './'`HtConfiguration.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtConfiguration.cc -fno-common -DPIC -o .libs/HtConfiguration.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtConfiguration.cc -o HtConfiguration.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o HtURLRewriter.lo `test -f 'HtURLRewriter.cc' || echo './'`HtURLRewriter.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtURLRewriter.cc -fno-common -DPIC -o .libs/HtURLRewriter.o In file included from HtURLRewriter.cc:17: In file included from ./HtURLRewriter.h:19: In file included from ../htlib/HtRegexReplaceList.h:20: In file included from ../htlib/HtRegexReplace.h:22: In file included from ../htlib/HtRegex.h:24: ../htlib/StringList.h:47:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(const char *); ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Add(Object *); ^ In file included from HtURLRewriter.cc:17: In file included from ./HtURLRewriter.h:19: In file included from ../htlib/HtRegexReplaceList.h:20: In file included from ../htlib/HtRegexReplace.h:22: In file included from ../htlib/HtRegex.h:24: ../htlib/StringList.h:48:11: warning: 'StringList::Add' hides overloaded virtual function [-Woverloaded-virtual] void Add(String *obj) { List::Add(obj); } ^ ../htlib/List.h:77:18: note: hidden overloaded virtual function 'List::Add' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Add(Object *); ^ In file included from HtURLRewriter.cc:17: In file included from ./HtURLRewriter.h:19: In file included from ../htlib/HtRegexReplaceList.h:20: In file included from ../htlib/HtRegexReplace.h:22: In file included from ../htlib/HtRegex.h:24: ../htlib/StringList.h:49:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(const char *, int pos); ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Insert(Object *, int position); ^ In file included from HtURLRewriter.cc:17: In file included from ./HtURLRewriter.h:19: In file included from ../htlib/HtRegexReplaceList.h:20: In file included from ../htlib/HtRegexReplace.h:22: In file included from ../htlib/HtRegex.h:24: ../htlib/StringList.h:50:11: warning: 'StringList::Insert' hides overloaded virtual function [-Woverloaded-virtual] void Insert(String *obj, int pos) { List::Insert(obj, pos); } ^ ../htlib/List.h:85:18: note: hidden overloaded virtual function 'List::Insert' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Insert(Object *, int position); ^ In file included from HtURLRewriter.cc:17: In file included from ./HtURLRewriter.h:19: In file included from ../htlib/HtRegexReplaceList.h:20: In file included from ../htlib/HtRegexReplace.h:22: In file included from ../htlib/HtRegex.h:24: ../htlib/StringList.h:51:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(const char *, int pos); ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'const char *') virtual void Assign(Object *, int position); ^ In file included from HtURLRewriter.cc:17: In file included from ./HtURLRewriter.h:19: In file included from ../htlib/HtRegexReplaceList.h:20: In file included from ../htlib/HtRegexReplace.h:22: In file included from ../htlib/HtRegex.h:24: ../htlib/StringList.h:52:11: warning: 'StringList::Assign' hides overloaded virtual function [-Woverloaded-virtual] void Assign(String *obj, int pos) { List::Assign(obj, pos); } ^ ../htlib/List.h:94:18: note: hidden overloaded virtual function 'List::Assign' declared here: type mismatch at 1st parameter ('Object *' vs 'String *') virtual void Assign(Object *, int position); ^ 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c HtURLRewriter.cc -o HtURLRewriter.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o conf_lexer.lo `test -f 'conf_lexer.cxx' || echo './'`conf_lexer.cxx libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c conf_lexer.cxx -fno-common -DPIC -o .libs/conf_lexer.o conf_lexer.cxx:1391:16: warning: function 'yyinput' is not needed and will not be emitted [-Wunneeded-internal-declaration] static int yyinput (void) ^ 1 warning generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c conf_lexer.cxx -o conf_lexer.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o conf_parser.lo `test -f 'conf_parser.cxx' || echo './'`conf_parser.cxx libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c conf_parser.cxx -fno-common -DPIC -o .libs/conf_parser.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -DBIN_DIR=\"/opt/pkg/bin\" -DCOMMON_DIR=\"/opt/pkg/share/htdig/common\" -DCONFIG_DIR=\"/opt/pkg/etc/htdig\" -DDATABASE_DIR=\"/var/db/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c conf_parser.cxx -o conf_parser.o >/dev/null 2>&1 /opt/pkg/bin/mksh ../libtool --mode=link clang++ -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -L/opt/pkg/lib -o libcommon.la -rpath /opt/pkg/lib/htdig -release 3.2.0 DocumentDB.lo DocumentRef.lo HtWordReference.lo HtWordList.lo defaults.lo HtURLCodec.lo URL.lo URLTrans.lo HtZlibCodec.lo cgi.lo HtSGMLCodec.lo HtConfiguration.lo HtURLRewriter.lo conf_lexer.lo conf_parser.lo -lz libtool: link: clang++ -r -keep_private_externs -nostdlib -o .libs/libcommon-3.2.0.dylib-master.o .libs/DocumentDB.o .libs/DocumentRef.o .libs/HtWordReference.o .libs/HtWordList.o .libs/defaults.o .libs/HtURLCodec.o .libs/URL.o .libs/URLTrans.o .libs/HtZlibCodec.o .libs/cgi.o .libs/HtSGMLCodec.o .libs/HtConfiguration.o .libs/HtURLRewriter.o .libs/conf_lexer.o .libs/conf_parser.o libtool: link: clang++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libcommon-3.2.0.dylib .libs/libcommon-3.2.0.dylib-master.o -L/Users/pbulk/build/www/htdig/work/.buildlink/lib /Users/pbulk/build/www/htdig/work/.buildlink/lib/libz.dylib -Os -install_name /opt/pkg/lib/htdig/libcommon-3.2.0.dylib libtool: link: (cd ".libs" && rm -f "libcommon.dylib" && ln -s "libcommon-3.2.0.dylib" "libcommon.dylib") libtool: link: ar cr .libs/libcommon.a DocumentDB.o DocumentRef.o HtWordReference.o HtWordList.o defaults.o HtURLCodec.o URL.o URLTrans.o HtZlibCodec.o cgi.o HtSGMLCodec.o HtConfiguration.o HtURLRewriter.o conf_lexer.o conf_parser.o libtool: link: ranlib .libs/libcommon.a libtool: link: ( cd ".libs" && rm -f "libcommon.la" && ln -s "../libcommon.la" "libcommon.la" ) Making all in htnet /opt/pkg/bin/mksh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c -o Connection.lo `test -f 'Connection.cc' || echo './'`Connection.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/pkg/etc/htdig/htdig.conf\" -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I/Users/pbulk/build/www/htdig/work/.buildlink/include -pipe -Os -Wno-deprecated -Wall -fno-rtti -fno-exceptions -c Connection.cc -fno-common -DPIC -o .libs/Connection.o Connection.cc:297:12: warning: variable 'alias_list' set but not used [-Wunused-but-set-variable] char **alias_list; ^ Connection.cc:725:11: error: no matching function for call to '__darwin_fd_set' FD_SET(sock, &fds); ^~~~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/_types/_fd_set.h:29:25: note: expanded from macro 'FD_SET' #define FD_SET(n, p) __DARWIN_FD_SET(n, p) ^~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/_types/_fd_def.h:106:33: note: expanded from macro '__DARWIN_FD_SET' #define __DARWIN_FD_SET(n, p) __darwin_fd_set((n), (p)) ^~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/_types/_fd_def.h:90:1: note: candidate function not viable: no known conversion from 'int *' to 'struct fd_set *const' for 2nd argument __darwin_fd_set(int _fd, struct fd_set *const _p) ^ Connection.cc:731:26: error: no matching function for call to 'select' int selected = select(sock+1, &fds, 0, 0, &tv); ^~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/_select.h:43:10: note: candidate function not viable: no known conversion from 'int *' to 'fd_set *' for 2nd argument int select(int, fd_set * __restrict, fd_set * __restrict, ^ 1 warning and 2 errors generated. *** [Connection.lo] Error code 1 bmake[1]: stopped making "all" in /Users/pbulk/build/www/htdig/work/htdig-3.2.0b6/htnet bmake[1]: 1 error bmake[1]: stopped making "all" in /Users/pbulk/build/www/htdig/work/htdig-3.2.0b6/htnet *** [all-recursive] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/www/htdig/work/htdig-3.2.0b6 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/www/htdig/work/htdig-3.2.0b6 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/htdig *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/htdig