>>> Building on localhost under databases/db/v3 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 localhost at 1745559023.37) >>> Running depends in databases/db/v3 at 1745559023.51 last junk was in security/ruby-bcrypt,ruby33 /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 >>> Running show-prepare-results in databases/db/v3 at 1745559027.03 ===> databases/db/v3 ===> 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 Don't run junk because nojunk in x11/qt5/qtmultimedia,,-examples (Junk lock released for localhost at 1745559029.32) distfiles size=1954117 >>> Running patch in databases/db/v3 at 1745559029.40 ===> databases/db/v3 ===> Checking files for db-3.1.17 `/usr/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 at 1745559033.01 ===> databases/db/v3 ===> Generating configure for db-3.1.17 ===> Configuring for db-3.1.17 Using /usr/obj/ports/db-3.1.17/config.site (generated) loading site script /usr/obj/ports/db-3.1.17/config.site creating cache ./config.cache checking for a BSD compatible install... /usr/obj/ports/db-3.1.17/bin/install -c checking host system type... powerpc64-unknown-openbsd7.7 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.7 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... yes 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 at 1745559081.34 ===> databases/db/v3 ===> 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 Couldn't fork while running 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 at /usr/libdata/perl5/LT/Exec.pm line 88. LT::Exec::command_run(LT::Exec=HASH(0xa19e86338628), "cc", "-c", "-O2", "-pipe", "-I/usr/local/include/tcl8.5", "-I.", "-I./../dist/../include", ...) called at /usr/libdata/perl5/LT/Exec.pm line 130 LT::Exec::command("LT::Exec", "compile", "cc", "-c", "-O2", "-pipe", "-I/usr/local/include/tcl8.5", "-I.", ...) called at /usr/libdata/perl5/LT/Exec.pm line 62 LT::Exec::compile("LT::Exec", "cc", "-c", "-O2", "-pipe", "-I/usr/local/include/tcl8.5", "-I.", "-I./../dist/../include", ...) called at /usr/libdata/perl5/LT/LoFile.pm line 55 LT::LoFile::compile(LT::LoFile=HASH(0xa19e86314610), ARRAY(0xa19e38af6178), ".", ARRAY(0xa19dc974a910)) called at /usr/libdata/perl5/LT/Mode/Compile.pm line 127 LT::Mode::Compile::run(LT::Mode::Compile=HASH(0xa19e86312bf8), ARRAY(0xa19e38af6178), LT::Options=HASH(0xa19e86329e08), LT::OSConfig=HASH(0xa19e69097ee0)) called at /usr/bin/libtool line 416 *** Error 255 in /usr/obj/ports/db-3.1.17/db-3.1.17/build_unix (Makefile:773 'log_archive.lo') *** Error 2 in databases/db/v3 (/usr/ports/infrastructure/mk/bsd.port.mk:3069 '/usr/obj/ports/db-3.1.17/.build_done': @cd /usr/obj/ports/db-...) *** Error 2 in databases/db/v3 (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=db-3.1.17; export _LOCKS_HELD=" db-3.1.17"; ...) ===> Exiting databases/db/v3 with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1745559259.01 max_stuck=3.39/depends=3.52/show-prepare-results=2.42/patch=3.62/configure=48.29/build=177.76 Error: job failed with 512 on localhost at 1745559259