<86>Feb 3 01:45:27 userdel[109243]: delete user 'rooter' <86>Feb 3 01:45:27 groupadd[109258]: group added to /etc/group: name=rooter, GID=669 <86>Feb 3 01:45:27 groupadd[109258]: new group: name=rooter, GID=669 <86>Feb 3 01:45:27 useradd[109274]: new user: name=rooter, UID=669, GID=669, home=/root, shell=/bin/bash <86>Feb 3 01:45:27 userdel[109286]: delete user 'builder' <86>Feb 3 01:45:27 userdel[109286]: removed group 'builder' owned by 'builder' <86>Feb 3 01:45:27 userdel[109286]: removed shadow group 'builder' owned by 'builder' <86>Feb 3 01:45:27 groupadd[109300]: group added to /etc/group: name=builder, GID=670 <86>Feb 3 01:45:27 groupadd[109300]: group added to /etc/gshadow: name=builder <86>Feb 3 01:45:27 groupadd[109300]: new group: name=builder, GID=670 <86>Feb 3 01:45:27 useradd[109318]: new user: name=builder, UID=670, GID=670, home=/usr/src, shell=/bin/bash <13>Feb 3 01:45:29 rpmi: libwrap-1:7.6-alt11 1297041305 installed <13>Feb 3 01:45:29 rpmi: libwrap-devel-1:7.6-alt11 1297041305 installed <13>Feb 3 01:45:29 rpmi: rpm-build-compat-2.1.8-alt0.M80P.1 1534508708 installed Installing pks-0.9.6-alt1.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.25152 + 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.bz2):' Source #0 (pks-0.9.6.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/pks-0.9.6.tar.bz2 + /bin/tar -xf - + cd pks-0.9.6 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (mkpksdconf.in.patch):' Patch #0 (mkpksdconf.in.patch): + /usr/bin/patch -p0 patching file mkpksdconf.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.25152 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pks-0.9.6 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -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 + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + 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 --without-included-gettext --datadir=/usr/share/pks --sharedstatedir=/var/lib/pks --localstatedir=/var/lib/pks --with-libwrap creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking for gcc... gcc checking whether the C compiler (gcc -pipe -Wall -g -O2 ) works... yes checking whether the C compiler (gcc -pipe -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 checking for main in -lwrap... 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 --without-included-gettext --datadir=/usr/share/pks --sharedstatedir=/var/lib/pks --localstatedir=/var/lib/pks --with-libwrap --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 -Wall -g -O2 ) works... yes checking whether the C compiler (gcc -pipe -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 -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_compare.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_conv.c gcc -c -pipe -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' [-Wparentheses] if (cp->pgno == ppgno) ^ ../btree/bt_curadj.c:260:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (cp->dpgno == ppgno) ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_cursor.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_delete.c In file included from ../btree/bt_delete.c:59:0: ../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); ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_open.c In file included from ../btree/bt_open.c:61:0: ../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)); ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_page.c In file included from ../btree/bt_page.c:60:0: ../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; ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_put.c In file included from ../btree/bt_put.c:60:0: ../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; ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_rec.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_recno.c In file included from ../btree/bt_recno.c:22:0: ../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; ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_rsearch.c gcc -c -pipe -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' [-Wparentheses] if (epg->lock != LOCK_INVALID) ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_split.c In file included from ../btree/bt_split.c:58:0: ../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) ^ ../btree/bt_split.c:452:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((BOVERFLOW *)(child_bi->data))->pgno, 1)) != 0) ^ In file included from ../btree/bt_split.c:58: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) ^ ../btree/bt_split.c:631:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((BOVERFLOW *)(child_bi->data))->pgno, 1)) != 0) ^ In file included from ../btree/bt_split.c:58: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); ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_stat.c In file included from ../btree/bt_stat.c:21:0: ../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; ^ gcc -c -pipe -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 -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' [-Wparentheses] if (dbenv->lk_info != NULL) ^ ../db/db.c:279:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((ret = __db_open(real_name, flags | DB_EXCL, ^ ../db/db.c:379:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] retry: switch (((BTMETA *)mbuf)->magic) { ^ ../db/db.c:454:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] M_32_SWAP(((BTMETA *)mbuf)->magic); ^ ../db/db.c:454:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../db/db.c:454:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../db/db.c:454:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../db/db.c:454:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../db/db.c:572:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (need_fileid) ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_appinit.c gcc -c -pipe -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; ^ gcc -c -pipe -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' [-Wparentheses] if (ret != 0) ^ ../common/db_apprec.c:201:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (ret != 0) ^ gcc -c -pipe -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 -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_byteorder.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_conv.c In file included from ../db/db_conv.c:57:0: ../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)); ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_dispatch.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_dup.c In file included from ../db/db_dup.c:21:0: ../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; ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_err.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_iface.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_join.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_log2.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_overflow.c In file included from ../db/db_overflow.c:60:0: ../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) ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_pr.c In file included from ../db/db_pr.c:24:0: ../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 || ^ gcc -c -pipe -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' [-Wparentheses] 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' [-Wparentheses] if ((ret = memp_fget(mpf, &argp->pgno, 0, &pagep)) != 0) ^ In file included from ../db/db_rec.c:20:0: ../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' [-Wparentheses] 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' [-Wparentheses] 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' [-Wparentheses] if ((ret = memp_fget(mpf, &argp->nextpgno, 0, &pagep)) != 0) ^ gcc -c -pipe -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' [-Wparentheses] if ((ret = __db_mapregion(infop->name, infop)) != 0) ^ ../common/db_region.c:478:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] 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' [-Wparentheses] if (F_ISSET(infop, REGION_LASTDETACH)) ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_ret.c In file included from ../db/db_ret.c:21:0: ../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); ^ gcc -c -pipe -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' [-Wparentheses] if (!merged) ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_shash.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../dbm/dbm.c gcc -c -pipe -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' [-Wparentheses] if ((ret = __ham_lookup(dbc, key, 0, DB_LOCK_WRITE)) == 0) ^ In file included from ../hash/hash.c:61:0: ../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' [-Wparentheses] if (!F_ISSET(hcp, H_ISDUP)) ^ In file included from ../hash/hash.c:61:0: ./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' [-Wparentheses] if (F_ISSET(hcp, H_ISDUP)) ^ In file included from ../hash/hash.c:61:0: ../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' [-Wparentheses] if (lcp->dpgno == PGNO_INVALID) ^ gcc -c -pipe -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 -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_conv.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_dup.c In file included from ../hash/hash_dup.c:68:0: ../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)) { ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_func.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_page.c In file included from ../hash/hash_page.c:76:0: ../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' [-Wparentheses] if (hcp->dup_off != 0) ^ In file included from ../hash/hash_page.c:76:0: ../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) { ^ gcc -c -pipe -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' [-Wparentheses] 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' [-Wparentheses] if (ret != 0) ^ ../hash/hash_rec.c:263:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (ret != 0) ^ ../hash/hash_rec.c:310:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] 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' [-Wparentheses] 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' [-Wparentheses] 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' [-Wparentheses] 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' [-Wparentheses] if (ret != 0) ^ ../hash/hash_rec.c:911:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (ret != 0) ^ ../hash/hash_rec.c:941:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (ret != 0) ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_stat.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hsearch/hsearch.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_conflict.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_deadlock.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_util.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_region.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_archive.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_auto.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_compare.c gcc -c -pipe -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' [-Wparentheses] if ((ret = log_get(lp, &last_ckp, &data, DB_CHECKPOINT)) != 0) ^ gcc -c -pipe -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' [-Wparentheses] err1: if (!silent) ^ gcc -c -pipe -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' [-Wparentheses] if (!current && lp->s_lsn.file != 0) ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_rec.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_register.c gcc -c -pipe -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' [-Wparentheses] if (nr < (ssize_t)pagesize) ^ gcc -c -pipe -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' [-Wparentheses] if (dbmfp->addr != NULL && F_ISSET(mfp, MP_CAN_MMAP)) ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fopen.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fput.c In file included from ../mp/mp_fput.c:19:0: ../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' [-Wparentheses] if (F_ISSET(bhp, BH_WRITE)) ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fset.c In file included from ../mp/mp_fset.c:19:0: ../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)); ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_open.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_pr.c gcc -c -pipe -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' [-Wparentheses] if (cachesize < DB_CACHESIZE_MIN) ^ gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_sync.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mutex/mutex.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_abs.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_alloc.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_config.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_dir.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_fid.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_fsync.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_map.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_oflags.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_open.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_rpath.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_rw.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_seek.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_sleep.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_spin.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_stat.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_tmpdir.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_unlink.c gcc -c -pipe -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; ^ gcc -c -pipe -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 -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' gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../xa/xa.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../xa/xa_db.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../xa/xa_map.c /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 -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_archive/db_archive.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../clib/err.c gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../clib/getlong.c gcc -o db_archive db_archive.o err.o getlong.o libdb.a gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_checkpoint/db_checkpoint.c gcc -o db_checkpoint db_checkpoint.o err.o getlong.o libdb.a gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_deadlock/db_deadlock.c gcc -o db_deadlock db_deadlock.o err.o getlong.o libdb.a gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_dump/db_dump.c gcc -o db_dump db_dump.o err.o getlong.o libdb.a gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_load/db_load.c gcc -o db_load db_load.o err.o getlong.o libdb.a gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_printlog/db_printlog.c gcc -o db_printlog db_printlog.o err.o getlong.o libdb.a gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_recover/db_recover.c gcc -o db_recover db_recover.o err.o getlong.o libdb.a gcc -c -pipe -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_stat/db_stat.c 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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=1 -c -o kd_search.o kd_search.c kd_search.c: In function 'word_key_intersect': kd_search.c:931:29: 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", ^ gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=1 -c -o pksdctl.o pksdctl.c gcc -o pksdctl pksdctl.o -lwrap gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=1 -c -o mail_send.o mail_send.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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -lwrap 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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -lwrap 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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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 -DHAVE_LIBWRAP=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.12605 + 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 library: /usr/src/tmp/pks-buildroot/usr/lib/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--) mode of 'usr/lib/db2/libdb.a' 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) Compressing files in /usr/src/tmp/pks-buildroot (auto) Adjusting library links in /usr/src/tmp/pks-buildroot ./var/lib: ./usr/lib: 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-alt1.qa1 error: File not found by glob: /usr/src/tmp/pks-buildroot/usr/share/man/man5/*.5.gz error: File not found by glob: /usr/src/tmp/pks-buildroot/usr/share/man/man8/*.8.gz Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.72056 + 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 RPM build errors: File not found by glob: /usr/src/tmp/pks-buildroot/usr/share/man/man5/*.5.gz File not found by glob: /usr/src/tmp/pks-buildroot/usr/share/man/man8/*.8.gz Command exited with non-zero status 1 15.04user 3.07system 0:26.98elapsed 67%CPU (0avgtext+0avgdata 34732maxresident)k 0inputs+0outputs (0major+1243134minor)pagefaults 0swaps hsh-rebuild: rebuild of `pks-0.9.6-alt1.qa1.src.rpm' failed. Command exited with non-zero status 1 22.51user 5.37system 0:37.86elapsed 73%CPU (0avgtext+0avgdata 124828maxresident)k 0inputs+0outputs (0major+1535806minor)pagefaults 0swaps