>>> Building on exopi-4 under databases/db/v3,-main BDEPENDS = [lang/tcl/8.5] DIST = [databases/db/v3,-tcl:db-3.1.17.tar.gz] FULLPKGNAME = db-3.1.17p3v0 (Junk lock obtained for exopi-4 at 1732125469.63) >>> Running depends in databases/db/v3,-main at 1732125469.65 /usr/sbin/pkg_add -aI -Drepair tcl-8.5.19p6 was: /usr/sbin/pkg_add -aI -Drepair tcl-8.5.19p6 /usr/sbin/pkg_add -aI -Drepair tcl-8.5.19p6 New and changed readme(s): /usr/local/share/doc/pkg-readmes/tcl-8.5 --- +tcl-8.5.19p6 ------------------- You may wish to add /usr/local/lib/tcl/tcl8.5/man to /etc/man.conf >>> Running show-prepare-results in databases/db/v3,-main at 1732125473.02 ===> databases/db/v3,-main ===> Building from scratch db-3.1.17 ===> db-3.1.17p3v0 depends on: tcl->=8.5,<8.6 -> tcl-8.5.19p6 ===> Verifying specs: c m tcl85 ===> found c.100.3 m.10.1 tcl85.1.8 tcl-8.5.19p6 (Junk lock released for exopi-4 at 1732125474.13) distfiles size=1954117 >>> Running patch in databases/db/v3,-main at 1732125474.15 ===> databases/db/v3,-main ===> Checking files for db-3.1.17 `/exopi-cvs/ports/distfiles/db-3.1.17.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for db-3.1.17 ===> Patching for db-3.1.17 ===> Applying OpenBSD patch patch-cxx_cxx_app_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- cxx/cxx_app.cpp.orig Sun Apr 16 21:46:54 2017 |+++ cxx/cxx_app.cpp Sun Apr 16 21:47:04 2017 -------------------------- Patching file cxx/cxx_app.cpp using Plan A... Hunk #1 succeeded at 57. Hunk #2 succeeded at 287. done ===> Applying OpenBSD patch patch-cxx_cxx_table_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- cxx/cxx_table.cpp.orig Sun Apr 16 21:47:49 2017 |+++ cxx/cxx_table.cpp Sun Apr 16 21:48:01 2017 -------------------------- Patching file cxx/cxx_table.cpp using Plan A... Hunk #1 succeeded at 520. Hunk #2 succeeded at 545. Hunk #3 succeeded at 635. done ===> Applying OpenBSD patch patch-db_db_cam_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- db/db_cam.c.orig Wed Jul 26 23:20:05 2000 |+++ db/db_cam.c Thu Oct 28 12:28:52 2010 -------------------------- Patching file db/db_cam.c using Plan A... Hunk #1 succeeded at 13. done ===> Applying OpenBSD patch patch-dist_Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- dist/Makefile.in.orig Tue Jul 18 17:37:57 2000 |+++ dist/Makefile.in Tue Jul 9 19:05:04 2013 -------------------------- Patching file dist/Makefile.in using Plan A... Hunk #1 succeeded at 26. Hunk #2 succeeded at 36. Hunk #3 succeeded at 51. Hunk #4 succeeded at 73. Hunk #5 succeeded at 88. Hunk #6 succeeded at 114. Hunk #7 succeeded at 236. Hunk #8 succeeded at 248. Hunk #9 succeeded at 401. Hunk #10 succeeded at 409. done ===> Applying OpenBSD patch patch-dist_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- dist/configure.orig Mon Jul 31 18:58:18 2000 |+++ dist/configure Thu Oct 28 12:28:52 2010 -------------------------- Patching file dist/configure using Plan A... Hunk #1 succeeded at 728. Hunk #2 succeeded at 1602. Hunk #3 succeeded at 1614. Hunk #4 succeeded at 1937. Hunk #5 succeeded at 3912. Hunk #6 succeeded at 5360. done ===> Applying OpenBSD patch patch-dist_s_tcl Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- dist/s_tcl.orig Thu May 11 21:36:08 2000 |+++ dist/s_tcl Thu Aug 30 21:01:38 2001 -------------------------- Patching file dist/s_tcl using Plan A... Hunk #1 succeeded at 11. done ===> Applying OpenBSD patch patch-env_env_open_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- env/env_open.c.orig Fri Jun 30 15:34:54 2000 |+++ env/env_open.c Thu Oct 28 12:28:52 2010 -------------------------- Patching file env/env_open.c using Plan A... Hunk #1 succeeded at 784. Hunk #2 succeeded at 840. done ===> Applying OpenBSD patch patch-include_db_cxx_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- include/db_cxx.h.orig Sun Apr 16 21:43:45 2017 |+++ include/db_cxx.h Sun Apr 16 21:46:09 2017 -------------------------- Patching file include/db_cxx.h using Plan A... Hunk #1 succeeded at 49. Hunk #2 succeeded at 390. Hunk #3 succeeded at 469. Hunk #4 succeeded at 532. done ===> Applying OpenBSD patch patch-include_tcl_db_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: include/tcl_db.h |--- include/tcl_db.h.orig |+++ include/tcl_db.h -------------------------- Patching file include/tcl_db.h using Plan A... Hunk #1 succeeded at 114. done ===> Applying OpenBSD patch patch-tcl_tcl_compat_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tcl/tcl_compat.c.orig Mon May 22 20:36:50 2000 |+++ tcl/tcl_compat.c Thu Oct 28 12:28:52 2010 -------------------------- Patching file tcl/tcl_compat.c using Plan A... Hunk #1 succeeded at 74. Hunk #2 succeeded at 105. Hunk #3 succeeded at 201. Hunk #4 succeeded at 345. Hunk #5 succeeded at 433. Hunk #6 succeeded at 606. Hunk #7 succeeded at 675. Hunk #8 succeeded at 733. Hunk #9 succeeded at 965. done ===> Applying OpenBSD patch patch-tcl_tcl_db_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tcl/tcl_db.c.orig Mon May 22 20:36:50 2000 |+++ tcl/tcl_db.c Thu Oct 28 12:28:52 2010 -------------------------- Patching file tcl/tcl_db.c using Plan A... Hunk #1 succeeded at 121. Hunk #2 succeeded at 513. Hunk #3 succeeded at 532. Hunk #4 succeeded at 712. Hunk #5 succeeded at 1071. Hunk #6 succeeded at 1286. Hunk #7 succeeded at 1359. Hunk #8 succeeded at 1450. Hunk #9 succeeded at 1680. done ===> Applying OpenBSD patch patch-tcl_tcl_db_pkg_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: tcl/tcl_db_pkg.c |--- tcl/tcl_db_pkg.c.orig |+++ tcl/tcl_db_pkg.c -------------------------- Patching file tcl/tcl_db_pkg.c using Plan A... Hunk #1 succeeded at 24. Hunk #2 succeeded at 165. Hunk #3 succeeded at 424. Hunk #4 succeeded at 492. Hunk #5 succeeded at 816. Hunk #6 succeeded at 1082. Hunk #7 succeeded at 1142. Hunk #8 succeeded at 1599. Hunk #9 succeeded at 1724. Hunk #10 succeeded at 1863. Hunk #11 succeeded at 2002. Hunk #12 succeeded at 2111. done ===> Applying OpenBSD patch patch-tcl_tcl_dbcursor_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tcl/tcl_dbcursor.c.orig 2004-01-08 23:26:05.000000000 +0100 |+++ tcl/tcl_dbcursor.c 2004-01-08 23:26:46.000000000 +0100 -------------------------- Patching file tcl/tcl_dbcursor.c using Plan A... Hunk #1 succeeded at 83. Hunk #2 succeeded at 175. Hunk #3 succeeded at 400. Hunk #4 succeeded at 671. done ===> Applying OpenBSD patch patch-tcl_tcl_env_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tcl/tcl_env.c.orig Wed May 10 22:12:18 2000 |+++ tcl/tcl_env.c Thu Oct 28 12:28:52 2010 -------------------------- Patching file tcl/tcl_env.c using Plan A... Hunk #1 succeeded at 127. Hunk #2 succeeded at 309. Hunk #3 succeeded at 525. Hunk #4 succeeded at 545. Hunk #5 succeeded at 617. Hunk #6 succeeded at 637. done ===> Applying OpenBSD patch patch-tcl_tcl_lock_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tcl/tcl_lock.c.orig 2004-01-08 23:28:00.000000000 +0100 |+++ tcl/tcl_lock.c 2004-01-08 23:28:47.000000000 +0100 -------------------------- Patching file tcl/tcl_lock.c using Plan A... Hunk #1 succeeded at 78. Hunk #2 succeeded at 181. Hunk #3 succeeded at 302. Hunk #4 succeeded at 361. Hunk #5 succeeded at 407. Hunk #6 succeeded at 527. done ===> Applying OpenBSD patch patch-tcl_tcl_log_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tcl/tcl_log.c.orig 2004-01-08 23:28:53.000000000 +0100 |+++ tcl/tcl_log.c 2004-01-08 23:29:18.000000000 +0100 -------------------------- Patching file tcl/tcl_log.c using Plan A... Hunk #1 succeeded at 57. Hunk #2 succeeded at 272. Hunk #3 succeeded at 394. done ===> Applying OpenBSD patch patch-tcl_tcl_mp_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tcl/tcl_mp.c.orig Wed May 17 21:40:01 2000 |+++ tcl/tcl_mp.c Thu Oct 28 12:28:52 2010 -------------------------- Patching file tcl/tcl_mp.c using Plan A... Hunk #1 succeeded at 187. Hunk #2 succeeded at 434. Hunk #3 succeeded at 506. Hunk #4 succeeded at 640. Hunk #5 succeeded at 697. done ===> Applying OpenBSD patch patch-tcl_tcl_txn_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tcl/tcl_txn.c.orig Fri Apr 21 20:18:58 2000 |+++ tcl/tcl_txn.c Thu Oct 28 12:28:53 2010 -------------------------- Patching file tcl/tcl_txn.c using Plan A... Hunk #1 succeeded at 90. Hunk #2 succeeded at 163. Hunk #3 succeeded at 371. Hunk #4 succeeded at 451. done ===> Applying OpenBSD patch patch-test_include_tcl Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- test/include.tcl.orig Mon Jul 31 19:58:22 2000 |+++ test/include.tcl Thu Aug 30 21:02:41 2001 -------------------------- Patching file test/include.tcl using Plan A... Hunk #1 succeeded at 1. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in databases/db/v3,-main at 1732125476.53 ===> databases/db/v3,-main ===> Generating configure for db-3.1.17 ===> Configuring for db-3.1.17 Using /exopi-obj/pobj/db-3.1.17/config.site (generated) loading site script /exopi-obj/pobj/db-3.1.17/config.site creating cache ./config.cache checking for a BSD compatible install... /exopi-obj/pobj/db-3.1.17/bin/install -c checking host system type... x86_64-unknown-openbsd7.6 checking if building in the top-level directory... no checking if --disable-bigfile option specified... no checking if --enable-compat185 option specified... yes checking if --enable-cxx option specified... yes checking if --enable-debug option specified... no checking if --enable-debug_rop option specified... no checking if --enable-debug_wop option specified... no checking if --enable-diagnostic option specified... no checking if --enable-dump185 option specified... yes checking if --enable-dynamic option specified... no checking if --enable-java option specified... no checking if --enable-posixmutexes option specified... no checking if --enable-rpc option specified... no checking if --enable-shared option specified... yes checking if --enable-tcl option specified... yes checking if --enable-test option specified... no checking if --enable-uimutexes option specified... no checking if --with-tcl option specified... /usr/local/lib/tcl/tcl8.5 checking for cc... cc checking for gcc... (cached) cc checking for gcc... (cached) cc checking whether the C compiler (cc -O2 -pipe -I/usr/local/include/tcl8.5 ) works... yes checking whether the C compiler (cc -O2 -pipe -I/usr/local/include/tcl8.5 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for c++... c++ checking whether the C++ compiler (c++ -O2 -pipe ) works... yes checking whether the C++ compiler (c++ -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... (cached) yes checking libtool configuration... checking for ranlib... ranlib checking whether we are using GNU C... yes checking for object suffix... o checking for executable suffix... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc supports -fno-rtti -fno-exceptions ... yes checking if cc static flag -static works... -static checking whether ln -s works... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking for BSD-compatible nm... /usr/bin/nm -B checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... openbsd7.6 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating ./libtool checking for existence of /usr/local/lib/tcl/tcl8.5/tclConfig.sh... loading checking for pthread_create in -lpthread... (cached) yes checking whether byte ordering is bigendian... no checking for working const... (cached) yes checking how to run the C preprocessor... cc -E checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... (cached) yes checking for st_blksize in struct stat... yes checking for ANSI C header files... (cached) yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for ssize_t... yes checking for u_char... yes checking for u_short... yes checking for u_int... yes checking for u_long... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for int16_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for largest integral type... unsigned long long checking for integral type equal to pointer size... unsigned long long checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for sys/select.h... (cached) yes checking for sys/time.h... (cached) yes checking for mutexes... no configure: warning: THREAD MUTEXES NOT AVAILABLE FOR THIS COMPILER/ARCHITECTURE. checking for getcwd... (cached) yes checking for getopt... (cached) yes checking for memcmp... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for raise... (cached) yes checking for snprintf... (cached) yes checking for strcasecmp... (cached) yes checking for strerror... (cached) yes checking for vsnprintf... (cached) yes checking for getuid... (cached) yes checking for pstat_getdynamic... no checking for sysconf... (cached) yes checking for sched_yield... yes checking for strtoul... (cached) yes checking for yield... no checking for pread... (cached) yes checking for pwrite... (cached) yes checking for fcntl/F_SETFD... yes checking for qsort... (cached) yes checking for select... (cached) yes checking for int type sprintf return value... yes checking for mlock... (cached) yes checking for munlock... (cached) yes checking for mmap... (cached) yes checking for munmap... (cached) yes checking for shmget... (cached) yes checking for ar... /usr/bin/ar checking for chmod... /bin/chmod checking for cp... /bin/cp checking for ln... /bin/ln checking for mkdir... /bin/mkdir checking for ranlib... /usr/bin/ranlib checking for rm... /bin/rm checking for sh... /bin/sh checking for strip... /usr/bin/strip updating cache ./config.cache creating ./config.status creating Makefile creating include.tcl creating db.h creating db_int.h creating db_185.h creating db_config.h >>> Running build in databases/db/v3,-main at 1732125500.96 ===> databases/db/v3,-main ===> Building for db-3.1.17 /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mutex/mut_fcntl.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mutex/mut_fcntl.c -fPIC -DPIC -o .libs/mut_fcntl.o ./../dist/../mutex/mut_fcntl.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] __db_fcntl_mutex_init(dbenv, mutexp, offset) ^ ./../dist/../mutex/mut_fcntl.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] __db_fcntl_mutex_lock(mutexp, fhp) ^ ./../dist/../mutex/mut_fcntl.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_fcntl_mutex_unlock(mutexp) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mutex/mut_fcntl.c -o mut_fcntl.o ./../dist/../mutex/mut_fcntl.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] __db_fcntl_mutex_init(dbenv, mutexp, offset) ^ ./../dist/../mutex/mut_fcntl.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] __db_fcntl_mutex_lock(mutexp, fhp) ^ ./../dist/../mutex/mut_fcntl.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_fcntl_mutex_unlock(mutexp) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db185/db185.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db185/db185.c -fPIC -DPIC -o .libs/db185.o ./../dist/../db185/db185.c:69:7: warning: case value not in enumerated type 'DBTYPE' [-Wswitch] case 0: /* DB_BTREE */ ^ ./../dist/../db185/db185.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] __db185_open(file, oflags, mode, type, openinfo) ^ ./../dist/../db185/db185.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] db185_close(db185p) ^ ./../dist/../db185/db185.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db185_del(db185p, key185, flags) ^ ./../dist/../db185/db185.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db185_fd(db185p) ^ ./../dist/../db185/db185.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] db185_get(db185p, key185, data185, flags) ^ ./../dist/../db185/db185.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] db185_put(db185p, key185, data185, flags) ^ ./../dist/../db185/db185.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] db185_seq(db185p, key185, data185, flags) ^ ./../dist/../db185/db185.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db185_sync(db185p, flags) ^ ./../dist/../db185/db185.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db185_openstderr(fhp) ^ 10 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db185/db185.c -o db185.o ./../dist/../db185/db185.c:69:7: warning: case value not in enumerated type 'DBTYPE' [-Wswitch] case 0: /* DB_BTREE */ ^ ./../dist/../db185/db185.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] __db185_open(file, oflags, mode, type, openinfo) ^ ./../dist/../db185/db185.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] db185_close(db185p) ^ ./../dist/../db185/db185.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db185_del(db185p, key185, flags) ^ ./../dist/../db185/db185.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db185_fd(db185p) ^ ./../dist/../db185/db185.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] db185_get(db185p, key185, data185, flags) ^ ./../dist/../db185/db185.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] db185_put(db185p, key185, data185, flags) ^ ./../dist/../db185/db185.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] db185_seq(db185p, key185, data185, flags) ^ ./../dist/../db185/db185.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db185_sync(db185p, flags) ^ ./../dist/../db185/db185.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db185_openstderr(fhp) ^ 10 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_compare.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_compare.c -fPIC -DPIC -o .libs/bt_compare.o ./../dist/../btree/bt_compare.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] __bam_cmp(dbp, dbt, h, indx, func, cmpp) ^ ./../dist/../btree/bt_compare.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] __bam_defcmp(a, b) ^ ./../dist/../btree/bt_compare.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] __bam_defpfx(a, b) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_compare.c -o bt_compare.o ./../dist/../btree/bt_compare.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] __bam_cmp(dbp, dbt, h, indx, func, cmpp) ^ ./../dist/../btree/bt_compare.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] __bam_defcmp(a, b) ^ ./../dist/../btree/bt_compare.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] __bam_defpfx(a, b) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_conv.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_conv.c -fPIC -DPIC -o .libs/bt_conv.o ./../dist/../btree/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] __bam_pgin(dbenv, pg, pp, cookie) ^ ./../dist/../btree/bt_conv.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] __bam_pgout(dbenv, pg, pp, cookie) ^ ./../dist/../btree/bt_conv.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] __bam_mswap(pg) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_conv.c -o bt_conv.o ./../dist/../btree/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] __bam_pgin(dbenv, pg, pp, cookie) ^ ./../dist/../btree/bt_conv.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] __bam_pgout(dbenv, pg, pp, cookie) ^ ./../dist/../btree/bt_conv.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] __bam_mswap(pg) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_curadj.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_curadj.c -fPIC -DPIC -o .libs/bt_curadj.o ./../dist/../btree/bt_curadj.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] __bam_ca_delete(dbp, pgno, indx, delete) ^ ./../dist/../btree/bt_curadj.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] __ram_ca_delete(dbp, root_pgno) ^ ./../dist/../btree/bt_curadj.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] __bam_ca_di(my_dbc, pgno, indx, adjust) ^ ./../dist/../btree/bt_curadj.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] __bam_opd_cursor(dbp, dbc, first, tpgno, ti) ^ ./../dist/../btree/bt_curadj.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] __bam_ca_dup(my_dbc, first, fpgno, fi, tpgno, ti) ^ ./../dist/../btree/bt_curadj.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] __bam_ca_undodup(dbp, first, fpgno, fi, ti) ^ ./../dist/../btree/bt_curadj.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] __bam_ca_rsplit(my_dbc, fpgno, tpgno) ^ ./../dist/../btree/bt_curadj.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_ca_split(my_dbc, ppgno, lpgno, rpgno, split_indx, cleft) ^ ./../dist/../btree/bt_curadj.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_ca_undosplit(dbp, frompgno, topgno, lpgno, split_indx) ^ 9 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_curadj.c -o bt_curadj.o ./../dist/../btree/bt_curadj.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] __bam_ca_delete(dbp, pgno, indx, delete) ^ ./../dist/../btree/bt_curadj.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] __ram_ca_delete(dbp, root_pgno) ^ ./../dist/../btree/bt_curadj.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] __bam_ca_di(my_dbc, pgno, indx, adjust) ^ ./../dist/../btree/bt_curadj.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] __bam_opd_cursor(dbp, dbc, first, tpgno, ti) ^ ./../dist/../btree/bt_curadj.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] __bam_ca_dup(my_dbc, first, fpgno, fi, tpgno, ti) ^ ./../dist/../btree/bt_curadj.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] __bam_ca_undodup(dbp, first, fpgno, fi, ti) ^ ./../dist/../btree/bt_curadj.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] __bam_ca_rsplit(my_dbc, fpgno, tpgno) ^ ./../dist/../btree/bt_curadj.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_ca_split(my_dbc, ppgno, lpgno, rpgno, split_indx, cleft) ^ ./../dist/../btree/bt_curadj.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_ca_undosplit(dbp, frompgno, topgno, lpgno, split_indx) ^ 9 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_cursor.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_cursor.c -fPIC -DPIC -o .libs/bt_cursor.o ./../dist/../btree/bt_cursor.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_reset(cp) ^ ./../dist/../btree/bt_cursor.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] __bam_c_init(dbc, dbtype) ^ ./../dist/../btree/bt_cursor.c:255:17: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] cp->ovflsize = B_MINKEY_TO_OVFLSIZE(minkey, dbp->pgsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:519:27: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' ((u_int16_t)(((pgsize) - P_OVERHEAD) / ((minkey) * P_INDX) - \ ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_cursor.c:255:17: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] cp->ovflsize = B_MINKEY_TO_OVFLSIZE(minkey, dbp->pgsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:520:7: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' (BKEYDATA_SIZE(0) + ALIGN(1, 4)))) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_cursor.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] __bam_c_refresh(dbc) ^ ./../dist/../btree/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] __bam_c_close(dbc, root_pgno, rmroot) ^ ./../dist/../btree/bt_cursor.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_destroy(dbc) ^ ./../dist/../btree/bt_cursor.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_count(dbc, recnop) ^ ./../dist/../btree/bt_cursor.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_del(dbc) ^ ./../dist/../btree/bt_cursor.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_dup(orig_dbc, new_dbc) ^ ./../dist/../btree/bt_cursor.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_get(dbc, key, data, flags, pgnop) ^ ./../dist/../btree/bt_cursor.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_getbothc(dbc, data) ^ ./../dist/../btree/bt_cursor.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_getboth_finddatum(dbc, data) ^ ./../dist/../btree/bt_cursor.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_put(dbc, key, data, flags, pgnop) ^ ./../dist/../btree/bt_cursor.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_rget(dbc, data, flags) ^ ./../dist/../btree/bt_cursor.c:1396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_writelock(dbc) ^ ./../dist/../btree/bt_cursor.c:1422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_first(dbc) ^ ./../dist/../btree/bt_cursor.c:1467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_last(dbc) ^ ./../dist/../btree/bt_cursor.c:1517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_next(dbc, initial_move) ^ ./../dist/../btree/bt_cursor.c:1588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_prev(dbc) ^ ./../dist/../btree/bt_cursor.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_search(dbc, key, flags, exactp) ^ ./../dist/../btree/bt_cursor.c:1868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_physdel(dbc) ^ ./../dist/../btree/bt_cursor.c:2052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_getstack(dbc) ^ ./../dist/../btree/bt_cursor.c:2107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_isopd(dbc, pgnop) ^ 24 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_cursor.c -o bt_cursor.o ./../dist/../btree/bt_cursor.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_reset(cp) ^ ./../dist/../btree/bt_cursor.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] __bam_c_init(dbc, dbtype) ^ ./../dist/../btree/bt_cursor.c:255:17: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] cp->ovflsize = B_MINKEY_TO_OVFLSIZE(minkey, dbp->pgsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:519:27: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' ((u_int16_t)(((pgsize) - P_OVERHEAD) / ((minkey) * P_INDX) - \ ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_cursor.c:255:17: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] cp->ovflsize = B_MINKEY_TO_OVFLSIZE(minkey, dbp->pgsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:520:7: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' (BKEYDATA_SIZE(0) + ALIGN(1, 4)))) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_cursor.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] __bam_c_refresh(dbc) ^ ./../dist/../btree/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] __bam_c_close(dbc, root_pgno, rmroot) ^ ./../dist/../btree/bt_cursor.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_destroy(dbc) ^ ./../dist/../btree/bt_cursor.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_count(dbc, recnop) ^ ./../dist/../btree/bt_cursor.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_del(dbc) ^ ./../dist/../btree/bt_cursor.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_dup(orig_dbc, new_dbc) ^ ./../dist/../btree/bt_cursor.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_get(dbc, key, data, flags, pgnop) ^ ./../dist/../btree/bt_cursor.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_getbothc(dbc, data) ^ ./../dist/../btree/bt_cursor.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_getboth_finddatum(dbc, data) ^ ./../dist/../btree/bt_cursor.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_put(dbc, key, data, flags, pgnop) ^ ./../dist/../btree/bt_cursor.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_rget(dbc, data, flags) ^ ./../dist/../btree/bt_cursor.c:1396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_writelock(dbc) ^ ./../dist/../btree/bt_cursor.c:1422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_first(dbc) ^ ./../dist/../btree/bt_cursor.c:1467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_last(dbc) ^ ./../dist/../btree/bt_cursor.c:1517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_next(dbc, initial_move) ^ ./../dist/../btree/bt_cursor.c:1588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_prev(dbc) ^ ./../dist/../btree/bt_cursor.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_search(dbc, key, flags, exactp) ^ ./../dist/../btree/bt_cursor.c:1868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_physdel(dbc) ^ ./../dist/../btree/bt_cursor.c:2052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_c_getstack(dbc) ^ ./../dist/../btree/bt_cursor.c:2107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_isopd(dbc, pgnop) ^ 24 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_delete.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_delete.c -fPIC -DPIC -o .libs/bt_delete.o ./../dist/../btree/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] __bam_delete(dbp, txn, key, flags) ^ ./../dist/../btree/bt_delete.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] __bam_ditem(dbc, h, indx) ^ ./../dist/../btree/bt_delete.c:164:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_SIZE(bi->len); ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_delete.c:167:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_SIZE(bi->len); ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_delete.c:224:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_delete.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] __bam_adjindx(dbc, h, indx, indx_copy, is_insert) ^ ./../dist/../btree/bt_delete.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] __bam_dpages(dbc, stack_epg) ^ ./../dist/../btree/bt_delete.c:452:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(((BINTERNAL *)b.data)->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ 8 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_delete.c -o bt_delete.o ./../dist/../btree/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] __bam_delete(dbp, txn, key, flags) ^ ./../dist/../btree/bt_delete.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] __bam_ditem(dbc, h, indx) ^ ./../dist/../btree/bt_delete.c:164:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_SIZE(bi->len); ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_delete.c:167:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_SIZE(bi->len); ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_delete.c:224:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_delete.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] __bam_adjindx(dbc, h, indx, indx_copy, is_insert) ^ ./../dist/../btree/bt_delete.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] __bam_dpages(dbc, stack_epg) ^ ./../dist/../btree/bt_delete.c:452:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(((BINTERNAL *)b.data)->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ 8 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_method.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_method.c -fPIC -DPIC -o .libs/bt_method.o ./../dist/../btree/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] __bam_db_create(dbp) ^ ./../dist/../btree/bt_method.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] __bam_db_close(dbp) ^ ./../dist/../btree/bt_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] __bam_set_flags(dbp, flagsp) ^ ./../dist/../btree/bt_method.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] __bam_set_bt_compare(dbp, func) ^ ./../dist/../btree/bt_method.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] __bam_set_bt_maxkey(dbp, bt_maxkey) ^ ./../dist/../btree/bt_method.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_set_bt_minkey(dbp, bt_minkey) ^ ./../dist/../btree/bt_method.c:252:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (B_MINKEY_TO_OVFLSIZE(bt_minkey, pgsize) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:519:27: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' ((u_int16_t)(((pgsize) - P_OVERHEAD) / ((minkey) * P_INDX) - \ ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_method.c:252:6: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] if (B_MINKEY_TO_OVFLSIZE(bt_minkey, pgsize) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:520:7: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' (BKEYDATA_SIZE(0) + ALIGN(1, 4)))) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_method.c:253:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] B_MINKEY_TO_OVFLSIZE(DEFMINKEYPAGE, pgsize)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:519:27: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' ((u_int16_t)(((pgsize) - P_OVERHEAD) / ((minkey) * P_INDX) - \ ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_method.c:253:6: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] B_MINKEY_TO_OVFLSIZE(DEFMINKEYPAGE, pgsize)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:520:7: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' (BKEYDATA_SIZE(0) + ALIGN(1, 4)))) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_method.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_set_bt_prefix(dbp, func) ^ ./../dist/../btree/bt_method.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_set_flags(dbp, flagsp) ^ ./../dist/../btree/bt_method.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_set_re_delim(dbp, re_delim) ^ ./../dist/../btree/bt_method.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] __ram_set_re_len(dbp, re_len) ^ ./../dist/../btree/bt_method.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] __ram_set_re_pad(dbp, re_pad) ^ ./../dist/../btree/bt_method.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] __ram_set_re_source(dbp, re_source) ^ 16 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_method.c -o bt_method.o ./../dist/../btree/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] __bam_db_create(dbp) ^ ./../dist/../btree/bt_method.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] __bam_db_close(dbp) ^ ./../dist/../btree/bt_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] __bam_set_flags(dbp, flagsp) ^ ./../dist/../btree/bt_method.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] __bam_set_bt_compare(dbp, func) ^ ./../dist/../btree/bt_method.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] __bam_set_bt_maxkey(dbp, bt_maxkey) ^ ./../dist/../btree/bt_method.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_set_bt_minkey(dbp, bt_minkey) ^ ./../dist/../btree/bt_method.c:252:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (B_MINKEY_TO_OVFLSIZE(bt_minkey, pgsize) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:519:27: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' ((u_int16_t)(((pgsize) - P_OVERHEAD) / ((minkey) * P_INDX) - \ ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_method.c:252:6: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] if (B_MINKEY_TO_OVFLSIZE(bt_minkey, pgsize) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:520:7: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' (BKEYDATA_SIZE(0) + ALIGN(1, 4)))) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_method.c:253:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] B_MINKEY_TO_OVFLSIZE(DEFMINKEYPAGE, pgsize)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:519:27: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' ((u_int16_t)(((pgsize) - P_OVERHEAD) / ((minkey) * P_INDX) - \ ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_method.c:253:6: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] B_MINKEY_TO_OVFLSIZE(DEFMINKEYPAGE, pgsize)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:520:7: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' (BKEYDATA_SIZE(0) + ALIGN(1, 4)))) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_method.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_set_bt_prefix(dbp, func) ^ ./../dist/../btree/bt_method.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_set_flags(dbp, flagsp) ^ ./../dist/../btree/bt_method.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_set_re_delim(dbp, re_delim) ^ ./../dist/../btree/bt_method.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] __ram_set_re_len(dbp, re_len) ^ ./../dist/../btree/bt_method.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] __ram_set_re_pad(dbp, re_pad) ^ ./../dist/../btree/bt_method.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] __ram_set_re_source(dbp, re_source) ^ 16 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_open.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_open.c -fPIC -DPIC -o .libs/bt_open.o ./../dist/../btree/bt_open.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] __bam_open(dbp, name, base_pgno, flags) ^ ./../dist/../btree/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] __bam_metachk(dbp, name, btm) ^ ./../dist/../btree/bt_open.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] __bam_read_root(dbp, name, base_pgno, flags) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_open.c -o bt_open.o ./../dist/../btree/bt_open.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] __bam_open(dbp, name, base_pgno, flags) ^ ./../dist/../btree/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] __bam_metachk(dbp, name, btm) ^ ./../dist/../btree/bt_open.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] __bam_read_root(dbp, name, base_pgno, flags) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_put.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_put.c -fPIC -DPIC -o .libs/bt_put.o ./../dist/../btree/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] __bam_iitem(dbc, key, data, op, flags) ^ ./../dist/../btree/bt_put.c:173:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] needed += BKEYDATA_PSIZE(key->size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:177:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] needed += BKEYDATA_PSIZE(data_size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:197: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); ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:208: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); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:225:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(h) < needed || ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_put.c:246: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) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:336:18: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] bk_hdr.size = SSZA(BKEYDATA, data); ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_put.c:338:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_SIZE(data->size), &bk_hdr, data); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:343: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); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:378: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) { ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_put.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] __bam_partsize(op, data, h, indx) ^ ./../dist/../btree/bt_put.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] __bam_build(dbc, op, dbt, h, indx, nbytes) ^ ./../dist/../btree/bt_put.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_ritem(dbc, h, indx, data) ^ ./../dist/../btree/bt_put.c:650:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] lo = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:651:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] ln = BKEYDATA_SIZE(data->size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_dup_convert(dbc, h, indx) ^ ./../dist/../btree/bt_put.c:713: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; ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:716: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; ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:768: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; ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_ovput(dbc, type, pgno, h, indx, item) ^ 21 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_put.c -o bt_put.o ./../dist/../btree/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] __bam_iitem(dbc, key, data, op, flags) ^ ./../dist/../btree/bt_put.c:173:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] needed += BKEYDATA_PSIZE(key->size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:177:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] needed += BKEYDATA_PSIZE(data_size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:197: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); ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:208: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); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:225:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(h) < needed || ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_put.c:246: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) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:336:18: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] bk_hdr.size = SSZA(BKEYDATA, data); ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_put.c:338:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BKEYDATA_SIZE(data->size), &bk_hdr, data); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:343: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); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:378: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) { ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_put.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] __bam_partsize(op, data, h, indx) ^ ./../dist/../btree/bt_put.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] __bam_build(dbc, op, dbt, h, indx, nbytes) ^ ./../dist/../btree/bt_put.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_ritem(dbc, h, indx, data) ^ ./../dist/../btree/bt_put.c:650:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] lo = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:651:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] ln = BKEYDATA_SIZE(data->size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_dup_convert(dbc, h, indx) ^ ./../dist/../btree/bt_put.c:713: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; ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:716: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; ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:768: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; ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_put.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_ovput(dbc, type, pgno, h, indx, item) ^ 21 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_rec.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_rec.c -fPIC -DPIC -o .libs/bt_rec.o ./../dist/../btree/bt_rec.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] __bam_pg_alloc_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.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] __bam_pg_free_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_split_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_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] __bam_rsplit_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_adj_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.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] __bam_cadjust_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_cdel_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.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] __bam_repl_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.c:1032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_root_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.c:1092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_curadj_recover(dbenv, dbtp, lsnp, op, info) ^ 10 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_rec.c -o bt_rec.o ./../dist/../btree/bt_rec.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] __bam_pg_alloc_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.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] __bam_pg_free_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_split_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_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] __bam_rsplit_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_adj_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.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] __bam_cadjust_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_cdel_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.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] __bam_repl_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.c:1032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_root_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../btree/bt_rec.c:1092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_curadj_recover(dbenv, dbtp, lsnp, op, info) ^ 10 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_reclaim.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_reclaim.c -fPIC -DPIC -o .libs/bt_reclaim.o ./../dist/../btree/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] __bam_reclaim(dbp, txn) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_reclaim.c -o bt_reclaim.o ./../dist/../btree/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] __bam_reclaim(dbp, txn) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_recno.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_recno.c -fPIC -DPIC -o .libs/bt_recno.o ./../dist/../btree/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] __ram_open(dbp, name, base_pgno, flags) ^ ./../dist/../btree/bt_recno.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_delete(dbp, txn, key, flags) ^ ./../dist/../btree/bt_recno.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_put(dbp, txn, key, data, flags) ^ ./../dist/../btree/bt_recno.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] __ram_c_del(dbc) ^ ./../dist/../btree/bt_recno.c:360: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_recno.c:365:27: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] cp->page, cp->indx, BKEYDATA_SIZE(0), &hdr, &data)) != 0) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_recno.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_c_get(dbc, key, data, flags, pgnop) ^ ./../dist/../btree/bt_recno.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] __ram_c_put(dbc, key, data, flags, pgnop) ^ ./../dist/../btree/bt_recno.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] __ram_ca(dbc_arg, recno, op) ^ ./../dist/../btree/bt_recno.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_getno(dbc, key, rep, can_create) ^ ./../dist/../btree/bt_recno.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_update(dbc, recno, can_create) ^ ./../dist/../btree/bt_recno.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_source(dbp) ^ ./../dist/../btree/bt_recno.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_writeback(dbp) ^ ./../dist/../btree/bt_recno.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_fmap(dbc, top) ^ ./../dist/../btree/bt_recno.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_vmap(dbc, top) ^ ./../dist/../btree/bt_recno.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_add(dbc, recnop, data, flags, bi_flags) ^ 16 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_recno.c -o bt_recno.o ./../dist/../btree/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] __ram_open(dbp, name, base_pgno, flags) ^ ./../dist/../btree/bt_recno.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_delete(dbp, txn, key, flags) ^ ./../dist/../btree/bt_recno.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_put(dbp, txn, key, data, flags) ^ ./../dist/../btree/bt_recno.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] __ram_c_del(dbc) ^ ./../dist/../btree/bt_recno.c:360: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_recno.c:365:27: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] cp->page, cp->indx, BKEYDATA_SIZE(0), &hdr, &data)) != 0) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_recno.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_c_get(dbc, key, data, flags, pgnop) ^ ./../dist/../btree/bt_recno.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] __ram_c_put(dbc, key, data, flags, pgnop) ^ ./../dist/../btree/bt_recno.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] __ram_ca(dbc_arg, recno, op) ^ ./../dist/../btree/bt_recno.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_getno(dbc, key, rep, can_create) ^ ./../dist/../btree/bt_recno.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_update(dbc, recno, can_create) ^ ./../dist/../btree/bt_recno.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_source(dbp) ^ ./../dist/../btree/bt_recno.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_writeback(dbp) ^ ./../dist/../btree/bt_recno.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_fmap(dbc, top) ^ ./../dist/../btree/bt_recno.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_vmap(dbc, top) ^ ./../dist/../btree/bt_recno.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_add(dbc, recnop, data, flags, bi_flags) ^ 16 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_rsearch.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_rsearch.c -fPIC -DPIC -o .libs/bt_rsearch.o ./../dist/../btree/bt_rsearch.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] __bam_rsearch(dbc, recnop, flags, stop, exactp) ^ ./../dist/../btree/bt_rsearch.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_adjust(dbc, adjust) ^ ./../dist/../btree/bt_rsearch.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_nrecs(dbc, rep) ^ ./../dist/../btree/bt_rsearch.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_total(h) ^ 4 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_rsearch.c -o bt_rsearch.o ./../dist/../btree/bt_rsearch.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] __bam_rsearch(dbc, recnop, flags, stop, exactp) ^ ./../dist/../btree/bt_rsearch.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_adjust(dbc, adjust) ^ ./../dist/../btree/bt_rsearch.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_nrecs(dbc, rep) ^ ./../dist/../btree/bt_rsearch.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_total(h) ^ 4 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_search.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_search.c -fPIC -DPIC -o .libs/bt_search.o ./../dist/../btree/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] __bam_search(dbc, key, flags, stop, recnop, exactp) ^ ./../dist/../btree/bt_search.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] __bam_stkrel(dbc, flags) ^ ./../dist/../btree/bt_search.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] __bam_stkgrow(dbenv, cp) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_search.c -o bt_search.o ./../dist/../btree/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] __bam_search(dbc, key, flags, stop, recnop, exactp) ^ ./../dist/../btree/bt_search.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] __bam_stkrel(dbc, flags) ^ ./../dist/../btree/bt_search.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] __bam_stkgrow(dbenv, cp) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_split.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_split.c -fPIC -DPIC -o .libs/bt_split.o ./../dist/../btree/bt_split.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] __bam_split(dbc, arg) ^ ./../dist/../btree/bt_split.c:134: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)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.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] __bam_root(dbc, cp) ^ ./../dist/../btree/bt_split.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] __bam_page(dbc, pp, cp) ^ ./../dist/../btree/bt_split.c:412: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)); ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:418: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)); ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.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] __bam_broot(dbc, rootp, lp, rp) ^ ./../dist/../btree/bt_split.c:534: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:536:32: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] __db_pitem(dbc, rootp, 0, BINTERNAL_SIZE(0), &hdr, NULL)) != 0) ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:552: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:556: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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:579: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:583: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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:596: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:600: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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.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] __ram_root(dbc, rootp, lp, rp) ^ ./../dist/../btree/bt_split.c:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pinsert(dbc, parent, lchild, rchild, space_check) ^ ./../dist/../btree/bt_split.c:723: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:725:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:738: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:743: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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:778: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:795: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) ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:800:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:812: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:817: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) ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:822:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_PSIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:824:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:836: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:841: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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:858:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_psplit(dbc, cp, lp, rp, splitret) ^ ./../dist/../btree/bt_split.c:965: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:967:15: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes += BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:972: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:982: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_copy(dbp, pp, cp, nxt, stop) ^ ./../dist/../btree/bt_split.c:1091: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:1093:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:1110: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ 40 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_split.c -o bt_split.o ./../dist/../btree/bt_split.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] __bam_split(dbc, arg) ^ ./../dist/../btree/bt_split.c:134: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)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.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] __bam_root(dbc, cp) ^ ./../dist/../btree/bt_split.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] __bam_page(dbc, pp, cp) ^ ./../dist/../btree/bt_split.c:412: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)); ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:418: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)); ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.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] __bam_broot(dbc, rootp, lp, rp) ^ ./../dist/../btree/bt_split.c:534: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:536:32: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] __db_pitem(dbc, rootp, 0, BINTERNAL_SIZE(0), &hdr, NULL)) != 0) ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:552: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:556: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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:579: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:583: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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:596: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:600: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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.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] __ram_root(dbc, rootp, lp, rp) ^ ./../dist/../btree/bt_split.c:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pinsert(dbc, parent, lchild, rchild, space_check) ^ ./../dist/../btree/bt_split.c:723: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:725:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:738: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:743: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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:778: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:795: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) ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:800:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:812: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:817: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) ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:822:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_PSIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:824:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:836: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:841: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) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:858:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_split.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_psplit(dbc, cp, lp, rp, splitret) ^ ./../dist/../btree/bt_split.c:965: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:967:15: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes += BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:972: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:982: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_copy(dbp, pp, cp, nxt, stop) ^ ./../dist/../btree/bt_split.c:1091: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:1093:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] nbytes = BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_split.c:1110: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ 40 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_stat.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_stat.c -fPIC -DPIC -o .libs/bt_stat.o ./../dist/../btree/bt_stat.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] __bam_stat(dbp, spp, db_malloc, flags) ^ ./../dist/../btree/bt_stat.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] __bam_traverse(dbc, mode, root_pgno, callback, cookie) ^ ./../dist/../btree/bt_stat.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] __bam_stat_callback(dbp, h, cookie, putp) ^ ./../dist/../btree/bt_stat.c:319: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); ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.c:334: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); ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.c:345:26: 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); ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.c:349:25: 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); ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.c:359: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); ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.c:363: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:313:34: note: expanded from macro 'P_OVFLSPACE' #define P_OVFLSPACE(psize, pg) (P_MAXSPACE(psize) - HOFFSET(pg)) ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:310:38: note: expanded from macro 'P_MAXSPACE' #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.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] __bam_key_range(dbp, txn, dbt, kp, flags) ^ 10 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_stat.c -o bt_stat.o ./../dist/../btree/bt_stat.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] __bam_stat(dbp, spp, db_malloc, flags) ^ ./../dist/../btree/bt_stat.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] __bam_traverse(dbc, mode, root_pgno, callback, cookie) ^ ./../dist/../btree/bt_stat.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] __bam_stat_callback(dbp, h, cookie, putp) ^ ./../dist/../btree/bt_stat.c:319: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); ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.c:334: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); ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.c:345:26: 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); ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.c:349:25: 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); ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.c:359: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); ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.c:363: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:313:34: note: expanded from macro 'P_OVFLSPACE' #define P_OVFLSPACE(psize, pg) (P_MAXSPACE(psize) - HOFFSET(pg)) ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:310:38: note: expanded from macro 'P_MAXSPACE' #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_stat.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] __bam_key_range(dbp, txn, dbt, kp, flags) ^ 10 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_upgrade.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_upgrade.c -fPIC -DPIC -o .libs/bt_upgrade.o ./../dist/../btree/bt_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] __bam_30_btreemeta(dbp, real_name, buf) ^ ./../dist/../btree/bt_upgrade.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] __bam_31_btreemeta(dbp, real_name, flags, fhp, h, dirtyp) ^ ./../dist/../btree/bt_upgrade.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] __bam_31_lbtree(dbp, real_name, flags, fhp, h, dirtyp) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_upgrade.c -o bt_upgrade.o ./../dist/../btree/bt_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] __bam_30_btreemeta(dbp, real_name, buf) ^ ./../dist/../btree/bt_upgrade.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] __bam_31_btreemeta(dbp, real_name, flags, fhp, h, dirtyp) ^ ./../dist/../btree/bt_upgrade.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] __bam_31_lbtree(dbp, real_name, flags, fhp, h, dirtyp) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_verify.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_verify.c -fPIC -DPIC -o .libs/bt_verify.o In file included from ./../dist/../btree/bt_verify.c:25: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../btree/bt_verify.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] __bam_vrfy_meta(dbp, vdp, meta, pgno, flags) ^ ./../dist/../btree/bt_verify.c:80:32: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] ovflsize = meta->minkey > 0 ? B_MINKEY_TO_OVFLSIZE(meta->minkey, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:519:27: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' ((u_int16_t)(((pgsize) - P_OVERHEAD) / ((minkey) * P_INDX) - \ ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_verify.c:80:32: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] ovflsize = meta->minkey > 0 ? B_MINKEY_TO_OVFLSIZE(meta->minkey, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:520:7: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' (BKEYDATA_SIZE(0) + ALIGN(1, 4)))) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.c:83:17: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] ovflsize > B_MINKEY_TO_OVFLSIZE(DEFMINKEYPAGE, dbp->pgsize)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:519:27: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' ((u_int16_t)(((pgsize) - P_OVERHEAD) / ((minkey) * P_INDX) - \ ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_verify.c:83:17: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] ovflsize > B_MINKEY_TO_OVFLSIZE(DEFMINKEYPAGE, dbp->pgsize)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:520:7: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' (BKEYDATA_SIZE(0) + ALIGN(1, 4)))) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_vrfy_leaf(dbp, vdp, h, pgno, flags) ^ ./../dist/../btree/bt_verify.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] __bam_vrfy(dbp, vdp, h, pgno, flags) ^ ./../dist/../btree/bt_verify.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] __ram_vrfy_inp(dbp, vdp, h, pgno, nentriesp, flags) ^ ./../dist/../btree/bt_verify.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_vrfy_inp(dbp, vdp, h, pgno, nentriesp, flags) ^ ./../dist/../btree/bt_verify.c:622:23: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] endoff = offset + BINTERNAL_SIZE(bk->len) - 1; ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.c:624:23: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] endoff = offset + BKEYDATA_SIZE(bk->len) - 1; ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.c:641:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(BOVERFLOW_SIZE) : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.c:649:22: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] endoff = offset + BKEYDATA_SIZE(0) - 1; ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.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] __bam_vrfy_itemorder(dbp, vdp, h, pgno, nentries, ovflok, hasdups, flags) ^ ./../dist/../btree/bt_verify.c:1145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_vrfy_structure(dbp, vdp, meta_pgno, flags) ^ ./../dist/../btree/bt_verify.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_vrfy_subtree(dbp, ^ ./../dist/../btree/bt_verify.c:1676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_vrfy_treeorder(dbp, pgno, h, lp, rp, flags) ^ ./../dist/../btree/bt_verify.c:1802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_salvage(dbp, vdp, pgno, pgtype, h, handle, callback, key, flags) ^ ./../dist/../btree/bt_verify.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_salvage_walkdupint(dbp, vdp, h, key, handle, callback, flags) ^ ./../dist/../btree/bt_verify.c:2062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_meta2pgset(dbp, vdp, btmeta, flags, pgset) ^ ./../dist/../btree/bt_verify.c:2165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_safe_getdata(dbp, h, i, ovflok, dbt, freedbtp) ^ 22 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/bt_verify.c -o bt_verify.o In file included from ./../dist/../btree/bt_verify.c:25: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../btree/bt_verify.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] __bam_vrfy_meta(dbp, vdp, meta, pgno, flags) ^ ./../dist/../btree/bt_verify.c:80:32: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] ovflsize = meta->minkey > 0 ? B_MINKEY_TO_OVFLSIZE(meta->minkey, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:519:27: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' ((u_int16_t)(((pgsize) - P_OVERHEAD) / ((minkey) * P_INDX) - \ ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_verify.c:80:32: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] ovflsize = meta->minkey > 0 ? B_MINKEY_TO_OVFLSIZE(meta->minkey, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:520:7: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' (BKEYDATA_SIZE(0) + ALIGN(1, 4)))) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.c:83:17: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] ovflsize > B_MINKEY_TO_OVFLSIZE(DEFMINKEYPAGE, dbp->pgsize)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:519:27: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' ((u_int16_t)(((pgsize) - P_OVERHEAD) / ((minkey) * P_INDX) - \ ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../btree/bt_verify.c:83:17: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] ovflsize > B_MINKEY_TO_OVFLSIZE(DEFMINKEYPAGE, dbp->pgsize)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:520:7: note: expanded from macro 'B_MINKEY_TO_OVFLSIZE' (BKEYDATA_SIZE(0) + ALIGN(1, 4)))) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ram_vrfy_leaf(dbp, vdp, h, pgno, flags) ^ ./../dist/../btree/bt_verify.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] __bam_vrfy(dbp, vdp, h, pgno, flags) ^ ./../dist/../btree/bt_verify.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] __ram_vrfy_inp(dbp, vdp, h, pgno, nentriesp, flags) ^ ./../dist/../btree/bt_verify.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_vrfy_inp(dbp, vdp, h, pgno, nentriesp, flags) ^ ./../dist/../btree/bt_verify.c:622:23: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] endoff = offset + BINTERNAL_SIZE(bk->len) - 1; ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.c:624:23: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] endoff = offset + BKEYDATA_SIZE(bk->len) - 1; ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.c:641:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_SIZE(BOVERFLOW_SIZE) : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.c:649:22: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] endoff = offset + BKEYDATA_SIZE(0) - 1; ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../btree/bt_verify.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] __bam_vrfy_itemorder(dbp, vdp, h, pgno, nentries, ovflok, hasdups, flags) ^ ./../dist/../btree/bt_verify.c:1145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_vrfy_structure(dbp, vdp, meta_pgno, flags) ^ ./../dist/../btree/bt_verify.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_vrfy_subtree(dbp, ^ ./../dist/../btree/bt_verify.c:1676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_vrfy_treeorder(dbp, pgno, h, lp, rp, flags) ^ ./../dist/../btree/bt_verify.c:1802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_salvage(dbp, vdp, pgno, pgtype, h, handle, callback, key, flags) ^ ./../dist/../btree/bt_verify.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_salvage_walkdupint(dbp, vdp, h, key, handle, callback, flags) ^ ./../dist/../btree/bt_verify.c:2062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_meta2pgset(dbp, vdp, btmeta, flags, pgset) ^ ./../dist/../btree/bt_verify.c:2165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_safe_getdata(dbp, h, i, ovflok, dbt, freedbtp) ^ 22 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/btree_auto.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/btree_auto.c -fPIC -DPIC -o .libs/btree_auto.o ./../dist/../btree/btree_auto.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pg_alloc1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.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] __bam_pg_alloc1_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:97: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 __bam_pg_alloc_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.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] __bam_pg_alloc_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pg_alloc_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pg_free1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pg_free1_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:344: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 __bam_pg_free_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/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] __bam_pg_free_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pg_free_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_split1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_split1_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:613: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 __bam_split_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.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] __bam_split_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_split_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_rsplit1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_rsplit1_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:922: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 __bam_rsplit_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_rsplit_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_rsplit_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1115: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 __bam_adj_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_adj_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_adj_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1261: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 __bam_cadjust_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.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] __bam_cadjust_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_cadjust_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1407: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 __bam_cdel_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.c:1469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_cdel_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_cdel_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1539: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 __bam_repl_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_repl_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_repl_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1746: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 __bam_root_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.c:1808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_root_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_root_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1878: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 __bam_curadj_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.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] __bam_curadj_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_curadj_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:2036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_init_print(dbenv) ^ ./../dist/../btree/btree_auto.c:2087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_init_recover(dbenv) ^ 40 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../btree/btree_auto.c -o btree_auto.o ./../dist/../btree/btree_auto.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pg_alloc1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.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] __bam_pg_alloc1_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:97: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 __bam_pg_alloc_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.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] __bam_pg_alloc_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pg_alloc_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pg_free1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pg_free1_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:344: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 __bam_pg_free_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/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] __bam_pg_free_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_pg_free_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_split1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_split1_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:613: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 __bam_split_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.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] __bam_split_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_split_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_rsplit1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_rsplit1_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:922: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 __bam_rsplit_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_rsplit_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_rsplit_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1115: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 __bam_adj_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_adj_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_adj_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1261: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 __bam_cadjust_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.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] __bam_cadjust_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_cadjust_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1407: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 __bam_cdel_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.c:1469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_cdel_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_cdel_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1539: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 __bam_repl_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_repl_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_repl_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1746: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 __bam_root_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.c:1808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_root_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_root_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:1878: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 __bam_curadj_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../btree/btree_auto.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] __bam_curadj_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../btree/btree_auto.c:1994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_curadj_read(dbenv, recbuf, argpp) ^ ./../dist/../btree/btree_auto.c:2036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_init_print(dbenv) ^ ./../dist/../btree/btree_auto.c:2087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bam_init_recover(dbenv) ^ 40 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/crdel_auto.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/crdel_auto.c -fPIC -DPIC -o .libs/crdel_auto.o ./../dist/../db/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 __crdel_fileopen_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/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] __crdel_fileopen_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.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] __crdel_fileopen_read(dbenv, recbuf, argpp) ^ ./../dist/../db/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 __crdel_metasub_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/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] __crdel_metasub_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.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] __crdel_metasub_read(dbenv, recbuf, argpp) ^ ./../dist/../db/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 __crdel_metapage_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/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] __crdel_metapage_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.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] __crdel_metapage_read(dbenv, recbuf, argpp) ^ ./../dist/../db/crdel_auto.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_old_delete_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_old_delete_read(dbenv, recbuf, argpp) ^ ./../dist/../db/crdel_auto.c:543: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 __crdel_rename_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/crdel_auto.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_rename_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_rename_read(dbenv, recbuf, argpp) ^ ./../dist/../db/crdel_auto.c:703: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 __crdel_delete_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/crdel_auto.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_delete_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_delete_read(dbenv, recbuf, argpp) ^ ./../dist/../db/crdel_auto.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_init_print(dbenv) ^ ./../dist/../db/crdel_auto.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_init_recover(dbenv) ^ 19 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/crdel_auto.c -o crdel_auto.o ./../dist/../db/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 __crdel_fileopen_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/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] __crdel_fileopen_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.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] __crdel_fileopen_read(dbenv, recbuf, argpp) ^ ./../dist/../db/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 __crdel_metasub_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/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] __crdel_metasub_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.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] __crdel_metasub_read(dbenv, recbuf, argpp) ^ ./../dist/../db/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 __crdel_metapage_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/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] __crdel_metapage_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.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] __crdel_metapage_read(dbenv, recbuf, argpp) ^ ./../dist/../db/crdel_auto.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_old_delete_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_old_delete_read(dbenv, recbuf, argpp) ^ ./../dist/../db/crdel_auto.c:543: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 __crdel_rename_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/crdel_auto.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_rename_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_rename_read(dbenv, recbuf, argpp) ^ ./../dist/../db/crdel_auto.c:703: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 __crdel_delete_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/crdel_auto.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_delete_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/crdel_auto.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_delete_read(dbenv, recbuf, argpp) ^ ./../dist/../db/crdel_auto.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_init_print(dbenv) ^ ./../dist/../db/crdel_auto.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_init_recover(dbenv) ^ 19 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/crdel_rec.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/crdel_rec.c -fPIC -DPIC -o .libs/crdel_rec.o ./../dist/../db/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] __crdel_fileopen_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/crdel_rec.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] __crdel_metasub_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/crdel_rec.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_metapage_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/crdel_rec.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_delete_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/crdel_rec.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_rename_recover(dbenv, dbtp, lsnp, op, info) ^ 5 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/crdel_rec.c -o crdel_rec.o ./../dist/../db/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] __crdel_fileopen_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/crdel_rec.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] __crdel_metasub_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/crdel_rec.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_metapage_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/crdel_rec.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_delete_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/crdel_rec.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __crdel_rename_recover(dbenv, dbtp, lsnp, op, info) ^ 5 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db.c -fPIC -DPIC -o .libs/db.o ./../dist/../db/db.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] __db_open(dbp, name, subdb, type, flags, mode) ^ ./../dist/../db/db.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] __db_dbopen(dbp, name, flags, mode, meta_pgno) ^ ./../dist/../db/db.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_master_open(subdbp, name, flags, mode, dbpp) ^ ./../dist/../db/db.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_master_update(mdbp, subdb, type, meta_pgnop, action, newname, flags) ^ ./../dist/../db/db.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] __db_dbenv_setup(dbp, name, flags) ^ ./../dist/../db/db.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_file_setup(dbp, name, flags, mode, meta_pgno, retflags) ^ ./../dist/../db/db.c:1168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_pgsize(dbp, fhp, name) ^ ./../dist/../db/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] __db_close(dbp, flags) ^ ./../dist/../db/db.c:1308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_refresh(dbp) ^ ./../dist/../db/db.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_remove(dbp, name, subdb, flags) ^ ./../dist/../db/db.c:1514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_subdb_remove(dbp, name, subdb) ^ ./../dist/../db/db.c:1597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_rename(dbp, filename, subdb, newname, flags) ^ ./../dist/../db/db.c:1732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_subdb_rename(dbp, name, subdb, newname) ^ ./../dist/../db/db.c:1800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_metabegin(dbp, lockp) ^ ./../dist/../db/db.c:1846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_metaend(dbp, lockp, commit, callback, cookie) ^ ./../dist/../db/db.c:1887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_log_page(dbp, name, lsn, pgno, page) ^ ./../dist/../db/db.c:1944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_backup_name(dbenv, name, backup, lsn) ^ ./../dist/../db/db.c:1992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_remove_callback(dbp, cookie) ^ 18 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db.c -o db.o ./../dist/../db/db.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] __db_open(dbp, name, subdb, type, flags, mode) ^ ./../dist/../db/db.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] __db_dbopen(dbp, name, flags, mode, meta_pgno) ^ ./../dist/../db/db.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_master_open(subdbp, name, flags, mode, dbpp) ^ ./../dist/../db/db.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_master_update(mdbp, subdb, type, meta_pgnop, action, newname, flags) ^ ./../dist/../db/db.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] __db_dbenv_setup(dbp, name, flags) ^ ./../dist/../db/db.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_file_setup(dbp, name, flags, mode, meta_pgno, retflags) ^ ./../dist/../db/db.c:1168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_pgsize(dbp, fhp, name) ^ ./../dist/../db/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] __db_close(dbp, flags) ^ ./../dist/../db/db.c:1308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_refresh(dbp) ^ ./../dist/../db/db.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_remove(dbp, name, subdb, flags) ^ ./../dist/../db/db.c:1514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_subdb_remove(dbp, name, subdb) ^ ./../dist/../db/db.c:1597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_rename(dbp, filename, subdb, newname, flags) ^ ./../dist/../db/db.c:1732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_subdb_rename(dbp, name, subdb, newname) ^ ./../dist/../db/db.c:1800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_metabegin(dbp, lockp) ^ ./../dist/../db/db.c:1846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_metaend(dbp, lockp, commit, callback, cookie) ^ ./../dist/../db/db.c:1887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_log_page(dbp, name, lsn, pgno, page) ^ ./../dist/../db/db.c:1944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_backup_name(dbenv, name, backup, lsn) ^ ./../dist/../db/db.c:1992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_remove_callback(dbp, cookie) ^ 18 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_am.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_am.c -fPIC -DPIC -o .libs/db_am.o ./../dist/../db/db_am.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] __db_cursor(dbp, txn, dbcp, flags) ^ ./../dist/../db/db_am.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] __db_icursor(dbp, txn, dbtype, root, is_opd, dbcp) ^ ./../dist/../db/db_am.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] __db_fd(dbp, fdp) ^ ./../dist/../db/db_am.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] __db_get(dbp, txn, key, data, flags) ^ ./../dist/../db/db_am.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] __db_put(dbp, txn, key, data, flags) ^ ./../dist/../db/db_am.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_sync(dbp, flags) ^ 6 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_am.c -o db_am.o ./../dist/../db/db_am.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] __db_cursor(dbp, txn, dbcp, flags) ^ ./../dist/../db/db_am.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] __db_icursor(dbp, txn, dbtype, root, is_opd, dbcp) ^ ./../dist/../db/db_am.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] __db_fd(dbp, fdp) ^ ./../dist/../db/db_am.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] __db_get(dbp, txn, key, data, flags) ^ ./../dist/../db/db_am.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] __db_put(dbp, txn, key, data, flags) ^ ./../dist/../db/db_am.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_sync(dbp, flags) ^ 6 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_auto.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_auto.c -fPIC -DPIC -o .libs/db_auto.o ./../dist/../db/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 __db_addrem_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/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] __db_addrem_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.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] __db_addrem_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_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] __db_split_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.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] __db_split_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:303: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 __db_big_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/db_auto.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_big_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_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] __db_big_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:499: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 __db_ovref_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/db_auto.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ovref_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.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] __db_ovref_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:631: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 __db_relink_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/db_auto.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_relink_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_relink_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_addpage_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_addpage_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:875: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 __db_debug_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/db_auto.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] __db_debug_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_debug_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:1068: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 __db_noop_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/db_auto.c:1126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_noop_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_noop_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_init_print(dbenv) ^ ./../dist/../db/db_auto.c:1227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_init_recover(dbenv) ^ 24 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_auto.c -o db_auto.o ./../dist/../db/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 __db_addrem_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/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] __db_addrem_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.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] __db_addrem_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_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] __db_split_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.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] __db_split_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:303: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 __db_big_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/db_auto.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_big_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_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] __db_big_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:499: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 __db_ovref_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/db_auto.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ovref_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.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] __db_ovref_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:631: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 __db_relink_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/db_auto.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_relink_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_relink_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_addpage_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_addpage_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:875: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 __db_debug_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/db_auto.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] __db_debug_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_debug_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:1068: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 __db_noop_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../db/db_auto.c:1126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_noop_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../db/db_auto.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_noop_read(dbenv, recbuf, argpp) ^ ./../dist/../db/db_auto.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_init_print(dbenv) ^ ./../dist/../db/db_auto.c:1227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_init_recover(dbenv) ^ 24 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_byteorder.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_byteorder.c -fPIC -DPIC -o .libs/db_byteorder.o ./../dist/../common/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] __db_byteorder(dbenv, lorder) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_byteorder.c -o db_byteorder.o ./../dist/../common/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] __db_byteorder(dbenv, lorder) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_cam.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_cam.c -fPIC -DPIC -o .libs/db_cam.o ./../dist/../db/db_cam.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] __db_c_close(dbc) ^ ./../dist/../db/db_cam.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] __db_c_destroy(dbc) ^ ./../dist/../db/db_cam.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] __db_c_count(dbc, recnop, flags) ^ ./../dist/../db/db_cam.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] __db_c_del(dbc, flags) ^ ./../dist/../db/db_cam.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_c_dup(dbc_orig, dbcp, flags) ^ ./../dist/../db/db_cam.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_c_idup(dbc_orig, dbcp, flags) ^ ./../dist/../db/db_cam.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] __db_c_get(dbc_arg, key, data, flags) ^ ./../dist/../db/db_cam.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] __db_c_put(dbc_arg, key, data, flags) ^ ./../dist/../db/db_cam.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_duperr(dbp, flags) ^ ./../dist/../db/db_cam.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_c_cleanup(dbc, dbc_n, failed) ^ ./../dist/../db/db_cam.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_wrlock_err(dbenv) ^ 11 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_cam.c -o db_cam.o ./../dist/../db/db_cam.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] __db_c_close(dbc) ^ ./../dist/../db/db_cam.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] __db_c_destroy(dbc) ^ ./../dist/../db/db_cam.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] __db_c_count(dbc, recnop, flags) ^ ./../dist/../db/db_cam.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] __db_c_del(dbc, flags) ^ ./../dist/../db/db_cam.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_c_dup(dbc_orig, dbcp, flags) ^ ./../dist/../db/db_cam.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_c_idup(dbc_orig, dbcp, flags) ^ ./../dist/../db/db_cam.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] __db_c_get(dbc_arg, key, data, flags) ^ ./../dist/../db/db_cam.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] __db_c_put(dbc_arg, key, data, flags) ^ ./../dist/../db/db_cam.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_duperr(dbp, flags) ^ ./../dist/../db/db_cam.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_c_cleanup(dbc, dbc_n, failed) ^ ./../dist/../db/db_cam.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_wrlock_err(dbenv) ^ 11 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_conv.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_conv.c -fPIC -DPIC -o .libs/db_conv.o ./../dist/../db/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] __db_pgin(dbenv, pg, pp, cookie) ^ ./../dist/../db/db_conv.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_pgout(dbenv, pg, pp, cookie) ^ ./../dist/../db/db_conv.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_metaswap(pg) ^ ./../dist/../db/db_conv.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] __db_byteswap(dbenv, pg, h, pagesize, pgin) ^ ./../dist/../db/db_conv.c:212: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_conv.c:213: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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_conv.c:230: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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_conv.c:234: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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_conv.c -o db_conv.o ./../dist/../db/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] __db_pgin(dbenv, pg, pp, cookie) ^ ./../dist/../db/db_conv.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_pgout(dbenv, pg, pp, cookie) ^ ./../dist/../db/db_conv.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_metaswap(pg) ^ ./../dist/../db/db_conv.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] __db_byteswap(dbenv, pg, h, pagesize, pgin) ^ ./../dist/../db/db_conv.c:212: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_conv.c:213: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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_conv.c:230: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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_conv.c:234: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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_dispatch.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_dispatch.c -fPIC -DPIC -o .libs/db_dispatch.o ./../dist/../db/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] __db_dispatch(dbenv, db, lsnp, redo, info) ^ ./../dist/../db/db_dispatch.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_add_recovery(dbenv, func, ndx) ^ ./../dist/../db/db_dispatch.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] __deprecated_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_dispatch.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] __db_txnlist_init(dbenv, retp) ^ ./../dist/../db/db_dispatch.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_txnlist_add(dbenv, listp, txnid) ^ ./../dist/../db/db_dispatch.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] __db_txnlist_close(listp, lid, count) ^ ./../dist/../db/db_dispatch.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] __db_txnlist_delete(dbenv, listp, name, lid, deleted) ^ ./../dist/../db/db_dispatch.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_txnlist_end(dbenv, listp) ^ ./../dist/../db/db_dispatch.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] __db_txnlist_find(listp, txnid) ^ ./../dist/../db/db_dispatch.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] __db_txnlist_gen(listp, incr) ^ 10 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_dispatch.c -o db_dispatch.o ./../dist/../db/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] __db_dispatch(dbenv, db, lsnp, redo, info) ^ ./../dist/../db/db_dispatch.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_add_recovery(dbenv, func, ndx) ^ ./../dist/../db/db_dispatch.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] __deprecated_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_dispatch.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] __db_txnlist_init(dbenv, retp) ^ ./../dist/../db/db_dispatch.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_txnlist_add(dbenv, listp, txnid) ^ ./../dist/../db/db_dispatch.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] __db_txnlist_close(listp, lid, count) ^ ./../dist/../db/db_dispatch.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] __db_txnlist_delete(dbenv, listp, name, lid, deleted) ^ ./../dist/../db/db_dispatch.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_txnlist_end(dbenv, listp) ^ ./../dist/../db/db_dispatch.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] __db_txnlist_find(listp, txnid) ^ ./../dist/../db/db_dispatch.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] __db_txnlist_gen(listp, incr) ^ 10 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_dup.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_dup.c -fPIC -DPIC -o .libs/db_dup.o ./../dist/../db/db_dup.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] __db_ditem(dbc, pagep, indx, nbytes) ^ ./../dist/../db/db_dup.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] __db_pitem(dbc, pagep, indx, nbytes, hdr, data) ^ ./../dist/../db/db_dup.c:139: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_dup.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_relink(dbc, add_rem, pagep, new_next, needlock) ^ 4 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_dup.c -o db_dup.o ./../dist/../db/db_dup.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] __db_ditem(dbc, pagep, indx, nbytes) ^ ./../dist/../db/db_dup.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] __db_pitem(dbc, pagep, indx, nbytes, hdr, data) ^ ./../dist/../db/db_dup.c:139: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_dup.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_relink(dbc, add_rem, pagep, new_next, needlock) ^ 4 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_err.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_err.c -fPIC -DPIC -o .libs/db_err.o ./../dist/../common/db_err.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] __db_fchk(dbenv, name, flags, ok_flags) ^ ./../dist/../common/db_err.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] __db_fcchk(dbenv, name, flags, flag1, flag2) ^ ./../dist/../common/db_err.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] __db_ferr(dbenv, name, iscombo) ^ ./../dist/../common/db_err.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_pgerr(dbp, pgno) ^ ./../dist/../common/db_err.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] __db_pgfmt(dbp, pgno) ^ ./../dist/../common/db_err.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] __db_eopnotsup(dbenv) ^ ./../dist/../common/db_err.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] __db_panic_msg(dbenv) ^ ./../dist/../common/db_err.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] __db_panic(dbenv, errval) ^ ./../dist/../common/db_err.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_strerror(error) ^ ./../dist/../common/db_err.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] __db_real_err(dbenv, error, error_set, stderr_default, fmt, ap) ^ ./../dist/../common/db_err.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] __db_errcall(dbenv, error, error_set, fmt, ap) ^ ./../dist/../common/db_err.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_errfile(dbenv, error, error_set, fmt, ap) ^ ./../dist/../common/db_err.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_unknown_flag(dbenv, routine, flag) ^ ./../dist/../common/db_err.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] __db_unknown_type(dbenv, routine, type) ^ ./../dist/../common/db_err.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_child_active_err(dbenv) ^ 15 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_err.c -o db_err.o ./../dist/../common/db_err.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] __db_fchk(dbenv, name, flags, ok_flags) ^ ./../dist/../common/db_err.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] __db_fcchk(dbenv, name, flags, flag1, flag2) ^ ./../dist/../common/db_err.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] __db_ferr(dbenv, name, iscombo) ^ ./../dist/../common/db_err.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_pgerr(dbp, pgno) ^ ./../dist/../common/db_err.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] __db_pgfmt(dbp, pgno) ^ ./../dist/../common/db_err.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] __db_eopnotsup(dbenv) ^ ./../dist/../common/db_err.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] __db_panic_msg(dbenv) ^ ./../dist/../common/db_err.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] __db_panic(dbenv, errval) ^ ./../dist/../common/db_err.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_strerror(error) ^ ./../dist/../common/db_err.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] __db_real_err(dbenv, error, error_set, stderr_default, fmt, ap) ^ ./../dist/../common/db_err.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] __db_errcall(dbenv, error, error_set, fmt, ap) ^ ./../dist/../common/db_err.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_errfile(dbenv, error, error_set, fmt, ap) ^ ./../dist/../common/db_err.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_unknown_flag(dbenv, routine, flag) ^ ./../dist/../common/db_err.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] __db_unknown_type(dbenv, routine, type) ^ ./../dist/../common/db_err.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_child_active_err(dbenv) ^ 15 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_getlong.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_getlong.c -fPIC -DPIC -o .libs/db_getlong.o ./../dist/../common/db_getlong.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] __db_getlong(dbp, progname, p, min, max, storep) ^ ./../dist/../common/db_getlong.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_getulong(dbp, progname, p, min, max, storep) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_getlong.c -o db_getlong.o ./../dist/../common/db_getlong.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] __db_getlong(dbp, progname, p, min, max, storep) ^ ./../dist/../common/db_getlong.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_getulong(dbp, progname, p, min, max, storep) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_iface.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_iface.c -fPIC -DPIC -o .libs/db_iface.o ./../dist/../db/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] __db_cursorchk(dbp, flags, isrdonly) ^ ./../dist/../db/db_iface.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] __db_ccountchk(dbp, flags, isvalid) ^ ./../dist/../db/db_iface.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_cdelchk(dbp, flags, isrdonly, isvalid) ^ ./../dist/../db/db_iface.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_cgetchk(dbp, key, data, flags, isvalid) ^ ./../dist/../db/db_iface.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] __db_cputchk(dbp, key, data, flags, isrdonly, isvalid) ^ ./../dist/../db/db_iface.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_closechk(dbp, flags) ^ ./../dist/../db/db_iface.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_delchk(dbp, key, flags, isrdonly) ^ ./../dist/../db/db_iface.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_getchk(dbp, key, data, flags) ^ ./../dist/../db/db_iface.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_joinchk(dbp, flags) ^ ./../dist/../db/db_iface.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_joingetchk(dbp, key, flags) ^ ./../dist/../db/db_iface.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_putchk(dbp, key, data, flags, isrdonly, isdup) ^ ./../dist/../db/db_iface.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_removechk(dbp, flags) ^ ./../dist/../db/db_iface.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_statchk(dbp, flags) ^ ./../dist/../db/db_iface.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_syncchk(dbp, flags) ^ ./../dist/../db/db_iface.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] __dbt_ferr(dbp, name, dbt, check_thread) ^ ./../dist/../db/db_iface.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] __db_rdonly(dbenv, name) ^ ./../dist/../db/db_iface.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_curinval(dbenv) ^ 17 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_iface.c -o db_iface.o ./../dist/../db/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] __db_cursorchk(dbp, flags, isrdonly) ^ ./../dist/../db/db_iface.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] __db_ccountchk(dbp, flags, isvalid) ^ ./../dist/../db/db_iface.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_cdelchk(dbp, flags, isrdonly, isvalid) ^ ./../dist/../db/db_iface.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_cgetchk(dbp, key, data, flags, isvalid) ^ ./../dist/../db/db_iface.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] __db_cputchk(dbp, key, data, flags, isrdonly, isvalid) ^ ./../dist/../db/db_iface.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_closechk(dbp, flags) ^ ./../dist/../db/db_iface.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_delchk(dbp, key, flags, isrdonly) ^ ./../dist/../db/db_iface.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_getchk(dbp, key, data, flags) ^ ./../dist/../db/db_iface.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_joinchk(dbp, flags) ^ ./../dist/../db/db_iface.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_joingetchk(dbp, key, flags) ^ ./../dist/../db/db_iface.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_putchk(dbp, key, data, flags, isrdonly, isdup) ^ ./../dist/../db/db_iface.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_removechk(dbp, flags) ^ ./../dist/../db/db_iface.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_statchk(dbp, flags) ^ ./../dist/../db/db_iface.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_syncchk(dbp, flags) ^ ./../dist/../db/db_iface.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] __dbt_ferr(dbp, name, dbt, check_thread) ^ ./../dist/../db/db_iface.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] __db_rdonly(dbenv, name) ^ ./../dist/../db/db_iface.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_curinval(dbenv) ^ 17 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_join.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_join.c -fPIC -DPIC -o .libs/db_join.o ./../dist/../db/db_join.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] __db_join(primary, curslist, dbcp, flags) ^ ./../dist/../db/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] __db_join_put(dbc, key, data, flags) ^ ./../dist/../db/db_join.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_join_del(dbc, flags) ^ ./../dist/../db/db_join.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] __db_join_get(dbc, key_arg, data_arg, flags) ^ ./../dist/../db/db_join.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_join_close(dbc) ^ ./../dist/../db/db_join.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_join_getnext(dbc, key, data, exhausted) ^ ./../dist/../db/db_join.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_join_cmp(a, b) ^ 7 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_join.c -o db_join.o ./../dist/../db/db_join.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] __db_join(primary, curslist, dbcp, flags) ^ ./../dist/../db/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] __db_join_put(dbc, key, data, flags) ^ ./../dist/../db/db_join.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_join_del(dbc, flags) ^ ./../dist/../db/db_join.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] __db_join_get(dbc, key_arg, data_arg, flags) ^ ./../dist/../db/db_join.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_join_close(dbc) ^ ./../dist/../db/db_join.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_join_getnext(dbc, key, data, exhausted) ^ ./../dist/../db/db_join.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_join_cmp(a, b) ^ 7 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_log2.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_log2.c -fPIC -DPIC -o .libs/db_log2.o ./../dist/../common/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] __db_log2(num) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/db_log2.c -o db_log2.o ./../dist/../common/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] __db_log2(num) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_meta.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_meta.c -fPIC -DPIC -o .libs/db_meta.o ./../dist/../db/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] __db_new(dbc, type, pagepp) ^ ./../dist/../db/db_meta.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_free(dbc, h) ^ ./../dist/../db/db_meta.c:174:15: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] ldbt.size = P_OVERHEAD; ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_meta.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] __db_lget(dbc, flags, pgno, mode, lkflags, lockp) ^ 4 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_meta.c -o db_meta.o ./../dist/../db/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] __db_new(dbc, type, pagepp) ^ ./../dist/../db/db_meta.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_free(dbc, h) ^ ./../dist/../db/db_meta.c:174:15: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] ldbt.size = P_OVERHEAD; ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_meta.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] __db_lget(dbc, flags, pgno, mode, lkflags, lockp) ^ 4 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_method.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_method.c -fPIC -DPIC -o .libs/db_method.o ./../dist/../db/db_method.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] db_create(dbpp, dbenv, flags) ^ ./../dist/../db/db_method.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] __db_init(dbp, flags) ^ ./../dist/../db/db_method.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbh_am_chk(dbp, flags) ^ ./../dist/../db/db_method.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_get_byteswapped(dbp) ^ ./../dist/../db/db_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] __db_get_type(dbp) ^ ./../dist/../db/db_method.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] __db_key_range(dbp, txn, key, kr, flags) ^ ./../dist/../db/db_method.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_cachesize(dbp, cache_gbytes, cache_bytes, ncache) ^ ./../dist/../db/db_method.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] __db_set_dup_compare(dbp, func) ^ ./../dist/../db/db_method.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] __db_set_errcall(dbp, errcall) ^ ./../dist/../db/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] __db_set_errfile(dbp, errfile) ^ ./../dist/../db/db_method.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] __db_set_errpfx(dbp, errpfx) ^ ./../dist/../db/db_method.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] __db_set_feedback(dbp, feedback) ^ ./../dist/../db/db_method.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_flags(dbp, flags) ^ ./../dist/../db/db_method.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_lorder(dbp, db_lorder) ^ ./../dist/../db/db_method.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] __db_set_malloc(dbp, func) ^ ./../dist/../db/db_method.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_pagesize(dbp, db_pagesize) ^ ./../dist/../db/db_method.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] __db_set_realloc(dbp, func) ^ ./../dist/../db/db_method.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_paniccall(dbp, paniccall) ^ 18 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_method.c -o db_method.o ./../dist/../db/db_method.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] db_create(dbpp, dbenv, flags) ^ ./../dist/../db/db_method.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] __db_init(dbp, flags) ^ ./../dist/../db/db_method.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbh_am_chk(dbp, flags) ^ ./../dist/../db/db_method.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_get_byteswapped(dbp) ^ ./../dist/../db/db_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] __db_get_type(dbp) ^ ./../dist/../db/db_method.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] __db_key_range(dbp, txn, key, kr, flags) ^ ./../dist/../db/db_method.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_cachesize(dbp, cache_gbytes, cache_bytes, ncache) ^ ./../dist/../db/db_method.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] __db_set_dup_compare(dbp, func) ^ ./../dist/../db/db_method.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] __db_set_errcall(dbp, errcall) ^ ./../dist/../db/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] __db_set_errfile(dbp, errfile) ^ ./../dist/../db/db_method.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] __db_set_errpfx(dbp, errpfx) ^ ./../dist/../db/db_method.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] __db_set_feedback(dbp, feedback) ^ ./../dist/../db/db_method.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_flags(dbp, flags) ^ ./../dist/../db/db_method.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_lorder(dbp, db_lorder) ^ ./../dist/../db/db_method.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] __db_set_malloc(dbp, func) ^ ./../dist/../db/db_method.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_pagesize(dbp, db_pagesize) ^ ./../dist/../db/db_method.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] __db_set_realloc(dbp, func) ^ ./../dist/../db/db_method.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_set_paniccall(dbp, paniccall) ^ 18 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_overflow.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_overflow.c -fPIC -DPIC -o .libs/db_overflow.o In file included from ./../dist/../db/db_overflow.c:59: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../db/db_overflow.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] __db_goff(dbp, dbt, tlen, pgno, bpp, bpsz) ^ ./../dist/../db/db_overflow.c:143: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; ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_poff(dbc, dbt, pgnop) ^ ./../dist/../db/db_overflow.c:189:14: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] pagespace = P_MAXSPACE(dbp->pgsize); ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:310:38: note: expanded from macro 'P_MAXSPACE' #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:230: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); ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ovref(dbc, pgno, adjust) ^ ./../dist/../db/db_overflow.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] __db_doff(dbc, pgno) ^ ./../dist/../db/db_overflow.c:317: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; ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.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] __db_moff(dbp, dbt, pgno, tlen, cmpfunc, cmpp) ^ ./../dist/../db/db_overflow.c:390: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) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_overflow(dbp, vdp, h, pgno, flags) ^ ./../dist/../db/db_overflow.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] __db_vrfy_ovfl_structure(dbp, vdp, pgno, tlen, flags) ^ ./../dist/../db/db_overflow.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] __db_safe_goff(dbp, vdp, pgno, dbt, buf, flags) ^ ./../dist/../db/db_overflow.c:648:25: 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; ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:651:15: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (bytes + P_OVERHEAD > dbp->pgsize) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:652:26: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] bytes = dbp->pgsize - P_OVERHEAD; ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_overflow.c -o db_overflow.o In file included from ./../dist/../db/db_overflow.c:59: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../db/db_overflow.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] __db_goff(dbp, dbt, tlen, pgno, bpp, bpsz) ^ ./../dist/../db/db_overflow.c:143: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; ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_poff(dbc, dbt, pgnop) ^ ./../dist/../db/db_overflow.c:189:14: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] pagespace = P_MAXSPACE(dbp->pgsize); ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:310:38: note: expanded from macro 'P_MAXSPACE' #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:230: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); ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ovref(dbc, pgno, adjust) ^ ./../dist/../db/db_overflow.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] __db_doff(dbc, pgno) ^ ./../dist/../db/db_overflow.c:317: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; ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.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] __db_moff(dbp, dbt, pgno, tlen, cmpfunc, cmpp) ^ ./../dist/../db/db_overflow.c:390: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) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_overflow(dbp, vdp, h, pgno, flags) ^ ./../dist/../db/db_overflow.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] __db_vrfy_ovfl_structure(dbp, vdp, pgno, tlen, flags) ^ ./../dist/../db/db_overflow.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] __db_safe_goff(dbp, vdp, pgno, dbt, buf, flags) ^ ./../dist/../db/db_overflow.c:648:25: 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; ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:651:15: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (bytes + P_OVERHEAD > dbp->pgsize) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_overflow.c:652:26: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] bytes = dbp->pgsize - P_OVERHEAD; ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_pr.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_pr.c -fPIC -DPIC -o .libs/db_pr.o In file included from ./../dist/../db/db_pr.c:30: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../db/db_pr.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] __db_dump(dbp, op, name) ^ ./../dist/../db/db_pr.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] __db_prdb(dbp, fp, flags) ^ ./../dist/../db/db_pr.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prtree(dbp, flags) ^ ./../dist/../db/db_pr.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] __db_meta(dbp, dbmeta, fp, fn, flags) ^ ./../dist/../db/db_pr.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] __db_bmeta(dbp, fp, h, flags) ^ ./../dist/../db/db_pr.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] __db_hmeta(dbp, fp, h, flags) ^ ./../dist/../db/db_pr.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_qmeta(dbp, fp, h, flags) ^ ./../dist/../db/db_pr.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] __db_prnpage(dbp, pgno) ^ ./../dist/../db/db_pr.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prpage(dbp, h, flags) ^ ./../dist/../db/db_pr.c:504:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] for (qp = QAM_GET_RECORD(dbp, h, i); qp < qep; ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_pr.c:505:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] recno++, i++, qp = QAM_GET_RECORD(dbp, h, i)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_pr.c:528:27: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] __db_pr((u_int8_t *)h + P_OVERHEAD, OV_LEN(h)); ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:539: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 || ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:578: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)); ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:590: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); ^~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:595:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] for (p = HKEYDATA_DATA(hk), ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:605:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] __db_pr(HKEYDATA_DATA(hk), ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:606: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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.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] __db_pr(p, len) ^ ./../dist/../db/db_pr.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prdbt(dbtp, checkprint, prefix, handle, callback, is_recno, vdp) ^ ./../dist/../db/db_pr.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_proff(vp) ^ ./../dist/../db/db_pr.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prflags(flags, fn, fp) ^ ./../dist/../db/db_pr.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prinit(fp) ^ ./../dist/../db/db_pr.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_psize(dbp) ^ ./../dist/../db/db_pr.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_dbtype_to_string(dbp) ^ ./../dist/../db/db_pr.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_pagetype_to_string(type) ^ ./../dist/../db/db_pr.c:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prheader(dbp, subname, pflag, keyflag, handle, callback, vdp, meta_pgno) ^ ./../dist/../db/db_pr.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prfooter(handle, callback) ^ 29 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_pr.c -o db_pr.o In file included from ./../dist/../db/db_pr.c:30: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../db/db_pr.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] __db_dump(dbp, op, name) ^ ./../dist/../db/db_pr.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] __db_prdb(dbp, fp, flags) ^ ./../dist/../db/db_pr.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prtree(dbp, flags) ^ ./../dist/../db/db_pr.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] __db_meta(dbp, dbmeta, fp, fn, flags) ^ ./../dist/../db/db_pr.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] __db_bmeta(dbp, fp, h, flags) ^ ./../dist/../db/db_pr.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] __db_hmeta(dbp, fp, h, flags) ^ ./../dist/../db/db_pr.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_qmeta(dbp, fp, h, flags) ^ ./../dist/../db/db_pr.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] __db_prnpage(dbp, pgno) ^ ./../dist/../db/db_pr.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prpage(dbp, h, flags) ^ ./../dist/../db/db_pr.c:504:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] for (qp = QAM_GET_RECORD(dbp, h, i); qp < qep; ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_pr.c:505:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] recno++, i++, qp = QAM_GET_RECORD(dbp, h, i)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_pr.c:528:27: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] __db_pr((u_int8_t *)h + P_OVERHEAD, OV_LEN(h)); ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:539: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 || ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:578: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)); ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:590: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); ^~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:595:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] for (p = HKEYDATA_DATA(hk), ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:605:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] __db_pr(HKEYDATA_DATA(hk), ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.c:606: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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_pr.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] __db_pr(p, len) ^ ./../dist/../db/db_pr.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prdbt(dbtp, checkprint, prefix, handle, callback, is_recno, vdp) ^ ./../dist/../db/db_pr.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_proff(vp) ^ ./../dist/../db/db_pr.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prflags(flags, fn, fp) ^ ./../dist/../db/db_pr.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prinit(fp) ^ ./../dist/../db/db_pr.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_psize(dbp) ^ ./../dist/../db/db_pr.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_dbtype_to_string(dbp) ^ ./../dist/../db/db_pr.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_pagetype_to_string(type) ^ ./../dist/../db/db_pr.c:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prheader(dbp, subname, pflag, keyflag, handle, callback, vdp, meta_pgno) ^ ./../dist/../db/db_pr.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_prfooter(handle, callback) ^ 29 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_rec.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_rec.c -fPIC -DPIC -o .libs/db_rec.o ./../dist/../db/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] __db_addrem_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_rec.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] __db_big_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_rec.c:164: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, ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_rec.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] __db_ovref_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_rec.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] __db_relink_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_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] __db_debug_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_rec.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] __db_noop_recover(dbenv, dbtp, lsnp, op, info) ^ 7 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_rec.c -o db_rec.o ./../dist/../db/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] __db_addrem_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_rec.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] __db_big_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_rec.c:164: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, ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_rec.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] __db_ovref_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_rec.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] __db_relink_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_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] __db_debug_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../db/db_rec.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] __db_noop_recover(dbenv, dbtp, lsnp, op, info) ^ 7 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_reclaim.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_reclaim.c -fPIC -DPIC -o .libs/db_reclaim.o ./../dist/../db/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] __db_traverse_dup(dbp, pgno, callback, cookie) ^ ./../dist/../db/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] __db_traverse_big(dbp, pgno, callback, cookie) ^ ./../dist/../db/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] __db_reclaim_callback(dbp, p, cookie, putp) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_reclaim.c -o db_reclaim.o ./../dist/../db/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] __db_traverse_dup(dbp, pgno, callback, cookie) ^ ./../dist/../db/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] __db_traverse_big(dbp, pgno, callback, cookie) ^ ./../dist/../db/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] __db_reclaim_callback(dbp, p, cookie, putp) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_ret.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_ret.c -fPIC -DPIC -o .libs/db_ret.o ./../dist/../db/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] __db_ret(dbp, h, indx, dbt, memp, memsize) ^ ./../dist/../db/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/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); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_ret.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] __db_retcopy(dbp, dbt, data, len, memp, memsize) ^ 4 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_ret.c -o db_ret.o ./../dist/../db/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] __db_ret(dbp, h, indx, dbt, memp, memsize) ^ ./../dist/../db/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/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); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_ret.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] __db_retcopy(dbp, dbt, data, len, memp, memsize) ^ 4 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/db_salloc.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/db_salloc.c -fPIC -DPIC -o .libs/db_salloc.o ./../dist/../env/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] __db_shalloc_init(area, size) ^ ./../dist/../env/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] __db_shalloc(p, len, align, retp) ^ ./../dist/../env/db_salloc.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_shalloc_free(regionp, ptr) ^ ./../dist/../env/db_salloc.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] __db_shalloc_count(addr) ^ ./../dist/../env/db_salloc.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_shsizeof(ptr) ^ ./../dist/../env/db_salloc.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] __db_shalloc_dump(addr, fp) ^ 6 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/db_salloc.c -o db_salloc.o ./../dist/../env/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] __db_shalloc_init(area, size) ^ ./../dist/../env/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] __db_shalloc(p, len, align, retp) ^ ./../dist/../env/db_salloc.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_shalloc_free(regionp, ptr) ^ ./../dist/../env/db_salloc.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] __db_shalloc_count(addr) ^ ./../dist/../env/db_salloc.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_shsizeof(ptr) ^ ./../dist/../env/db_salloc.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] __db_shalloc_dump(addr, fp) ^ 6 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/db_shash.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/db_shash.c -fPIC -DPIC -o .libs/db_shash.o ./../dist/../env/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] __db_tablesize(n_buckets) ^ ./../dist/../env/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] __db_hashinit(begin, nelements) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/db_shash.c -o db_shash.o ./../dist/../env/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] __db_tablesize(n_buckets) ^ ./../dist/../env/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] __db_hashinit(begin, nelements) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_upg.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_upg.c -fPIC -DPIC -o .libs/db_upg.o ./../dist/../db/db_upg.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] __db_upgrade(dbp, fname, flags) ^ ./../dist/../db/db_upg.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] __db_page_pass(dbp, real_name, flags, fl, fhp) ^ ./../dist/../db/db_upg.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] __db_lastpgno(dbp, real_name, fhp, pgno_lastp) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_upg.c -o db_upg.o ./../dist/../db/db_upg.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] __db_upgrade(dbp, fname, flags) ^ ./../dist/../db/db_upg.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] __db_page_pass(dbp, real_name, flags, fl, fhp) ^ ./../dist/../db/db_upg.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] __db_lastpgno(dbp, real_name, fhp, pgno_lastp) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_upg_opd.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_upg_opd.c -fPIC -DPIC -o .libs/db_upg_opd.o ./../dist/../db/db_upg_opd.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] __db_31_offdup(dbp, real_name, fhp, sorted, pgnop) ^ ./../dist/../db/db_upg_opd.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_build_bi(dbp, fhp, ipage, page, indx, nomemp) ^ ./../dist/../db/db_upg_opd.c:222:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ipage) < BINTERNAL_PSIZE(child_bi->len)) { ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:222:28: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] if (P_FREESPACE(ipage) < BINTERNAL_PSIZE(child_bi->len)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:227:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HOFFSET(ipage) -= BINTERNAL_SIZE(child_bi->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:234:18: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] memcpy(p, &bi, SSZA(BINTERNAL, data)); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:235:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] p += SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:248:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ipage) < ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:249:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_PSIZE(child_bk->len)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:254:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HOFFSET(ipage) -= BINTERNAL_SIZE(child_bk->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:261:19: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] memcpy(p, &bi, SSZA(BINTERNAL, data)); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:262:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] p += SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:266:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ipage) < ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:267:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_PSIZE(BOVERFLOW_SIZE)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:272:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HOFFSET(ipage) -= BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:279:19: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] memcpy(p, &bi, SSZA(BINTERNAL, data)); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:280:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] p += SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.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] __db_build_ri(dbp, fhp, ipage, page, indx, nomemp) ^ ./../dist/../db/db_upg_opd.c:316:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ipage) < RINTERNAL_PSIZE) { ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_up_ovref(dbp, fhp, pgno) ^ 20 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_upg_opd.c -o db_upg_opd.o ./../dist/../db/db_upg_opd.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] __db_31_offdup(dbp, real_name, fhp, sorted, pgnop) ^ ./../dist/../db/db_upg_opd.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_build_bi(dbp, fhp, ipage, page, indx, nomemp) ^ ./../dist/../db/db_upg_opd.c:222:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ipage) < BINTERNAL_PSIZE(child_bi->len)) { ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:222:28: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] if (P_FREESPACE(ipage) < BINTERNAL_PSIZE(child_bi->len)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:227:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HOFFSET(ipage) -= BINTERNAL_SIZE(child_bi->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:234:18: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] memcpy(p, &bi, SSZA(BINTERNAL, data)); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:235:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] p += SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:248:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ipage) < ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:249:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_PSIZE(child_bk->len)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:254:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HOFFSET(ipage) -= BINTERNAL_SIZE(child_bk->len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:261:19: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] memcpy(p, &bi, SSZA(BINTERNAL, data)); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:262:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] p += SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:266:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ipage) < ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:267:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] BINTERNAL_PSIZE(BOVERFLOW_SIZE)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:557:3: note: expanded from macro 'BINTERNAL_PSIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:272:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HOFFSET(ipage) -= BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:555:16: note: expanded from macro 'BINTERNAL_SIZE' ALIGN((len) + SSZA(BINTERNAL, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_upg_opd.c:279:19: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] memcpy(p, &bi, SSZA(BINTERNAL, data)); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:280:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] p += SSZA(BINTERNAL, data); ^~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.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] __db_build_ri(dbp, fhp, ipage, page, indx, nomemp) ^ ./../dist/../db/db_upg_opd.c:316:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(ipage) < RINTERNAL_PSIZE) { ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../db/db_upg_opd.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_up_ovref(dbp, fhp, pgno) ^ 20 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_vrfy.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_vrfy.c -fPIC -DPIC -o .libs/db_vrfy.o In file included from ./../dist/../db/db_vrfy.c:26: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../db/db_vrfy.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] __db_verify(dbp, file, database, outfile, flags) ^ ./../dist/../db/db_vrfy.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] __db_verify_callback(handle, str_arg) ^ ./../dist/../db/db_vrfy.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] __db_verify_internal(dbp_orig, name, subdb, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_pagezero(dbp, vdp, fhp, flags) ^ ./../dist/../db/db_vrfy.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_walkpages(dbp, vdp, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_structure(dbp, vdp, dbname, meta_pgno, flags) ^ ./../dist/../db/db_vrfy.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_is_valid_pagetype(type) ^ ./../dist/../db/db_vrfy.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_is_valid_magicno(magic, typep) ^ ./../dist/../db/db_vrfy.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_common(dbp, vdp, h, pgno, flags) ^ ./../dist/../db/db_vrfy.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_invalid(dbp, vdp, h, pgno, flags) ^ ./../dist/../db/db_vrfy.c:976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_datapage(dbp, vdp, h, pgno, flags) ^ ./../dist/../db/db_vrfy.c:1022:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] if (BKEYDATA_PSIZE(0) * NUM_ENT(h) > dbp->pgsize) { ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_vrfy.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_meta(dbp, vdp, meta, pgno, flags) ^ ./../dist/../db/db_vrfy.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_freelist(dbp, vdp, meta, flags) ^ ./../dist/../db/db_vrfy.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_subdbs(dbp, vdp, dbname, flags) ^ ./../dist/../db/db_vrfy.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] __db_vrfy_orderchkonly(dbp, vdp, name, subdb, flags) ^ ./../dist/../db/db_vrfy.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage(dbp, vdp, pgno, h, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:1544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_unknowns(dbp, vdp, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:1654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_inpitem(dbp, h, pgno, i, is_btree, flags, himarkp, offsetp) ^ ./../dist/../db/db_vrfy.c:1724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_duptype(dbp, vdp, pgno, flags) ^ ./../dist/../db/db_vrfy.c:1793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_duptree(dbp, vdp, pgno, key, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:1851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_subdbs(dbp, vdp, handle, callback, flags, hassubsp) ^ ./../dist/../db/db_vrfy.c:1961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_subdbpg(dbp, vdp, master, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:2129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_meta2pgset(dbp, vdp, pgno, flags, pgset) ^ ./../dist/../db/db_vrfy.c:2165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_guesspgsize(dbenv, fhp) ^ ./../dist/../db/db_vrfy.c:2190:11: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] i, SSZ(DBMETA, type), 0, DB_OS_SEEK_SET)) != 0) ^~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ 27 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_vrfy.c -o db_vrfy.o In file included from ./../dist/../db/db_vrfy.c:26: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../db/db_vrfy.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] __db_verify(dbp, file, database, outfile, flags) ^ ./../dist/../db/db_vrfy.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] __db_verify_callback(handle, str_arg) ^ ./../dist/../db/db_vrfy.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] __db_verify_internal(dbp_orig, name, subdb, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_pagezero(dbp, vdp, fhp, flags) ^ ./../dist/../db/db_vrfy.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_walkpages(dbp, vdp, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_structure(dbp, vdp, dbname, meta_pgno, flags) ^ ./../dist/../db/db_vrfy.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_is_valid_pagetype(type) ^ ./../dist/../db/db_vrfy.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_is_valid_magicno(magic, typep) ^ ./../dist/../db/db_vrfy.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_common(dbp, vdp, h, pgno, flags) ^ ./../dist/../db/db_vrfy.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_invalid(dbp, vdp, h, pgno, flags) ^ ./../dist/../db/db_vrfy.c:976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_datapage(dbp, vdp, h, pgno, flags) ^ ./../dist/../db/db_vrfy.c:1022:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] if (BKEYDATA_PSIZE(0) * NUM_ENT(h) > dbp->pgsize) { ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:485:3: note: expanded from macro 'BKEYDATA_PSIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../db/db_vrfy.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_meta(dbp, vdp, meta, pgno, flags) ^ ./../dist/../db/db_vrfy.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_freelist(dbp, vdp, meta, flags) ^ ./../dist/../db/db_vrfy.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_subdbs(dbp, vdp, dbname, flags) ^ ./../dist/../db/db_vrfy.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] __db_vrfy_orderchkonly(dbp, vdp, name, subdb, flags) ^ ./../dist/../db/db_vrfy.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage(dbp, vdp, pgno, h, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:1544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_unknowns(dbp, vdp, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:1654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_inpitem(dbp, h, pgno, i, is_btree, flags, himarkp, offsetp) ^ ./../dist/../db/db_vrfy.c:1724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_duptype(dbp, vdp, pgno, flags) ^ ./../dist/../db/db_vrfy.c:1793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_duptree(dbp, vdp, pgno, key, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:1851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_subdbs(dbp, vdp, handle, callback, flags, hassubsp) ^ ./../dist/../db/db_vrfy.c:1961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_subdbpg(dbp, vdp, master, handle, callback, flags) ^ ./../dist/../db/db_vrfy.c:2129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_meta2pgset(dbp, vdp, pgno, flags, pgset) ^ ./../dist/../db/db_vrfy.c:2165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_guesspgsize(dbenv, fhp) ^ ./../dist/../db/db_vrfy.c:2190:11: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] i, SSZ(DBMETA, type), 0, DB_OS_SEEK_SET)) != 0) ^~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ 27 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_vrfyutil.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_vrfyutil.c -fPIC -DPIC -o .libs/db_vrfyutil.o In file included from ./../dist/../db/db_vrfyutil.c:24: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../db/db_vrfyutil.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] __db_vrfy_dbinfo_create (dbenv, pgsize, vdpp) ^ ./../dist/../db/db_vrfyutil.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_dbinfo_destroy(vdp) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_getpageinfo(vdp, pgno, pipp) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_putpageinfo(vdp, pip) ^ ./../dist/../db/db_vrfyutil.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_pgset(dbenv, pgsize, dbpp) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_pgset_get(dbp, pgno, valp) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_pgset_inc(dbp, pgno) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_pgset_dec(dbp, pgno) ^ ./../dist/../db/db_vrfyutil.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_pgset_iinc(dbp, pgno, i) ^ ./../dist/../db/db_vrfyutil.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_pgset_next(dbc, pgnop) ^ ./../dist/../db/db_vrfyutil.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_childcursor(vdp, dbcp) ^ ./../dist/../db/db_vrfyutil.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_childput(vdp, pgno, cip) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_ccset(dbc, pgno, cipp) ^ ./../dist/../db/db_vrfyutil.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_ccnext(dbc, cipp) ^ ./../dist/../db/db_vrfyutil.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_ccclose(dbc) ^ ./../dist/../db/db_vrfyutil.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_pageinfo_create(pgipp) ^ ./../dist/../db/db_vrfyutil.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] __db_salvage_init(vdp) ^ ./../dist/../db/db_vrfyutil.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_destroy(vdp) ^ ./../dist/../db/db_vrfyutil.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] __db_salvage_getnext(vdp, pgnop, pgtypep) ^ ./../dist/../db/db_vrfyutil.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_isdone(vdp, pgno) ^ ./../dist/../db/db_vrfyutil.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_markdone(vdp, pgno) ^ ./../dist/../db/db_vrfyutil.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] __db_salvage_markneeded(vdp, pgno, pgtype) ^ 23 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db/db_vrfyutil.c -o db_vrfyutil.o In file included from ./../dist/../db/db_vrfyutil.c:24: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../db/db_vrfyutil.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] __db_vrfy_dbinfo_create (dbenv, pgsize, vdpp) ^ ./../dist/../db/db_vrfyutil.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_dbinfo_destroy(vdp) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_getpageinfo(vdp, pgno, pipp) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_putpageinfo(vdp, pip) ^ ./../dist/../db/db_vrfyutil.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_pgset(dbenv, pgsize, dbpp) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_pgset_get(dbp, pgno, valp) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_pgset_inc(dbp, pgno) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_pgset_dec(dbp, pgno) ^ ./../dist/../db/db_vrfyutil.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_pgset_iinc(dbp, pgno, i) ^ ./../dist/../db/db_vrfyutil.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_pgset_next(dbc, pgnop) ^ ./../dist/../db/db_vrfyutil.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_childcursor(vdp, dbcp) ^ ./../dist/../db/db_vrfyutil.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_childput(vdp, pgno, cip) ^ ./../dist/../db/db_vrfyutil.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] __db_vrfy_ccset(dbc, pgno, cipp) ^ ./../dist/../db/db_vrfyutil.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_ccnext(dbc, cipp) ^ ./../dist/../db/db_vrfyutil.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_ccclose(dbc) ^ ./../dist/../db/db_vrfyutil.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_vrfy_pageinfo_create(pgipp) ^ ./../dist/../db/db_vrfyutil.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] __db_salvage_init(vdp) ^ ./../dist/../db/db_vrfyutil.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_destroy(vdp) ^ ./../dist/../db/db_vrfyutil.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] __db_salvage_getnext(vdp, pgnop, pgtypep) ^ ./../dist/../db/db_vrfyutil.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_isdone(vdp, pgno) ^ ./../dist/../db/db_vrfyutil.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_salvage_markdone(vdp, pgno) ^ ./../dist/../db/db_vrfyutil.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] __db_salvage_markneeded(vdp, pgno, pgtype) ^ 23 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../dbm/dbm.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../dbm/dbm.c -fPIC -DPIC -o .libs/dbm.o ./../dist/../dbm/dbm.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] __db_dbm_init(file) ^ ./../dist/../dbm/dbm.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] __db_dbm_fetch(key) ^ ./../dist/../dbm/dbm.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_dbm_nextkey(key) ^ ./../dist/../dbm/dbm.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_dbm_delete(key) ^ ./../dist/../dbm/dbm.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_dbm_store(key, dat) ^ ./../dist/../dbm/dbm.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] __db_ndbm_open(file, oflags, mode) ^ ./../dist/../dbm/dbm.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_close(dbm) ^ ./../dist/../dbm/dbm.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] __db_ndbm_fetch(dbm, key) ^ ./../dist/../dbm/dbm.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] __db_ndbm_firstkey(dbm) ^ ./../dist/../dbm/dbm.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] __db_ndbm_nextkey(dbm) ^ ./../dist/../dbm/dbm.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] __db_ndbm_delete(dbm, key) ^ ./../dist/../dbm/dbm.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_store(dbm, key, data, flags) ^ ./../dist/../dbm/dbm.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_error(dbm) ^ ./../dist/../dbm/dbm.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_clearerr(dbm) ^ ./../dist/../dbm/dbm.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_rdonly(dbm) ^ ./../dist/../dbm/dbm.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] __db_ndbm_dirfno(dbm) ^ ./../dist/../dbm/dbm.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_pagfno(dbm) ^ 17 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../dbm/dbm.c -o dbm.o ./../dist/../dbm/dbm.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] __db_dbm_init(file) ^ ./../dist/../dbm/dbm.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] __db_dbm_fetch(key) ^ ./../dist/../dbm/dbm.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_dbm_nextkey(key) ^ ./../dist/../dbm/dbm.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_dbm_delete(key) ^ ./../dist/../dbm/dbm.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_dbm_store(key, dat) ^ ./../dist/../dbm/dbm.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] __db_ndbm_open(file, oflags, mode) ^ ./../dist/../dbm/dbm.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_close(dbm) ^ ./../dist/../dbm/dbm.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] __db_ndbm_fetch(dbm, key) ^ ./../dist/../dbm/dbm.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] __db_ndbm_firstkey(dbm) ^ ./../dist/../dbm/dbm.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] __db_ndbm_nextkey(dbm) ^ ./../dist/../dbm/dbm.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] __db_ndbm_delete(dbm, key) ^ ./../dist/../dbm/dbm.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_store(dbm, key, data, flags) ^ ./../dist/../dbm/dbm.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_error(dbm) ^ ./../dist/../dbm/dbm.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_clearerr(dbm) ^ ./../dist/../dbm/dbm.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_rdonly(dbm) ^ ./../dist/../dbm/dbm.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] __db_ndbm_dirfno(dbm) ^ ./../dist/../dbm/dbm.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_ndbm_pagfno(dbm) ^ 17 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_method.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_method.c -fPIC -DPIC -o .libs/env_method.o ./../dist/../env/env_method.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] db_env_create(dbenvpp, flags) ^ ./../dist/../env/env_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] __dbenv_init(dbenv) ^ ./../dist/../env/env_method.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_set_data_dir(dbenv, dir) ^ ./../dist/../env/env_method.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_set_errcall(dbenv, errcall) ^ ./../dist/../env/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] __dbenv_set_errfile(dbenv, errfile) ^ ./../dist/../env/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] __dbenv_set_errpfx(dbenv, errpfx) ^ ./../dist/../env/env_method.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] __dbenv_set_feedback(dbenv, feedback) ^ ./../dist/../env/env_method.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] __dbenv_set_paniccall(dbenv, paniccall) ^ ./../dist/../env/env_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] __dbenv_set_recovery_init(dbenv, recovery_init) ^ ./../dist/../env/env_method.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_set_shm_key(dbenv, shm_key) ^ ./../dist/../env/env_method.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] __dbenv_set_tmp_dir(dbenv, dir) ^ ./../dist/../env/env_method.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_set_verbose(dbenv, which, onoff) ^ ./../dist/../env/env_method.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_mi_env(dbenv, name) ^ ./../dist/../env/env_method.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_mi_open(dbenv, name, after) ^ ./../dist/../env/env_method.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_env_config(dbenv, subsystem) ^ ./../dist/../env/env_method.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_set_server_noclnt(dbenv, host, tsec, ssec, flags) ^ 16 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_method.c -o env_method.o ./../dist/../env/env_method.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] db_env_create(dbenvpp, flags) ^ ./../dist/../env/env_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] __dbenv_init(dbenv) ^ ./../dist/../env/env_method.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_set_data_dir(dbenv, dir) ^ ./../dist/../env/env_method.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_set_errcall(dbenv, errcall) ^ ./../dist/../env/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] __dbenv_set_errfile(dbenv, errfile) ^ ./../dist/../env/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] __dbenv_set_errpfx(dbenv, errpfx) ^ ./../dist/../env/env_method.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] __dbenv_set_feedback(dbenv, feedback) ^ ./../dist/../env/env_method.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] __dbenv_set_paniccall(dbenv, paniccall) ^ ./../dist/../env/env_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] __dbenv_set_recovery_init(dbenv, recovery_init) ^ ./../dist/../env/env_method.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_set_shm_key(dbenv, shm_key) ^ ./../dist/../env/env_method.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] __dbenv_set_tmp_dir(dbenv, dir) ^ ./../dist/../env/env_method.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_set_verbose(dbenv, which, onoff) ^ ./../dist/../env/env_method.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_mi_env(dbenv, name) ^ ./../dist/../env/env_method.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_mi_open(dbenv, name, after) ^ ./../dist/../env/env_method.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_env_config(dbenv, subsystem) ^ ./../dist/../env/env_method.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_set_server_noclnt(dbenv, host, tsec, ssec, flags) ^ 16 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_open.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_open.c -fPIC -DPIC -o .libs/env_open.o ./../dist/../env/env_open.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] db_version(majverp, minverp, patchp) ^ ./../dist/../env/env_open.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] __dbenv_open(dbenv, db_home, flags, mode) ^ ./../dist/../env/env_open.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_remove(dbenv, db_home, flags) ^ ./../dist/../env/env_open.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_config(dbenv, db_home, flags) ^ ./../dist/../env/env_open.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] __dbenv_close(dbenv, flags) ^ ./../dist/../env/env_open.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] __dbenv_refresh(dbenv) ^ ./../dist/../env/env_open.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_appname(dbenv, appname, dir, file, tmp_oflags, fhp, namep) ^ ./../dist/../env/env_open.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_home(dbenv, db_home, flags) ^ ./../dist/../env/env_open.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_parse(dbenv, s) ^ ./../dist/../env/env_open.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_tmp_open(dbenv, tmp_oflags, path, fhp) ^ 10 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_open.c -o env_open.o ./../dist/../env/env_open.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] db_version(majverp, minverp, patchp) ^ ./../dist/../env/env_open.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] __dbenv_open(dbenv, db_home, flags, mode) ^ ./../dist/../env/env_open.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_remove(dbenv, db_home, flags) ^ ./../dist/../env/env_open.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dbenv_config(dbenv, db_home, flags) ^ ./../dist/../env/env_open.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] __dbenv_close(dbenv, flags) ^ ./../dist/../env/env_open.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] __dbenv_refresh(dbenv) ^ ./../dist/../env/env_open.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_appname(dbenv, appname, dir, file, tmp_oflags, fhp, namep) ^ ./../dist/../env/env_open.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_home(dbenv, db_home, flags) ^ ./../dist/../env/env_open.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_parse(dbenv, s) ^ ./../dist/../env/env_open.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_tmp_open(dbenv, tmp_oflags, path, fhp) ^ 10 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_recover.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_recover.c -fPIC -DPIC -o .libs/env_recover.o ./../dist/../env/env_recover.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] __db_apprec(dbenv, flags) ^ ./../dist/../env/env_recover.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] __lsn_diff(low, high, current, max, is_forward) ^ ./../dist/../env/env_recover.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] __log_earliest(dbenv, lowtime, lowlsn) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_recover.c -o env_recover.o ./../dist/../env/env_recover.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] __db_apprec(dbenv, flags) ^ ./../dist/../env/env_recover.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] __lsn_diff(low, high, current, max, is_forward) ^ ./../dist/../env/env_recover.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] __log_earliest(dbenv, lowtime, lowlsn) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_region.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_region.c -fPIC -DPIC -o .libs/env_region.o ./../dist/../env/env_region.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] __db_e_attach(dbenv) ^ ./../dist/../env/env_region.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_e_detach(dbenv, destroy) ^ ./../dist/../env/env_region.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] __db_e_remove(dbenv, force) ^ ./../dist/../env/env_region.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_e_remfile(dbenv) ^ ./../dist/../env/env_region.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_e_stat(dbenv, arg_renv, arg_regions, arg_regions_cnt) ^ ./../dist/../env/env_region.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_r_attach(dbenv, infop, size) ^ ./../dist/../env/env_region.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_r_detach(dbenv, infop, destroy) ^ ./../dist/../env/env_region.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_des_get(dbenv, env_infop, infop, rpp) ^ ./../dist/../env/env_region.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_des_destroy(dbenv, rp) ^ ./../dist/../env/env_region.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_faultmem(addr, size, created) ^ 10 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../env/env_region.c -o env_region.o ./../dist/../env/env_region.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] __db_e_attach(dbenv) ^ ./../dist/../env/env_region.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_e_detach(dbenv, destroy) ^ ./../dist/../env/env_region.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] __db_e_remove(dbenv, force) ^ ./../dist/../env/env_region.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_e_remfile(dbenv) ^ ./../dist/../env/env_region.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_e_stat(dbenv, arg_renv, arg_regions, arg_regions_cnt) ^ ./../dist/../env/env_region.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_r_attach(dbenv, infop, size) ^ ./../dist/../env/env_region.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_r_detach(dbenv, infop, destroy) ^ ./../dist/../env/env_region.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_des_get(dbenv, env_infop, infop, rpp) ^ ./../dist/../env/env_region.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_des_destroy(dbenv, rp) ^ ./../dist/../env/env_region.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __db_faultmem(addr, size, created) ^ 10 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash.c -fPIC -DPIC -o .libs/hash.o ./../dist/../hash/hash.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] __ham_metachk(dbp, name, hashm) ^ ./../dist/../hash/hash.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] __ham_open(dbp, name, base_pgno, flags) ^ ./../dist/../hash/hash.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] __ham_init_htab(dbc, name, pgno, nelem, ffactor) ^ ./../dist/../hash/hash.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_delete(dbp, txn, key, flags) ^ ./../dist/../hash/hash.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] __ham_c_init(dbc) ^ ./../dist/../hash/hash.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_close(dbc, root_pgno, rmroot) ^ ./../dist/../hash/hash.c:568:22: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&root_pgno, HOFFPAGE_PGNO(dp), sizeof(db_pgno_t)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_destroy(dbc) ^ ./../dist/../hash/hash.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] __ham_c_count(dbc, recnop) ^ ./../dist/../hash/hash.c:642: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->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/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->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.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] __ham_c_del(dbc) ^ ./../dist/../hash/hash.c:693:33: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] DUP_SIZE(hcp->dup_len) == LEN_HDATA(hcp->page, ^~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:702:19: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] repldbt.data = HKEYDATA_DATA(H_PAIRDATA(hcp->page, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_dup(orig_dbc, new_dbc) ^ ./../dist/../hash/hash.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_get(dbc, key, data, flags, pgnop) ^ ./../dist/../hash/hash.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] __ham_c_put(dbc, key, data, flags, pgnop) ^ ./../dist/../hash/hash.c:976:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_PSIZE(key->size)) + ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:379:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:978:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_PSIZE(data->size)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:379:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_expand_table(dbc) ^ ./../dist/../hash/hash.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] __ham_call_hash(dbc, k, len) ^ ./../dist/../hash/hash.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dup_return(dbc, val, flags) ^ ./../dist/../hash/hash.c:1232:19: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hcp->dup_tlen = LEN_HDATA(hcp->page, ^~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1240:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(hk) + hcp->dup_off, ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1247:8: 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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1279: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:412:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1281: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1290: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); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1291: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->page, ^~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_overwrite(dbc, nval, flags) ^ ./../dist/../hash/hash.c:1511:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRDATA(hcp->page, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1543: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:412:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1545: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->page, ^~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_lookup(dbc, key, sought, mode, pgnop) ^ ./../dist/../hash/hash.c:1603: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:412:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1606: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1616:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] LEN_HKEY(hcp->page, dbp->pgsize, hcp->indx) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:399:34: note: expanded from macro 'LEN_HKEY' #define LEN_HKEY(p, psize, indx) LEN_HKEYDATA(p, psize, H_KEYINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1618: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) { ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1623:20: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(pgnop, HOFFDUP_PGNO(dk), ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_init_dbt(dbenv, dbt, size, bufp, sizep) ^ ./../dist/../hash/hash.c:1693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_update(dbc, chg_pgno, len, add, is_dup) ^ ./../dist/../hash/hash.c:1790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_get_clist(dbp, bucket, indx, listp) ^ ./../dist/../hash/hash.c:1840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_del_dups(orig_dbc, key) ^ ./../dist/../hash/hash.c:1894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_writelock(dbc) ^ ./../dist/../hash/hash.c:1932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_chgpg(dbc, old_pgno, old_index, new_pgno, new_index) ^ 45 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash.c -o hash.o ./../dist/../hash/hash.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] __ham_metachk(dbp, name, hashm) ^ ./../dist/../hash/hash.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] __ham_open(dbp, name, base_pgno, flags) ^ ./../dist/../hash/hash.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] __ham_init_htab(dbc, name, pgno, nelem, ffactor) ^ ./../dist/../hash/hash.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_delete(dbp, txn, key, flags) ^ ./../dist/../hash/hash.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] __ham_c_init(dbc) ^ ./../dist/../hash/hash.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_close(dbc, root_pgno, rmroot) ^ ./../dist/../hash/hash.c:568:22: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&root_pgno, HOFFPAGE_PGNO(dp), sizeof(db_pgno_t)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_destroy(dbc) ^ ./../dist/../hash/hash.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] __ham_c_count(dbc, recnop) ^ ./../dist/../hash/hash.c:642: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->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/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->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.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] __ham_c_del(dbc) ^ ./../dist/../hash/hash.c:693:33: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] DUP_SIZE(hcp->dup_len) == LEN_HDATA(hcp->page, ^~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:702:19: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] repldbt.data = HKEYDATA_DATA(H_PAIRDATA(hcp->page, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_dup(orig_dbc, new_dbc) ^ ./../dist/../hash/hash.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_get(dbc, key, data, flags, pgnop) ^ ./../dist/../hash/hash.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] __ham_c_put(dbc, key, data, flags, pgnop) ^ ./../dist/../hash/hash.c:976:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_PSIZE(key->size)) + ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:379:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:978:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_PSIZE(data->size)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:379:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_expand_table(dbc) ^ ./../dist/../hash/hash.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] __ham_call_hash(dbc, k, len) ^ ./../dist/../hash/hash.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dup_return(dbc, val, flags) ^ ./../dist/../hash/hash.c:1232:19: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] hcp->dup_tlen = LEN_HDATA(hcp->page, ^~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1240:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(hk) + hcp->dup_off, ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1247:8: 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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1279: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:412:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1281: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1290: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); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1291: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->page, ^~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_overwrite(dbc, nval, flags) ^ ./../dist/../hash/hash.c:1511:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRDATA(hcp->page, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1543: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:412:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1545: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->page, ^~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_lookup(dbc, key, sought, mode, pgnop) ^ ./../dist/../hash/hash.c:1603: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:412:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1606: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1616:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] LEN_HKEY(hcp->page, dbp->pgsize, hcp->indx) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:399:34: note: expanded from macro 'LEN_HKEY' #define LEN_HKEY(p, psize, indx) LEN_HKEYDATA(p, psize, H_KEYINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1618: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) { ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1623:20: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(pgnop, HOFFDUP_PGNO(dk), ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash.c:1657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_init_dbt(dbenv, dbt, size, bufp, sizep) ^ ./../dist/../hash/hash.c:1693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_update(dbc, chg_pgno, len, add, is_dup) ^ ./../dist/../hash/hash.c:1790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_get_clist(dbp, bucket, indx, listp) ^ ./../dist/../hash/hash.c:1840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_del_dups(orig_dbc, key) ^ ./../dist/../hash/hash.c:1894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_writelock(dbc) ^ ./../dist/../hash/hash.c:1932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_c_chgpg(dbc, old_pgno, old_index, new_pgno, new_index) ^ 45 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_auto.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_auto.c -fPIC -DPIC -o .libs/hash_auto.o ./../dist/../hash/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 __ham_insdel_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/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] __ham_insdel_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.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] __ham_insdel_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/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 __ham_newpage_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/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] __ham_newpage_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_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] __ham_newpage_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_splitmeta_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.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] __ham_splitmeta_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:455: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 __ham_splitdata_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/hash_auto.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_splitdata_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_splitdata_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:614: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 __ham_replace_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/hash_auto.c:710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_replace_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_replace_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.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] __ham_newpgno_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_newpgno_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.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] __ham_ovfl_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.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] __ham_ovfl_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:978: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 __ham_copypage_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/hash_auto.c:1072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_copypage_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_copypage_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:1167: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 __ham_metagroup_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/hash_auto.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_metagroup_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_metagroup_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:1311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_groupalloc1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_groupalloc1_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:1388: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 __ham_groupalloc_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/hash_auto.c:1461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_groupalloc_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:1501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_groupalloc_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:1539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_init_print(dbenv) ^ ./../dist/../hash/hash_auto.c:1581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_init_recover(dbenv) ^ 31 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_auto.c -o hash_auto.o ./../dist/../hash/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 __ham_insdel_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/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] __ham_insdel_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.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] __ham_insdel_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/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 __ham_newpage_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/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] __ham_newpage_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_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] __ham_newpage_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_splitmeta_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.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] __ham_splitmeta_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:455: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 __ham_splitdata_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/hash_auto.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_splitdata_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_splitdata_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:614: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 __ham_replace_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/hash_auto.c:710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_replace_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_replace_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.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] __ham_newpgno_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_newpgno_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.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] __ham_ovfl_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.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] __ham_ovfl_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:978: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 __ham_copypage_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/hash_auto.c:1072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_copypage_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_copypage_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:1167: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 __ham_metagroup_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/hash_auto.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_metagroup_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_metagroup_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:1311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_groupalloc1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_groupalloc1_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:1388: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 __ham_groupalloc_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../hash/hash_auto.c:1461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_groupalloc_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../hash/hash_auto.c:1501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_groupalloc_read(dbenv, recbuf, argpp) ^ ./../dist/../hash/hash_auto.c:1539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_init_print(dbenv) ^ ./../dist/../hash/hash_auto.c:1581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_init_recover(dbenv) ^ 31 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_conv.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_conv.c -fPIC -DPIC -o .libs/hash_conv.o ./../dist/../hash/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] __ham_pgin(dbenv, pg, pp, cookie) ^ ./../dist/../hash/hash_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] __ham_pgout(dbenv, pg, pp, cookie) ^ ./../dist/../hash/hash_conv.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] __ham_mswap(pg) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_conv.c -o hash_conv.o ./../dist/../hash/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] __ham_pgin(dbenv, pg, pp, cookie) ^ ./../dist/../hash/hash_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] __ham_pgout(dbenv, pg, pp, cookie) ^ ./../dist/../hash/hash_conv.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] __ham_mswap(pg) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_dup.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_dup.c -fPIC -DPIC -o .libs/hash_dup.o ./../dist/../hash/hash_dup.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] __ham_add_dup(dbc, nval, flags, pgnop) ^ ./../dist/../hash/hash_dup.c:122:6: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] LEN_HKEYDATA(hcp->page, dbp->pgsize, H_DATAINDEX(hcp->indx)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:132:18: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] add_bytes > P_FREESPACE(hcp->page))) { ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:144:16: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] pval.data = HKEYDATA_DATA(hk); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:145:16: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] pval.size = LEN_HDATA(hcp->page, dbp->pgsize, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:182: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->page, ^~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:228:6: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFDUP_PGNO(H_PAIRDATA(hcp->page, hcp->indx)), sizeof(db_pgno_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.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] __ham_dup_convert(dbc) ^ ./../dist/../hash/hash_dup.c:279:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] dbt.size = LEN_HDATA(hcp->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:280: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->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:282:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] dp, 0, BKEYDATA_SIZE(dbt.size), NULL, &dbt); ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../hash/hash_dup.c:311: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->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/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->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:329:11: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] i, BKEYDATA_SIZE(dbt.size), NULL, &dbt)) != 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../hash/hash_dup.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_make_dup(dbenv, notdup, duplicate, bufp, sizep) ^ ./../dist/../hash/hash_dup.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] __ham_check_move(dbc, add_len) ^ ./../dist/../hash/hash_dup.c:453: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; ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:466: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->page))) ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:469: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->page)) ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:478: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:491: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) ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:501: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 = ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:519:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRKEY(hcp->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:520:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] k.size = LEN_HKEY(hcp->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:399:34: note: expanded from macro 'LEN_HKEY' #define LEN_HKEY(p, psize, indx) LEN_HKEYDATA(p, psize, H_KEYINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:532:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRDATA(hcp->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:533:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] d.size = LEN_HDATA(hcp->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_move_offpage(dbc, pagep, ndx, pgno) ^ ./../dist/../hash/hash_dup.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dsearch(dbc, dbt, offp, cmpp) ^ ./../dist/../hash/hash_dup.c:667: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->page, hcp->indx)) + i; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:668: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->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dcursor(dbc, pgno, indx) ^ 31 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_dup.c -o hash_dup.o ./../dist/../hash/hash_dup.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] __ham_add_dup(dbc, nval, flags, pgnop) ^ ./../dist/../hash/hash_dup.c:122:6: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] LEN_HKEYDATA(hcp->page, dbp->pgsize, H_DATAINDEX(hcp->indx)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:132:18: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] add_bytes > P_FREESPACE(hcp->page))) { ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:144:16: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] pval.data = HKEYDATA_DATA(hk); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:145:16: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] pval.size = LEN_HDATA(hcp->page, dbp->pgsize, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:182: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->page, ^~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:228:6: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFDUP_PGNO(H_PAIRDATA(hcp->page, hcp->indx)), sizeof(db_pgno_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.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] __ham_dup_convert(dbc) ^ ./../dist/../hash/hash_dup.c:279:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] dbt.size = LEN_HDATA(hcp->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:280: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->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:282:14: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] dp, 0, BKEYDATA_SIZE(dbt.size), NULL, &dbt); ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../hash/hash_dup.c:311: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->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/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->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:329:11: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] i, BKEYDATA_SIZE(dbt.size), NULL, &dbt)) != 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:483:16: note: expanded from macro 'BKEYDATA_SIZE' ALIGN((len) + SSZA(BKEYDATA, data), 4) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../hash/hash_dup.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_make_dup(dbenv, notdup, duplicate, bufp, sizep) ^ ./../dist/../hash/hash_dup.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] __ham_check_move(dbc, add_len) ^ ./../dist/../hash/hash_dup.c:453: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; ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:466: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->page))) ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:469: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->page)) ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:478: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:491: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) ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:501: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 = ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:519:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRKEY(hcp->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:520:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] k.size = LEN_HKEY(hcp->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:399:34: note: expanded from macro 'LEN_HKEY' #define LEN_HKEY(p, psize, indx) LEN_HKEYDATA(p, psize, H_KEYINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:532:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRDATA(hcp->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:533:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] d.size = LEN_HDATA(hcp->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_move_offpage(dbc, pagep, ndx, pgno) ^ ./../dist/../hash/hash_dup.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dsearch(dbc, dbt, offp, cmpp) ^ ./../dist/../hash/hash_dup.c:667: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->page, hcp->indx)) + i; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:668: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->page, dbp->pgsize, hcp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_dup.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dcursor(dbc, pgno, indx) ^ 31 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_func.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_func.c -fPIC -DPIC -o .libs/hash_func.o ./../dist/../hash/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] __ham_func2(key, len) ^ ./../dist/../hash/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] __ham_func3(key, len) ^ ./../dist/../hash/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] __ham_func4(key, len) ^ ./../dist/../hash/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] __ham_func5(key, len) ^ 4 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_func.c -o hash_func.o ./../dist/../hash/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] __ham_func2(key, len) ^ ./../dist/../hash/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] __ham_func3(key, len) ^ ./../dist/../hash/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] __ham_func4(key, len) ^ ./../dist/../hash/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] __ham_func5(key, len) ^ 4 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_meta.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_meta.c -fPIC -DPIC -o .libs/hash_meta.o ./../dist/../hash/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] __ham_get_meta(dbc) ^ ./../dist/../hash/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] __ham_release_meta(dbc) ^ ./../dist/../hash/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] __ham_dirty_meta(dbc) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_meta.c -o hash_meta.o ./../dist/../hash/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] __ham_get_meta(dbc) ^ ./../dist/../hash/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] __ham_release_meta(dbc) ^ ./../dist/../hash/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] __ham_dirty_meta(dbc) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_method.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_method.c -fPIC -DPIC -o .libs/hash_method.o ./../dist/../hash/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] __ham_db_create(dbp) ^ ./../dist/../hash/hash_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] __ham_db_close(dbp) ^ ./../dist/../hash/hash_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] __ham_set_h_ffactor(dbp, h_ffactor) ^ ./../dist/../hash/hash_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] __ham_set_h_hash(dbp, func) ^ ./../dist/../hash/hash_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] __ham_set_h_nelem(dbp, h_nelem) ^ 5 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_method.c -o hash_method.o ./../dist/../hash/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] __ham_db_create(dbp) ^ ./../dist/../hash/hash_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] __ham_db_close(dbp) ^ ./../dist/../hash/hash_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] __ham_set_h_ffactor(dbp, h_ffactor) ^ ./../dist/../hash/hash_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] __ham_set_h_hash(dbp, func) ^ ./../dist/../hash/hash_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] __ham_set_h_nelem(dbp, h_nelem) ^ 5 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_page.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_page.c -fPIC -DPIC -o .libs/hash_page.o ./../dist/../hash/hash_page.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_item(dbc, mode, pgnop) ^ ./../dist/../hash/hash_page.c:109: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->page)) ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:116:7: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFDUP_PGNO(H_PAIRDATA(hcp->page, hcp->indx)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:130:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRDATA(hcp->page, hcp->indx)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_item_reset(dbc) ^ ./../dist/../hash/hash_page.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] __ham_item_init(dbc) ^ ./../dist/../hash/hash_page.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] __ham_item_last(dbc, mode, pgnop) ^ ./../dist/../hash/hash_page.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] __ham_item_first(dbc, mode, pgnop) ^ ./../dist/../hash/hash_page.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] __ham_item_prev(dbc, mode, pgnop) ^ ./../dist/../hash/hash_page.c:297:8: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFDUP_PGNO(H_PAIRDATA(hcp->page, hcp->indx)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:305:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] memcpy(&hcp->dup_len, HKEYDATA_DATA( ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_item_next(dbc, mode, pgnop) ^ ./../dist/../hash/hash_page.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] __ham_putitem(p, dbt, type) ^ ./../dist/../hash/hash_page.c:475: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); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_reputpair(p, psize, ndx, key, data) ^ ./../dist/../hash/hash_page.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] __ham_del_pair(dbc, reclaim_page) ^ ./../dist/../hash/hash_page.c:570: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))), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:579: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))), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_replpair(dbc, dbt, make_dup) ^ ./../dist/../hash/hash_page.c:827: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:412:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:829:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] len = LEN_HKEYDATA(hcp->page, ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:835: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->page) || is_big) { ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:912: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->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_onpage_replace(pagep, pgsize, ndx, off, change, dbt) ^ ./../dist/../hash/hash_page.c:971: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)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:972: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)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:973: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; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:976: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; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:988: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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_split_page(dbc, obucket, nbucket) ^ ./../dist/../hash/hash_page.c:1079:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(*pp) < len) { ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_add_el(dbc, key, val, type) ^ ./../dist/../hash/hash_page.c:1220: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); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:379:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:1221: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); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:379:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:1238:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(hcp->page) >= pairsize) ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:1249:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(hcp->page) < pairsize) { ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_copy_item(pgsize, src_page, src_ndx, dest_page) ^ ./../dist/../hash/hash_page.c:1382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_add_ovflpage(dbc, pagep, release, pp) ^ ./../dist/../hash/hash_page.c:1423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_put_page(dbp, pagep, is_dirty) ^ ./../dist/../hash/hash_page.c:1438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dirty_page(dbp, pagep) ^ ./../dist/../hash/hash_page.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] __ham_get_page(dbp, addr, pagep) ^ ./../dist/../hash/hash_page.c:1461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bucket_to_page(hcp, n) ^ ./../dist/../hash/hash_page.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_get_cpage(dbc, mode) ^ ./../dist/../hash/hash_page.c:1553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_next_cpage(dbc, pgno, dirty) ^ ./../dist/../hash/hash_page.c:1587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_lock_bucket(dbc, mode) ^ ./../dist/../hash/hash_page.c:1625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dpair(dbp, p, indx) ^ 46 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_page.c -o hash_page.o ./../dist/../hash/hash_page.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_item(dbc, mode, pgnop) ^ ./../dist/../hash/hash_page.c:109: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->page)) ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:116:7: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFDUP_PGNO(H_PAIRDATA(hcp->page, hcp->indx)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:130:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(H_PAIRDATA(hcp->page, hcp->indx)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_item_reset(dbc) ^ ./../dist/../hash/hash_page.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] __ham_item_init(dbc) ^ ./../dist/../hash/hash_page.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] __ham_item_last(dbc, mode, pgnop) ^ ./../dist/../hash/hash_page.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] __ham_item_first(dbc, mode, pgnop) ^ ./../dist/../hash/hash_page.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] __ham_item_prev(dbc, mode, pgnop) ^ ./../dist/../hash/hash_page.c:297:8: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFDUP_PGNO(H_PAIRDATA(hcp->page, hcp->indx)), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:305:26: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] memcpy(&hcp->dup_len, HKEYDATA_DATA( ^~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_item_next(dbc, mode, pgnop) ^ ./../dist/../hash/hash_page.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] __ham_putitem(p, dbt, type) ^ ./../dist/../hash/hash_page.c:475: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); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_reputpair(p, psize, ndx, key, data) ^ ./../dist/../hash/hash_page.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] __ham_del_pair(dbc, reclaim_page) ^ ./../dist/../hash/hash_page.c:570: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))), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:579: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))), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_replpair(dbc, dbt, make_dup) ^ ./../dist/../hash/hash_page.c:827: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)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:412:45: note: expanded from macro 'HOFFPAGE_TLEN' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:829:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] len = LEN_HKEYDATA(hcp->page, ^~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:835: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->page) || is_big) { ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:912: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->page, hcp->indx)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_onpage_replace(pagep, pgsize, ndx, off, change, dbt) ^ ./../dist/../hash/hash_page.c:971: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)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:972: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)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:973: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; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:976: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; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:988: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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_split_page(dbc, obucket, nbucket) ^ ./../dist/../hash/hash_page.c:1079:8: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(*pp) < len) { ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_add_el(dbc, key, val, type) ^ ./../dist/../hash/hash_page.c:1220: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); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:379:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:1221: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); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:379:3: note: expanded from macro 'HKEYDATA_PSIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:1238:7: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(hcp->page) >= pairsize) ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:1249:6: warning: cast to smaller integer type 'int' from 'db_indx_t *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if (P_FREESPACE(hcp->page) < pairsize) { ^~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_page.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_copy_item(pgsize, src_page, src_ndx, dest_page) ^ ./../dist/../hash/hash_page.c:1382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_add_ovflpage(dbc, pagep, release, pp) ^ ./../dist/../hash/hash_page.c:1423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_put_page(dbp, pagep, is_dirty) ^ ./../dist/../hash/hash_page.c:1438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dirty_page(dbp, pagep) ^ ./../dist/../hash/hash_page.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] __ham_get_page(dbp, addr, pagep) ^ ./../dist/../hash/hash_page.c:1461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bucket_to_page(hcp, n) ^ ./../dist/../hash/hash_page.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_get_cpage(dbc, mode) ^ ./../dist/../hash/hash_page.c:1553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_next_cpage(dbc, pgno, dirty) ^ ./../dist/../hash/hash_page.c:1587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_lock_bucket(dbc, mode) ^ ./../dist/../hash/hash_page.c:1625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dpair(dbp, p, indx) ^ 46 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_rec.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_rec.c -fPIC -DPIC -o .libs/hash_rec.o ./../dist/../hash/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] __ham_insdel_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.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] __ham_newpage_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.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] __ham_replace_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.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] __ham_splitdata_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_copypage_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_metagroup_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_groupalloc_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_free_pages(dbp, mmeta, argp) ^ ./../dist/../hash/hash_rec.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] __ham_alloc_pages(dbp, argp) ^ 9 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_rec.c -o hash_rec.o ./../dist/../hash/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] __ham_insdel_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.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] __ham_newpage_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.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] __ham_replace_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.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] __ham_splitdata_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_copypage_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_metagroup_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_groupalloc_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../hash/hash_rec.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_free_pages(dbp, mmeta, argp) ^ ./../dist/../hash/hash_rec.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] __ham_alloc_pages(dbp, argp) ^ 9 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_reclaim.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_reclaim.c -fPIC -DPIC -o .libs/hash_reclaim.o ./../dist/../hash/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] __ham_reclaim(dbp, txn) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_reclaim.c -o hash_reclaim.o ./../dist/../hash/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] __ham_reclaim(dbp, txn) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_stat.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_stat.c -fPIC -DPIC -o .libs/hash_stat.o ./../dist/../hash/hash_stat.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] __ham_stat(dbp, spp, db_malloc, flags) ^ ./../dist/../hash/hash_stat.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] __ham_traverse(dbp, dbc, mode, callback, cookie) ^ ./../dist/../hash/hash_stat.c:178:21: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&opgno, HOFFDUP_PGNO(hk), ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.c:202:21: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&opgno, HOFFPAGE_PGNO(hk), ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.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] __ham_stat_callback(dbp, pagep, cookie, putp) ^ ./../dist/../hash/hash_stat.c:272: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); ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.c:275: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); ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.c:288:12: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] tlen = LEN_HDATA(pagep, 0, indx); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.c:294:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(hk) ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.c:324: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:313:34: note: expanded from macro 'P_OVFLSPACE' #define P_OVFLSPACE(psize, pg) (P_MAXSPACE(psize) - HOFFSET(pg)) ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:310:38: note: expanded from macro 'P_MAXSPACE' #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_stat.c -o hash_stat.o ./../dist/../hash/hash_stat.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] __ham_stat(dbp, spp, db_malloc, flags) ^ ./../dist/../hash/hash_stat.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] __ham_traverse(dbp, dbc, mode, callback, cookie) ^ ./../dist/../hash/hash_stat.c:178:21: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&opgno, HOFFDUP_PGNO(hk), ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.c:202:21: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&opgno, HOFFPAGE_PGNO(hk), ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.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] __ham_stat_callback(dbp, pagep, cookie, putp) ^ ./../dist/../hash/hash_stat.c:272: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); ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.c:275: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); ^~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:282:41: note: expanded from macro 'P_FREESPACE' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~~~~~ ./../dist/../include/db_page.h:279:23: note: expanded from macro 'LOFFSET' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.c:288:12: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] tlen = LEN_HDATA(pagep, 0, indx); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:398:35: note: expanded from macro 'LEN_HDATA' #define LEN_HDATA(p, psize, indx) LEN_HKEYDATA(p, psize, H_DATAINDEX(indx)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.c:294:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_DATA(hk) ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_stat.c:324: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:313:34: note: expanded from macro 'P_OVFLSPACE' #define P_OVFLSPACE(psize, pg) (P_MAXSPACE(psize) - HOFFSET(pg)) ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:310:38: note: expanded from macro 'P_MAXSPACE' #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) ^~~~~~~~~~ ./../dist/../include/db_page.h:276:22: note: expanded from macro 'P_OVERHEAD' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_upgrade.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_upgrade.c -fPIC -DPIC -o .libs/hash_upgrade.o ./../dist/../hash/hash_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] __ham_30_hashmeta(dbp, real_name, obuf) ^ ./../dist/../hash/hash_upgrade.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] __ham_31_hashmeta(dbp, real_name, flags, fhp, h, dirtyp) ^ ./../dist/../hash/hash_upgrade.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_31_hash(dbp, real_name, flags, fhp, h, dirtyp) ^ ./../dist/../hash/hash_upgrade.c:199:18: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&pgno, HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_upgrade.c:206:12: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(HOFFDUP_PGNO(hk), ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_upgrade.c -o hash_upgrade.o ./../dist/../hash/hash_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] __ham_30_hashmeta(dbp, real_name, obuf) ^ ./../dist/../hash/hash_upgrade.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] __ham_31_hashmeta(dbp, real_name, flags, fhp, h, dirtyp) ^ ./../dist/../hash/hash_upgrade.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_31_hash(dbp, real_name, flags, fhp, h, dirtyp) ^ ./../dist/../hash/hash_upgrade.c:199:18: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(&pgno, HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_upgrade.c:206:12: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] memcpy(HOFFDUP_PGNO(hk), ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:429:45: note: expanded from macro 'HOFFDUP_PGNO' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_verify.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_verify.c -fPIC -DPIC -o .libs/hash_verify.o In file included from ./../dist/../hash/hash_verify.c:25: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../hash/hash_verify.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] __ham_vrfy_meta(dbp, vdp, m, pgno, flags) ^ ./../dist/../hash/hash_verify.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] __ham_vrfy(dbp, vdp, h, pgno, flags) ^ ./../dist/../hash/hash_verify.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_vrfy_item(dbp, vdp, pgno, h, i, flags) ^ ./../dist/../hash/hash_verify.c:305: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, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:306:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] databuf = HKEYDATA_DATA(P_ENTRY(h, i)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.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] __ham_vrfy_structure(dbp, vdp, meta_pgno, flags) ^ ./../dist/../hash/hash_verify.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_vrfy_bucket(dbp, vdp, m, bucket, flags) ^ ./../dist/../hash/hash_verify.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] __ham_vrfy_hashing(dbp, nentries, m, thisbucket, pgno, flags, hfunc) ^ ./../dist/../hash/hash_verify.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] __ham_salvage(dbp, vdp, pgno, h, handle, callback, flags) ^ ./../dist/../hash/hash_verify.c:802:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] len = LEN_HKEYDATA(h, dbp->pgsize, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:823:24: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] keydata: memcpy(buf, HKEYDATA_DATA(hk), len); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:836:9: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFPAGE_PGNO(hk), sizeof(dpgno)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:854:9: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFPAGE_PGNO(hk), sizeof(dpgno)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:881:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_SIZE(2 * sizeof(db_indx_t))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:923: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 __ham_meta2pgset(dbp, vdp, hmeta, flags, pgset) ^ ./../dist/../hash/hash_verify.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dups_unsorted(dbp, buf, len) ^ 17 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hash/hash_verify.c -o hash_verify.o In file included from ./../dist/../hash/hash_verify.c:25: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../hash/hash_verify.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] __ham_vrfy_meta(dbp, vdp, m, pgno, flags) ^ ./../dist/../hash/hash_verify.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] __ham_vrfy(dbp, vdp, h, pgno, flags) ^ ./../dist/../hash/hash_verify.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_vrfy_item(dbp, vdp, pgno, h, i, flags) ^ ./../dist/../hash/hash_verify.c:305: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, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:306:13: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] databuf = HKEYDATA_DATA(P_ENTRY(h, i)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.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] __ham_vrfy_structure(dbp, vdp, meta_pgno, flags) ^ ./../dist/../hash/hash_verify.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_vrfy_bucket(dbp, vdp, m, bucket, flags) ^ ./../dist/../hash/hash_verify.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] __ham_vrfy_hashing(dbp, nentries, m, thisbucket, pgno, flags, hfunc) ^ ./../dist/../hash/hash_verify.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] __ham_salvage(dbp, vdp, pgno, h, handle, callback, flags) ^ ./../dist/../hash/hash_verify.c:802:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] len = LEN_HKEYDATA(h, dbp->pgsize, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:370:30: note: expanded from macro 'LEN_HKEYDATA' ((PAGE *)(pg))->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:823:24: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] keydata: memcpy(buf, HKEYDATA_DATA(hk), len); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:358:45: note: expanded from macro 'HKEYDATA_DATA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:836:9: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFPAGE_PGNO(hk), sizeof(dpgno)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:854:9: warning: cast to smaller integer type 'int' from 'db_pgno_t *' (aka 'unsigned int *') [-Wpointer-to-int-cast] HOFFPAGE_PGNO(hk), sizeof(dpgno)); ^~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:411:45: note: expanded from macro 'HOFFPAGE_PGNO' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~~~~~~~~~~~~~~~~~ ./db_int.h:111:27: note: expanded from macro 'SSZ' #define SSZ(name, field) ((int)&(((name *)0)->field)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:881:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] HKEYDATA_SIZE(2 * sizeof(db_indx_t))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/db_page.h:377:11: note: expanded from macro 'HKEYDATA_SIZE' ((len) + SSZA(HKEYDATA, data)) ^~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../hash/hash_verify.c:923: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 __ham_meta2pgset(dbp, vdp, hmeta, flags, pgset) ^ ./../dist/../hash/hash_verify.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ham_dups_unsorted(dbp, buf, len) ^ 17 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hsearch/hsearch.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hsearch/hsearch.c -fPIC -DPIC -o .libs/hsearch.o ./../dist/../hsearch/hsearch.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] __db_hcreate(nel) ^ ./../dist/../hsearch/hsearch.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] __db_hsearch(item, action) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../hsearch/hsearch.c -o hsearch.o ./../dist/../hsearch/hsearch.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] __db_hcreate(nel) ^ ./../dist/../hsearch/hsearch.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] __db_hsearch(item, action) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock.c -fPIC -DPIC -o .libs/lock.o ./../dist/../lock/lock.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] lock_id(dbenv, idp) ^ ./../dist/../lock/lock.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] lock_vec(dbenv, locker, flags, list, nlist, elistp) ^ ./../dist/../lock/lock.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lock_get(dbenv, locker, flags, obj, lock_mode, lock) ^ ./../dist/../lock/lock.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] __lock_get_internal(lt, locker, flags, obj, lock_mode, lock) ^ ./../dist/../lock/lock.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] lock_put(dbenv, lock) ^ ./../dist/../lock/lock.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_put_nolock(dbenv, lock, runp) ^ ./../dist/../lock/lock.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_downgrade(dbenv, lock, new_mode, flags) ^ ./../dist/../lock/lock.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] __lock_put_internal(lt, lockp, obj_ndx, flags) ^ ./../dist/../lock/lock.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] __lock_checklocker(lt, lockp, locker, flags, freed) ^ ./../dist/../lock/lock.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_addfamilylocker(dbenv, pid, id) ^ ./../dist/../lock/lock.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] __lock_freefamilylocker(lt, locker) ^ ./../dist/../lock/lock.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_freelocker(lt, region, sh_locker, indx) ^ ./../dist/../lock/lock.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_getlocker(lt, locker, indx, create, retp) ^ ./../dist/../lock/lock.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_getobj(lt, obj, ndx, create, retp) ^ ./../dist/../lock/lock.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_is_parent(lt, locker, sh_locker) ^ ./../dist/../lock/lock.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_promote(lt, obj) ^ ./../dist/../lock/lock.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_remove_waiter(sh_obj, lockp, status) ^ ./../dist/../lock/lock.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_printlock(lt, lp, ispgno) ^ 18 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock.c -o lock.o ./../dist/../lock/lock.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] lock_id(dbenv, idp) ^ ./../dist/../lock/lock.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] lock_vec(dbenv, locker, flags, list, nlist, elistp) ^ ./../dist/../lock/lock.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lock_get(dbenv, locker, flags, obj, lock_mode, lock) ^ ./../dist/../lock/lock.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] __lock_get_internal(lt, locker, flags, obj, lock_mode, lock) ^ ./../dist/../lock/lock.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] lock_put(dbenv, lock) ^ ./../dist/../lock/lock.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_put_nolock(dbenv, lock, runp) ^ ./../dist/../lock/lock.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_downgrade(dbenv, lock, new_mode, flags) ^ ./../dist/../lock/lock.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] __lock_put_internal(lt, lockp, obj_ndx, flags) ^ ./../dist/../lock/lock.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] __lock_checklocker(lt, lockp, locker, flags, freed) ^ ./../dist/../lock/lock.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_addfamilylocker(dbenv, pid, id) ^ ./../dist/../lock/lock.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] __lock_freefamilylocker(lt, locker) ^ ./../dist/../lock/lock.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_freelocker(lt, region, sh_locker, indx) ^ ./../dist/../lock/lock.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_getlocker(lt, locker, indx, create, retp) ^ ./../dist/../lock/lock.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_getobj(lt, obj, ndx, create, retp) ^ ./../dist/../lock/lock.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_is_parent(lt, locker, sh_locker) ^ ./../dist/../lock/lock.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_promote(lt, obj) ^ ./../dist/../lock/lock.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_remove_waiter(sh_obj, lockp, status) ^ ./../dist/../lock/lock.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_printlock(lt, lp, ispgno) ^ 18 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_conflict.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_conflict.c -fPIC -DPIC -o .libs/lock_conflict.o cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_conflict.c -o lock_conflict.o /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_deadlock.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_deadlock.c -fPIC -DPIC -o .libs/lock_deadlock.o ./../dist/../lock/lock_deadlock.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] lock_detect(dbenv, flags, atype, abortp) ^ ./../dist/../lock/lock_deadlock.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] __dd_build(dbenv, bmp, nlockers, idmap) ^ ./../dist/../lock/lock_deadlock.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] __dd_find(dbenv, bmp, idmap, nlockers, deadp) ^ ./../dist/../lock/lock_deadlock.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] __dd_abort(dbenv, info) ^ 4 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_deadlock.c -o lock_deadlock.o ./../dist/../lock/lock_deadlock.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] lock_detect(dbenv, flags, atype, abortp) ^ ./../dist/../lock/lock_deadlock.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] __dd_build(dbenv, bmp, nlockers, idmap) ^ ./../dist/../lock/lock_deadlock.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] __dd_find(dbenv, bmp, idmap, nlockers, deadp) ^ ./../dist/../lock/lock_deadlock.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] __dd_abort(dbenv, info) ^ 4 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_region.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_region.c -fPIC -DPIC -o .libs/lock_region.o ./../dist/../lock/lock_region.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] __lock_dbenv_create(dbenv) ^ ./../dist/../lock/lock_region.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] __lock_dbenv_close(dbenv) ^ ./../dist/../lock/lock_region.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] __lock_set_lk_conflicts(dbenv, lk_conflicts, lk_modes) ^ ./../dist/../lock/lock_region.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_set_lk_detect(dbenv, lk_detect) ^ ./../dist/../lock/lock_region.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] __lock_set_lk_max(dbenv, lk_max) ^ ./../dist/../lock/lock_region.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] __lock_open(dbenv) ^ ./../dist/../lock/lock_region.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] __lock_init(dbenv, lt) ^ ./../dist/../lock/lock_region.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_close(dbenv) ^ ./../dist/../lock/lock_region.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] lock_stat(dbenv, statp, db_malloc) ^ ./../dist/../lock/lock_region.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_dump_region(dbenv, area, fp) ^ ./../dist/../lock/lock_region.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_dump_locker(lt, lip, fp) ^ ./../dist/../lock/lock_region.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_dump_object(lt, op, fp) ^ ./../dist/../lock/lock_region.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_dump_status(status) ^ ./../dist/../lock/lock_region.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] __lock_region_size(dbenv) ^ 14 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_region.c -o lock_region.o ./../dist/../lock/lock_region.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] __lock_dbenv_create(dbenv) ^ ./../dist/../lock/lock_region.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] __lock_dbenv_close(dbenv) ^ ./../dist/../lock/lock_region.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] __lock_set_lk_conflicts(dbenv, lk_conflicts, lk_modes) ^ ./../dist/../lock/lock_region.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_set_lk_detect(dbenv, lk_detect) ^ ./../dist/../lock/lock_region.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] __lock_set_lk_max(dbenv, lk_max) ^ ./../dist/../lock/lock_region.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] __lock_open(dbenv) ^ ./../dist/../lock/lock_region.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] __lock_init(dbenv, lt) ^ ./../dist/../lock/lock_region.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_close(dbenv) ^ ./../dist/../lock/lock_region.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] lock_stat(dbenv, statp, db_malloc) ^ ./../dist/../lock/lock_region.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_dump_region(dbenv, area, fp) ^ ./../dist/../lock/lock_region.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_dump_locker(lt, lip, fp) ^ ./../dist/../lock/lock_region.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_dump_object(lt, op, fp) ^ ./../dist/../lock/lock_region.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __lock_dump_status(status) ^ ./../dist/../lock/lock_region.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] __lock_region_size(dbenv) ^ 14 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_util.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_util.c -fPIC -DPIC -o .libs/lock_util.o ./../dist/../lock/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] __lock_cmp(dbt, lock_obj) ^ ./../dist/../lock/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] __lock_locker_cmp(locker, sh_locker) ^ ./../dist/../lock/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] __lock_ohash(dbt) ^ ./../dist/../lock/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] __lock_lhash(lock_obj) ^ ./../dist/../lock/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] __lock_locker_hash(locker) ^ 5 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../lock/lock_util.c -o lock_util.o ./../dist/../lock/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] __lock_cmp(dbt, lock_obj) ^ ./../dist/../lock/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] __lock_locker_cmp(locker, sh_locker) ^ ./../dist/../lock/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] __lock_ohash(dbt) ^ ./../dist/../lock/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] __lock_lhash(lock_obj) ^ ./../dist/../lock/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] __lock_locker_hash(locker) ^ 5 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log.c -fPIC -DPIC -o .libs/log.o ./../dist/../log/log.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] __log_open(dbenv) ^ ./../dist/../log/log.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] __log_init(dbenv, dblp) ^ ./../dist/../log/log.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] __log_recover(dblp) ^ ./../dist/../log/log.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_find(dblp, find_first, valp) ^ ./../dist/../log/log.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] __log_valid(dblp, number, set_persist) ^ ./../dist/../log/log.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] __log_close(dbenv) ^ ./../dist/../log/log.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] log_stat(dbenv, statp, db_malloc) ^ 7 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log.c -o log.o ./../dist/../log/log.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] __log_open(dbenv) ^ ./../dist/../log/log.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] __log_init(dbenv, dblp) ^ ./../dist/../log/log.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] __log_recover(dblp) ^ ./../dist/../log/log.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_find(dblp, find_first, valp) ^ ./../dist/../log/log.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] __log_valid(dblp, number, set_persist) ^ ./../dist/../log/log.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] __log_close(dbenv) ^ ./../dist/../log/log.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] log_stat(dbenv, statp, db_malloc) ^ 7 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_archive.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_archive.c -fPIC -DPIC -o .libs/log_archive.o ./../dist/../log/log_archive.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] log_archive(dbenv, listp, flags, db_malloc) ^ ./../dist/../log/log_archive.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __build_data(dbenv, pref, listp, db_malloc) ^ ./../dist/../log/log_archive.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] __absname(dbenv, pref, name, newnamep) ^ ./../dist/../log/log_archive.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __usermem(dbenv, listp, db_malloc) ^ ./../dist/../log/log_archive.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __cmpfunc(p1, p2) ^ 5 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_archive.c -o log_archive.o ./../dist/../log/log_archive.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] log_archive(dbenv, listp, flags, db_malloc) ^ ./../dist/../log/log_archive.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __build_data(dbenv, pref, listp, db_malloc) ^ ./../dist/../log/log_archive.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] __absname(dbenv, pref, name, newnamep) ^ ./../dist/../log/log_archive.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __usermem(dbenv, listp, db_malloc) ^ ./../dist/../log/log_archive.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __cmpfunc(p1, p2) ^ 5 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_auto.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_auto.c -fPIC -DPIC -o .libs/log_auto.o ./../dist/../log/log_auto.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_register1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../log/log_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] __log_register1_read(dbenv, recbuf, argpp) ^ ./../dist/../log/log_auto.c:114: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 __log_register_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../log/log_auto.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_register_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../log/log_auto.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_register_read(dbenv, recbuf, argpp) ^ ./../dist/../log/log_auto.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] __log_init_print(dbenv) ^ ./../dist/../log/log_auto.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] __log_init_recover(dbenv) ^ 7 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_auto.c -o log_auto.o ./../dist/../log/log_auto.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_register1_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../log/log_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] __log_register1_read(dbenv, recbuf, argpp) ^ ./../dist/../log/log_auto.c:114: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 __log_register_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../log/log_auto.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_register_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../log/log_auto.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_register_read(dbenv, recbuf, argpp) ^ ./../dist/../log/log_auto.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] __log_init_print(dbenv) ^ ./../dist/../log/log_auto.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] __log_init_recover(dbenv) ^ 7 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_compare.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_compare.c -fPIC -DPIC -o .libs/log_compare.o ./../dist/../log/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] log_compare(lsn0, lsn1) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_compare.c -o log_compare.o ./../dist/../log/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] log_compare(lsn0, lsn1) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_findckp.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_findckp.c -fPIC -DPIC -o .libs/log_findckp.o ./../dist/../log/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] __log_findckp(dbenv, lsnp) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_findckp.c -o log_findckp.o ./../dist/../log/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] __log_findckp(dbenv, lsnp) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_get.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_get.c -fPIC -DPIC -o .libs/log_get.o ./../dist/../log/log_get.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] log_get(dbenv, alsn, dbt, flags) ^ ./../dist/../log/log_get.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] __log_get(dblp, alsn, dbt, flags, silent) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_get.c -o log_get.o ./../dist/../log/log_get.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] log_get(dbenv, alsn, dbt, flags) ^ ./../dist/../log/log_get.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] __log_get(dblp, alsn, dbt, flags, silent) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_method.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_method.c -fPIC -DPIC -o .libs/log_method.o ./../dist/../log/log_method.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_dbenv_create(dbenv) ^ ./../dist/../log/log_method.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] __log_set_lg_bsize(dbenv, lg_bsize) ^ ./../dist/../log/log_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] __log_set_lg_max(dbenv, lg_max) ^ ./../dist/../log/log_method.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] __log_set_lg_dir(dbenv, dir) ^ 4 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_method.c -o log_method.o ./../dist/../log/log_method.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_dbenv_create(dbenv) ^ ./../dist/../log/log_method.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] __log_set_lg_bsize(dbenv, lg_bsize) ^ ./../dist/../log/log_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] __log_set_lg_max(dbenv, lg_max) ^ ./../dist/../log/log_method.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] __log_set_lg_dir(dbenv, dir) ^ 4 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_put.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_put.c -fPIC -DPIC -o .libs/log_put.o ./../dist/../log/log_put.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] log_put(dbenv, lsn, dbt, flags) ^ ./../dist/../log/log_put.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_put(dbenv, lsn, dbt, flags) ^ ./../dist/../log/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] __log_putr(dblp, lsn, dbt, prev) ^ ./../dist/../log/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] log_flush(dbenv, lsn) ^ ./../dist/../log/log_put.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] __log_flush(dblp, lsn) ^ ./../dist/../log/log_put.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] __log_fill(dblp, lsn, addr, len) ^ ./../dist/../log/log_put.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_write(dblp, addr, len) ^ ./../dist/../log/log_put.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] log_file(dbenv, lsn, namep, len) ^ ./../dist/../log/log_put.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_newfh(dblp) ^ ./../dist/../log/log_put.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_name(dblp, filenumber, namep, fhp, flags) ^ ./../dist/../log/log_put.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_open_files(dbenv) ^ 11 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_put.c -o log_put.o ./../dist/../log/log_put.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] log_put(dbenv, lsn, dbt, flags) ^ ./../dist/../log/log_put.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_put(dbenv, lsn, dbt, flags) ^ ./../dist/../log/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] __log_putr(dblp, lsn, dbt, prev) ^ ./../dist/../log/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] log_flush(dbenv, lsn) ^ ./../dist/../log/log_put.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] __log_flush(dblp, lsn) ^ ./../dist/../log/log_put.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] __log_fill(dblp, lsn, addr, len) ^ ./../dist/../log/log_put.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_write(dblp, addr, len) ^ ./../dist/../log/log_put.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] log_file(dbenv, lsn, namep, len) ^ ./../dist/../log/log_put.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_newfh(dblp) ^ ./../dist/../log/log_put.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_name(dblp, filenumber, namep, fhp, flags) ^ ./../dist/../log/log_put.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_open_files(dbenv) ^ 11 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_rec.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_rec.c -fPIC -DPIC -o .libs/log_rec.o ./../dist/../log/log_rec.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_register_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../log/log_rec.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] __log_open_file(dbenv, lp, argp) ^ ./../dist/../log/log_rec.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] __log_reopen_file(dbenv, name, ndx, fileid, meta_pgno) ^ ./../dist/../log/log_rec.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] __log_do_open(dbenv, lp, uid, name, ftype, ndx, meta_pgno) ^ ./../dist/../log/log_rec.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_add_logid(dbenv, logp, dbp, ndx) ^ ./../dist/../log/log_rec.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] __db_fileid_to_db(dbenv, dbpp, ndx, inc) ^ ./../dist/../log/log_rec.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] __log_close_files(dbenv) ^ ./../dist/../log/log_rec.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_rem_logid(logp, dbp, ndx) ^ ./../dist/../log/log_rec.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_lid_to_fname(dblp, lid, fnamep) ^ 9 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_rec.c -o log_rec.o ./../dist/../log/log_rec.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_register_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../log/log_rec.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] __log_open_file(dbenv, lp, argp) ^ ./../dist/../log/log_rec.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] __log_reopen_file(dbenv, name, ndx, fileid, meta_pgno) ^ ./../dist/../log/log_rec.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] __log_do_open(dbenv, lp, uid, name, ftype, ndx, meta_pgno) ^ ./../dist/../log/log_rec.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_add_logid(dbenv, logp, dbp, ndx) ^ ./../dist/../log/log_rec.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] __db_fileid_to_db(dbenv, dbpp, ndx, inc) ^ ./../dist/../log/log_rec.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] __log_close_files(dbenv) ^ ./../dist/../log/log_rec.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_rem_logid(logp, dbp, ndx) ^ ./../dist/../log/log_rec.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __log_lid_to_fname(dblp, lid, fnamep) ^ 9 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_register.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_register.c -fPIC -DPIC -o .libs/log_register.o ./../dist/../log/log_register.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] log_register(dbenv, dbp, name) ^ ./../dist/../log/log_register.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] log_unregister(dbenv, dbp) ^ ./../dist/../log/log_register.c:257: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 __log_filelist_update(dbenv, dbp, fid, newname, set) ^ ./../dist/../log/log_register.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] __log_file_lock(dbp) ^ 4 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../log/log_register.c -o log_register.o ./../dist/../log/log_register.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] log_register(dbenv, dbp, name) ^ ./../dist/../log/log_register.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] log_unregister(dbenv, dbp) ^ ./../dist/../log/log_register.c:257: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 __log_filelist_update(dbenv, dbp, fid, newname, set) ^ ./../dist/../log/log_register.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] __log_file_lock(dbp) ^ 4 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_alloc.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_alloc.c -fPIC -DPIC -o .libs/mp_alloc.o ./../dist/../mp/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] __memp_alloc(dbmp, memreg, mfp, len, offsetp, retp) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_alloc.c -o mp_alloc.o ./../dist/../mp/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] __memp_alloc(dbmp, memreg, mfp, len, offsetp, retp) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_bh.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_bh.c -fPIC -DPIC -o .libs/mp_bh.o ./../dist/../mp/mp_bh.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] __memp_bhwrite(dbmp, mfp, bhp, restartp, wrotep) ^ ./../dist/../mp/mp_bh.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] __memp_pgread(dbmfp, bhp, can_create) ^ ./../dist/../mp/mp_bh.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_pgwrite(dbmp, dbmfp, bhp, restartp, wrotep) ^ ./../dist/../mp/mp_bh.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_pg(dbmfp, bhp, is_pgin) ^ ./../dist/../mp/mp_bh.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_bhfree(dbmp, bhp, free_mem) ^ ./../dist/../mp/mp_bh.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_upgrade(dbmp, dbmfp, mfp) ^ 6 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_bh.c -o mp_bh.o ./../dist/../mp/mp_bh.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] __memp_bhwrite(dbmp, mfp, bhp, restartp, wrotep) ^ ./../dist/../mp/mp_bh.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] __memp_pgread(dbmfp, bhp, can_create) ^ ./../dist/../mp/mp_bh.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_pgwrite(dbmp, dbmfp, bhp, restartp, wrotep) ^ ./../dist/../mp/mp_bh.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_pg(dbmfp, bhp, is_pgin) ^ ./../dist/../mp/mp_bh.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_bhfree(dbmp, bhp, free_mem) ^ ./../dist/../mp/mp_bh.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_upgrade(dbmp, dbmfp, mfp) ^ 6 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fget.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fget.c -fPIC -DPIC -o .libs/mp_fget.o ./../dist/../mp/mp_fget.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] memp_fget(dbmfp, pgnoaddr, flags, addrp) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fget.c -o mp_fget.o ./../dist/../mp/mp_fget.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] memp_fget(dbmfp, pgnoaddr, flags, addrp) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fopen.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fopen.c -fPIC -DPIC -o .libs/mp_fopen.o ./../dist/../mp/mp_fopen.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] memp_fopen(dbenv, path, flags, mode, pagesize, finfop, retp) ^ ./../dist/../mp/mp_fopen.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_fopen(dbmp, mfp, path, flags, mode, pagesize, needlock, finfop, retp) ^ ./../dist/../mp/mp_fopen.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_mf_open(dbmp, path, pagesize, last_pgno, finfop, flags, retp) ^ ./../dist/../mp/mp_fopen.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memp_fclose(dbmfp) ^ ./../dist/../mp/mp_fopen.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] __memp_mf_discard(dbmp, mfp) ^ ./../dist/../mp/mp_fopen.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_fremove(dbmfp) ^ ./../dist/../mp/mp_fopen.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] __memp_fn(dbmfp) ^ ./../dist/../mp/mp_fopen.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] __memp_fns(dbmp, mfp) ^ 8 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fopen.c -o mp_fopen.o ./../dist/../mp/mp_fopen.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] memp_fopen(dbenv, path, flags, mode, pagesize, finfop, retp) ^ ./../dist/../mp/mp_fopen.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_fopen(dbmp, mfp, path, flags, mode, pagesize, needlock, finfop, retp) ^ ./../dist/../mp/mp_fopen.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_mf_open(dbmp, path, pagesize, last_pgno, finfop, flags, retp) ^ ./../dist/../mp/mp_fopen.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] memp_fclose(dbmfp) ^ ./../dist/../mp/mp_fopen.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] __memp_mf_discard(dbmp, mfp) ^ ./../dist/../mp/mp_fopen.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_fremove(dbmfp) ^ ./../dist/../mp/mp_fopen.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] __memp_fn(dbmfp) ^ ./../dist/../mp/mp_fopen.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] __memp_fns(dbmp, mfp) ^ 8 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fput.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fput.c -fPIC -DPIC -o .libs/mp_fput.o ./../dist/../mp/mp_fput.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] memp_fput(dbmfp, pgaddr, flags) ^ ./../dist/../mp/mp_fput.c:100: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fput.c -o mp_fput.o ./../dist/../mp/mp_fput.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] memp_fput(dbmfp, pgaddr, flags) ^ ./../dist/../mp/mp_fput.c:100: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fset.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fset.c -fPIC -DPIC -o .libs/mp_fset.o ./../dist/../mp/mp_fset.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] memp_fset(dbmfp, pgaddr, flags) ^ ./../dist/../mp/mp_fset.c:77: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_fset.c -o mp_fset.o ./../dist/../mp/mp_fset.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] memp_fset(dbmfp, pgaddr, flags) ^ ./../dist/../mp/mp_fset.c:77: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:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_method.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_method.c -fPIC -DPIC -o .libs/mp_method.o ./../dist/../mp/mp_method.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] __memp_dbenv_create(dbenv) ^ ./../dist/../mp/mp_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] __memp_set_cachesize(dbenv, gbytes, bytes, ncache) ^ ./../dist/../mp/mp_method.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] __memp_set_mp_mmapsize(dbenv, mp_mmapsize ) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_method.c -o mp_method.o ./../dist/../mp/mp_method.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] __memp_dbenv_create(dbenv) ^ ./../dist/../mp/mp_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] __memp_set_cachesize(dbenv, gbytes, bytes, ncache) ^ ./../dist/../mp/mp_method.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] __memp_set_mp_mmapsize(dbenv, mp_mmapsize ) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_region.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_region.c -fPIC -DPIC -o .libs/mp_region.o ./../dist/../mp/mp_region.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] __memp_open(dbenv) ^ ./../dist/../mp/mp_region.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] __mpool_init(dbenv, dbmp, reginfo_off, htab_buckets) ^ ./../dist/../mp/mp_region.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] __memp_close(dbenv) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_region.c -o mp_region.o ./../dist/../mp/mp_region.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] __memp_open(dbenv) ^ ./../dist/../mp/mp_region.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] __mpool_init(dbenv, dbmp, reginfo_off, htab_buckets) ^ ./../dist/../mp/mp_region.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] __memp_close(dbenv) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_register.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_register.c -fPIC -DPIC -o .libs/mp_register.o ./../dist/../mp/mp_register.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] memp_register(dbenv, ftype, pgin, pgout) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_register.c -o mp_register.o ./../dist/../mp/mp_register.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] memp_register(dbenv, ftype, pgin, pgout) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_stat.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_stat.c -fPIC -DPIC -o .libs/mp_stat.o ./../dist/../mp/mp_stat.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] memp_stat(dbenv, gspp, fspp, db_malloc) ^ ./../dist/../mp/mp_stat.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] __memp_dump_region(dbenv, area, fp) ^ ./../dist/../mp/mp_stat.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_dumpcache(dbmp, reginfo, fmap, fp, flags) ^ ./../dist/../mp/mp_stat.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] __memp_pbh(dbmp, bhp, fmap, fp) ^ 4 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_stat.c -o mp_stat.o ./../dist/../mp/mp_stat.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] memp_stat(dbenv, gspp, fspp, db_malloc) ^ ./../dist/../mp/mp_stat.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] __memp_dump_region(dbenv, area, fp) ^ ./../dist/../mp/mp_stat.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_dumpcache(dbmp, reginfo, fmap, fp, flags) ^ ./../dist/../mp/mp_stat.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] __memp_pbh(dbmp, bhp, fmap, fp) ^ 4 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_sync.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_sync.c -fPIC -DPIC -o .libs/mp_sync.o ./../dist/../mp/mp_sync.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] memp_sync(dbenv, lsnp) ^ ./../dist/../mp/mp_sync.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] memp_fsync(dbmfp) ^ ./../dist/../mp/mp_sync.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __mp_xxx_fh(dbmfp, fhp) ^ ./../dist/../mp/mp_sync.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_fsync(dbmfp) ^ ./../dist/../mp/mp_sync.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] __memp_sballoc(dbenv, bharrayp, ndirtyp) ^ ./../dist/../mp/mp_sync.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bhcmp(p1, p2) ^ 6 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_sync.c -o mp_sync.o ./../dist/../mp/mp_sync.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] memp_sync(dbenv, lsnp) ^ ./../dist/../mp/mp_sync.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] memp_fsync(dbmfp) ^ ./../dist/../mp/mp_sync.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __mp_xxx_fh(dbmfp, fhp) ^ ./../dist/../mp/mp_sync.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __memp_fsync(dbmfp) ^ ./../dist/../mp/mp_sync.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] __memp_sballoc(dbenv, bharrayp, ndirtyp) ^ ./../dist/../mp/mp_sync.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __bhcmp(p1, p2) ^ 6 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_trickle.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_trickle.c -fPIC -DPIC -o .libs/mp_trickle.o ./../dist/../mp/mp_trickle.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] memp_trickle(dbenv, pct, nwrotep) ^ ./../dist/../mp/mp_trickle.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] __memp_trick(dbenv, ncache, pct, nwrotep) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mp/mp_trickle.c -o mp_trickle.o ./../dist/../mp/mp_trickle.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] memp_trickle(dbenv, pct, nwrotep) ^ ./../dist/../mp/mp_trickle.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] __memp_trick(dbenv, ncache, pct, nwrotep) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mutex/mutex.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mutex/mutex.c -fPIC -DPIC -o .libs/mutex.o ./../dist/../mutex/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] __db_mutex_alloc(dbenv, infop, storep) ^ ./../dist/../mutex/mutex.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] __db_mutex_free(dbenv, infop, mutexp) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../mutex/mutex.c -o mutex.o ./../dist/../mutex/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] __db_mutex_alloc(dbenv, infop, storep) ^ ./../dist/../mutex/mutex.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] __db_mutex_free(dbenv, infop, mutexp) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_abs.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_abs.c -fPIC -DPIC -o .libs/os_abs.o ./../dist/../os/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] __os_abspath(path) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_abs.c -o os_abs.o ./../dist/../os/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] __os_abspath(path) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_alloc.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_alloc.c -fPIC -DPIC -o .libs/os_alloc.o ./../dist/../os/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] __os_strdup(dbenv, str, storep) ^ ./../dist/../os/os_alloc.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_calloc(dbenv, num, size, storep) ^ ./../dist/../os/os_alloc.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] __os_malloc(dbenv, size, db_malloc, storep) ^ ./../dist/../os/os_alloc.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] __os_realloc(dbenv, size, db_realloc, storep) ^ ./../dist/../os/os_alloc.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] __os_free(ptr, size) ^ ./../dist/../os/os_alloc.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] __os_freestr(ptr) ^ ./../dist/../os/os_alloc.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ua_memcpy(dst, src, len) ^ 7 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_alloc.c -o os_alloc.o ./../dist/../os/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] __os_strdup(dbenv, str, storep) ^ ./../dist/../os/os_alloc.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_calloc(dbenv, num, size, storep) ^ ./../dist/../os/os_alloc.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] __os_malloc(dbenv, size, db_malloc, storep) ^ ./../dist/../os/os_alloc.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] __os_realloc(dbenv, size, db_realloc, storep) ^ ./../dist/../os/os_alloc.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] __os_free(ptr, size) ^ ./../dist/../os/os_alloc.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] __os_freestr(ptr) ^ ./../dist/../os/os_alloc.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __ua_memcpy(dst, src, len) ^ 7 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_dir.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_dir.c -fPIC -DPIC -o .libs/os_dir.o ./../dist/../os/os_dir.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] __os_dirlist(dbenv, dir, namesp, cntp) ^ ./../dist/../os/os_dir.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] __os_dirfree(names, cnt) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_dir.c -o os_dir.o ./../dist/../os/os_dir.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] __os_dirlist(dbenv, dir, namesp, cntp) ^ ./../dist/../os/os_dir.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] __os_dirfree(names, cnt) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_errno.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_errno.c -fPIC -DPIC -o .libs/os_errno.o ./../dist/../os/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] __os_set_errno(evalue) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_errno.c -o os_errno.o ./../dist/../os/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] __os_set_errno(evalue) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_fid.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_fid.c -fPIC -DPIC -o .libs/os_fid.o ./../dist/../os/os_fid.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_fileid(dbenv, fname, unique_okay, fidp) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_fid.c -o os_fid.o ./../dist/../os/os_fid.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_fileid(dbenv, fname, unique_okay, fidp) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_finit.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_finit.c -fPIC -DPIC -o .libs/os_finit.o ./../dist/../os/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] __os_finit(dbenv, fhp, size, zerofill) ^ ./../dist/../os/os_finit.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] __os_fpinit(dbenv, fhp, pgno, pagecount, pagesize) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_finit.c -o os_finit.o ./../dist/../os/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] __os_finit(dbenv, fhp, size, zerofill) ^ ./../dist/../os/os_finit.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] __os_fpinit(dbenv, fhp, pgno, pagecount, pagesize) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_fsync.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_fsync.c -fPIC -DPIC -o .libs/os_fsync.o ./../dist/../os/os_fsync.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] __os_fsync(dbenv, fhp) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_fsync.c -o os_fsync.o ./../dist/../os/os_fsync.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] __os_fsync(dbenv, fhp) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_handle.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_handle.c -fPIC -DPIC -o .libs/os_handle.o ./../dist/../os/os_handle.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] __os_openhandle(dbenv, name, flags, mode, fhp) ^ ./../dist/../os/os_handle.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] __os_closehandle(fhp) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_handle.c -o os_handle.o ./../dist/../os/os_handle.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] __os_openhandle(dbenv, name, flags, mode, fhp) ^ ./../dist/../os/os_handle.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] __os_closehandle(fhp) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_map.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_map.c -fPIC -DPIC -o .libs/os_map.o ./../dist/../os/os_map.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] __os_r_sysattach(dbenv, infop, rp) ^ ./../dist/../os/os_map.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_r_sysdetach(dbenv, infop, destroy) ^ ./../dist/../os/os_map.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] __os_mapfile(dbenv, path, fhp, len, is_rdonly, addrp) ^ ./../dist/../os/os_map.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_unmapfile(dbenv, addr, len) ^ ./../dist/../os/os_map.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] __os_map(dbenv, path, fhp, len, is_region, is_rdonly, addrp) ^ 5 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_map.c -o os_map.o ./../dist/../os/os_map.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] __os_r_sysattach(dbenv, infop, rp) ^ ./../dist/../os/os_map.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_r_sysdetach(dbenv, infop, destroy) ^ ./../dist/../os/os_map.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] __os_mapfile(dbenv, path, fhp, len, is_rdonly, addrp) ^ ./../dist/../os/os_map.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_unmapfile(dbenv, addr, len) ^ ./../dist/../os/os_map.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] __os_map(dbenv, path, fhp, len, is_region, is_rdonly, addrp) ^ 5 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_method.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_method.c -fPIC -DPIC -o .libs/os_method.o ./../dist/../os/os_method.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] db_env_set_func_close(func_close) ^ ./../dist/../os/os_method.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] db_env_set_func_dirfree(func_dirfree) ^ ./../dist/../os/os_method.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] db_env_set_func_dirlist(func_dirlist) ^ ./../dist/../os/os_method.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] db_env_set_func_exists(func_exists) ^ ./../dist/../os/os_method.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] db_env_set_func_free(func_free) ^ ./../dist/../os/os_method.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_fsync(func_fsync) ^ ./../dist/../os/os_method.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] db_env_set_func_ioinfo(func_ioinfo) ^ ./../dist/../os/os_method.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_malloc(func_malloc) ^ ./../dist/../os/os_method.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] db_env_set_func_map(func_map) ^ ./../dist/../os/os_method.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] db_env_set_func_open(func_open) ^ ./../dist/../os/os_method.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_read(func_read) ^ ./../dist/../os/os_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] db_env_set_func_realloc(func_realloc) ^ ./../dist/../os/os_method.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] db_env_set_func_rename(func_rename) ^ ./../dist/../os/os_method.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_seek(func_seek) ^ ./../dist/../os/os_method.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] db_env_set_func_sleep(func_sleep) ^ ./../dist/../os/os_method.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] db_env_set_func_unlink(func_unlink) ^ ./../dist/../os/os_method.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] db_env_set_func_unmap(func_unmap) ^ ./../dist/../os/os_method.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_write(func_write) ^ ./../dist/../os/os_method.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_yield(func_yield) ^ ./../dist/../os/os_method.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] db_env_set_mutexlocks(onoff) ^ ./../dist/../os/os_method.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_pageyield(onoff) ^ ./../dist/../os/os_method.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] db_env_set_panicstate(onoff) ^ ./../dist/../os/os_method.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] db_env_set_region_init(onoff) ^ ./../dist/../os/os_method.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] db_env_set_tas_spins(tas_spins) ^ 24 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_method.c -o os_method.o ./../dist/../os/os_method.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] db_env_set_func_close(func_close) ^ ./../dist/../os/os_method.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] db_env_set_func_dirfree(func_dirfree) ^ ./../dist/../os/os_method.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] db_env_set_func_dirlist(func_dirlist) ^ ./../dist/../os/os_method.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] db_env_set_func_exists(func_exists) ^ ./../dist/../os/os_method.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] db_env_set_func_free(func_free) ^ ./../dist/../os/os_method.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_fsync(func_fsync) ^ ./../dist/../os/os_method.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] db_env_set_func_ioinfo(func_ioinfo) ^ ./../dist/../os/os_method.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_malloc(func_malloc) ^ ./../dist/../os/os_method.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] db_env_set_func_map(func_map) ^ ./../dist/../os/os_method.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] db_env_set_func_open(func_open) ^ ./../dist/../os/os_method.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_read(func_read) ^ ./../dist/../os/os_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] db_env_set_func_realloc(func_realloc) ^ ./../dist/../os/os_method.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] db_env_set_func_rename(func_rename) ^ ./../dist/../os/os_method.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_seek(func_seek) ^ ./../dist/../os/os_method.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] db_env_set_func_sleep(func_sleep) ^ ./../dist/../os/os_method.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] db_env_set_func_unlink(func_unlink) ^ ./../dist/../os/os_method.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] db_env_set_func_unmap(func_unmap) ^ ./../dist/../os/os_method.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_write(func_write) ^ ./../dist/../os/os_method.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_func_yield(func_yield) ^ ./../dist/../os/os_method.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] db_env_set_mutexlocks(onoff) ^ ./../dist/../os/os_method.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_env_set_pageyield(onoff) ^ ./../dist/../os/os_method.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] db_env_set_panicstate(onoff) ^ ./../dist/../os/os_method.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] db_env_set_region_init(onoff) ^ ./../dist/../os/os_method.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] db_env_set_tas_spins(tas_spins) ^ 24 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_oflags.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_oflags.c -fPIC -DPIC -o .libs/os_oflags.o ./../dist/../os/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] __db_oflags(oflags) ^ ./../dist/../os/os_oflags.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] __db_omode(perm) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_oflags.c -o os_oflags.o ./../dist/../os/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] __db_oflags(oflags) ^ ./../dist/../os/os_oflags.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] __db_omode(perm) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_open.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_open.c -fPIC -DPIC -o .libs/os_open.o ./../dist/../os/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] __os_open(dbenv, name, flags, mode, fhp) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_open.c -o os_open.o ./../dist/../os/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] __os_open(dbenv, name, flags, mode, fhp) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_region.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_region.c -fPIC -DPIC -o .libs/os_region.o ./../dist/../os/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] __os_r_attach(dbenv, infop, rp) ^ ./../dist/../os/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] __os_r_detach(dbenv, infop, destroy) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_region.c -o os_region.o ./../dist/../os/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] __os_r_attach(dbenv, infop, rp) ^ ./../dist/../os/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] __os_r_detach(dbenv, infop, destroy) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_rename.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_rename.c -fPIC -DPIC -o .libs/os_rename.o ./../dist/../os/os_rename.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] __os_rename(dbenv, old, new) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_rename.c -o os_rename.o ./../dist/../os/os_rename.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] __os_rename(dbenv, old, new) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_root.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_root.c -fPIC -DPIC -o .libs/os_root.o cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_root.c -o os_root.o /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_rpath.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_rpath.c -fPIC -DPIC -o .libs/os_rpath.o ./../dist/../os/os_rpath.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] __db_rpath(path) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_rpath.c -o os_rpath.o ./../dist/../os/os_rpath.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] __db_rpath(path) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_rw.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_rw.c -fPIC -DPIC -o .libs/os_rw.o ./../dist/../os/os_rw.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] __os_io(dbenv, db_iop, op, niop) ^ ./../dist/../os/os_rw.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] __os_read(dbenv, fhp, addr, len, nrp) ^ ./../dist/../os/os_rw.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_write(dbenv, fhp, addr, len, nwp) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_rw.c -o os_rw.o ./../dist/../os/os_rw.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] __os_io(dbenv, db_iop, op, niop) ^ ./../dist/../os/os_rw.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] __os_read(dbenv, fhp, addr, len, nrp) ^ ./../dist/../os/os_rw.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_write(dbenv, fhp, addr, len, nwp) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_seek.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_seek.c -fPIC -DPIC -o .libs/os_seek.o ./../dist/../os/os_seek.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] __os_seek(dbenv, fhp, pgsize, pageno, relative, isrewind, db_whence) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_seek.c -o os_seek.o ./../dist/../os/os_seek.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] __os_seek(dbenv, fhp, pgsize, pageno, relative, isrewind, db_whence) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_sleep.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_sleep.c -fPIC -DPIC -o .libs/os_sleep.o ./../dist/../os/os_sleep.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_sleep(dbenv, secs, usecs) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_sleep.c -o os_sleep.o ./../dist/../os/os_sleep.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_sleep(dbenv, secs, usecs) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_spin.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_spin.c -fPIC -DPIC -o .libs/os_spin.o ./../dist/../os/os_spin.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_yield(dbenv, usecs) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_spin.c -o os_spin.o ./../dist/../os/os_spin.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __os_yield(dbenv, usecs) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_stat.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_stat.c -fPIC -DPIC -o .libs/os_stat.o ./../dist/../os/os_stat.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] __os_exists(path, isdirp) ^ ./../dist/../os/os_stat.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] __os_ioinfo(dbenv, path, fhp, mbytesp, bytesp, iosizep) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_stat.c -o os_stat.o ./../dist/../os/os_stat.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] __os_exists(path, isdirp) ^ ./../dist/../os/os_stat.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] __os_ioinfo(dbenv, path, fhp, mbytesp, bytesp, iosizep) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_tmpdir.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_tmpdir.c -fPIC -DPIC -o .libs/os_tmpdir.o ./../dist/../os/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] __os_tmpdir(dbenv, flags) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_tmpdir.c -o os_tmpdir.o ./../dist/../os/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] __os_tmpdir(dbenv, flags) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_unlink.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_unlink.c -fPIC -DPIC -o .libs/os_unlink.o ./../dist/../os/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] __os_unlink(dbenv, path) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../os/os_unlink.c -o os_unlink.o ./../dist/../os/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] __os_unlink(dbenv, path) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam.c -fPIC -DPIC -o .libs/qam.o ./../dist/../qam/qam.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] __qam_nrecs(dbc, rep, start) ^ ./../dist/../qam/qam.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_position(dbc, recnop, lock_mode, start, exactp) ^ ./../dist/../qam/qam.c:124:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(dbp, cp->page, cp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam.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] __qam_pitem(dbc, pagep, indx, recno, data) ^ ./../dist/../qam/qam.c:165:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(dbp, pagep, indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam.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] __qam_c_put(dbc, key, data, flags, pgnop) ^ ./../dist/../qam/qam.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_put(dbp, txn, key, data, flags) ^ ./../dist/../qam/qam.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] __qam_c_del(dbc) ^ ./../dist/../qam/qam.c:537:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(dbp, pagep, cp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_delete(dbp, txn, key, flags) ^ ./../dist/../qam/qam.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] __qam_c_get(dbc, key, data, flags, pgnop) ^ ./../dist/../qam/qam.c:843:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(dbp, pg, cp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam.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] __qam_c_close(dbc, root_pgno, rmroot) ^ ./../dist/../qam/qam.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] __qam_c_dup(orig_dbc, new_dbc) ^ ./../dist/../qam/qam.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_c_init(dbc) ^ ./../dist/../qam/qam.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_c_destroy(dbc) ^ ./../dist/../qam/qam.c:1138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_getno(dbp, key, rep) ^ 17 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam.c -o qam.o ./../dist/../qam/qam.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] __qam_nrecs(dbc, rep, start) ^ ./../dist/../qam/qam.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_position(dbc, recnop, lock_mode, start, exactp) ^ ./../dist/../qam/qam.c:124:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(dbp, cp->page, cp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam.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] __qam_pitem(dbc, pagep, indx, recno, data) ^ ./../dist/../qam/qam.c:165:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(dbp, pagep, indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam.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] __qam_c_put(dbc, key, data, flags, pgnop) ^ ./../dist/../qam/qam.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_put(dbp, txn, key, data, flags) ^ ./../dist/../qam/qam.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] __qam_c_del(dbc) ^ ./../dist/../qam/qam.c:537:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(dbp, pagep, cp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_delete(dbp, txn, key, flags) ^ ./../dist/../qam/qam.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] __qam_c_get(dbc, key, data, flags, pgnop) ^ ./../dist/../qam/qam.c:843:7: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(dbp, pg, cp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam.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] __qam_c_close(dbc, root_pgno, rmroot) ^ ./../dist/../qam/qam.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] __qam_c_dup(orig_dbc, new_dbc) ^ ./../dist/../qam/qam.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_c_init(dbc) ^ ./../dist/../qam/qam.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_c_destroy(dbc) ^ ./../dist/../qam/qam.c:1138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_getno(dbp, key, rep) ^ 17 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_auto.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_auto.c -fPIC -DPIC -o .libs/qam_auto.o ./../dist/../qam/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 __qam_inc_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../qam/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] __qam_inc_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../qam/qam_auto.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] __qam_inc_read(dbenv, recbuf, argpp) ^ ./../dist/../qam/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 __qam_incfirst_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../qam/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] __qam_incfirst_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../qam/qam_auto.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] __qam_incfirst_read(dbenv, recbuf, argpp) ^ ./../dist/../qam/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 __qam_mvptr_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../qam/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] __qam_mvptr_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../qam/qam_auto.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_mvptr_read(dbenv, recbuf, argpp) ^ ./../dist/../qam/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 __qam_del_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../qam/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] __qam_del_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../qam/qam_auto.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_del_read(dbenv, recbuf, argpp) ^ ./../dist/../qam/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 __qam_add_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../qam/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] __qam_add_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../qam/qam_auto.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_add_read(dbenv, recbuf, argpp) ^ ./../dist/../qam/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] __qam_init_print(dbenv) ^ ./../dist/../qam/qam_auto.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_init_recover(dbenv) ^ 17 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_auto.c -o qam_auto.o ./../dist/../qam/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 __qam_inc_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../qam/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] __qam_inc_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../qam/qam_auto.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] __qam_inc_read(dbenv, recbuf, argpp) ^ ./../dist/../qam/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 __qam_incfirst_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../qam/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] __qam_incfirst_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../qam/qam_auto.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] __qam_incfirst_read(dbenv, recbuf, argpp) ^ ./../dist/../qam/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 __qam_mvptr_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../qam/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] __qam_mvptr_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../qam/qam_auto.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_mvptr_read(dbenv, recbuf, argpp) ^ ./../dist/../qam/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 __qam_del_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../qam/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] __qam_del_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../qam/qam_auto.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_del_read(dbenv, recbuf, argpp) ^ ./../dist/../qam/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 __qam_add_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../qam/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] __qam_add_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../qam/qam_auto.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_add_read(dbenv, recbuf, argpp) ^ ./../dist/../qam/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] __qam_init_print(dbenv) ^ ./../dist/../qam/qam_auto.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_init_recover(dbenv) ^ 17 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_conv.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_conv.c -fPIC -DPIC -o .libs/qam_conv.o ./../dist/../qam/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] __qam_mswap(pg) ^ ./../dist/../qam/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] __qam_pgin_out(dbenv, pg, pp, cookie) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_conv.c -o qam_conv.o ./../dist/../qam/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] __qam_mswap(pg) ^ ./../dist/../qam/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] __qam_pgin_out(dbenv, pg, pp, cookie) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_method.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_method.c -fPIC -DPIC -o .libs/qam_method.o ./../dist/../qam/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] __qam_db_create(dbp) ^ ./../dist/../qam/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] __qam_db_close(dbp) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_method.c -o qam_method.o ./../dist/../qam/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] __qam_db_create(dbp) ^ ./../dist/../qam/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] __qam_db_close(dbp) ^ 2 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_open.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_open.c -fPIC -DPIC -o .libs/qam_open.o ./../dist/../qam/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] __qam_open(dbp, name, base_pgno, flags) ^ ./../dist/../qam/qam_open.c:126:20: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qmeta->rec_page = CALC_QAM_RECNO_PER_PAGE(dbp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:66:23: note: expanded from macro 'CALC_QAM_RECNO_PER_PAGE' sizeof(QAMDATA) - SSZA(QAMDATA, data), sizeof(u_int32_t))) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam_open.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] __qam_metachk(dbp, name, qmeta) ^ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_open.c -o qam_open.o ./../dist/../qam/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] __qam_open(dbp, name, base_pgno, flags) ^ ./../dist/../qam/qam_open.c:126:20: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qmeta->rec_page = CALC_QAM_RECNO_PER_PAGE(dbp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:66:23: note: expanded from macro 'CALC_QAM_RECNO_PER_PAGE' sizeof(QAMDATA) - SSZA(QAMDATA, data), sizeof(u_int32_t))) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam_open.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] __qam_metachk(dbp, name, qmeta) ^ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_rec.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_rec.c -fPIC -DPIC -o .libs/qam_rec.o ./../dist/../qam/qam_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] __qam_inc_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../qam/qam_rec.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] __qam_incfirst_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../qam/qam_rec.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_mvptr_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../qam/qam_rec.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_del_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../qam/qam_rec.c:307:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(file_dbp, pagep, argp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam_rec.c:329:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(file_dbp, pagep, argp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/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] __qam_add_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../qam/qam_rec.c:403:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD( ^~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam_rec.c:409:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(file_dbp, pagep, argp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ 9 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_rec.c -o qam_rec.o ./../dist/../qam/qam_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] __qam_inc_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../qam/qam_rec.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] __qam_incfirst_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../qam/qam_rec.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_mvptr_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../qam/qam_rec.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_del_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../qam/qam_rec.c:307:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(file_dbp, pagep, argp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam_rec.c:329:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(file_dbp, pagep, argp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/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] __qam_add_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../qam/qam_rec.c:403:10: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD( ^~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam_rec.c:409:9: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(file_dbp, pagep, argp->indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ 9 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_stat.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_stat.c -fPIC -DPIC -o .libs/qam_stat.o ./../dist/../qam/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] __qam_stat(dbp, spp, db_malloc, flags) ^ ./../dist/../qam/qam_stat.c:108:23: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] for (indx = 0, qp = QAM_GET_RECORD(dbp, h, indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam_stat.c:110:21: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] ++indx, qp = QAM_GET_RECORD(dbp, h, indx)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ 3 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_stat.c -o qam_stat.o ./../dist/../qam/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] __qam_stat(dbp, spp, db_malloc, flags) ^ ./../dist/../qam/qam_stat.c:108:23: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] for (indx = 0, qp = QAM_GET_RECORD(dbp, h, indx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam_stat.c:110:21: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] ++indx, qp = QAM_GET_RECORD(dbp, h, indx)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ 3 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_upgrade.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_upgrade.c -fPIC -DPIC -o .libs/qam_upgrade.o ./../dist/../qam/qam_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] __qam_31_qammeta(dbp, real_name, buf) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_upgrade.c -o qam_upgrade.o ./../dist/../qam/qam_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] __qam_31_qammeta(dbp, real_name, buf) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_verify.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_verify.c -fPIC -DPIC -o .libs/qam_verify.o In file included from ./../dist/../qam/qam_verify.c:21: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../qam/qam_verify.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] __qam_vrfy_meta(dbp, vdp, meta, pgno, flags) ^ ./../dist/../qam/qam_verify.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_vrfy_data(dbp, vdp, h, pgno, flags) ^ ./../dist/../qam/qam_verify.c:131:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(&fakedb, h, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam_verify.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_vrfy_structure(dbp, vdp, flags) ^ 5 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../qam/qam_verify.c -o qam_verify.o In file included from ./../dist/../qam/qam_verify.c:21: ./../dist/../include/db_verify.h:10:9: warning: '_DB_VERIFY_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _DB_VERIFY_H ^~~~~~~~~~~~ ./../dist/../include/db_verify.h:11:9: note: '_DB_VERIFY_H_' is defined here; did you mean '_DB_VERIFY_H'? #define _DB_VERIFY_H_ ^~~~~~~~~~~~~ _DB_VERIFY_H ./../dist/../qam/qam_verify.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] __qam_vrfy_meta(dbp, vdp, meta, pgno, flags) ^ ./../dist/../qam/qam_verify.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_vrfy_data(dbp, vdp, h, pgno, flags) ^ ./../dist/../qam/qam_verify.c:131:8: warning: cast to smaller integer type 'int' from 'u_int8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] qp = QAM_GET_RECORD(&fakedb, h, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../dist/../include/qam.h:80:46: note: expanded from macro 'QAM_GET_RECORD' sizeof(QPAGE) + (ALIGN(sizeof(QAMDATA) - SSZA(QAMDATA, data) + \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./db_int.h:114:28: note: expanded from macro 'SSZA' #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:91:8: note: expanded from macro 'ALIGN' (((value) + (bound) - 1) & ~(((u_int)bound) - 1)) ^~~~~ ./../dist/../qam/qam_verify.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __qam_vrfy_structure(dbp, vdp, flags) ^ 5 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn.c -fPIC -DPIC -o .libs/txn.o ./../dist/../txn/txn.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] txn_begin(dbenv, parent, txnpp, flags) ^ ./../dist/../txn/txn.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] __txn_xa_begin(dbenv, txn) ^ ./../dist/../txn/txn.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_begin(txn) ^ ./../dist/../txn/txn.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_commit(txnp, flags) ^ ./../dist/../txn/txn.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_abort(txnp) ^ ./../dist/../txn/txn.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_prepare(txnp) ^ ./../dist/../txn/txn.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_id(txnp) ^ ./../dist/../txn/txn.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] __txn_check_running(txnp, tdp) ^ ./../dist/../txn/txn.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_end(txnp, is_commit) ^ ./../dist/../txn/txn.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] __txn_undo(txnp) ^ ./../dist/../txn/txn.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_checkpoint(dbenv, kbytes, minutes, flags) ^ ./../dist/../txn/txn.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_freekids(txnp) ^ ./../dist/../txn/txn.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] __txn_makefamily(dbenv, txnp, np, arrayp) ^ ./../dist/../txn/txn.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_count(txnp) ^ ./../dist/../txn/txn.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_lsn(txnp, array) ^ ./../dist/../txn/txn.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_activekids(txnp) ^ 16 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn.c -o txn.o ./../dist/../txn/txn.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] txn_begin(dbenv, parent, txnpp, flags) ^ ./../dist/../txn/txn.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] __txn_xa_begin(dbenv, txn) ^ ./../dist/../txn/txn.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_begin(txn) ^ ./../dist/../txn/txn.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_commit(txnp, flags) ^ ./../dist/../txn/txn.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_abort(txnp) ^ ./../dist/../txn/txn.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_prepare(txnp) ^ ./../dist/../txn/txn.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_id(txnp) ^ ./../dist/../txn/txn.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] __txn_check_running(txnp, tdp) ^ ./../dist/../txn/txn.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_end(txnp, is_commit) ^ ./../dist/../txn/txn.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] __txn_undo(txnp) ^ ./../dist/../txn/txn.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_checkpoint(dbenv, kbytes, minutes, flags) ^ ./../dist/../txn/txn.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_freekids(txnp) ^ ./../dist/../txn/txn.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] __txn_makefamily(dbenv, txnp, np, arrayp) ^ ./../dist/../txn/txn.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_count(txnp) ^ ./../dist/../txn/txn.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_lsn(txnp, array) ^ ./../dist/../txn/txn.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_activekids(txnp) ^ 16 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn_auto.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn_auto.c -fPIC -DPIC -o .libs/txn_auto.o ./../dist/../txn/txn_auto.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_old_regop_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.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] __txn_old_regop_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_auto.c:79: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 __txn_regop_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../txn/txn_auto.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] __txn_regop_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.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] __txn_regop_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_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] __txn_old_ckp_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.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] __txn_old_ckp_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_auto.c:259: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 __txn_ckp_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../txn/txn_auto.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] __txn_ckp_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.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] __txn_ckp_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_auto.c:388: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 __txn_xa_regop_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../txn/txn_auto.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] __txn_xa_regop_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.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] __txn_xa_regop_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_auto.c:543: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 __txn_child_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../txn/txn_auto.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] __txn_child_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_child_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_auto.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_init_print(dbenv) ^ ./../dist/../txn/txn_auto.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_init_recover(dbenv) ^ 18 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn_auto.c -o txn_auto.o ./../dist/../txn/txn_auto.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_old_regop_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.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] __txn_old_regop_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_auto.c:79: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 __txn_regop_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../txn/txn_auto.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] __txn_regop_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.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] __txn_regop_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_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] __txn_old_ckp_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.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] __txn_old_ckp_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_auto.c:259: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 __txn_ckp_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../txn/txn_auto.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] __txn_ckp_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.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] __txn_ckp_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_auto.c:388: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 __txn_xa_regop_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../txn/txn_auto.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] __txn_xa_regop_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.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] __txn_xa_regop_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_auto.c:543: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 __txn_child_log(dbenv, txnid, ret_lsnp, flags, ^ ./../dist/../txn/txn_auto.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] __txn_child_print(dbenv, dbtp, lsnp, notused2, notused3) ^ ./../dist/../txn/txn_auto.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_child_read(dbenv, recbuf, argpp) ^ ./../dist/../txn/txn_auto.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_init_print(dbenv) ^ ./../dist/../txn/txn_auto.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_init_recover(dbenv) ^ 18 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn_rec.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn_rec.c -fPIC -DPIC -o .libs/txn_rec.o ./../dist/../txn/txn_rec.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] __txn_regop_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../txn/txn_rec.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] __txn_xa_regop_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../txn/txn_rec.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_ckp_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../txn/txn_rec.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] __txn_child_recover(dbenv, dbtp, lsnp, op, info) ^ 4 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn_rec.c -o txn_rec.o ./../dist/../txn/txn_rec.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] __txn_regop_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../txn/txn_rec.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] __txn_xa_regop_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../txn/txn_rec.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __txn_ckp_recover(dbenv, dbtp, lsnp, op, info) ^ ./../dist/../txn/txn_rec.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] __txn_child_recover(dbenv, dbtp, lsnp, op, info) ^ 4 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn_region.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn_region.c -fPIC -DPIC -o .libs/txn_region.o ./../dist/../txn/txn_region.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] __txn_dbenv_create(dbenv) ^ ./../dist/../txn/txn_region.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] __txn_set_tx_max(dbenv, tx_max) ^ ./../dist/../txn/txn_region.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] __txn_set_tx_recover(dbenv, tx_recover) ^ ./../dist/../txn/txn_region.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] __txn_set_tx_timestamp(dbenv, timestamp) ^ ./../dist/../txn/txn_region.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] __txn_open(dbenv) ^ ./../dist/../txn/txn_region.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] __txn_init(dbenv, tmgrp) ^ ./../dist/../txn/txn_region.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] __txn_close(dbenv) ^ ./../dist/../txn/txn_region.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] txn_stat(dbenv, statp, db_malloc) ^ 8 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../txn/txn_region.c -o txn_region.o ./../dist/../txn/txn_region.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] __txn_dbenv_create(dbenv) ^ ./../dist/../txn/txn_region.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] __txn_set_tx_max(dbenv, tx_max) ^ ./../dist/../txn/txn_region.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] __txn_set_tx_recover(dbenv, tx_recover) ^ ./../dist/../txn/txn_region.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] __txn_set_tx_timestamp(dbenv, timestamp) ^ ./../dist/../txn/txn_region.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] __txn_open(dbenv) ^ ./../dist/../txn/txn_region.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] __txn_init(dbenv, tmgrp) ^ ./../dist/../txn/txn_region.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] __txn_close(dbenv) ^ ./../dist/../txn/txn_region.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] txn_stat(dbenv, statp, db_malloc) ^ 8 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../xa/xa.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../xa/xa.c -fPIC -DPIC -o .libs/xa.o ./../dist/../xa/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] __db_xa_open(xa_info, rmid, flags) ^ ./../dist/../xa/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] __db_xa_close(xa_info, rmid, flags) ^ ./../dist/../xa/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] __db_xa_start(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_end(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_prepare(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_commit(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_recover(xids, count, rmid, flags) ^ ./../dist/../xa/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] __db_xa_rollback(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_forget(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_complete(handle, retval, rmid, flags) ^ ./../dist/../xa/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] __xa_txn_init(env, td, off) ^ ./../dist/../xa/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] __xa_txn_end(env) ^ 12 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../xa/xa.c -o xa.o ./../dist/../xa/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] __db_xa_open(xa_info, rmid, flags) ^ ./../dist/../xa/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] __db_xa_close(xa_info, rmid, flags) ^ ./../dist/../xa/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] __db_xa_start(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_end(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_prepare(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_commit(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_recover(xids, count, rmid, flags) ^ ./../dist/../xa/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] __db_xa_rollback(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_forget(xid, rmid, flags) ^ ./../dist/../xa/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] __db_xa_complete(handle, retval, rmid, flags) ^ ./../dist/../xa/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] __xa_txn_init(env, td, off) ^ ./../dist/../xa/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] __xa_txn_end(env) ^ 12 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../xa/xa_db.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../xa/xa_db.c -fPIC -DPIC -o .libs/xa_db.o ./../dist/../xa/xa_db.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] __db_xa_create(dbp) ^ ./../dist/../xa/xa_db.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] __xa_cursor(dbp, txn, dbcp, flags) ^ ./../dist/../xa/xa_db.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] __xa_del(dbp, txn, key, flags) ^ ./../dist/../xa/xa_db.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __xa_close(dbp, flags) ^ ./../dist/../xa/xa_db.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] __xa_get(dbp, txn, key, data, flags) ^ ./../dist/../xa/xa_db.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] __xa_put(dbp, txn, key, data, flags) ^ 6 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../xa/xa_db.c -o xa_db.o ./../dist/../xa/xa_db.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] __db_xa_create(dbp) ^ ./../dist/../xa/xa_db.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] __xa_cursor(dbp, txn, dbcp, flags) ^ ./../dist/../xa/xa_db.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] __xa_del(dbp, txn, key, flags) ^ ./../dist/../xa/xa_db.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __xa_close(dbp, flags) ^ ./../dist/../xa/xa_db.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] __xa_get(dbp, txn, key, data, flags) ^ ./../dist/../xa/xa_db.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] __xa_put(dbp, txn, key, data, flags) ^ 6 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../xa/xa_map.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../xa/xa_map.c -fPIC -DPIC -o .libs/xa_map.o ./../dist/../xa/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] __db_rmid_to_env(rmid, envp) ^ ./../dist/../xa/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] __db_xid_to_txn(dbenv, xid, offp) ^ ./../dist/../xa/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] __db_map_rmid(rmid, env) ^ ./../dist/../xa/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] __db_unmap_rmid(rmid) ^ ./../dist/../xa/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] __db_map_xid(env, xid, off) ^ ./../dist/../xa/xa_map.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] __db_unmap_xid(env, xid, off) ^ 6 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../xa/xa_map.c -o xa_map.o ./../dist/../xa/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] __db_rmid_to_env(rmid, envp) ^ ./../dist/../xa/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] __db_xid_to_txn(dbenv, xid, offp) ^ ./../dist/../xa/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] __db_map_rmid(rmid, env) ^ ./../dist/../xa/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] __db_unmap_rmid(rmid) ^ ./../dist/../xa/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] __db_map_xid(env, xid, off) ^ ./../dist/../xa/xa_map.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] __db_unmap_xid(env, xid, off) ^ 6 warnings generated. /usr/bin/libtool --mode=link cc -rpath /usr/local/lib/db -o libdb.la mut_fcntl.lo db185.lo 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 bt_verify.lo btree_auto.lo crdel_auto.lo crdel_rec.lo db.lo db_am.lo db_auto.lo db_byteorder.lo db_cam.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_upg.lo db_upg_opd.lo db_vrfy.lo db_vrfyutil.lo dbm.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 hash_verify.lo hsearch.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_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 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 qam_upgrade.lo qam_verify.lo txn.lo txn_auto.lo txn_rec.lo txn_region.lo xa.lo xa_db.lo xa_map.lo libtool: link: cc -shared -fPIC -DPIC -o .libs/libdb.so.3.1 .libs/mut_fcntl.o .libs/db185.o .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/bt_verify.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_cam.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_upg.o .libs/db_upg_opd.o .libs/db_vrfy.o .libs/db_vrfyutil.o .libs/dbm.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/hash_verify.o .libs/hsearch.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_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/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/qam_upgrade.o .libs/qam_verify.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 -Wl,-soname,libdb.so.3.1 libtool: link: ar cru .libs/libdb.a mut_fcntl.o db185.o 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 bt_verify.o btree_auto.o crdel_auto.o crdel_rec.o db.o db_am.o db_auto.o db_byteorder.o db_cam.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_upg.o db_upg_opd.o db_vrfy.o db_vrfyutil.o dbm.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 hash_verify.o hsearch.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_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 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 qam_upgrade.o qam_verify.o txn.o txn_auto.o txn_rec.o txn_region.o xa.o xa_db.o xa_map.o libtool: link: ranlib .libs/libdb.a /usr/bin/libtool --mode=compile c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_app.cpp c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_app.cpp -fPIC -DPIC -o .libs/cxx_app.o c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_app.cpp -o cxx_app.o /usr/bin/libtool --mode=compile c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_except.cpp c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_except.cpp -fPIC -DPIC -o .libs/cxx_except.o c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_except.cpp -o cxx_except.o /usr/bin/libtool --mode=compile c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_lock.cpp c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_lock.cpp -fPIC -DPIC -o .libs/cxx_lock.o c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_lock.cpp -o cxx_lock.o /usr/bin/libtool --mode=compile c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_log.cpp c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_log.cpp -fPIC -DPIC -o .libs/cxx_log.o c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_log.cpp -o cxx_log.o /usr/bin/libtool --mode=compile c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_mpool.cpp c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_mpool.cpp -fPIC -DPIC -o .libs/cxx_mpool.o c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_mpool.cpp -o cxx_mpool.o /usr/bin/libtool --mode=compile c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_table.cpp c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_table.cpp -fPIC -DPIC -o .libs/cxx_table.o c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_table.cpp -o cxx_table.o /usr/bin/libtool --mode=compile c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_txn.cpp c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_txn.cpp -fPIC -DPIC -o .libs/cxx_txn.o c++ -c -fexceptions -O2 -pipe -I. -I./../dist/../include ./../dist/../cxx/cxx_txn.cpp -o cxx_txn.o /usr/bin/libtool --mode=link cc -rpath /usr/local/lib/db -o libdb_cxx.la cxx_app.lo cxx_except.lo cxx_lock.lo cxx_log.lo cxx_mpool.lo cxx_table.lo cxx_txn.lo mut_fcntl.lo db185.lo 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 bt_verify.lo btree_auto.lo crdel_auto.lo crdel_rec.lo db.lo db_am.lo db_auto.lo db_byteorder.lo db_cam.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_upg.lo db_upg_opd.lo db_vrfy.lo db_vrfyutil.lo dbm.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 hash_verify.lo hsearch.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_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 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 qam_upgrade.lo qam_verify.lo txn.lo txn_auto.lo txn_rec.lo txn_region.lo xa.lo xa_db.lo xa_map.lo libtool: link: cc -shared -fPIC -DPIC -o .libs/libdb_cxx.so.4.0 .libs/cxx_app.o .libs/cxx_except.o .libs/cxx_lock.o .libs/cxx_log.o .libs/cxx_mpool.o .libs/cxx_table.o .libs/cxx_txn.o .libs/mut_fcntl.o .libs/db185.o .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/bt_verify.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_cam.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_upg.o .libs/db_upg_opd.o .libs/db_vrfy.o .libs/db_vrfyutil.o .libs/dbm.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/hash_verify.o .libs/hsearch.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_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/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/qam_upgrade.o .libs/qam_verify.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 -Wl,-soname,libdb_cxx.so.4.0 libtool: link: ar cru .libs/libdb_cxx.a cxx_app.o cxx_except.o cxx_lock.o cxx_log.o cxx_mpool.o cxx_table.o cxx_txn.o mut_fcntl.o db185.o 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 bt_verify.o btree_auto.o crdel_auto.o crdel_rec.o db.o db_am.o db_auto.o db_byteorder.o db_cam.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_upg.o db_upg_opd.o db_vrfy.o db_vrfyutil.o dbm.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 hash_verify.o hsearch.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_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 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 qam_upgrade.o qam_verify.o txn.o txn_auto.o txn_rec.o txn_region.o xa.o xa_db.o xa_map.o libtool: link: ranlib .libs/libdb_cxx.a /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_compat.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_compat.c -fPIC -DPIC -o .libs/tcl_compat.o ./../dist/../tcl/tcl_compat.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] bdb_HCommand(interp, objc, objv) ^ ./../dist/../tcl/tcl_compat.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] bdb_NdbmOpen(interp, objc, objv, dbpp) ^ ./../dist/../tcl/tcl_compat.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] bdb_DbmCommand(interp, objc, objv, flag, dbm) ^ ./../dist/../tcl/tcl_compat.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] ndbm_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_compat.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_RandCommand(interp, objc, objv) ^ ./../dist/../tcl/tcl_compat.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_Mutex(interp, objc, objv, envp, envip) ^ ./../dist/../tcl/tcl_compat.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mutex_Cmd(clientData, interp, objc, objv) ^ 7 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_compat.c -o tcl_compat.o ./../dist/../tcl/tcl_compat.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] bdb_HCommand(interp, objc, objv) ^ ./../dist/../tcl/tcl_compat.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] bdb_NdbmOpen(interp, objc, objv, dbpp) ^ ./../dist/../tcl/tcl_compat.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] bdb_DbmCommand(interp, objc, objv, flag, dbm) ^ ./../dist/../tcl/tcl_compat.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] ndbm_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_compat.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_RandCommand(interp, objc, objv) ^ ./../dist/../tcl/tcl_compat.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_Mutex(interp, objc, objv, envp, envip) ^ ./../dist/../tcl/tcl_compat.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mutex_Cmd(clientData, interp, objc, objv) ^ 7 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_db.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_db.c -fPIC -DPIC -o .libs/tcl_db.o ./../dist/../tcl/tcl_db.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] db_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_db.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] tcl_DbStat(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbClose(interp, objc, objv, dbp, dbip) ^ ./../dist/../tcl/tcl_db.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbPut(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbGet(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbDelete(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbCursor(interp, objc, objv, dbp, dbcp) ^ ./../dist/../tcl/tcl_db.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbJoin(interp, objc, objv, dbp, dbcp) ^ ./../dist/../tcl/tcl_db.c:1417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbGetjoin(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:1575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbCount(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbKeyRange(interp, objc, objv, dbp) ^ 11 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_db.c -o tcl_db.o ./../dist/../tcl/tcl_db.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] db_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_db.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] tcl_DbStat(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbClose(interp, objc, objv, dbp, dbip) ^ ./../dist/../tcl/tcl_db.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbPut(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbGet(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbDelete(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbCursor(interp, objc, objv, dbp, dbcp) ^ ./../dist/../tcl/tcl_db.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbJoin(interp, objc, objv, dbp, dbcp) ^ ./../dist/../tcl/tcl_db.c:1417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbGetjoin(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:1575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbCount(interp, objc, objv, dbp) ^ ./../dist/../tcl/tcl_db.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbKeyRange(interp, objc, objv, dbp) ^ 11 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_db_pkg.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_db_pkg.c -fPIC -DPIC -o .libs/tcl_db_pkg.o ./../dist/../tcl/tcl_db_pkg.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] Db_tcl_Init(interp) ^ ./../dist/../tcl/tcl_db_pkg.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] berkdb_Cmd(notused, interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_EnvOpen(interp, objc, objv, ip, env) ^ ./../dist/../tcl/tcl_db_pkg.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_DbOpen(interp, objc, objv, ip, dbp) ^ ./../dist/../tcl/tcl_db_pkg.c:1566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_DbRemove(interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:1690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_DbRename(interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:1828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_DbVerify(interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:1976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_Version(interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:2051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_Handles(interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:2083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_DbUpgrade(interp, objc, objv) ^ 10 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_db_pkg.c -o tcl_db_pkg.o ./../dist/../tcl/tcl_db_pkg.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] Db_tcl_Init(interp) ^ ./../dist/../tcl/tcl_db_pkg.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] berkdb_Cmd(notused, interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_EnvOpen(interp, objc, objv, ip, env) ^ ./../dist/../tcl/tcl_db_pkg.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_DbOpen(interp, objc, objv, ip, dbp) ^ ./../dist/../tcl/tcl_db_pkg.c:1566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_DbRemove(interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:1690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_DbRename(interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:1828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_DbVerify(interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:1976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_Version(interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:2051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_Handles(interp, objc, objv) ^ ./../dist/../tcl/tcl_db_pkg.c:2083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdb_DbUpgrade(interp, objc, objv) ^ 10 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_dbcursor.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_dbcursor.c -fPIC -DPIC -o .libs/tcl_dbcursor.o ./../dist/../tcl/tcl_dbcursor.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] dbc_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_dbcursor.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] tcl_DbcPut(interp, objc, objv, dbc) ^ ./../dist/../tcl/tcl_dbcursor.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbcGet(interp, objc, objv, dbc) ^ ./../dist/../tcl/tcl_dbcursor.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbcDup(interp, objc, objv, dbc) ^ 4 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_dbcursor.c -o tcl_dbcursor.o ./../dist/../tcl/tcl_dbcursor.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] dbc_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_dbcursor.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] tcl_DbcPut(interp, objc, objv, dbc) ^ ./../dist/../tcl/tcl_dbcursor.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbcGet(interp, objc, objv, dbc) ^ ./../dist/../tcl/tcl_dbcursor.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_DbcDup(interp, objc, objv, dbc) ^ 4 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_env.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_env.c -fPIC -DPIC -o .libs/tcl_env.o ./../dist/../tcl/tcl_env.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] env_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_env.c:132:11: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (IS_HELP(objv[1])); ^ ./../dist/../include/tcl_db.h:225:6: note: expanded from macro 'IS_HELP' (strcmp(Tcl_GetStringFromObj(s,NULL), "-?") == 0) ? TCL_OK : TCL_ERROR ^ ./../dist/../tcl/tcl_env.c:132:11: note: include the header or explicitly provide a declaration for 'strcmp' ./../dist/../include/tcl_db.h:225:6: note: expanded from macro 'IS_HELP' (strcmp(Tcl_GetStringFromObj(s,NULL), "-?") == 0) ? TCL_OK : TCL_ERROR ^ ./../dist/../tcl/tcl_env.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_EnvRemove(interp, objc, objv, envp, envip) ^ ./../dist/../tcl/tcl_env.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] _EnvInfoDelete(interp, envip) ^ ./../dist/../tcl/tcl_env.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_EnvVerbose(interp, envp, which, onoff) ^ 5 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_env.c -o tcl_env.o ./../dist/../tcl/tcl_env.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] env_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_env.c:132:11: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return (IS_HELP(objv[1])); ^ ./../dist/../include/tcl_db.h:225:6: note: expanded from macro 'IS_HELP' (strcmp(Tcl_GetStringFromObj(s,NULL), "-?") == 0) ? TCL_OK : TCL_ERROR ^ ./../dist/../tcl/tcl_env.c:132:11: note: include the header or explicitly provide a declaration for 'strcmp' ./../dist/../include/tcl_db.h:225:6: note: expanded from macro 'IS_HELP' (strcmp(Tcl_GetStringFromObj(s,NULL), "-?") == 0) ? TCL_OK : TCL_ERROR ^ ./../dist/../tcl/tcl_env.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_EnvRemove(interp, objc, objv, envp, envip) ^ ./../dist/../tcl/tcl_env.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] _EnvInfoDelete(interp, envip) ^ ./../dist/../tcl/tcl_env.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_EnvVerbose(interp, envp, which, onoff) ^ 5 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_internal.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_internal.c -fPIC -DPIC -o .libs/tcl_internal.o ./../dist/../tcl/tcl_internal.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] _NewInfo(interp, anyp, name, type) ^ ./../dist/../tcl/tcl_internal.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] _NameToPtr(name) ^ ./../dist/../tcl/tcl_internal.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] _PtrToName(ptr) ^ ./../dist/../tcl/tcl_internal.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] _PtrToInfo(ptr) ^ ./../dist/../tcl/tcl_internal.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _NameToInfo(name) ^ ./../dist/../tcl/tcl_internal.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] _SetInfoData(p, data) ^ ./../dist/../tcl/tcl_internal.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] _DeleteInfo(p) ^ ./../dist/../tcl/tcl_internal.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] _SetListElem(interp, list, elem1, e1cnt, elem2, e2cnt) ^ ./../dist/../tcl/tcl_internal.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _SetListElemInt(interp, list, elem1, elem2) ^ ./../dist/../tcl/tcl_internal.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] _SetListRecnoElem(interp, list, elem1, elem2, e2size) ^ ./../dist/../tcl/tcl_internal.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] _GetGlobPrefix(pattern, prefix) ^ ./../dist/../tcl/tcl_internal.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] _ReturnSetup(interp, ret, errmsg) ^ ./../dist/../tcl/tcl_internal.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] _ErrorSetup(interp, ret, errmsg) ^ ./../dist/../tcl/tcl_internal.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _ErrorFunc(pfx, msg) ^ ./../dist/../tcl/tcl_internal.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _GetLsn(interp, obj, lsn) ^ 15 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_internal.c -o tcl_internal.o ./../dist/../tcl/tcl_internal.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] _NewInfo(interp, anyp, name, type) ^ ./../dist/../tcl/tcl_internal.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] _NameToPtr(name) ^ ./../dist/../tcl/tcl_internal.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] _PtrToName(ptr) ^ ./../dist/../tcl/tcl_internal.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] _PtrToInfo(ptr) ^ ./../dist/../tcl/tcl_internal.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _NameToInfo(name) ^ ./../dist/../tcl/tcl_internal.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] _SetInfoData(p, data) ^ ./../dist/../tcl/tcl_internal.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] _DeleteInfo(p) ^ ./../dist/../tcl/tcl_internal.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] _SetListElem(interp, list, elem1, e1cnt, elem2, e2cnt) ^ ./../dist/../tcl/tcl_internal.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _SetListElemInt(interp, list, elem1, elem2) ^ ./../dist/../tcl/tcl_internal.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] _SetListRecnoElem(interp, list, elem1, elem2, e2size) ^ ./../dist/../tcl/tcl_internal.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] _GetGlobPrefix(pattern, prefix) ^ ./../dist/../tcl/tcl_internal.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] _ReturnSetup(interp, ret, errmsg) ^ ./../dist/../tcl/tcl_internal.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] _ErrorSetup(interp, ret, errmsg) ^ ./../dist/../tcl/tcl_internal.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _ErrorFunc(pfx, msg) ^ ./../dist/../tcl/tcl_internal.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _GetLsn(interp, obj, lsn) ^ 15 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_lock.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_lock.c -fPIC -DPIC -o .libs/tcl_lock.o ./../dist/../tcl/tcl_lock.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] tcl_LockDetect(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_lock.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] tcl_LockGet(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_lock.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LockStat(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_lock.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lock_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_lock.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] tcl_LockVec(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_lock.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _LockMode(interp, obj, mode) ^ ./../dist/../tcl/tcl_lock.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _LockPutInfo(interp, op, lock, lockid, objp) ^ ./../dist/../tcl/tcl_lock.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _GetThisLock(interp, envp, lockid, flag, objp, mode, newname) ^ 8 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_lock.c -o tcl_lock.o ./../dist/../tcl/tcl_lock.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] tcl_LockDetect(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_lock.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] tcl_LockGet(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_lock.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LockStat(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_lock.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lock_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_lock.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] tcl_LockVec(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_lock.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _LockMode(interp, obj, mode) ^ ./../dist/../tcl/tcl_lock.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _LockPutInfo(interp, op, lock, lockid, objp) ^ ./../dist/../tcl/tcl_lock.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _GetThisLock(interp, envp, lockid, flag, objp, mode, newname) ^ 8 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_log.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_log.c -fPIC -DPIC -o .libs/tcl_log.o ./../dist/../tcl/tcl_log.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] tcl_LogArchive(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.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] tcl_LogCompare(interp, objc, objv) ^ ./../dist/../tcl/tcl_log.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LogFile(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.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] tcl_LogFlush(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.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] tcl_LogGet(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LogPut(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LogRegister(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LogStat(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LogUnregister(interp, objc, objv, envp) ^ 9 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_log.c -o tcl_log.o ./../dist/../tcl/tcl_log.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] tcl_LogArchive(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.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] tcl_LogCompare(interp, objc, objv) ^ ./../dist/../tcl/tcl_log.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LogFile(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.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] tcl_LogFlush(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.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] tcl_LogGet(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LogPut(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LogRegister(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LogStat(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_log.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_LogUnregister(interp, objc, objv, envp) ^ 9 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_mp.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_mp.c -fPIC -DPIC -o .libs/tcl_mp.o ./../dist/../tcl/tcl_mp.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] _MpInfoDelete(interp, mpip) ^ ./../dist/../tcl/tcl_mp.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] tcl_MpSync(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_mp.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] tcl_MpTrickle(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_mp.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] tcl_Mp(interp, objc, objv, envp, envip) ^ ./../dist/../tcl/tcl_mp.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] tcl_MpStat(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_mp.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] mp_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_mp.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_MpGet(interp, objc, objv, mp, mpip) ^ ./../dist/../tcl/tcl_mp.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pg_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_mp.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] tcl_Pg(interp, objc, objv, page, mp, pgip, putop) ^ ./../dist/../tcl/tcl_mp.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_PgInit(interp, objc, objv, page, pgip) ^ ./../dist/../tcl/tcl_mp.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] tcl_PgIsset(interp, objc, objv, page, pgip) ^ 11 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_mp.c -o tcl_mp.o ./../dist/../tcl/tcl_mp.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] _MpInfoDelete(interp, mpip) ^ ./../dist/../tcl/tcl_mp.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] tcl_MpSync(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_mp.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] tcl_MpTrickle(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_mp.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] tcl_Mp(interp, objc, objv, envp, envip) ^ ./../dist/../tcl/tcl_mp.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] tcl_MpStat(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_mp.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] mp_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_mp.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_MpGet(interp, objc, objv, mp, mpip) ^ ./../dist/../tcl/tcl_mp.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pg_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_mp.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] tcl_Pg(interp, objc, objv, page, mp, pgip, putop) ^ ./../dist/../tcl/tcl_mp.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcl_PgInit(interp, objc, objv, page, pgip) ^ ./../dist/../tcl/tcl_mp.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] tcl_PgIsset(interp, objc, objv, page, pgip) ^ 11 warnings generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_txn.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_txn.c -fPIC -DPIC -o .libs/tcl_txn.o ./../dist/../tcl/tcl_txn.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] _TxnInfoDelete(interp, txnip) ^ ./../dist/../tcl/tcl_txn.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] tcl_TxnCheckpoint(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_txn.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] tcl_Txn(interp, objc, objv, envp, envip) ^ ./../dist/../tcl/tcl_txn.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] tcl_TxnStat(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_txn.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] txn_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_txn.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] tcl_TxnCommit(interp, objc, objv, txnp, txnip) ^ 6 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../tcl/tcl_txn.c -o tcl_txn.o ./../dist/../tcl/tcl_txn.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] _TxnInfoDelete(interp, txnip) ^ ./../dist/../tcl/tcl_txn.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] tcl_TxnCheckpoint(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_txn.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] tcl_Txn(interp, objc, objv, envp, envip) ^ ./../dist/../tcl/tcl_txn.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] tcl_TxnStat(interp, objc, objv, envp) ^ ./../dist/../tcl/tcl_txn.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] txn_Cmd(clientData, interp, objc, objv) ^ ./../dist/../tcl/tcl_txn.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] tcl_TxnCommit(interp, objc, objv, txnp, txnip) ^ 6 warnings generated. /usr/bin/libtool --mode=link cc -rpath /usr/local/lib/db -o libdb_tcl.la tcl_compat.lo tcl_db.lo tcl_db_pkg.lo tcl_dbcursor.lo tcl_env.lo tcl_internal.lo tcl_lock.lo tcl_log.lo tcl_mp.lo tcl_txn.lo mut_fcntl.lo db185.lo 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 bt_verify.lo btree_auto.lo crdel_auto.lo crdel_rec.lo db.lo db_am.lo db_auto.lo db_byteorder.lo db_cam.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_upg.lo db_upg_opd.lo db_vrfy.lo db_vrfyutil.lo dbm.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 hash_verify.lo hsearch.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_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 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 qam_upgrade.lo qam_verify.lo txn.lo txn_auto.lo txn_rec.lo txn_region.lo xa.lo xa_db.lo xa_map.lo -L/usr/local/lib -ltcl85 -lm libtool: link: cc -shared -fPIC -DPIC -o .libs/libdb_tcl.so.4.0 .libs/tcl_compat.o .libs/tcl_db.o .libs/tcl_db_pkg.o .libs/tcl_dbcursor.o .libs/tcl_env.o .libs/tcl_internal.o .libs/tcl_lock.o .libs/tcl_log.o .libs/tcl_mp.o .libs/tcl_txn.o .libs/mut_fcntl.o .libs/db185.o .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/bt_verify.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_cam.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_upg.o .libs/db_upg_opd.o .libs/db_vrfy.o .libs/db_vrfyutil.o .libs/dbm.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/hash_verify.o .libs/hsearch.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_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/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/qam_upgrade.o .libs/qam_verify.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.libs -ltcl85 -lm -Wl,-soname,libdb_tcl.so.4.0 libtool: link: ar cru .libs/libdb_tcl.a tcl_compat.o tcl_db.o tcl_db_pkg.o tcl_dbcursor.o tcl_env.o tcl_internal.o tcl_lock.o tcl_log.o tcl_mp.o tcl_txn.o mut_fcntl.o db185.o 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 bt_verify.o btree_auto.o crdel_auto.o crdel_rec.o db.o db_am.o db_auto.o db_byteorder.o db_cam.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_upg.o db_upg_opd.o db_vrfy.o db_vrfyutil.o dbm.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 hash_verify.o hsearch.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_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 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 qam_upgrade.o qam_verify.o txn.o txn_auto.o txn_rec.o txn_region.o xa.o xa_db.o xa_map.o libtool: link: ranlib .libs/libdb_tcl.a /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I./../dist/../include ./../dist/../db_dump185/db_dump185.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I./../dist/../include ./../dist/../db_dump185/db_dump185.c -fPIC -DPIC -o .libs/db_dump185.o ./../dist/../db_dump185/db_dump185.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] main(argc, argv) ^ ./../dist/../db_dump185/db_dump185.c:188:15: warning: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while ((ch = getopt(argc, argv, "f:p")) != EOF) ^ ./../dist/../db_dump185/db_dump185.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] db_hash(dbp, pflag) ^ ./../dist/../db_dump185/db_dump185.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_btree(dbp, pflag) ^ ./../dist/../db_dump185/db_dump185.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dbt_dump(dbtp) ^ ./../dist/../db_dump185/db_dump185.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] dbt_print(dbtp) ^ 6 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I./../dist/../include ./../dist/../db_dump185/db_dump185.c -o db_dump185.o ./../dist/../db_dump185/db_dump185.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] main(argc, argv) ^ ./../dist/../db_dump185/db_dump185.c:188:15: warning: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while ((ch = getopt(argc, argv, "f:p")) != EOF) ^ ./../dist/../db_dump185/db_dump185.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] db_hash(dbp, pflag) ^ ./../dist/../db_dump185/db_dump185.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_btree(dbp, pflag) ^ ./../dist/../db_dump185/db_dump185.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dbt_dump(dbtp) ^ ./../dist/../db_dump185/db_dump185.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] dbt_print(dbtp) ^ 6 warnings generated. /usr/bin/libtool --mode=link cc -o db_dump185 db_dump185.lo libtool: link: cc -o db_dump185 db_dump185.o /usr/bin/libtool --mode=execute true db_dump185 /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_archive/db_archive.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_archive/db_archive.c -fPIC -DPIC -o .libs/db_archive.o ./../dist/../db_archive/db_archive.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] main(argc, argv) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_archive/db_archive.c -o db_archive.o ./../dist/../db_archive/db_archive.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] main(argc, argv) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/util_sig.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/util_sig.c -fPIC -DPIC -o .libs/util_sig.o ./../dist/../common/util_sig.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] onint(signo) ^ ./../dist/../common/util_sig.c:82:6: warning: comparison of function '__db_util_interrupted' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (__db_util_interrupted != 0) { ^~~~~~~~~~~~~~~~~~~~~ ~ ./../dist/../common/util_sig.c:82:6: note: prefix with the address-of operator to silence this warning if (__db_util_interrupted != 0) { ^ & ./../dist/../common/util_sig.c:82:6: note: suffix with parentheses to turn this into a function call if (__db_util_interrupted != 0) { ^ () 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/util_sig.c -o util_sig.o ./../dist/../common/util_sig.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] onint(signo) ^ ./../dist/../common/util_sig.c:82:6: warning: comparison of function '__db_util_interrupted' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (__db_util_interrupted != 0) { ^~~~~~~~~~~~~~~~~~~~~ ~ ./../dist/../common/util_sig.c:82:6: note: prefix with the address-of operator to silence this warning if (__db_util_interrupted != 0) { ^ & ./../dist/../common/util_sig.c:82:6: note: suffix with parentheses to turn this into a function call if (__db_util_interrupted != 0) { ^ () 2 warnings generated. /usr/bin/libtool --mode=link cc -o db_archive db_archive.lo util_sig.lo libdb.la libtool: link: cc -o .libs/db_archive db_archive.o util_sig.o -L.libs -ldb -Wl,-rpath,/usr/local/lib/db /usr/bin/libtool --mode=execute true db_archive /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_checkpoint/db_checkpoint.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_checkpoint/db_checkpoint.c -fPIC -DPIC -o .libs/db_checkpoint.o ./../dist/../db_checkpoint/db_checkpoint.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] main(argc, argv) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_checkpoint/db_checkpoint.c -o db_checkpoint.o ./../dist/../db_checkpoint/db_checkpoint.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] main(argc, argv) ^ 1 warning generated. /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/util_log.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/util_log.c -fPIC -DPIC -o .libs/util_log.o ./../dist/../common/util_log.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] __db_util_logset(progname, fname) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../common/util_log.c -o util_log.o ./../dist/../common/util_log.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] __db_util_logset(progname, fname) ^ 1 warning generated. /usr/bin/libtool --mode=link cc -o db_checkpoint db_checkpoint.lo util_log.lo util_sig.lo libdb.la libtool: link: cc -o .libs/db_checkpoint db_checkpoint.o util_log.o util_sig.o -L.libs -ldb -Wl,-rpath,/usr/local/lib/db /usr/bin/libtool --mode=execute true db_checkpoint /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_deadlock/db_deadlock.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_deadlock/db_deadlock.c -fPIC -DPIC -o .libs/db_deadlock.o ./../dist/../db_deadlock/db_deadlock.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_deadlock/db_deadlock.c -o db_deadlock.o ./../dist/../db_deadlock/db_deadlock.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 1 warning generated. /usr/bin/libtool --mode=link cc -o db_deadlock db_deadlock.lo util_log.lo util_sig.lo libdb.la libtool: link: cc -o .libs/db_deadlock db_deadlock.o util_log.o util_sig.o -L.libs -ldb -Wl,-rpath,/usr/local/lib/db /usr/bin/libtool --mode=execute true db_deadlock /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_dump/db_dump.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_dump/db_dump.c -fPIC -DPIC -o .libs/db_dump.o ./../dist/../db_dump/db_dump.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] main(argc, argv) ^ ./../dist/../db_dump/db_dump.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] db_init(home) ^ ./../dist/../db_dump/db_dump.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] is_sub(dbp, yesno) ^ ./../dist/../db_dump/db_dump.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] dump_sub(parent_dbp, parent_name, pflag, keyflag) ^ ./../dist/../db_dump/db_dump.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] show_subs(dbp) ^ ./../dist/../db_dump/db_dump.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dump(dbp, pflag, keyflag) ^ 6 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_dump/db_dump.c -o db_dump.o ./../dist/../db_dump/db_dump.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] main(argc, argv) ^ ./../dist/../db_dump/db_dump.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] db_init(home) ^ ./../dist/../db_dump/db_dump.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] is_sub(dbp, yesno) ^ ./../dist/../db_dump/db_dump.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] dump_sub(parent_dbp, parent_name, pflag, keyflag) ^ ./../dist/../db_dump/db_dump.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] show_subs(dbp) ^ ./../dist/../db_dump/db_dump.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dump(dbp, pflag, keyflag) ^ 6 warnings generated. /usr/bin/libtool --mode=link cc -o db_dump db_dump.lo util_sig.lo libdb.la libtool: link: cc -o .libs/db_dump db_dump.o util_sig.o -L.libs -ldb -Wl,-rpath,/usr/local/lib/db /usr/bin/libtool --mode=execute true db_dump /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_load/db_load.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_load/db_load.c -fPIC -DPIC -o .libs/db_load.o ./../dist/../db_load/db_load.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] main(argc, argv) ^ ./../dist/../db_load/db_load.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] load(name, argtype, clist, no_header, db_nooverwrite) ^ ./../dist/../db_load/db_load.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] db_init(home) ^ ./../dist/../db_load/db_load.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] configure(dbp, clp, subdbp, keysp) ^ ./../dist/../db_load/db_load.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rheader(dbp, dbtypep, subdbp, checkprintp, keysp) ^ ./../dist/../db_load/db_load.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dbt_rprint(dbtp) ^ ./../dist/../db_load/db_load.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dbt_rdump(dbtp) ^ ./../dist/../db_load/db_load.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dbt_rrecno(dbtp) ^ ./../dist/../db_load/db_load.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] digitize(c, errorp) ^ 9 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_load/db_load.c -o db_load.o ./../dist/../db_load/db_load.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] main(argc, argv) ^ ./../dist/../db_load/db_load.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] load(name, argtype, clist, no_header, db_nooverwrite) ^ ./../dist/../db_load/db_load.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] db_init(home) ^ ./../dist/../db_load/db_load.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] configure(dbp, clp, subdbp, keysp) ^ ./../dist/../db_load/db_load.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rheader(dbp, dbtypep, subdbp, checkprintp, keysp) ^ ./../dist/../db_load/db_load.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dbt_rprint(dbtp) ^ ./../dist/../db_load/db_load.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dbt_rdump(dbtp) ^ ./../dist/../db_load/db_load.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dbt_rrecno(dbtp) ^ ./../dist/../db_load/db_load.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] digitize(c, errorp) ^ 9 warnings generated. /usr/bin/libtool --mode=link cc -o db_load db_load.lo util_sig.lo libdb.la libtool: link: cc -o .libs/db_load db_load.o util_sig.o -L.libs -ldb -Wl,-rpath,/usr/local/lib/db /usr/bin/libtool --mode=execute true db_load /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_printlog/db_printlog.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_printlog/db_printlog.c -fPIC -DPIC -o .libs/db_printlog.o ./../dist/../db_printlog/db_printlog.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] main(argc, argv) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_printlog/db_printlog.c -o db_printlog.o ./../dist/../db_printlog/db_printlog.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] main(argc, argv) ^ 1 warning generated. /usr/bin/libtool --mode=link cc -o db_printlog db_printlog.lo util_sig.lo libdb.la libtool: link: cc -o .libs/db_printlog db_printlog.o util_sig.o -L.libs -ldb -Wl,-rpath,/usr/local/lib/db /usr/bin/libtool --mode=execute true db_printlog /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_recover/db_recover.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_recover/db_recover.c -fPIC -DPIC -o .libs/db_recover.o ./../dist/../db_recover/db_recover.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ ./../dist/../db_recover/db_recover.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] read_timestamp(arg, timep) ^ 2 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_recover/db_recover.c -o db_recover.o ./../dist/../db_recover/db_recover.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ ./../dist/../db_recover/db_recover.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] read_timestamp(arg, timep) ^ 2 warnings generated. /usr/bin/libtool --mode=link cc -o db_recover db_recover.lo util_sig.lo libdb.la libtool: link: cc -o .libs/db_recover db_recover.o util_sig.o -L.libs -ldb -Wl,-rpath,/usr/local/lib/db /usr/bin/libtool --mode=execute true db_recover /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_stat/db_stat.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_stat/db_stat.c -fPIC -DPIC -o .libs/db_stat.o ./../dist/../db_stat/db_stat.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] main(argc, argv) ^ ./../dist/../db_stat/db_stat.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] env_stats(dbenvp) ^ ./../dist/../db_stat/db_stat.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] btree_stats(dbenvp, dbp) ^ ./../dist/../db_stat/db_stat.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hash_stats(dbenvp, dbp) ^ ./../dist/../db_stat/db_stat.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] queue_stats(dbenvp, dbp) ^ ./../dist/../db_stat/db_stat.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] lock_stats(dbenvp) ^ ./../dist/../db_stat/db_stat.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] log_stats(dbenvp) ^ ./../dist/../db_stat/db_stat.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] mpool_stats(dbenvp) ^ ./../dist/../db_stat/db_stat.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_stats(dbenvp) ^ ./../dist/../db_stat/db_stat.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_compare(a1, b1) ^ ./../dist/../db_stat/db_stat.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl(msg, value) ^ ./../dist/../db_stat/db_stat.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_bytes(msg, gbytes, mbytes, bytes) ^ ./../dist/../db_stat/db_stat.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] prflags(flags, fnp) ^ ./../dist/../db_stat/db_stat.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_init(home, ttype) ^ ./../dist/../db_stat/db_stat.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argcheck(arg, ok_args) ^ 15 warnings generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_stat/db_stat.c -o db_stat.o ./../dist/../db_stat/db_stat.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] main(argc, argv) ^ ./../dist/../db_stat/db_stat.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] env_stats(dbenvp) ^ ./../dist/../db_stat/db_stat.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] btree_stats(dbenvp, dbp) ^ ./../dist/../db_stat/db_stat.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hash_stats(dbenvp, dbp) ^ ./../dist/../db_stat/db_stat.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] queue_stats(dbenvp, dbp) ^ ./../dist/../db_stat/db_stat.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] lock_stats(dbenvp) ^ ./../dist/../db_stat/db_stat.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] log_stats(dbenvp) ^ ./../dist/../db_stat/db_stat.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] mpool_stats(dbenvp) ^ ./../dist/../db_stat/db_stat.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_stats(dbenvp) ^ ./../dist/../db_stat/db_stat.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] txn_compare(a1, b1) ^ ./../dist/../db_stat/db_stat.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl(msg, value) ^ ./../dist/../db_stat/db_stat.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_bytes(msg, gbytes, mbytes, bytes) ^ ./../dist/../db_stat/db_stat.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] prflags(flags, fnp) ^ ./../dist/../db_stat/db_stat.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db_init(home, ttype) ^ ./../dist/../db_stat/db_stat.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argcheck(arg, ok_args) ^ 15 warnings generated. /usr/bin/libtool --mode=link cc -o db_stat db_stat.lo util_sig.lo libdb.la libtool: link: cc -o .libs/db_stat db_stat.o util_sig.o -L.libs -ldb -Wl,-rpath,/usr/local/lib/db /usr/bin/libtool --mode=execute true db_stat /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_upgrade/db_upgrade.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_upgrade/db_upgrade.c -fPIC -DPIC -o .libs/db_upgrade.o ./../dist/../db_upgrade/db_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] main(argc, argv) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_upgrade/db_upgrade.c -o db_upgrade.o ./../dist/../db_upgrade/db_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] main(argc, argv) ^ 1 warning generated. /usr/bin/libtool --mode=link cc -o db_upgrade db_upgrade.lo util_sig.lo libdb.la libtool: link: cc -o .libs/db_upgrade db_upgrade.o util_sig.o -L.libs -ldb -Wl,-rpath,/usr/local/lib/db /usr/bin/libtool --mode=execute true db_upgrade /usr/bin/libtool --mode=compile cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_verify/db_verify.c cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_verify/db_verify.c -fPIC -DPIC -o .libs/db_verify.o ./../dist/../db_verify/db_verify.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] main(argc, argv) ^ 1 warning generated. cc -c -O2 -pipe -I/usr/local/include/tcl8.5 -I. -I./../dist/../include ./../dist/../db_verify/db_verify.c -o db_verify.o ./../dist/../db_verify/db_verify.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] main(argc, argv) ^ 1 warning generated. /usr/bin/libtool --mode=link cc -o db_verify db_verify.lo util_sig.lo libdb.la libtool: link: cc -o .libs/db_verify db_verify.o util_sig.o -L.libs -ldb -Wl,-rpath,/usr/local/lib/db /usr/bin/libtool --mode=execute true db_verify >>> Running fake in databases/db/v3,-main at 1732125695.69 ===> databases/db/v3,-main ===> Faking installation for db-3.1.17 Installing DB include files: /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/include/db ... Installing DB library: /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db ... cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db && /bin/rm -f libdb.so.3.1 libdb.so libdb.so.3 /usr/bin/libtool --mode=install /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 libdb.la /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -m 755 -m 644 ./.libs/libdb.a /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb.a libtool: install: strip --strip-debug /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb.a libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 -m 644 ./.libs/libdb.so.3.1 /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb.so.3.1 libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -m 755 -m 644 ./.libs/libdb.lai /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb.la cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib && /bin/ln -s db/libdb.so.3.1 cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db && /bin/ln -s libdb.so.3.1 libdb.so cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db && /bin/ln -s libdb.so.3.1 libdb.so.3 Installing DB C++ library: /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db ... test -d /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db || (/bin/mkdir -p /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db && /bin/chmod 755 /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db) cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db && /bin/rm -f libdb_cxx.so.4.0 libdb_cxx.so libdb_cxx.so.3 /usr/bin/libtool --mode=install /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 libdb_cxx.la /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -m 755 -m 644 ./.libs/libdb_cxx.a /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb_cxx.a libtool: install: strip --strip-debug /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb_cxx.a libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 -m 644 ./.libs/libdb_cxx.so.4.0 /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb_cxx.so.4.0 libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -m 755 -m 644 ./.libs/libdb_cxx.lai /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb_cxx.la cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib && /bin/ln -s db/libdb_cxx.so.4.0 cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db && /bin/ln -s libdb_cxx.so.4.0 libdb_cxx.so cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db && /bin/ln -s libdb_cxx.so.4.0 libdb_cxx.so.3 Installing DB Tcl library: /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db ... test -d /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db || (/bin/mkdir -p /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db && /bin/chmod 755 /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db) cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db && /bin/rm -f libdb_tcl.so.4.0 libdb_tcl.so libdb_tcl.so.3 /usr/bin/libtool --mode=install /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 libdb_tcl.la /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -m 755 -m 644 ./.libs/libdb_tcl.a /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb_tcl.a libtool: install: strip --strip-debug /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb_tcl.a libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 -m 644 ./.libs/libdb_tcl.so.4.0 /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb_tcl.so.4.0 libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -m 755 -m 644 ./.libs/libdb_tcl.lai /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db/libdb_tcl.la cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib && /bin/ln -s db/libdb_tcl.so.4.0 cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db && /bin/ln -s libdb_tcl.so.4.0 libdb_tcl.so cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/lib/db && /bin/ln -s libdb_tcl.so.4.0 libdb_tcl.so.3 Installing DB utilities: /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin ... test -d /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin || (/bin/mkdir -p /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin && /bin/chmod 755 /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin) cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin && /bin/rm -f db_dump185 db_archive db_checkpoint db_deadlock db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify /usr/bin/libtool --mode=install /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 db_dump185 db_archive db_checkpoint db_deadlock db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 db_dump185 /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 ./.libs/db_archive /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 ./.libs/db_checkpoint /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 ./.libs/db_deadlock /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 ./.libs/db_dump /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 ./.libs/db_load /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 ./.libs/db_printlog /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 ./.libs/db_recover /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 ./.libs/db_stat /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 ./.libs/db_upgrade /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin libtool: install: /exopi-obj/pobj/db-3.1.17/bin/install -c -s -m 755 ./.libs/db_verify /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin && (test ! -f /usr/bin/strip || /usr/bin/strip db_dump185 db_archive db_checkpoint db_deadlock db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify) cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/bin && /bin/chmod 555 db_dump185 db_archive db_checkpoint db_deadlock db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify Installing documentation: /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/share/doc/db ... test -d /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/share/doc/db || (/bin/mkdir -p /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/share/doc/db && /bin/chmod 755 /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/share/doc/db) cd /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/share/doc/db && /bin/rm -rf * cd ./../dist/../docs && /bin/cp -pr * /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/share/doc/db/ chown -R root:wheel /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/share/doc/db/ /exopi-obj/pobj/db-3.1.17/bin/install -d -m 755 /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/share/examples/db cd /exopi-obj/pobj/db-3.1.17/db-3.1.17/examples_c; /exopi-obj/pobj/db-3.1.17/bin/install -c -m 644 *.c /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/share/examples/db cd /exopi-obj/pobj/db-3.1.17/db-3.1.17/examples_cxx; /exopi-obj/pobj/db-3.1.17/bin/install -c -m 644 *.cpp /exopi-obj/pobj/db-3.1.17/fake-amd64/usr/local/share/examples/db >>> Running package in databases/db/v3,-main at 1732125702.20 ===> databases/db/v3,-main `/exopi-obj/pobj/db-3.1.17/fake-amd64/.fake_done' is up to date. ===> Building package for db-3.1.17p3v0 Create /exopi-cvs/ports/packages/amd64/all/db-3.1.17p3v0.tgz Creating package db-3.1.17p3v0 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming| | 1% checksumming|* | 1% checksumming|* | 2% checksumming|** | 2% checksumming|** | 3% checksumming|** | 4% checksumming|*** | 4% checksumming|*** | 5% checksumming|*** | 6% checksumming|**** | 6% checksumming|**** | 7% checksumming|***** | 7% checksumming|***** | 8% checksumming|***** | 9% checksumming|****** | 9% checksumming|****** | 10% checksumming|****** | 11% checksumming|******* | 11% checksumming|******* | 12% checksumming|******** | 12% checksumming|******** | 13% checksumming|******** | 14% checksumming|********* | 14% checksumming|********* | 15% checksumming|********* | 16% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 17% checksumming|*********** | 18% checksumming|*********** | 19% checksumming|************ | 19% checksumming|************ | 20% checksumming|************* | 21% checksumming|************* | 22% checksumming|************** | 22% checksumming|************** | 23% checksumming|************** | 24% checksumming|*************** | 24% checksumming|*************** | 25% checksumming|**************** | 26% checksumming|**************** | 27% checksumming|***************** | 27% checksumming|***************** | 28% checksumming|***************** | 29% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 30% checksumming|******************* | 31% checksumming|******************* | 32% checksumming|******************** | 32% checksumming|******************** | 33% checksumming|******************** | 34% checksumming|********************* | 34% checksumming|********************* | 35% checksumming|********************** | 35% checksumming|********************** | 36% checksumming|********************** | 37% checksumming|*********************** | 37% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************ | 40% checksumming|************************* | 40% checksumming|************************* | 41% checksumming|************************* | 42% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 44% checksumming|*************************** | 45% checksumming|**************************** | 45% checksumming|**************************** | 46% checksumming|**************************** | 47% checksumming|***************************** | 47% checksumming|***************************** | 48% checksumming|****************************** | 48% checksumming|****************************** | 49% checksumming|****************************** | 50% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************* | 52% checksumming|******************************** | 52% checksumming|******************************** | 53% checksumming|********************************* | 53% checksumming|********************************* | 54% checksumming|********************************* | 55% checksumming|********************************** | 55% checksumming|********************************** | 56% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 58% checksumming|************************************ | 59% checksumming|************************************ | 60% checksumming|************************************* | 60% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|************************************** | 63% checksumming|*************************************** | 63% checksumming|*************************************** | 64% checksumming|*************************************** | 65% checksumming|**************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 66% checksumming|***************************************** | 67% checksumming|***************************************** | 68% checksumming|****************************************** | 68% checksumming|****************************************** | 69% checksumming|****************************************** | 70% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 71% checksumming|******************************************** | 72% checksumming|******************************************** | 73% checksumming|********************************************* | 73% checksumming|********************************************* | 74% checksumming|********************************************** | 75% checksumming|********************************************** | 76% checksumming|*********************************************** | 76% checksumming|*********************************************** | 77% checksumming|*********************************************** | 78% checksumming|************************************************ | 78% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************* | 81% checksumming|************************************************** | 81% checksumming|************************************************** | 82% checksumming|************************************************** | 83% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 84% checksumming|**************************************************** | 85% checksumming|**************************************************** | 86% checksumming|***************************************************** | 86% checksumming|***************************************************** | 87% checksumming|***************************************************** | 88% checksumming|****************************************************** | 88% checksumming|****************************************************** | 89% checksumming|******************************************************* | 89% checksumming|******************************************************* | 90% checksumming|******************************************************* | 91% checksumming|******************************************************** | 91% checksumming|******************************************************** | 92% checksumming|******************************************************** | 93% checksumming|********************************************************* | 93% checksumming|********************************************************* | 94% checksumming|********************************************************** | 94% checksumming|********************************************************** | 95% checksumming|********************************************************** | 96% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|*********************************************************** | 98% checksumming|************************************************************ | 98% checksumming|************************************************************ | 99% checksumming|*************************************************************| 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving| | 1% archiving|* | 1% archiving|* | 2% archiving|************ | 19% archiving|****************** | 28% archiving|****************************** | 47% archiving|************************************ | 56% archiving|************************************ | 57% archiving|************************************* | 57% archiving|************************************* | 58% archiving|************************************* | 59% archiving|************************************** | 59% archiving|************************************** | 60% archiving|*************************************** | 60% archiving|*************************************** | 61% archiving|*************************************** | 62% archiving|**************************************** | 62% archiving|**************************************** | 63% archiving|***************************************** | 63% archiving|***************************************** | 64% archiving|***************************************** | 65% archiving|****************************************** | 65% archiving|****************************************** | 66% archiving|******************************************* | 66% archiving|******************************************* | 67% archiving|******************************************* | 68% archiving|******************************************** | 69% archiving|********************************************* | 70% archiving|********************************************* | 71% archiving|********************************************** | 71% archiving|********************************************** | 72% archiving|********************************************** | 73% archiving|*********************************************** | 73% archiving|*********************************************** | 74% archiving|************************************************ | 74% archiving|************************************************ | 75% archiving|************************************************ | 76% archiving|************************************************* | 76% archiving|************************************************* | 77% archiving|************************************************** | 77% archiving|************************************************** | 78% archiving|************************************************** | 79% archiving|*************************************************** | 79% archiving|*************************************************** | 80% archiving|**************************************************** | 81% archiving|**************************************************** | 82% archiving|***************************************************** | 82% archiving|***************************************************** | 83% archiving|***************************************************** | 84% archiving|****************************************************** | 84% archiving|****************************************************** | 85% archiving|******************************************************* | 85% archiving|******************************************************* | 86% archiving|******************************************************** | 87% archiving|******************************************************** | 88% archiving|********************************************************** | 90% archiving|*********************************************************** | 93% archiving|************************************************************ | 93% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************* | 96% archiving|************************************************************** | 96% archiving|************************************************************** | 97% archiving|************************************************************** | 98% archiving|*************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/db-3.1.17p3v0.tgz `/exopi-obj/pobj/db-3.1.17/fake-amd64/.fake_done' is up to date. ===> Building package for db-tcl-3.1.17p2v0 Create /exopi-cvs/ports/packages/amd64/all/db-tcl-3.1.17p2v0.tgz Creating package db-tcl-3.1.17p2v0 reading plist| checking dependencies| checking dependencies|databases/db/v3,-main checking dependencies|lang/tcl/8.5 checksumming| checksumming| | 0% checksumming|* | 2% checksumming|** | 4% checksumming|*** | 5% checksumming|**** | 7% checksumming|***** | 9% checksumming|****** | 11% checksumming|******* | 12% checksumming|********* | 14% checksumming|********** | 16% checksumming|*********** | 18% checksumming|************ | 19% checksumming|************* | 21% checksumming|************** | 23% checksumming|*************** | 25% checksumming|**************** | 26% checksumming|***************** | 28% checksumming|****************** | 30% checksumming|******************* | 32% checksumming|******************** | 33% checksumming|********************* | 35% checksumming|********************** | 37% checksumming|************************ | 39% checksumming|************************* | 40% checksumming|************************** | 42% checksumming|*************************** | 44% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|****************************** | 49% checksumming|******************************* | 51% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************** | 56% checksumming|*********************************** | 58% checksumming|************************************ | 60% checksumming|************************************* | 61% checksumming|*************************************** | 63% checksumming|**************************************** | 65% checksumming|***************************************** | 67% checksumming|****************************************** | 68% checksumming|******************************************* | 70% checksumming|******************************************** | 72% checksumming|********************************************* | 74% checksumming|********************************************** | 75% checksumming|*********************************************** | 77% checksumming|************************************************ | 79% checksumming|************************************************* | 81% checksumming|************************************************** | 82% checksumming|*************************************************** | 84% checksumming|**************************************************** | 86% checksumming|****************************************************** | 88% checksumming|******************************************************* | 89% checksumming|******************************************************** | 91% checksumming|********************************************************* | 93% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 96% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|***************************************** | 64% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************* | 96% archiving|************************************************************** | 96% archiving|************************************************************** | 97% archiving|************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/db-tcl-3.1.17p2v0.tgz >>> Running clean in databases/db/v3,-main at 1732125711.05 ===> databases/db/v3,-main ===> Cleaning for db-3.1.17p3v0 >>> Ended at 1732125712.08 max_stuck=2.57/depends=3.36/show-prepare-results=1.13/patch=2.36/configure=24.45/build=194.73/fake=6.51/package=8.80/clean=1.11