=> Building math/xgraph Started : Thursday, 19 APR 2018 at 01:40:45 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/construction/math/xgraph XDG_CONFIG_HOME=/construction/math/xgraph HOME=/construction/math/xgraph TMPDIR="/tmp" PATH=/construction/math/xgraph/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/construction/math/xgraph XDG_CONFIG_HOME=/construction/math/xgraph HOME=/construction/math/xgraph TMPDIR="/tmp" PATH=/construction/math/xgraph/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/math/xgraph/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/xgraph" EXAMPLESDIR="share/examples/xgraph" DATADIR="share/xgraph" WWWDIR="www/xgraph" ETCDIR="etc/xgraph" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The xgraph port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License XGRAPH accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> xgraph-11.3.2.20000910_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... 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 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The xgraph port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License XGRAPH accepted by the user ===> Fetching all distfiles required by xgraph-11.3.2.20000910_3 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The xgraph port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License XGRAPH accepted by the user ===> Fetching all distfiles required by xgraph-11.3.2.20000910_3 for building => SHA256 Checksum OK for xgraph-11.tar.Z. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The xgraph port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License XGRAPH accepted by the user ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for xgraph-11.3.2.20000910_3 ===> Applying ports patches for xgraph-11.3.2.20000910_3 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> 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 gccmakedep-1.0.3... `-- Extracting gccmakedep-1.0.3: .. done `-- Installing makedepend-1.0.5,1... | `-- Installing xproto-7.0.31... | `-- Extracting xproto-7.0.31: .......... done `-- Extracting makedepend-1.0.5,1: ..... done `-- Installing perl5-5.26.1... `-- Extracting perl5-5.26.1: .......... done `-- Installing xorg-cf-files-1.0.6... `-- Extracting xorg-cf-files-1.0.6: .......... done Extracting imake-1.0.7,1: .......... done Message from perl5-5.26.1: 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.2.txz Installing tradcpp-0.5.2... Extracting tradcpp-0.5.2: ..... 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.5,1.txz Installing libX11-1.6.5,1... `-- Installing kbproto-1.0.7... `-- Extracting kbproto-1.0.7: .......... done `-- Installing libXau-1.0.8_3... `-- Extracting libXau-1.0.8_3: .......... done `-- Installing libXdmcp-1.1.2... `-- Extracting libXdmcp-1.1.2: ......... done `-- Installing libxcb-1.12_2... | `-- Installing libpthread-stubs-0.4... | `-- Extracting libpthread-stubs-0.4: .... done | `-- Installing libxml2-2.9.7... | `-- Extracting libxml2-2.9.7: .......... done `-- Extracting libxcb-1.12_2: .......... done Extracting libX11-1.6.5,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 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> 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 --- 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) ^ --- hpgl.o --- 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: 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); ^ --- ps.o --- cc -pipe -O2 -fno-strict-aliasing -O -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c ps.c --- 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)) { ^ --- 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 --- 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); ^ --- 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 --- 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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for xgraph-11.3.2.20000910_3 ===> Generating temporary packing list /usr/bin/install -c -s xgraph /construction/math/xgraph/stage/usr/local/bin/xgraph install in . done /usr/bin/install -c -m 0444 xgraph._man /construction/math/xgraph/stage/usr/local/man/man1/xgraph.1 install.man in . done install -m 0644 /construction/math/xgraph/xgraph/examples/*.xg /construction/math/xgraph/stage/usr/local/share/examples/xgraph ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for xgraph-11.3.2.20000910_3 file sizes/checksums [10]: . done packing files [10]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 01:40:56 UTC Duration: 00:00:11