=> Building math/xgraph build started at Tue Oct 4 22:42:35 PDT 2016 port directory: /usr/ports/math/xgraph building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: sanpei@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../07//usr/ports/math/xgraph/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=xgraph-11.3.2.20000910_3 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/math/xgraph XDG_CONFIG_HOME=/wrkdirs/math/xgraph HOME=/wrkdirs/math/xgraph TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/math/xgraph XDG_CONFIG_HOME=/wrkdirs/math/xgraph HOME=/wrkdirs/math/xgraph TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/xgraph" EXAMPLESDIR="share/examples/xgraph" DATADIR="share/xgraph" WWWDIR="www/xgraph" ETCDIR="etc/xgraph" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xgraph DOCSDIR=/usr/local/share/doc/xgraph EXAMPLESDIR=/usr/local/share/examples/xgraph WWWDIR=/usr/local/www/xgraph ETCDIR=/usr/local/etc/xgraph --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> xgraph-11.3.2.20000910_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> xgraph-11.3.2.20000910_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xgraph-11.3.2.20000910_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by xgraph-11.3.2.20000910_3 for building =========================================================================== =================================================== ===> Fetching all distfiles required by xgraph-11.3.2.20000910_3 for building => SHA256 Checksum OK for xgraph-11.tar.Z. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by xgraph-11.3.2.20000910_3 for building ===> Extracting for xgraph-11.3.2.20000910_3 => SHA256 Checksum OK for xgraph-11.tar.Z. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for xgraph-11.3.2.20000910_3 ===> Applying ports patches for xgraph-11.3.2.20000910_3 =========================================================================== =================================================== ===> xgraph-11.3.2.20000910_3 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.7,1.txz Installing imake-1.0.7,1... `-- Installing xproto-7.0.28... `-- Extracting xproto-7.0.28: .......... done `-- Installing gccmakedep-1.0.3... `-- Extracting gccmakedep-1.0.3: .. done `-- Installing makedepend-1.0.5,1... `-- Extracting makedepend-1.0.5,1: .. done `-- Installing perl5-5.20.3_15... `-- Extracting perl5-5.20.3_15: .......... done `-- Installing xorg-cf-files-1.0.5_1... `-- Extracting xorg-cf-files-1.0.5_1: .......... done Extracting imake-1.0.7,1: .......... done Message from perl5-5.20.3_15: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> xgraph-11.3.2.20000910_3 depends on executable: imake - found ===> Returning to build of xgraph-11.3.2.20000910_3 ===> xgraph-11.3.2.20000910_3 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.1.txz Installing tradcpp-0.5.1... Extracting tradcpp-0.5.1: ..... done ===> xgraph-11.3.2.20000910_3 depends on executable: tradcpp - found ===> Returning to build of xgraph-11.3.2.20000910_3 ===> xgraph-11.3.2.20000910_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.6.3,1.txz Installing libX11-1.6.3,1... `-- Installing kbproto-1.0.7... `-- Extracting kbproto-1.0.7: .......... done `-- Installing libXdmcp-1.1.2... `-- Extracting libXdmcp-1.1.2: ......... done `-- Installing libxcb-1.11.1... | `-- Installing libxml2-2.9.4... | `-- Extracting libxml2-2.9.4: .......... done | `-- Installing libpthread-stubs-0.3_6... | `-- Extracting libpthread-stubs-0.3_6: ..... done | `-- Installing libXau-1.0.8_3... | `-- Extracting libXau-1.0.8_3: .......... done `-- Extracting libxcb-1.11.1: .......... done Extracting libX11-1.6.3,1: .......... done ===> xgraph-11.3.2.20000910_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xgraph-11.3.2.20000910_3 ===> xgraph-11.3.2.20000910_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.3_1,1.txz Installing libXext-1.3.3_1,1... `-- Installing xextproto-7.3.0... `-- Extracting xextproto-7.3.0: .......... done Extracting libXext-1.3.3_1,1: .......... done ===> xgraph-11.3.2.20000910_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of xgraph-11.3.2.20000910_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for xgraph-11.3.2.20000910_3 mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- xgraph.c xgX.c hard_devices.c dialog.c hpgl.c ps.c idraw.c xtb.c st.c params.c > .depend =========================================================================== =================================================== ===> Building for xgraph-11.3.2.20000910_3 --- xgraph.o --- --- xgX.o --- --- hard_devices.o --- --- dialog.o --- --- hpgl.o --- --- xgraph.o --- cc -pipe -O2 -fno-strict-aliasing -O -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xgraph.c --- xgX.o --- cc -pipe -O2 -fno-strict-aliasing -O -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xgX.c --- hard_devices.o --- cc -pipe -O2 -fno-strict-aliasing -O -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c hard_devices.c --- dialog.o --- cc -pipe -O2 -fno-strict-aliasing -O -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c dialog.c --- hpgl.o --- cc -pipe -O2 -fno-strict-aliasing -O -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c hpgl.c hpgl.c: In function 'hpglInit': hpgl.c:77:27: warning: return makes integer from pointer without a cast [-Wint-conversion] if(myInfo == NULL) return(NULL); ^ --- xgraph.o --- xgraph.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ xgraph.c: In function 'main': xgraph.c:315:5: warning: implicit declaration of function 'InitSets' [-Wimplicit-function-declaration] InitSets(); ^ xgraph.c:318:5: warning: implicit declaration of function 'ReadDefaults' [-Wimplicit-function-declaration] ReadDefaults(); ^ xgraph.c:321:5: warning: implicit declaration of function 'ParseArgs' [-Wimplicit-function-declaration] ParseArgs(argc, argv, 0); ^ xgraph.c:336:22: warning: implicit declaration of function 'ReadData' [-Wimplicit-function-declaration] if ((maxitems = ReadData(strm, inFileNames[idx])) < 0) { ^ xgraph.c:422:3: warning: implicit declaration of function 'DrawWindow' [-Wimplicit-function-declaration] DrawWindow(win_info); ^ xgraph.c:441:7: warning: implicit declaration of function 'DelWindow' [-Wimplicit-function-declaration] DelWindow(theEvent.xkey.window, win_info); ^ xgraph.c:446:7: warning: implicit declaration of function 'PrintWindow' [-Wimplicit-function-declaration] PrintWindow(theEvent.xany.window, win_info); ^ xgraph.c:455:21: warning: implicit declaration of function 'HandleZoom' [-Wimplicit-function-declaration] Num_Windows += HandleZoom(Window_Name, ^ xgraph.c: In function 'abt_func': xgraph.c:638:2: warning: implicit declaration of function 'msg_box' [-Wimplicit-function-declaration] msg_box("XGraph", msg_buf); ^ In file included from xgraph.h:15:0, from xgout.h:8, from xgraph.c:19: xgraph.c: In function 'NewWindow': /usr/local/include/X11/Xutil.h:359:44: warning: implicit declaration of function 'XrmUniqueQuark' [-Wimplicit-function-declaration] #define XUniqueContext() ((XContext) XrmUniqueQuark()) ^ xgraph.c:808:20: note: in expansion of macro 'XUniqueContext' win_context = XUniqueContext(); ^ xgraph.c: At top level: xgraph.c:819:1: warning: return type defaults to 'int' [-Wimplicit-int] DelWindow(win, win_info) ^ xgraph.c:838:1: warning: return type defaults to 'int' [-Wimplicit-int] PrintWindow(win, win_info) ^ xgraph.c: In function 'DrawWindow': xgraph.c:1626:9: warning: implicit declaration of function 'TransformCompute' [-Wimplicit-function-declaration] if (TransformCompute(win_info)) { ^ xgraph.c:1629:2: warning: implicit declaration of function 'DrawTitle' [-Wimplicit-function-declaration] DrawTitle(win_info); ^ xgraph.c:1632:2: warning: implicit declaration of function 'DrawLegend' [-Wimplicit-function-declaration] DrawLegend(win_info); ^ xgraph.c:1635:2: warning: implicit declaration of function 'DrawGridAndAxis' [-Wimplicit-function-declaration] DrawGridAndAxis(win_info); ^ xgraph.c:1638:2: warning: implicit declaration of function 'DrawData' [-Wimplicit-function-declaration] DrawData(win_info); ^ xgraph.c: At top level: xgraph.c:1645:1: warning: return type defaults to 'int' [-Wimplicit-int] DrawTitle(wi) ^ xgraph.c: In function 'DrawGridAndAxis': xgraph.c:1843:15: warning: implicit declaration of function 'getDigits' [-Wimplicit-function-declaration] Ydigits = getDigits(wi->UsrOrgY, wi->UsrOppY, Yincr, expY, logYFlag); ^ xgraph.c:1852:2: warning: implicit declaration of function 'WriteValue' [-Wimplicit-function-declaration] WriteValue(value, Yindex, expY, logYFlag, Ydigits); ^ --- dialog.o --- dialog.c: In function 'make_msg_box': dialog.c:705:12: warning: implicit declaration of function 'get_line' [-Wimplicit-function-declaration] while (get_line(&lineptr, line)) { ^ --- ps.o --- cc -pipe -O2 -fno-strict-aliasing -O -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c ps.c --- idraw.o --- cc -pipe -O2 -fno-strict-aliasing -O -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c idraw.c --- xtb.o --- cc -pipe -O2 -fno-strict-aliasing -O -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xtb.c --- st.o --- cc -pipe -O2 -fno-strict-aliasing -O -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c st.c --- xtb.o --- In file included from xtb.c:19:0: xtb.c: In function 'xtb_register': /usr/local/include/X11/Xutil.h:359:44: warning: implicit declaration of function 'XrmUniqueQuark' [-Wimplicit-function-declaration] #define XUniqueContext() ((XContext) XrmUniqueQuark()) ^ xtb.c:185:14: note: in expansion of macro 'XUniqueContext' h_context = XUniqueContext(); ^ xtb.c: At top level: xtb.c:770:1: warning: return type defaults to 'int' [-Wimplicit-int] focus_evt(evt) ^ xtb.c: In function 'focus_evt': xtb.c:775:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf("NotifyNormal"); ^ xtb.c:775:2: warning: incompatible implicit declaration of built-in function 'printf' xtb.c:775:2: note: include '' or provide a declaration of 'printf' xtb.c:784:5: warning: incompatible implicit declaration of built-in function 'printf' printf(", detail = "); ^ xtb.c:784:5: note: include '' or provide a declaration of 'printf' xtb.c: In function 'xtb_hort': xtb.c:1093:20: warning: incompatible implicit declaration of built-in function 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1140:6: note: in expansion of macro 'ERROR' ERROR("too many branches\n"); ^ xtb.c:1093:20: note: include '' or provide a declaration of 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1140:6: note: in expansion of macro 'ERROR' ERROR("too many branches\n"); ^ xtb.c: In function 'xtb_vert': xtb.c:1093:20: warning: incompatible implicit declaration of built-in function 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1178:6: note: in expansion of macro 'ERROR' ERROR("too many branches\n"); ^ xtb.c:1093:20: note: include '' or provide a declaration of 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1178:6: note: in expansion of macro 'ERROR' ERROR("too many branches\n"); ^ xtb.c: In function 'xtb_fmt_setpos': xtb.c:1093:20: warning: incompatible implicit declaration of built-in function 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1205:2: note: in expansion of macro 'ERROR' ERROR("bad type"); ^ xtb.c:1093:20: note: include '' or provide a declaration of 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1205:2: note: in expansion of macro 'ERROR' ERROR("bad type"); ^ xtb.c: In function 'xtb_fmt_addpos': xtb.c:1093:20: warning: incompatible implicit declaration of built-in function 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1230:2: note: in expansion of macro 'ERROR' ERROR("bad type"); ^ xtb.c:1093:20: note: include '' or provide a declaration of 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1230:2: note: in expansion of macro 'ERROR' ERROR("bad type"); ^ xtb.c: In function 'xtb_fmt_top': xtb.c:1093:20: warning: incompatible implicit declaration of built-in function 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1358:6: note: in expansion of macro 'ERROR' ERROR("bad direction"); ^ xtb.c:1093:20: note: include '' or provide a declaration of 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1358:6: note: in expansion of macro 'ERROR' ERROR("bad direction"); ^ xtb.c:1093:20: warning: incompatible implicit declaration of built-in function 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1367:2: note: in expansion of macro 'ERROR' ERROR("bad type"); ^ xtb.c:1093:20: note: include '' or provide a declaration of 'printf' #define ERROR(msg) printf("%s\n", msg); abort(); ^ xtb.c:1367:2: note: in expansion of macro 'ERROR' ERROR("bad type"); ^ --- params.o --- cc -pipe -O2 -fno-strict-aliasing -O -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c params.c --- xgraph._man --- rm -f xgraph._man if test -z "" ; then cd `dirname xgraph` && ln -s `basename xgraph.man` `basename xgraph._man`; else tradcpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xgraph.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xgraph._man; fi --- st.o --- st.c: In function 'st_lookup': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^ st.c:144:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:18: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:144:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:29: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:144:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:35: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:144:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^ st.c:121:33: note: in expansion of macro 'EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^ st.c:126:12: note: in expansion of macro 'PTR_NOT_EQUAL' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^ st.c:146:5: note: in expansion of macro 'FIND_ENTRY' FIND_ENTRY(table, hash_val, key, ptr, last); ^ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^ st.c:121:33: note: in expansion of macro 'EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^ st.c:126:12: note: in expansion of macro 'PTR_NOT_EQUAL' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^ st.c:146:5: note: in expansion of macro 'FIND_ENTRY' FIND_ENTRY(table, hash_val, key, ptr, last); ^ st.c: In function 'st_insert': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^ st.c:187:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:18: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:187:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:29: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:187:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:35: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:187:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^ st.c:121:33: note: in expansion of macro 'EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^ st.c:126:12: note: in expansion of macro 'PTR_NOT_EQUAL' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^ st.c:189:5: note: in expansion of macro 'FIND_ENTRY' FIND_ENTRY(table, hash_val, key, ptr, last); ^ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^ st.c:121:33: note: in expansion of macro 'EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^ st.c:126:12: note: in expansion of macro 'PTR_NOT_EQUAL' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^ st.c:189:5: note: in expansion of macro 'FIND_ENTRY' FIND_ENTRY(table, hash_val, key, ptr, last); ^ st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:192:2: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table,key,value,hash_val,new); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:18: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:192:2: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table,key,value,hash_val,new); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:29: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:192:2: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table,key,value,hash_val,new); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:35: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:192:2: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table,key,value,hash_val,new); ^ st.c: In function 'st_add_direct': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^ st.c:209:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:18: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:209:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:29: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:209:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:35: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:209:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:210:5: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table, key, value, hash_val, new); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:18: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:210:5: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table, key, value, hash_val, new); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:29: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:210:5: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table, key, value, hash_val, new); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:35: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:210:5: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table, key, value, hash_val, new); ^ st.c: In function 'st_find_or_add': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^ st.c:222:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:18: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:222:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:29: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:222:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:35: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:222:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^ st.c:121:33: note: in expansion of macro 'EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^ st.c:126:12: note: in expansion of macro 'PTR_NOT_EQUAL' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^ st.c:224:5: note: in expansion of macro 'FIND_ENTRY' FIND_ENTRY(table, hash_val, key, ptr, last); ^ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^ st.c:121:33: note: in expansion of macro 'EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^ st.c:126:12: note: in expansion of macro 'PTR_NOT_EQUAL' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^ st.c:224:5: note: in expansion of macro 'FIND_ENTRY' FIND_ENTRY(table, hash_val, key, ptr, last); ^ st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:227:2: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table, key, (char *)0, hash_val, new); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:18: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:227:2: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table, key, (char *)0, hash_val, new); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:29: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:227:2: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table, key, (char *)0, hash_val, new); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:35: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:160:13: note: in expansion of macro 'do_hash' hash_val = do_hash(key,table);\ ^ st.c:227:2: note: in expansion of macro 'ADD_DIRECT' ADD_DIRECT(table, key, (char *)0, hash_val, new); ^ st.c: In function 'st_find': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^ st.c:245:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:18: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:245:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:29: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:245:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:35: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:245:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^ st.c:121:33: note: in expansion of macro 'EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^ st.c:126:12: note: in expansion of macro 'PTR_NOT_EQUAL' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^ st.c:247:5: note: in expansion of macro 'FIND_ENTRY' FIND_ENTRY(table, hash_val, key, ptr, last); ^ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^ st.c:121:33: note: in expansion of macro 'EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^ st.c:126:12: note: in expansion of macro 'PTR_NOT_EQUAL' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^ st.c:247:5: note: in expansion of macro 'FIND_ENTRY' FIND_ENTRY(table, hash_val, key, ptr, last); ^ st.c: In function 'rehash': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^ st.c:287:17: note: in expansion of macro 'do_hash' hash_val = do_hash(ptr->key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:18: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:287:17: note: in expansion of macro 'do_hash' hash_val = do_hash(ptr->key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:29: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:287:17: note: in expansion of macro 'do_hash' hash_val = do_hash(ptr->key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:35: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:287:17: note: in expansion of macro 'do_hash' hash_val = do_hash(ptr->key, table); ^ st.c: In function 'st_delete': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^ st.c:349:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:18: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:349:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:29: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:349:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:35: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^ st.c:349:16: note: in expansion of macro 'do_hash' hash_val = do_hash(key, table); ^ st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^ st.c:121:33: note: in expansion of macro 'EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^ st.c:126:12: note: in expansion of macro 'PTR_NOT_EQUAL' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^ st.c:351:5: note: in expansion of macro 'FIND_ENTRY' FIND_ENTRY(table, hash_val, key, ptr ,last); ^ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^ st.c:121:33: note: in expansion of macro 'EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^ st.c:126:12: note: in expansion of macro 'PTR_NOT_EQUAL' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^ st.c:351:5: note: in expansion of macro 'FIND_ENTRY' FIND_ENTRY(table, hash_val, key, ptr ,last); ^ st.c: In function 'st_numhash': st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:18: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:416:12: note: in expansion of macro 'ST_NUMHASH' return ST_NUMHASH(x, size); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:29: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:416:12: note: in expansion of macro 'ST_NUMHASH' return ST_NUMHASH(x, size); ^ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ^ st.c:23:35: note: in definition of macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:416:12: note: in expansion of macro 'ST_NUMHASH' return ST_NUMHASH(x, size); ^ st.c: In function 'st_ptrhash': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^ st.c:423:12: note: in expansion of macro 'ST_PTRHASH' return ST_PTRHASH(x, size); ^ st.c: In function 'st_numcmp': st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:430:12: note: in expansion of macro 'ST_NUMCMP' return ST_NUMCMP(x, y); ^ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:430:12: note: in expansion of macro 'ST_NUMCMP' return ST_NUMCMP(x, y); ^ st.c: In function 'st_ptrcmp': st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:437:12: note: in expansion of macro 'ST_NUMCMP' return ST_NUMCMP(x, y); ^ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^ st.c:437:12: note: in expansion of macro 'ST_NUMCMP' return ST_NUMCMP(x, y); ^ --- params.o --- params.c: In function 'do_font': params.c:324:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int) (*font_info = XLoadQueryFont(param_disp, name)); ^ --- xgraph --- rm -f xgraph cc -o xgraph -O -L/usr/local/lib xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idraw.o xtb.o st.o params.o -lXext -lX11 -lm -Wl,-rpath,/usr/local/lib =========================================================================== =================================================== ===> xgraph-11.3.2.20000910_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xgraph-11.3.2.20000910_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found =========================================================================== =================================================== ===> Staging for xgraph-11.3.2.20000910_3 ===> Generating temporary packing list /usr/bin/install -c -s xgraph /wrkdirs/math/xgraph/stage/usr/local/bin/xgraph install in . done /usr/bin/install -c -m 0444 xgraph._man /wrkdirs/math/xgraph/stage/usr/local/man/man1/xgraph.1 install.man in . done install -m 0644 /wrkdirs/math/xgraph/xgraph/examples/*.xg /wrkdirs/math/xgraph/stage/usr/local/share/examples/xgraph ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for xgraph-11.3.2.20000910_3 file sizes/checksums [7]: . done packing files [7]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for xgraph-11.3.2.20000910_3 build of math/xgraph ended at Tue Oct 4 22:42:42 PDT 2016 build time: 00:00:07