<86>Dec 6 03:28:46 userdel[1064842]: delete user 'rooter' <86>Dec 6 03:28:46 userdel[1064842]: removed group 'rooter' owned by 'rooter' <86>Dec 6 03:28:46 userdel[1064842]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 6 03:28:46 groupadd[1064860]: group added to /etc/group: name=rooter, GID=702 <86>Dec 6 03:28:46 groupadd[1064860]: group added to /etc/gshadow: name=rooter <86>Dec 6 03:28:46 groupadd[1064860]: new group: name=rooter, GID=702 <86>Dec 6 03:28:47 useradd[1064881]: new user: name=rooter, UID=702, GID=702, home=/root, shell=/bin/bash <86>Dec 6 03:28:47 userdel[1064912]: delete user 'builder' <86>Dec 6 03:28:47 userdel[1064912]: removed group 'builder' owned by 'builder' <86>Dec 6 03:28:47 userdel[1064912]: removed shadow group 'builder' owned by 'builder' <86>Dec 6 03:28:47 groupadd[1064926]: group added to /etc/group: name=builder, GID=703 <86>Dec 6 03:28:47 groupadd[1064926]: group added to /etc/gshadow: name=builder <86>Dec 6 03:28:47 groupadd[1064926]: new group: name=builder, GID=703 <86>Dec 6 03:28:47 useradd[1064933]: new user: name=builder, UID=703, GID=703, home=/usr/src, shell=/bin/bash Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/pks-0.9.6-alt3.nosrc.rpm Installing pks-0.9.6-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.61887 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf pks-0.9.6 + echo 'Source #0 (pks-0.9.6.tar):' Source #0 (pks-0.9.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/pks-0.9.6.tar + cd pks-0.9.6 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (mkpksdconf.in.patch):' Patch #1 (mkpksdconf.in.patch): + /usr/bin/patch -p0 patching file mkpksdconf.in + echo 'Patch #2 (pks-alt-no-static-libs.patch):' Patch #2 (pks-alt-no-static-libs.patch): + /usr/bin/patch -p2 patching file db2-sleepycat/dist/Makefile.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.47028 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pks-0.9.6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --datadir=/usr/share/pks --sharedstatedir=/var/lib/pks --localstatedir=/var/lib/pks creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking for gcc... gcc checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 ) works... yes checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for sendmail... sendmail checking how to run the C preprocessor... gcc -E checking for bstring.h... no checking for sys/select.h... yes checking for mmap... yes checking for madvise... yes checking for connect... yes checking for socklen_t... yes updating cache ./config.cache creating ./config.status creating Makefile creating mkpksdconf configuring in db2-sleepycat/dist running /bin/sh ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --datadir=/usr/share/pks --sharedstatedir=/var/lib/pks --localstatedir=/var/lib/pks --cache-file=../.././config.cache --srcdir=. loading cache ../.././config.cache checking if building in the top-level directory... checking for a BSD compatible install... (cached) /bin/install -c checking host system type... x86_64-alt-linux-gnu checking if --enable-debug option specified... no checking for cc... (cached) gcc checking for gcc... (cached) gcc checking for gcc... (cached) gcc checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 ) works... yes checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking if --enable-diagnostic option specified... no checking if --enable-cxx option specified... no checking if --enable-compat185 option specified... no checking if --enable-dump185 option specified... no checking for ar... /usr/bin/ar checking for chmod... /bin/chmod checking for cp... /bin/cp 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 checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... yes checking for ssize_t... yes checking whether byte ordering is bigendian... no checking for working const... yes checking for st_blksize in struct stat... yes checking whether stat file-mode macros are broken... no checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/select.h... (cached) yes checking for sys/time.h... yes checking for getcwd... yes checking for getopt... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for raise... yes checking for snprintf... yes checking for strerror... yes checking for strsep... yes checking for vsnprintf... yes checking for getuid... yes checking for pread... yes checking for pstat_getdynamic... no checking for sysconf... yes checking for shmget... yes checking for mmap... (cached) yes checking for munmap... yes checking for qsort... yes checking for select... yes checking for sigfillset... yes checking for int type sprintf return value... yes checking if --disable-bigfile option specified... no checking for spinlocks... no configure: warning: SPINLOCKS NOT IMPLEMENTED FOR THIS COMPILER/ARCHITECTURE. 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 if --enable-test option specified... no updating cache ../.././config.cache creating ./config.status creating Makefile creating include.tcl creating db.h creating db_int.h creating db_185.h creating config.h + make make: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6' for i in db2-sleepycat/dist; do (test -d $i && cd $i && make DESTDIR= RPM_BUILD_DIR= all) || exit 1; done make[1]: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_compare.c ../btree/bt_compare.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_compare.c 10.14 (Sleepycat) 10/9/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_conv.c ../btree/bt_conv.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_conv.c 10.7 (Sleepycat) 9/20/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_curadj.c ../btree/bt_curadj.c: In function '__bam_ca_split': ../btree/bt_curadj.c:252:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (cp->pgno == ppgno) ^ ../btree/bt_curadj.c:260:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (cp->dpgno == ppgno) ^ At top level: ../btree/bt_curadj.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_curadj.c 10.69 (Sleepycat) 12/2/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_cursor.c ../btree/bt_cursor.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_cursor.c 10.81 (Sleepycat) 12/16/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_delete.c In file included from ../btree/bt_delete.c:59: ../btree/bt_delete.c: In function '__bam_ditem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_delete.c:161:13: note: in expansion of macro 'BINTERNAL_SIZE' nbytes = BINTERNAL_SIZE(bi->len); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_delete.c:165:13: note: in expansion of macro 'BINTERNAL_SIZE' nbytes = BINTERNAL_SIZE(bi->len); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_delete.c:224:13: note: in expansion of macro 'BKEYDATA_SIZE' nbytes = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~ ../btree/bt_delete.c: In function '__bam_dpages': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_delete.c:532:13: note: in expansion of macro 'BINTERNAL_SIZE' b.size = BINTERNAL_SIZE(((BINTERNAL *)b.data)->len); ^~~~~~~~~~~~~~ At top level: ../btree/bt_delete.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_delete.c 10.43 (Sleepycat) 12/7/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_open.c In file included from ../btree/bt_open.c:61: ../btree/bt_open.c: In function '__bam_setovflsize': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../btree/bt_open.c:196:34: note: in expansion of macro 'P_OVERHEAD' t->bt_ovflsize = (dbp->pgsize - P_OVERHEAD) / (t->bt_minkey * P_INDX) ^~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../btree/bt_open.c:197:9: note: in expansion of macro 'BKEYDATA_PSIZE' - (BKEYDATA_PSIZE(0) + ALIGN(1, 4)); ^~~~~~~~~~~~~~ At top level: ../btree/bt_open.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_open.c 10.39 (Sleepycat) 11/21/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_page.c In file included from ../btree/bt_page.c:60: ../btree/bt_page.c: In function '__bam_free': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../btree/bt_page.c:185:15: note: in expansion of macro 'P_OVERHEAD' ldbt.size = P_OVERHEAD; ^~~~~~~~~~ At top level: ../btree/bt_page.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_page.c 10.17 (Sleepycat) 1/3/99"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_put.c In file included from ../btree/bt_put.c:60: ../btree/bt_put.c: In function '__bam_iitem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_put.c:121:14: note: in expansion of macro 'BKEYDATA_SIZE' nbytes = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../btree/bt_put.c:164:14: note: in expansion of macro 'BKEYDATA_PSIZE' needed += BKEYDATA_PSIZE(key->size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../btree/bt_put.c:168:14: note: in expansion of macro 'BKEYDATA_PSIZE' needed += BKEYDATA_PSIZE(data_size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../btree/bt_put.c:178:18: note: in expansion of macro 'BKEYDATA_PSIZE' have_bytes = BKEYDATA_PSIZE(bk->len); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../btree/bt_put.c:189:18: note: in expansion of macro 'BKEYDATA_PSIZE' need_bytes += BKEYDATA_PSIZE(data_size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../btree/bt_put.c:203:6: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(h) < needed || ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_put.c:244:8: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(key->size), NULL, key)) != 0) ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../btree/bt_put.c:321:17: note: in expansion of macro 'SSZA' __hdr.size = SSZA(BKEYDATA, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_put.c:323:8: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(data->size), &__hdr, data); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_put.c:328:8: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(data->size), NULL, data); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../btree/bt_put.c:341:19: note: in expansion of macro 'P_FREESPACE' if (dupadjust && P_FREESPACE(h) <= dbp->pgsize / 2) { ^~~~~~~~~~~ ../btree/bt_put.c: In function '__bam_ritem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_put.c:531:7: note: in expansion of macro 'BKEYDATA_SIZE' lo = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_put.c:532:7: note: in expansion of macro 'BKEYDATA_SIZE' ln = BKEYDATA_SIZE(data->size); ^~~~~~~~~~~~~ ../btree/bt_put.c: In function '__bam_ndup': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../btree/bt_put.c:589:7: note: in expansion of macro 'BKEYDATA_PSIZE' BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE; ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../btree/bt_put.c:592:7: note: in expansion of macro 'BKEYDATA_PSIZE' BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE; ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_put.c:618:7: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(bk->len) : BOVERFLOW_SIZE; ^~~~~~~~~~~~~ At top level: ../btree/bt_put.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_put.c 10.54 (Sleepycat) 12/6/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_rec.c ../btree/bt_rec.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_rec.c 10.28 (Sleepycat) 9/27/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_recno.c In file included from ../btree/bt_recno.c:22: ../btree/bt_recno.c: In function '__ram_i_delete': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../btree/bt_recno.c:328:14: note: in expansion of macro 'SSZA' hdr.size = SSZA(BKEYDATA, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_recno.c:333:16: note: in expansion of macro 'BKEYDATA_SIZE' h, indx, BKEYDATA_SIZE(0), &hdr, &data)) != 0) ^~~~~~~~~~~~~ ../btree/bt_recno.c: In function '__ram_add': ../btree/bt_recno.c:1276:13: warning: variable 'isdeleted' set but not used [-Wunused-but-set-variable] int exact, isdeleted, ret, stack; ^~~~~~~~~ ../btree/bt_recno.c:1273:6: warning: variable 'dbp' set but not used [-Wunused-but-set-variable] DB *dbp; ^~~ At top level: ../btree/bt_recno.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_recno.c 10.53 (Sleepycat) 12/11/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_rsearch.c ../btree/bt_rsearch.c:47:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_rsearch.c 10.21 (Sleepycat) 12/2/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_search.c ../btree/bt_search.c: In function '__bam_stkrel': ../btree/bt_search.c:330:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (epg->lock != LOCK_INVALID) ^ At top level: ../btree/bt_search.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_search.c 10.25 (Sleepycat) 12/16/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_split.c In file included from ../btree/bt_split.c:58: ../btree/bt_split.c: In function '__bam_page': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../btree/bt_split.c:334:23: note: in expansion of macro 'LOFFSET' memcpy(cp->page, lp, LOFFSET(lp)); ^~~~~~~ ../btree/bt_split.c: In function '__bam_broot': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../btree/bt_split.c:424:13: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_split.c:426:32: note: in expansion of macro 'BINTERNAL_SIZE' __db_pitem(dbc, rootp, 0, BINTERNAL_SIZE(0), &hdr, NULL)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../btree/bt_split.c:442:14: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_split.c:446:7: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(child_bi->len), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../btree/bt_split.c:468:15: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_split.c:472:8: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(child_bk->len), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../btree/bt_split.c:485:15: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_split.c:489:8: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(BOVERFLOW_SIZE), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ../btree/bt_split.c: In function '__bam_pinsert': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ./../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~ ../btree/bt_split.c:607:12: note: in expansion of macro 'BINTERNAL_PSIZE' nbytes = BINTERNAL_PSIZE(child_bi->len); ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../btree/bt_split.c:609:7: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../btree/bt_split.c:620:14: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_split.c:625:7: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(child_bi->len), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ./../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~ ../btree/bt_split.c:638:13: note: in expansion of macro 'BINTERNAL_PSIZE' nbytes = BINTERNAL_PSIZE(child_bk->len); ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ./../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~ ../btree/bt_split.c:654:13: note: in expansion of macro 'BINTERNAL_PSIZE' if ((n = BINTERNAL_PSIZE(nksize)) < nbytes) ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../btree/bt_split.c:659:8: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../btree/bt_split.c:669:15: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_split.c:674:8: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(nksize), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ./../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~~ ../btree/bt_split.c:679:13: note: in expansion of macro 'BINTERNAL_PSIZE' nbytes = BINTERNAL_PSIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../btree/bt_split.c:681:8: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../btree/bt_split.c:691:15: note: in expansion of macro 'SSZA' hdr.size = SSZA(BINTERNAL, data); ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_split.c:696:8: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(BOVERFLOW_SIZE), &hdr, &data)) != 0) ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../btree/bt_split.c:713:7: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(ppage) < nbytes) ^~~~~~~~~~~ ../btree/bt_split.c: In function '__bam_psplit': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_split.c:816:8: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(GET_BINTERNAL(pp, off)->len); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_split.c:818:15: note: in expansion of macro 'BINTERNAL_SIZE' nbytes += BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_split.c:823:9: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_split.c:830:9: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_split.c:838:14: note: in expansion of macro 'BKEYDATA_SIZE' nbytes += BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); ^~~~~~~~~~~~~ ../btree/bt_split.c: In function '__bam_copy': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_split.c:934:9: note: in expansion of macro 'BINTERNAL_SIZE' BINTERNAL_SIZE(GET_BINTERNAL(pp, nxt)->len); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BINTERNAL, data), 4) ^~~~ ../btree/bt_split.c:936:14: note: in expansion of macro 'BINTERNAL_SIZE' nbytes = BINTERNAL_SIZE(BOVERFLOW_SIZE); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../btree/bt_split.c:952:9: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(GET_BKEYDATA(pp, nxt)->len); ^~~~~~~~~~~~~ At top level: ../btree/bt_split.c:47:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_split.c 10.33 (Sleepycat) 10/13/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_stat.c In file included from ../btree/bt_stat.c:21: ../btree/bt_stat.c: In function '__bam_stat': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../btree/bt_stat.c:153:38: note: in expansion of macro 'LOFFSET' sp->bt_int_pgfree += HOFFSET(h) - LOFFSET(h); ^~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../btree/bt_stat.c:157:39: note: in expansion of macro 'LOFFSET' sp->bt_leaf_pgfree += HOFFSET(h) - LOFFSET(h); ^~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../btree/bt_stat.c:162:39: note: in expansion of macro 'LOFFSET' sp->bt_leaf_pgfree += HOFFSET(h) - LOFFSET(h); ^~~~~~~ ../btree/bt_stat.c:39:9: warning: variable 't' set but not used [-Wunused-but-set-variable] BTREE *t; ^ At top level: ../btree/bt_stat.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)bt_stat.c 10.27 (Sleepycat) 11/25/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/btree_auto.c ../btree/btree_auto.c: In function '__bam_pg_alloc_print': ../btree/btree_auto.c:109:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../btree/btree_auto.c:108:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ ../btree/btree_auto.c: In function '__bam_adj_print': ../btree/btree_auto.c:845:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../btree/btree_auto.c:844:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ ../btree/btree_auto.c: In function '__bam_cadjust_print': ../btree/btree_auto.c:1004:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../btree/btree_auto.c:1003:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ ../btree/btree_auto.c: In function '__bam_cdel_print': ../btree/btree_auto.c:1154:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../btree/btree_auto.c:1153:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db.c ../db/db.c: In function 'db_open': ../db/db.c:196:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (dbenv->lk_info != NULL) ^ ../db/db.c:279:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((ret = __db_open(real_name, flags | DB_EXCL, ^ ../db/db.c:572:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (need_fileid) ^ At top level: ../db/db.c:47:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db.c 10.75 (Sleepycat) 12/3/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_appinit.c ../common/db_appinit.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_appinit.c 10.66 (Sleepycat) 12/7/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_am.c ../db/db_am.c: In function '__db_c_destroy': ../db/db_am.c:282:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ At top level: ../db/db_am.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_am.c 10.15 (Sleepycat) 12/30/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_apprec.c ../common/db_apprec.c: In function '__db_apprec': ../common/db_apprec.c:181:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ ../common/db_apprec.c:201:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ At top level: ../common/db_apprec.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_apprec.c 10.33 (Sleepycat) 10/5/98"; ^~~~~~ ../common/db_apprec.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] static const char copyright[] = ^~~~~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_auto.c ../db/db_auto.c: In function '__db_ovref_print': ../db/db_auto.c:687:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../db/db_auto.c:686:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ ../db/db_auto.c: In function '__db_relink_print': ../db/db_auto.c:855:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../db/db_auto.c:854:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ ../db/db_auto.c: In function '__db_addpage_print': ../db/db_auto.c:1021:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../db/db_auto.c:1020:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_byteorder.c ../common/db_byteorder.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_byteorder.c 10.5 (Sleepycat) 4/10/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_conv.c In file included from ../db/db_conv.c:57: ../db/db_conv.c: In function '__db_convert': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../db/db_conv.c:134:11: note: in expansion of macro 'LEN_HKEYDATA' len = LEN_HKEYDATA(h, pagesize, i); ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../db/db_conv.c:135:9: note: in expansion of macro 'HKEYDATA_DATA' p = HKEYDATA_DATA(P_ENTRY(h, i)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../db/db_conv.c:152:9: note: in expansion of macro 'HOFFPAGE_PGNO' p = HOFFPAGE_PGNO(P_ENTRY(h, i)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../db/db_conv.c:156:9: note: in expansion of macro 'HOFFPAGE_PGNO' p = HOFFPAGE_PGNO(P_ENTRY(h, i)); ^~~~~~~~~~~~~ At top level: ../db/db_conv.c:47:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_conv.c 10.13 (Sleepycat) 4/26/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_dispatch.c ../db/db_dispatch.c:46:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_dispatch.c 10.20 (Sleepycat) 10/10/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_dup.c In file included from ../db/db_dup.c:21: ../db/db_dup.c: In function '__db_dput': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../db/db_dup.c:71:10: note: in expansion of macro 'BKEYDATA_PSIZE' size = BKEYDATA_PSIZE(dbt->size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../db/db_dup.c:72:11: note: in expansion of macro 'BKEYDATA_SIZE' isize = BKEYDATA_SIZE(dbt->size); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../db/db_dup.c:78:13: note: in expansion of macro 'P_FREESPACE' if (size > P_FREESPACE(pagep)) { ^~~~~~~~~~~ ../db/db_dup.c: In function '__db_drem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../db/db_dup.c:131:7: note: in expansion of macro 'BKEYDATA_SIZE' BKEYDATA_SIZE(GET_BKEYDATA(pagep, indx)->len)); ^~~~~~~~~~~~~ ../db/db_dup.c: In function '__db_dsplit': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../db/db_dup.c:265:11: note: in expansion of macro 'BKEYDATA_SIZE' sum += BKEYDATA_SIZE(GET_BKEYDATA(h, i)->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../db/db_dup.c:309:8: note: in expansion of macro 'BKEYDATA_SIZE' s = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../db/db_dup.c:325:8: note: in expansion of macro 'BKEYDATA_SIZE' s = BKEYDATA_SIZE(bk->len); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ../db/db_dup.c:340:16: note: in expansion of macro 'LOFFSET' memcpy(h, tp, LOFFSET(tp)); ^~~~~~~ ../db/db_dup.c: In function '__db_pitem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../db/db_dup.c:501:15: note: in expansion of macro 'SSZA' thdr.size = SSZA(BKEYDATA, data); ^~~~ ../db/db_dup.c: In function '__db_dsearch': ../db/db_dup.c:755:29: warning: variable 'save_indx' set but not used [-Wunused-but-set-variable] db_indx_t base, indx, lim, save_indx; ^~~~~~~~~ At top level: ../db/db_dup.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_dup.c 10.35 (Sleepycat) 12/2/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_err.c ../common/db_err.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_err.c 10.42 (Sleepycat) 11/24/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_iface.c ../db/db_iface.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_iface.c 10.40 (Sleepycat) 12/19/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_join.c ../db/db_join.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_join.c 10.10 (Sleepycat) 10/9/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_log2.c ../common/db_log2.c:46:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_log2.c 10.5 (Sleepycat) 4/26/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_overflow.c In file included from ../db/db_overflow.c:60: ../db/db_overflow.c: In function '__db_goff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../db/db_overflow.c:140:26: note: in expansion of macro 'P_OVERHEAD' src = (u_int8_t *)h + P_OVERHEAD; ^~~~~~~~~~ ../db/db_overflow.c: In function '__db_poff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:247:38: note: in expansion of macro 'P_OVERHEAD' #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) ^~~~~~~~~~ ../db/db_overflow.c:188:14: note: in expansion of macro 'P_MAXSPACE' pagespace = P_MAXSPACE(dbp->pgsize); ^~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../db/db_overflow.c:229:30: note: in expansion of macro 'P_OVERHEAD' memcpy((u_int8_t *)pagep + P_OVERHEAD, p, pagespace); ^~~~~~~~~~ ../db/db_overflow.c: In function '__db_doff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../db/db_overflow.c:317:39: note: in expansion of macro 'P_OVERHEAD' tmp_dbt.data = (u_int8_t *)pagep + P_OVERHEAD; ^~~~~~~~~~ ../db/db_overflow.c: In function '__db_moff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../db/db_overflow.c:388:27: note: in expansion of macro 'P_OVERHEAD' (u_int8_t *)pagep + P_OVERHEAD; cmp_bytes-- > 0; ++p1, ++p2) ^~~~~~~~~~ At top level: ../db/db_overflow.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_overflow.c 10.21 (Sleepycat) 9/27/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_pr.c In file included from ../db/db_pr.c:24: ../db/db_pr.c: In function '__db_prpage': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../db/db_pr.c:438:27: note: in expansion of macro 'P_OVERHEAD' __db_pr((u_int8_t *)h + P_OVERHEAD, OV_LEN(h)); ^~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../db/db_pr.c:449:39: note: in expansion of macro 'P_OVERHEAD' if (P_ENTRY(h, i) - (u_int8_t *)h < P_OVERHEAD || ^~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../db/db_pr.c:488:9: note: in expansion of macro 'HOFFDUP_PGNO' HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../db/db_pr.c:500:12: note: in expansion of macro 'LEN_HKEYDATA' len = LEN_HKEYDATA(h, 0, i); ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../db/db_pr.c:505:14: note: in expansion of macro 'HKEYDATA_DATA' for (p = HKEYDATA_DATA(hk), ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../db/db_pr.c:516:14: note: in expansion of macro 'HKEYDATA_DATA' __db_pr(HKEYDATA_DATA(hk), ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../db/db_pr.c:517:10: note: in expansion of macro 'LEN_HKEYDATA' LEN_HKEYDATA(h, 0, i)); ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../db/db_pr.c:519:26: note: in expansion of macro 'HKEYDATA_DATA' fprintf(fp, "%s\n", HKEYDATA_DATA(hk)); ^~~~~~~~~~~~~ ../db/db_pr.c: In function '__db_isbad': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../db/db_pr.c:615:39: note: in expansion of macro 'P_OVERHEAD' if (P_ENTRY(h, i) - (u_int8_t *)h < P_OVERHEAD || ^~~~~~~~~~ At top level: ../db/db_pr.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_pr.c 10.40 (Sleepycat) 11/22/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_rec.c ../db/db_rec.c: In function '__db_addrem_recover': ../db/db_rec.c:91:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (change) ^ ../db/db_rec.c: In function '__db_split_recover': ../db/db_rec.c:127:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((ret = memp_fget(mpf, &argp->pgno, 0, &pagep)) != 0) ^ In file included from ../db/db_rec.c:20: ../db/db_rec.c: In function '__db_big_recover': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ../db/db_rec.c:234:30: note: in expansion of macro 'P_OVERHEAD' memcpy((u_int8_t *)pagep + P_OVERHEAD, argp->dbt.data, ^~~~~~~~~~ ../db/db_rec.c:256:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((ret = memp_fget(mpf, &argp->prev_pgno, 0, &pagep)) != 0) ^ ../db/db_rec.c:296:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((ret = memp_fget(mpf, &argp->next_pgno, 0, &pagep)) != 0) ^ ../db/db_rec.c: In function '__db_addpage_recover': ../db/db_rec.c:547:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((ret = memp_fget(mpf, &argp->nextpgno, 0, &pagep)) != 0) ^ At top level: ../db/db_rec.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_rec.c 10.19 (Sleepycat) 9/27/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_region.c ../common/db_region.c: In function '__db_rattach': ../common/db_region.c:281:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((ret = __db_mapregion(infop->name, infop)) != 0) ^ ../common/db_region.c:478:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (F_ISSET(infop, REGION_PRIVATE) && !F_ISSET(infop, REGION_MALLOC)) ^ ../common/db_region.c:38:9: warning: variable 'grow_region' set but not used [-Wunused-but-set-variable] size_t grow_region, size; ^~~~~~~~~~~ ../common/db_region.c: In function '__db_rdetach': ../common/db_region.c:541:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (F_ISSET(infop, REGION_LASTDETACH)) ^ At top level: ../common/db_region.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_region.c 10.53 (Sleepycat) 11/10/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_ret.c In file included from ../db/db_ret.c:21: ../db/db_ret.c: In function '__db_ret': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../db/db_ret.c:57:9: note: in expansion of macro 'LEN_HKEYDATA' len = LEN_HKEYDATA(h, dbp->pgsize, indx); ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../db/db_ret.c:58:10: note: in expansion of macro 'HKEYDATA_DATA' data = HKEYDATA_DATA(hk); ^~~~~~~~~~~~~ At top level: ../db/db_ret.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_ret.c 10.16 (Sleepycat) 10/4/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_salloc.c ../common/db_salloc.c: In function '__db_shalloc_free': ../common/db_salloc.c:225:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!merged) ^ At top level: ../common/db_salloc.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_salloc.c 10.14 (Sleepycat) 11/16/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_shash.c ../common/db_shash.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_shash.c 10.9 (Sleepycat) 4/10/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../dbm/dbm.c ../dbm/dbm.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)dbm.c 10.23 (Sleepycat) 11/22/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash.c ../hash/hash.c: In function '__ham_delete': ../hash/hash.c:264:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((ret = __ham_lookup(dbc, key, 0, DB_LOCK_WRITE)) == 0) ^ In file included from ../hash/hash.c:61: ../hash/hash.c: In function '__ham_c_del': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../hash/hash.c:455:12: note: in expansion of macro 'HOFFDUP_PGNO' memcpy(HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash.c:474:7: note: in expansion of macro 'LEN_HDATA' LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx)) ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash.c:483:8: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ../hash/hash.c: In function '__ham_c_put': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../hash/hash.c:716:7: note: in expansion of macro 'HKEYDATA_PSIZE' HKEYDATA_PSIZE(key->size)) + ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../hash/hash.c:718:7: note: in expansion of macro 'HKEYDATA_PSIZE' HKEYDATA_PSIZE(data->size)); ^~~~~~~~~~~~~~ ../hash/hash.c: In function '__ham_dup_return': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash.c:937:20: note: in expansion of macro 'LEN_HDATA' hcp->dup_tlen = LEN_HDATA(hcp->pagep, ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash.c:945:10: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(hk) + hcp->dup_off, ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash.c:954:9: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(hk), sizeof(db_indx_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../hash/hash.c:961:18: note: in expansion of macro 'HOFFDUP_PGNO' memcpy(&pgno, HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ndx)), ^~~~~~~~~~~~ ../hash/hash.c:934:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!F_ISSET(hcp, H_ISDUP)) ^ In file included from ../hash/hash.c:61: ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../hash/hash.c:996:9: note: in expansion of macro 'HOFFPAGE_TLEN' HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../hash/hash.c:998:9: note: in expansion of macro 'HOFFPAGE_PGNO' HOFFPAGE_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash.c:1007:20: note: in expansion of macro 'HKEYDATA_DATA' tmp_val.data = HKEYDATA_DATA(hk); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash.c:1008:20: note: in expansion of macro 'LEN_HDATA' tmp_val.size = LEN_HDATA(hcp->pagep, ^~~~~~~~~ ../hash/hash.c:1024:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (F_ISSET(hcp, H_ISDUP)) ^ In file included from ../hash/hash.c:61: ../hash/hash.c: In function '__ham_overwrite': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../hash/hash.c:1100:8: note: in expansion of macro 'HOFFPAGE_TLEN' HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash.c:1102:19: note: in expansion of macro 'LEN_HDATA' tmp_val.dlen = LEN_HDATA(hcp->pagep, ^~~~~~~~~ ../hash/hash.c: In function '__ham_lookup': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../hash/hash.c:1155:18: note: in expansion of macro 'HOFFPAGE_TLEN' memcpy(&tlen, HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../hash/hash.c:1158:9: note: in expansion of macro 'HOFFPAGE_PGNO' HOFFPAGE_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:334:35: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HKEY(p, psize, pindx) LEN_HKEYDATA(p, psize, H_KEYINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash.c:1169:21: note: in expansion of macro 'LEN_HKEY' if (key->size == LEN_HKEY(hcp->pagep, ^~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash.c:1172:8: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(hk), key->size) == 0) { ^~~~~~~~~~~~~ ../hash/hash.c: In function '__ham_c_update': ../hash/hash.c:1322:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (lcp->dpgno == PGNO_INVALID) ^ At top level: ../hash/hash.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)hash.c 10.63 (Sleepycat) 12/11/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_auto.c ../hash/hash_auto.c: In function '__ham_newpage_print': ../hash/hash_auto.c:325:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../hash/hash_auto.c:324:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ ../hash/hash_auto.c: In function '__ham_splitmeta_print': ../hash/hash_auto.c:488:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../hash/hash_auto.c:487:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ ../hash/hash_auto.c: In function '__ham_newpgno_print': ../hash/hash_auto.c:1043:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../hash/hash_auto.c:1042:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ ../hash/hash_auto.c: In function '__ham_ovfl_print': ../hash/hash_auto.c:1212:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../hash/hash_auto.c:1211:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_conv.c ../hash/hash_conv.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)hash_conv.c 10.5 (Sleepycat) 4/10/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_dup.c In file included from ../hash/hash_dup.c:68: ../hash/hash_dup.c: In function '__ham_add_dup': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../hash/hash_dup.c:124:46: note: in expansion of macro 'LEN_HKEYDATA' new_size = DUP_SIZE(nval->size) - del_len + LEN_HKEYDATA(hcp->pagep, ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../hash/hash_dup.c:134:39: note: in expansion of macro 'P_FREESPACE' DUP_SIZE(nval->size) - del_len > P_FREESPACE(hcp->pagep))) { ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_dup.c:147:16: note: in expansion of macro 'HKEYDATA_DATA' pval.data = HKEYDATA_DATA(hk); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash_dup.c:148:16: note: in expansion of macro 'LEN_HDATA' pval.size = LEN_HDATA(hcp->pagep, dbp->pgsize, ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash_dup.c:171:20: note: in expansion of macro 'LEN_HDATA' tmp_val.doff = LEN_HDATA(hcp->pagep, ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_dup.c:180:16: note: in expansion of macro 'HKEYDATA_DATA' dbt.data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../hash/hash_dup.c:206:23: note: in expansion of macro 'HOFFDUP_PGNO' memcpy(&hcp->dpgno, HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../hash/hash_dup.c:245:14: note: in expansion of macro 'BKEYDATA_SIZE' del_len = BKEYDATA_SIZE(GET_BKEYDATA(hcp->dpagep, ^~~~~~~~~~~~~ ../hash/hash_dup.c: In function '__ham_dup_convert': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash_dup.c:306:7: note: in expansion of macro 'LEN_HDATA' LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx); ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_dup.c:307:14: note: in expansion of macro 'HKEYDATA_DATA' dbt.data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' ALIGN((len) + SSZA(BKEYDATA, data), 4) ^~~~ ../hash/hash_dup.c:309:24: note: in expansion of macro 'BKEYDATA_SIZE' (u_int32_t)dndx, BKEYDATA_SIZE(dbt.size), NULL, &dbt); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_dup.c:331:7: note: in expansion of macro 'HKEYDATA_DATA' p = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash_dup.c:333:7: note: in expansion of macro 'LEN_HDATA' LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx); ^~~~~~~~~ ../hash/hash_dup.c: In function '__ham_check_move': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_dup.c:444:26: note: in expansion of macro 'HKEYDATA_SIZE' new_datalen = old_len - HKEYDATA_SIZE(0) + add_len; ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../hash/hash_dup.c:455:32: note: in expansion of macro 'P_FREESPACE' HOFFDUP_SIZE - old_len <= P_FREESPACE(hcp->pagep))) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../hash/hash_dup.c:459:26: note: in expansion of macro 'P_FREESPACE' add_len <= (int32_t)P_FREESPACE(hcp->pagep)) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_dup.c:468:21: note: in expansion of macro 'HKEYDATA_SIZE' HOFFDUP_SIZE : HKEYDATA_SIZE(new_datalen); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../hash/hash_dup.c:481:7: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(next_pagep) >= new_datalen) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../hash/hash_dup.c:491:6: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(next_pagep) < new_datalen && (ret = ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_dup.c:507:8: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(H_PAIRKEY(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:334:35: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HKEY(p, psize, pindx) LEN_HKEYDATA(p, psize, H_KEYINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash_dup.c:508:13: note: in expansion of macro 'LEN_HKEY' k.size = LEN_HKEY(hcp->pagep, ^~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_dup.c:518:8: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash_dup.c:519:13: note: in expansion of macro 'LEN_HDATA' d.size = LEN_HDATA(hcp->pagep, ^~~~~~~~~ ../hash/hash_dup.c: In function '__ham_dsearch': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_dup.c:643:9: note: in expansion of macro 'HKEYDATA_DATA' data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) + i; ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ./../include/db_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA' #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx)) ^~~~~~~~~~~~ ../hash/hash_dup.c:644:13: note: in expansion of macro 'LEN_HDATA' while (i < LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx)) { ^~~~~~~~~ At top level: ../hash/hash_dup.c:45:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)hash_dup.c 10.27 (Sleepycat) 12/6/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_func.c ../hash/hash_func.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)hash_func.c 10.8 (Sleepycat) 4/10/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_page.c In file included from ../hash/hash_page.c:76: ../hash/hash_page.c: In function '__ham_item': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../hash/hash_page.c:112:26: note: in expansion of macro 'P_FREESPACE' && hcp->seek_size < P_FREESPACE(hcp->pagep)) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_page.c:123:7: note: in expansion of macro 'HKEYDATA_DATA' HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) + ^~~~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_item_prev': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_page.c:352:26: note: in expansion of macro 'HKEYDATA_DATA' memcpy(&h->dup_len, HKEYDATA_DATA( ^~~~~~~~~~~~~ ../hash/hash_page.c:346:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (hcp->dup_off != 0) ^ In file included from ../hash/hash_page.c:76: ../hash/hash_page.c: In function '__ham_putitem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_page.c:538:22: note: in expansion of macro 'HKEYDATA_SIZE' off = HOFFSET(p) - HKEYDATA_SIZE(dbt->size); ^~~~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_del_pair': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../hash/hash_page.c:634:17: note: in expansion of macro 'HOFFPAGE_PGNO' memcpy(&pgno, HOFFPAGE_PGNO(P_ENTRY(p, H_KEYINDEX(ndx))), ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) ^~~ ../hash/hash_page.c:643:8: note: in expansion of macro 'HOFFPAGE_PGNO' HOFFPAGE_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))), ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:364:45: note: in expansion of macro 'SSZ' #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) ^~~ ../hash/hash_page.c:649:8: note: in expansion of macro 'HOFFDUP_PGNO' HOFFDUP_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))), ^~~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_replpair': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZ(name, field) ((int)&(((name *)0)->field)) ^ ./../include/db_page.h:347:45: note: in expansion of macro 'SSZ' #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) ^~~ ../hash/hash_page.c:894:16: note: in expansion of macro 'HOFFPAGE_TLEN' memcpy(&len, HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../hash/hash_page.c:896:9: note: in expansion of macro 'LEN_HKEYDATA' len = LEN_HKEYDATA(hcp->pagep, ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../hash/hash_page.c:903:24: note: in expansion of macro 'P_FREESPACE' if (change > (int32_t)P_FREESPACE(hcp->pagep) || is_big) { ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_page.c:975:8: note: in expansion of macro 'HKEYDATA_DATA' beg = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); ^~~~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_onpage_replace': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../hash/hash_page.c:1034:30: note: in expansion of macro 'LEN_HKEYDATA' else if ((u_int32_t)off >= LEN_HKEYDATA(pagep, pgsize, ndx)) { ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_page.c:1035:10: note: in expansion of macro 'HKEYDATA_DATA' len = HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' pg->inp[indx] - HKEYDATA_SIZE(0)) ^~~~~~~~~~~~~ ../hash/hash_page.c:1036:8: note: in expansion of macro 'LEN_HKEYDATA' LEN_HKEYDATA(pagep, pgsize, ndx) - src; ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_page.c:1039:11: note: in expansion of macro 'HKEYDATA_DATA' len = (HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off) - src; ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) ^~~~ ../hash/hash_page.c:1051:10: note: in expansion of macro 'HKEYDATA_DATA' memcpy(HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off, ^~~~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_split_page': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../hash/hash_page.c:1134:8: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(*pp) < len) { ^~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_add_el': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../hash/hash_page.c:1262:13: note: in expansion of macro 'HKEYDATA_PSIZE' key_size = HKEYDATA_PSIZE(key->size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' ((len) + SSZA(HKEYDATA, data)) ^~~~ ./../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) ^~~~~~~~~~~~~ ../hash/hash_page.c:1263:14: note: in expansion of macro 'HKEYDATA_PSIZE' data_size = HKEYDATA_PSIZE(val->size); ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../hash/hash_page.c:1281:7: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(hcp->pagep) >= pairsize) ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' #define P_OVERHEAD (SSZA(PAGE, inp)) ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) ^~~~~~~ ../hash/hash_page.c:1292:6: note: in expansion of macro 'P_FREESPACE' if (P_FREESPACE(hcp->pagep) < pairsize) { ^~~~~~~~~~~ At top level: ../hash/hash_page.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)hash_page.c 10.55 (Sleepycat) 1/3/99"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_rec.c ../hash/hash_rec.c: In function '__ham_insdel_recover': ../hash/hash_rec.c:98:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ ../hash/hash_rec.c: In function '__ham_newpage_recover': ../hash/hash_rec.c:206:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ ../hash/hash_rec.c:263:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ ../hash/hash_rec.c:310:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ ../hash/hash_rec.c: In function '__ham_replace_recover': ../hash/hash_rec.c:395:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ ../hash/hash_rec.c: In function '__ham_newpgno_recover': ../hash/hash_rec.c:532:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ ../hash/hash_rec.c: In function '__ham_splitmeta_recover': ../hash/hash_rec.c:601:16: warning: variable 'mpf' set but not used [-Wunused-but-set-variable] DB_MPOOLFILE *mpf; ^~~ ../hash/hash_rec.c: In function '__ham_splitdata_recover': ../hash/hash_rec.c:692:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ ../hash/hash_rec.c: In function '__ham_copypage_recover': ../hash/hash_rec.c:877:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ ../hash/hash_rec.c:911:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ ../hash/hash_rec.c:941:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ret != 0) ^ At top level: ../hash/hash_rec.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)hash_rec.c 10.22 (Sleepycat) 10/21/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_stat.c ../hash/hash_stat.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)hash_stat.c 10.12 (Sleepycat) 12/19/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hsearch/hsearch.c ../hsearch/hsearch.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)hsearch.c 10.9 (Sleepycat) 4/18/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock.c ../lock/lock.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)lock.c 10.61 (Sleepycat) 1/3/99"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_conflict.c ../lock/lock_conflict.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)lock_conflict.c 10.4 (Sleepycat) 11/20/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_deadlock.c ../lock/lock_deadlock.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)lock_deadlock.c 10.37 (Sleepycat) 10/4/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_util.c ../lock/lock_util.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)lock_util.c 10.10 (Sleepycat) 9/20/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_region.c ../lock/lock_region.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)lock_region.c 10.21 (Sleepycat) 10/19/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log.c ../log/log.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)log.c 10.63 (Sleepycat) 10/10/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_archive.c ../log/log_archive.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)log_archive.c 10.44 (Sleepycat) 10/9/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_auto.c gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_compare.c ../log/log_compare.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)log_compare.c 10.3 (Sleepycat) 4/10/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_findckp.c ../log/log_findckp.c: In function '__log_findckp': ../log/log_findckp.c:76:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((ret = log_get(lp, &last_ckp, &data, DB_CHECKPOINT)) != 0) ^ At top level: ../log/log_findckp.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)log_findckp.c 10.17 (Sleepycat) 9/17/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_get.c ../log/log_get.c: In function '__log_get': ../log/log_get.c:318:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] err1: if (!silent) ^ At top level: ../log/log_get.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)log_get.c 10.38 (Sleepycat) 10/3/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_put.c ../log/log_put.c: In function '__log_flush': ../log/log_put.c:340:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!current && lp->s_lsn.file != 0) ^ At top level: ../log/log_put.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)log_put.c 10.44 (Sleepycat) 11/3/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_rec.c ../log/log_rec.c:43:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)log_rec.c 10.26 (Sleepycat) 10/21/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_register.c ../log/log_register.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)log_register.c 10.22 (Sleepycat) 9/27/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_bh.c ../mp/mp_bh.c: In function '__memp_pgread': ../mp/mp_bh.c:192:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (nr < (ssize_t)pagesize) ^ At top level: ../mp/mp_bh.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)mp_bh.c 10.45 (Sleepycat) 11/25/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fget.c ../mp/mp_fget.c: In function 'memp_fget': ../mp/mp_fget.c:143:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (dbmfp->addr != NULL && F_ISSET(mfp, MP_CAN_MMAP)) ^ At top level: ../mp/mp_fget.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)mp_fget.c 10.53 (Sleepycat) 11/16/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fopen.c ../mp/mp_fopen.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)mp_fopen.c 10.60 (Sleepycat) 1/1/99"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fput.c In file included from ../mp/mp_fput.c:19: ../mp/mp_fput.c: In function 'memp_fput': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../mp/mp_fput.c:85:36: note: in expansion of macro 'SSZA' bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf)); ^~~~ ../mp/mp_fput.c:130:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (F_ISSET(bhp, BH_WRITE)) ^ At top level: ../mp/mp_fput.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)mp_fput.c 10.24 (Sleepycat) 9/27/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fset.c In file included from ../mp/mp_fset.c:19: ../mp/mp_fset.c: In function 'memp_fset': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^ ../mp/mp_fset.c:64:36: note: in expansion of macro 'SSZA' bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf)); ^~~~ At top level: ../mp/mp_fset.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)mp_fset.c 10.16 (Sleepycat) 9/27/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_open.c ../mp/mp_open.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)mp_open.c 10.27 (Sleepycat) 10/1/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_pr.c ../mp/mp_pr.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)mp_pr.c 10.30 (Sleepycat) 10/1/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_region.c ../mp/mp_region.c: In function '__memp_ropen': ../mp/mp_region.c:227:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (cachesize < DB_CACHESIZE_MIN) ^ At top level: ../mp/mp_region.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)mp_region.c 10.35 (Sleepycat) 12/11/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_sync.c ../mp/mp_sync.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)mp_sync.c 10.31 (Sleepycat) 12/11/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mutex/mutex.c ../mutex/mutex.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)mutex.c 10.52 (Sleepycat) 11/8/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_abs.c ../os/os_abs.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_abs.c 10.9 (Sleepycat) 7/21/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_alloc.c ../os/os_alloc.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_alloc.c 10.10 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_config.c ../os/os_config.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_config.c 10.30 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_dir.c ../os/os_dir.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_dir.c 10.19 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_fid.c ../os/os_fid.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_fid.c 10.12 (Sleepycat) 7/21/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_fsync.c ../os/os_fsync.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_fsync.c 10.7 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_map.c ../os/os_map.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_map.c 10.24 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_oflags.c ../os/os_oflags.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_oflags.c 10.6 (Sleepycat) 4/19/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_open.c ../os/os_open.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_open.c 10.33 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_rpath.c ../os/os_rpath.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_rpath.c 10.3 (Sleepycat) 4/10/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_rw.c ../os/os_rw.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_rw.c 10.11 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_seek.c ../os/os_seek.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_seek.c 10.11 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_sleep.c ../os/os_sleep.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_sleep.c 10.12 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_spin.c ../os/os_spin.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_spin.c 10.10 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_stat.c ../os/os_stat.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_stat.c 10.18 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_tmpdir.c ../os/os_tmpdir.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_tmpdir.c 10.3 (Sleepycat) 10/13/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_unlink.c ../os/os_unlink.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)os_unlink.c 10.7 (Sleepycat) 10/12/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../txn/txn.c ../txn/txn.c: In function '__txn_end': ../txn/txn.c:612:12: warning: variable 'locker' set but not used [-Wunused-but-set-variable] u_int32_t locker; ^~~~~~ At top level: ../txn/txn.c:46:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)txn.c 10.66 (Sleepycat) 1/3/99"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../txn/txn_auto.c ../txn/txn_auto.c: In function '__txn_regop_print': ../txn/txn_auto.c:82:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../txn/txn_auto.c:81:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ ../txn/txn_auto.c: In function '__txn_ckp_print': ../txn/txn_auto.c:211:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../txn/txn_auto.c:210:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ ../txn/txn_auto.c: In function '__txn_child_print': ../txn/txn_auto.c:517:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] u_int ch; ^~ ../txn/txn_auto.c:516:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int32_t i; ^ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../txn/txn_rec.c ../txn/txn_rec.c: In function '__txn_restore_txn': ../txn/txn_rec.c:289:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(td->xid, argp->xid.data, argp->xid.size); ^~~~~~ ../txn/txn_rec.c:289:2: warning: incompatible implicit declaration of built-in function 'memcpy' ../txn/txn_rec.c:289:2: note: include '' or provide a declaration of 'memcpy' ../txn/txn_rec.c:59:1: +#include ../txn/txn_rec.c:289:2: memcpy(td->xid, argp->xid.data, argp->xid.size); ^~~~~~ At top level: ../txn/txn_rec.c:43:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)txn_rec.c 10.15 (Sleepycat) 1/3/99"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../xa/xa.c ../xa/xa.c:12:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)xa.c 10.4 (Sleepycat) 10/11/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../xa/xa_db.c ../xa/xa_db.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)xa_db.c 10.6 (Sleepycat) 12/19/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../xa/xa_map.c ../xa/xa_map.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)xa_map.c 10.4 (Sleepycat) 10/20/98"; ^~~~~~ /bin/rm -f libdb.a /usr/bin/ar cr libdb.a bt_compare.o bt_conv.o bt_curadj.o bt_cursor.o bt_delete.o bt_open.o bt_page.o bt_put.o bt_rec.o bt_recno.o bt_rsearch.o bt_search.o bt_split.o bt_stat.o btree_auto.o db.o db_appinit.o db_am.o db_apprec.o db_auto.o db_byteorder.o db_conv.o db_dispatch.o db_dup.o db_err.o db_iface.o db_join.o db_log2.o db_overflow.o db_pr.o db_rec.o db_region.o db_ret.o db_salloc.o db_shash.o dbm.o hash.o hash_auto.o hash_conv.o hash_dup.o hash_func.o hash_page.o hash_rec.o hash_stat.o hsearch.o lock.o lock_conflict.o lock_deadlock.o lock_util.o lock_region.o log.o log_archive.o log_auto.o log_compare.o log_findckp.o log_get.o log_put.o log_rec.o log_register.o mp_bh.o mp_fget.o mp_fopen.o mp_fput.o mp_fset.o mp_open.o mp_pr.o mp_region.o mp_sync.o mutex.o os_abs.o os_alloc.o os_config.o os_dir.o os_fid.o os_fsync.o os_map.o os_oflags.o os_open.o os_rpath.o os_rw.o os_seek.o os_sleep.o os_spin.o os_stat.o os_tmpdir.o os_unlink.o txn.o txn_auto.o txn_rec.o xa.o xa_db.o xa_map.o test ! -f /usr/bin/ranlib || /usr/bin/ranlib libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_archive/db_archive.c ../db_archive/db_archive.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_archive.c 10.20 (Sleepycat) 10/3/98"; ^~~~~~ ../db_archive/db_archive.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] static const char copyright[] = ^~~~~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../clib/err.c ../clib/err.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)err.c 10.5 (Sleepycat) 11/24/98"; ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../clib/getlong.c ../clib/getlong.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)getlong.c 10.3 (Sleepycat) 4/10/98"; ^~~~~~ gcc -o db_archive db_archive.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_checkpoint/db_checkpoint.c ../db_checkpoint/db_checkpoint.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_checkpoint.c 10.21 (Sleepycat) 10/4/98"; ^~~~~~ ../db_checkpoint/db_checkpoint.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] static const char copyright[] = ^~~~~~~~~ gcc -o db_checkpoint db_checkpoint.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_deadlock/db_deadlock.c ../db_deadlock/db_deadlock.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_deadlock.c 10.23 (Sleepycat) 10/4/98"; ^~~~~~ ../db_deadlock/db_deadlock.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] static const char copyright[] = ^~~~~~~~~ gcc -o db_deadlock db_deadlock.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_dump/db_dump.c ../db_dump/db_dump.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_dump.c 10.24 (Sleepycat) 11/22/98"; ^~~~~~ ../db_dump/db_dump.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] static const char copyright[] = ^~~~~~~~~ gcc -o db_dump db_dump.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_load/db_load.c ../db_load/db_load.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_load.c 10.23 (Sleepycat) 10/4/98"; ^~~~~~ ../db_load/db_load.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] static const char copyright[] = ^~~~~~~~~ gcc -o db_load db_load.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_printlog/db_printlog.c ../db_printlog/db_printlog.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_printlog.c 10.17 (Sleepycat) 11/1/98"; ^~~~~~ ../db_printlog/db_printlog.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] static const char copyright[] = ^~~~~~~~~ gcc -o db_printlog db_printlog.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_recover/db_recover.c ../db_recover/db_recover.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_recover.c 10.23 (Sleepycat) 10/5/98"; ^~~~~~ ../db_recover/db_recover.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] static const char copyright[] = ^~~~~~~~~ gcc -o db_recover db_recover.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_stat/db_stat.c ../db_stat/db_stat.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] static const char sccsid[] = "@(#)db_stat.c 8.41 (Sleepycat) 10/3/98"; ^~~~~~ ../db_stat/db_stat.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] static const char copyright[] = ^~~~~~~~~ gcc -o db_stat db_stat.o err.o getlong.o libdb.a make[1]: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pksclient.o pksclient.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_add.o kd_add.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_delete.o kd_delete.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_disable.o kd_disable.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_generic.o kd_generic.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_get.o kd_get.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_index.o kd_index.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_search.o kd_search.c kd_search.c: In function 'word_key_intersect': kd_search.c:931:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(s->err->buf, "search word is greater than %d characters", ~^ %ld sizeof(word)); ~~~~~~~~~~~~ gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_since.o kd_since.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_types.o kd_types.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pgputil.o pgputil.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o md5c.o md5c.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o armor.o armor.c armor.c:326:41: warning: array initialized from parenthesized string constant [-Wpedantic] const unsigned char headerline_tail[] = ("-----\n" ^ gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pgpcrc.o pgpcrc.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o shs.o shs.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o parse.o parse.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o llist.o llist.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o globals.o globals.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o logging.o logging.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o util.o util.c gcc -o pksclient pksclient.o kd_add.o kd_delete.o kd_disable.o kd_generic.o kd_get.o kd_index.o kd_search.o kd_since.o kd_types.o pgputil.o md5c.o armor.o pgpcrc.o shs.o parse.o llist.o globals.o logging.o util.o db2-sleepycat/dist/libdb.a gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pksdctl.o pksdctl.c gcc -o pksdctl pksdctl.o gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pgpsplit.o pgpsplit.c gcc -o pgpsplit pgpsplit.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pksd.o pksd.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pks_config.o pks_config.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pks_www.o pks_www.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pks_socket.o pks_socket.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o www.o www.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o mail_req.o mail_req.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o mail_send.o mail_send.c mail_send.c: In function 'mail_help': mail_send.c:373:41: warning: '%s' directive writing up to 1023 bytes into a region of size 1000 [-Wformat-overflow=] sprintf(buf, "error opening help file %s", helpfile); ^~ ~~~~~~~~ mail_send.c:373:3: note: 'sprintf' output between 25 and 1048 bytes into a destination of size 1024 sprintf(buf, "error opening help file %s", helpfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mail_send.c:390:41: warning: '%s' directive writing up to 1023 bytes into a region of size 1000 [-Wformat-overflow=] sprintf(buf, "error reading help file %s", helpfile); ^~ ~~~~~~~~ mail_send.c:390:3: note: 'sprintf' output between 25 and 1048 bytes into a destination of size 1024 sprintf(buf, "error reading help file %s", helpfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pks_incr.o pks_incr.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_signal.o kd_signal.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o multiplex.o multiplex.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o mp_signal.o mp_signal.c gcc -o pksd pksd.o pks_config.o pks_www.o pks_socket.o www.o mail_req.o mail_send.o pks_incr.o kd_add.o kd_delete.o kd_disable.o kd_generic.o kd_get.o kd_index.o kd_search.o kd_since.o kd_types.o pgputil.o md5c.o armor.o pgpcrc.o shs.o kd_signal.o multiplex.o mp_signal.o parse.o llist.o globals.o logging.o util.o db2-sleepycat/dist/libdb.a sh mkpksdconf > pksd.conf make: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6' + make all-utils make: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6' gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pksmailreq.o pksmailreq.c gcc -o pksmailreq pksmailreq.o mail_req.o mail_send.o pks_incr.o kd_add.o kd_delete.o kd_disable.o kd_generic.o kd_get.o kd_index.o kd_search.o kd_since.o kd_types.o pgputil.o md5c.o armor.o pgpcrc.o shs.o kd_signal.o multiplex.o mp_signal.o parse.o llist.o globals.o logging.o util.o db2-sleepycat/dist/libdb.a gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o wwwtest.o wwwtest.c gcc -o wwwtest wwwtest.o www.o kd_signal.o multiplex.o mp_signal.o parse.o llist.o globals.o logging.o util.o db2-sleepycat/dist/libdb.a gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pgpdump.o pgpdump.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pgpfile.o pgpfile.c gcc -o pgpdump pgpdump.o pgpfile.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kvcv.o kvcv.c gcc -o kvcv kvcv.o pgpfile.o logging.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kxa.o kxa.c gcc -o kxa kxa.o pgpfile.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pkscheck.o pkscheck.c gcc -o pkscheck pkscheck.o kd_add.o kd_delete.o kd_disable.o kd_generic.o kd_get.o kd_index.o kd_search.o kd_since.o kd_types.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o parse.o llist.o globals.o logging.o db2-sleepycat/dist/libdb.a gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pksdump.o pksdump.c gcc -o pksdump pksdump.o kd_add.o kd_delete.o kd_disable.o kd_generic.o kd_get.o kd_index.o kd_search.o kd_since.o kd_types.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o parse.o llist.o globals.o logging.o db2-sleepycat/dist/libdb.a make: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.92564 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/pks-buildroot + : + /bin/rm -rf -- /usr/src/tmp/pks-buildroot + cd pks-0.9.6 + make DESTDIR=/usr/src/tmp/pks-buildroot install make: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6' for i in db2-sleepycat/dist; do (test -d $i && cd $i && make DESTDIR=/usr/src/tmp/pks-buildroot RPM_BUILD_DIR=/usr/src/tmp/pks-buildroot install) || exit 1; done make[1]: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' Installing DB include files: /usr/src/tmp/pks-buildroot/usr/include/db2 ... Installing DB utilities: /usr/src/tmp/pks-buildroot/usr/bin ... make[1]: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' for i in db2-sleepycat/dist; do (test -d $i && cd $i && make DESTDIR=/usr/src/tmp/pks-buildroot RPM_BUILD_DIR=/usr/src/tmp/pks-buildroot all) || exit 1; done make[1]: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' mkdir -p /usr/src/tmp/pks-buildroot/usr/bin /usr/src/tmp/pks-buildroot/usr/sbin /usr/src/tmp/pks-buildroot/usr/share/pks /usr/src/tmp/pks-buildroot/etc /usr/src/tmp/pks-buildroot/usr/share/man/man5 /usr/src/tmp/pks-buildroot/usr/share/man/man8 mkdir -p /usr/src/tmp/pks-buildroot/var/lib/pks/db /usr/src/tmp/pks-buildroot/var/lib/pks/incoming for f in pksclient pksdctl pgpsplit; do /bin/install -c $f /usr/src/tmp/pks-buildroot/usr/bin; done for f in pksd; do /bin/install -c $f /usr/src/tmp/pks-buildroot/usr/sbin; done for f in pksd.conf; do [ -f /usr/src/tmp/pks-buildroot/etc/$f ] || /bin/install -c -m 0644 $f /usr/src/tmp/pks-buildroot/etc; done for f in pks-mail.sh pks-queue-run.sh; do /bin/install -c ./$f /usr/src/tmp/pks-buildroot/usr/bin; done for f in mail_intro pks_help.cz pks_help.de pks_help.dk pks_help.en pks_help.es pks_help.fi pks_help.fr pks_help.hr pks_help.ja pks_help.kr pks_help.no pks_help.pl pks_help.pt pks_help.se pks_help.tw; do /bin/install -c -m 0644 ./$f /usr/src/tmp/pks-buildroot/usr/share/pks; done for f in pksd.conf.5; do /bin/install -c -m 0644 ./$f /usr/src/tmp/pks-buildroot/usr/share/man/man5; done for f in pks-intro.8 pksclient.8 pksd.8 pksdctl.8; do /bin/install -c -m 0644 ./$f /usr/src/tmp/pks-buildroot/usr/share/man/man8; done /bin/install -c -m 0644 ./pks-commands.html /usr/src/tmp/pks-buildroot/var/lib/pks/index.html make: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6' + make DESTDIR=/usr/src/tmp/pks-buildroot install-utils make: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6' mkdir -p /usr/src/tmp/pks-buildroot/usr/bin /usr/src/tmp/pks-buildroot/usr/sbin /usr/src/tmp/pks-buildroot/usr/share/pks /usr/src/tmp/pks-buildroot/etc /usr/src/tmp/pks-buildroot/usr/share/man/man5 /usr/src/tmp/pks-buildroot/usr/share/man/man8 mkdir -p /usr/src/tmp/pks-buildroot/var/lib/pks/db /usr/src/tmp/pks-buildroot/var/lib/pks/incoming for f in pksmailreq wwwtest pgpdump kvcv kxa pkscheck pksdump; do /bin/install -c $f /usr/src/tmp/pks-buildroot/usr/bin; done make: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6' + install -pm 0755 -D /usr/src/RPM/SOURCES/pks.init /usr/src/tmp/pks-buildroot/etc/rc.d/init.d/pks + cp db2-sleepycat/LICENSE db2-sleepycat-LICENSE + cp db2-sleepycat/README db2-sleepycat-README + mkdir -p /usr/src/tmp/pks-buildroot/var/run/pks /usr/src/tmp/pks-buildroot/var/lib/pks/incoming /usr/src/tmp/pks-buildroot/var/lib/pks/db + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/pks-buildroot (auto) mode of 'usr/bin/db_stat' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_recover' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_printlog' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_load' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_dump' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_deadlock' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_checkpoint' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_archive' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/include/db2/db_cxx.h' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of 'usr/include/db2/db_185.h' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of 'usr/include/db2/db.h' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/pks-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/pks-buildroot/ (default) Compressing files in /usr/src/tmp/pks-buildroot (auto) Adjusting library links in /usr/src/tmp/pks-buildroot ./var/lib: 056-debuginfo.brp: WARNING: You have 8 stripped ELF objects. Please compile with debugging information! 056-debuginfo.brp: WARNING: An excerpt from the list of affected files follows: ./usr/bin/db_archive ./usr/bin/db_checkpoint ./usr/bin/db_deadlock ./usr/bin/db_dump ./usr/bin/db_load ./usr/bin/db_printlog ./usr/bin/db_recover ./usr/bin/db_stat Verifying ELF objects in /usr/src/tmp/pks-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: pks-0.9.6-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.19291 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pks-0.9.6 + DOCDIR=/usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + export DOCDIR + rm -rf /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + /bin/mkdir -p /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + cp -prL README NEWS LICENSE db2-sleepycat-LICENSE db2-sleepycat-README /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R go-w /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R a+rX /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + cp -prL mail_intro /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R go-w /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R a+rX /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + cp -prL pks_help.de pks_help.dk pks_help.en pks_help.es pks_help.fi pks_help.fr pks_help.no /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R go-w /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R a+rX /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + cp -prL MRHKP /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R go-w /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R a+rX /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.f448s3 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.W2Dshs find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Bareword found where operator expected at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 2, near "8bit" (Missing operator before bit?) Bareword found where operator expected at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 7, near ""Subject" radkou" (Missing operator before radkou?) String found where operator expected at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 7, near "radkou "HELP CZ"" (Do you need to predeclare radkou?) Bareword found where operator expected at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 7, near ""HELP CZ" na" (Missing operator before na?) Bareword found where operator expected at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 11, near ""HELP DK" til" (Missing operator before til?) syntax error at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 1, near "Type:" syntax error at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 1, near "format=" Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 9, at end of line Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 9, at end of line Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 9, at end of line Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 13, at end of line Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 13, at end of line Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 13, at end of line Unrecognized character \xFC; marked by <-- HERE after rman: F<-- HERE near column 15 at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 14. # /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl: deparse failed, isPerl=0, ok. find-requires: FINDPACKAGE-COMMANDS: cat rm sleep start-stop-daemon touch Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.D3FGw0 Requires: pks-db = 0.9.6-alt3, /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(action), /etc/rc.d/init.d(msg_already_running), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(passed), /etc/rc.d/init.d(status), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, coreutils, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), rtld(GNU_HASH), service Requires(interp): /bin/sh Requires(pre): /bin/sh, /usr/sbin/groupadd, /usr/sbin/useradd Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2YnvPC Creating pks-debuginfo package Processing files: pks-utils-0.9.6-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RTCXxi find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.y2I3H1 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: pks = 0.9.6-alt3, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HhvWuO Creating pks-utils-debuginfo package Processing files: pks-db-0.9.6-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wqbaDE find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dX1vqy find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: pks = 0.9.6-alt3, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CY6Iry Processing files: pks-db-devel-0.9.6-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XH3jvC find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.axVQhK find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/pks-buildroot/usr/include/db2/db_cxx.h:52:10: fatal error: iostream.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/pks-buildroot/usr/include/db2/db_cxx.h: cpp failed, trying c++ mode x86_64-alt-linux-cpp: error trying to exec 'cc1plus': execvp: No such file or directory cpp.req: WARNING: /usr/src/tmp/pks-buildroot/usr/include/db2/db_cxx.h: cpp failed Requires: pks = 0.9.6-alt3 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vMMjCV Processing files: pks-debuginfo-0.9.6-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CSqtja find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VQHNis find-requires: running scripts (debuginfo) Requires: pks = 0.9.6-alt3, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6) Processing files: pks-utils-debuginfo-0.9.6-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KvuxON find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZLRZKc find-requires: running scripts (debuginfo) Requires: pks-utils = 0.9.6-alt3, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6) Adding to pks-utils-debuginfo a strict dependency on pks-debuginfo Removing from pks-utils-debuginfo 161 sources provided by pks-debuginfo also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/btree also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/common also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/db also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/dist also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/hash also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/include also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/lock also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/log also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/mp also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/mutex also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/os also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/txn also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat Removing 7 extra deps from pks-utils due to repentancy on pks Removing 7 extra deps from pks due to repentancy on pks-db Removing 2 extra deps from pks-utils-debuginfo due to repentancy on pks-debuginfo Wrote: /usr/src/RPM/RPMS/x86_64/pks-0.9.6-alt3.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/pks-utils-0.9.6-alt3.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/pks-db-0.9.6-alt3.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/pks-db-devel-0.9.6-alt3.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/pks-debuginfo-0.9.6-alt3.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/pks-utils-debuginfo-0.9.6-alt3.x86_64.rpm 47.89user 14.74system 1:10.47elapsed 88%CPU (0avgtext+0avgdata 38668maxresident)k 0inputs+0outputs (0major+2411125minor)pagefaults 0swaps 50.18user 18.56system 1:16.66elapsed 89%CPU (0avgtext+0avgdata 38668maxresident)k 0inputs+0outputs (0major+2692333minor)pagefaults 0swaps