=>> Building math/xgraph build started at Mon Apr 1 08:26:25 BST 2024 port directory: /usr/ports/math/xgraph package name: xgraph-11.3.2.20000910_5 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: bofh@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 950 Feb 8 11:33 /usr/ports/math/xgraph/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: e427ab10bf Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 06 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for xgraph-11.3.2.20000910_5: EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- bofh@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/math/xgraph/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/xgraph/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/xgraph/work/.cache HOME=/wrkdirs/usr/ports/math/xgraph/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/math/xgraph/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/xgraph/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/math/xgraph/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/xgraph/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/xgraph/work/.cache HOME=/wrkdirs/usr/ports/math/xgraph/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/math/xgraph/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/xgraph/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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" --End MAKE_ENV-- --PLIST_SUB-- PORTEXAMPLES="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib 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 PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xgraph-11.3.2.20000910_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> xgraph-11.3.2.20000910_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xgraph-11.3.2.20000910_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by xgraph-11.3.2.20000910_5 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by xgraph-11.3.2.20000910_5 for building => SHA256 Checksum OK for xgraph-11.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by xgraph-11.3.2.20000910_5 for building ===> Extracting for xgraph-11.3.2.20000910_5 => SHA256 Checksum OK for xgraph-11.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for xgraph-11.3.2.20000910_5 ===> Applying FreeBSD patches for xgraph-11.3.2.20000910_5 from /usr/ports/math/xgraph/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xgraph-11.3.2.20000910_5 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg-builder.dan.net.uk] Installing imake-1.0.10_1,1... [pkg-builder.dan.net.uk] `-- Installing gccmakedep-1.0.4... [pkg-builder.dan.net.uk] `-- Extracting gccmakedep-1.0.4: .. done [pkg-builder.dan.net.uk] `-- Installing makedepend-1.0.9,1... [pkg-builder.dan.net.uk] `-- Extracting makedepend-1.0.9,1: .. done [pkg-builder.dan.net.uk] `-- Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] `-- Extracting perl5-5.36.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing xorg-cf-files-1.0.8_1... [pkg-builder.dan.net.uk] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg-builder.dan.net.uk] Extracting imake-1.0.10_1,1: .......... done ===> xgraph-11.3.2.20000910_5 depends on executable: imake - found ===> Returning to build of xgraph-11.3.2.20000910_5 ===> xgraph-11.3.2.20000910_5 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg-builder.dan.net.uk] Installing tradcpp-0.5.3... [pkg-builder.dan.net.uk] Extracting tradcpp-0.5.3: .. done ===> xgraph-11.3.2.20000910_5 depends on executable: tradcpp - found ===> Returning to build of xgraph-11.3.2.20000910_5 ===> xgraph-11.3.2.20000910_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.7_1,1.pkg [pkg-builder.dan.net.uk] Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] Extracting libX11-1.8.7_1,1: .......... done ===> xgraph-11.3.2.20000910_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xgraph-11.3.2.20000910_5 ===> xgraph-11.3.2.20000910_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [pkg-builder.dan.net.uk] Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] Extracting libXext-1.3.6,1: .......... done ===> xgraph-11.3.2.20000910_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of xgraph-11.3.2.20000910_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xgraph-11.3.2.20000910_5 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 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xgraph-11.3.2.20000910_5 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xgraph.c -o xgraph.o xgraph.c:277:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ xgraph.c:315:5: warning: implicit declaration of function 'InitSets' is invalid in C99 [-Wimplicit-function-declaration] InitSets(); ^ xgraph.c:318:5: warning: implicit declaration of function 'ReadDefaults' is invalid in C99 [-Wimplicit-function-declaration] ReadDefaults(); ^ xgraph.c:321:5: warning: implicit declaration of function 'ParseArgs' is invalid in C99 [-Wimplicit-function-declaration] ParseArgs(argc, argv, 0); ^ xgraph.c:336:22: warning: implicit declaration of function 'ReadData' is invalid in C99 [-Wimplicit-function-declaration] if ((maxitems = ReadData(strm, inFileNames[idx])) < 0) { ^ xgraph.c:343:18: warning: implicit declaration of function 'ReadData' is invalid in C99 [-Wimplicit-function-declaration] if ((maxitems = ReadData(stdin, (char *) 0)) < 0) { ^ xgraph.c:423:3: warning: implicit declaration of function 'DrawWindow' is invalid in C99 [-Wimplicit-function-declaration] DrawWindow(win_info); ^ xgraph.c:443:7: warning: implicit declaration of function 'DelWindow' is invalid in C99 [-Wimplicit-function-declaration] DelWindow(theEvent.xkey.window, win_info); ^ xgraph.c:448:7: warning: implicit declaration of function 'PrintWindow' is invalid in C99 [-Wimplicit-function-declaration] PrintWindow(theEvent.xany.window, win_info); ^ xgraph.c:457:21: warning: implicit declaration of function 'HandleZoom' is invalid in C99 [-Wimplicit-function-declaration] Num_Windows += HandleZoom(Window_Name, ^ xgraph.c:386:28: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] xtb_init(disp, screen, PM_PIXEL("Foreground"), PM_PIXEL("Background"), ^ ~~~~~~~~~~~~~~~~~~~~~~ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ ^ xgraph.c:393:4: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] PM_DBL("XLowLimit"), PM_DBL("YLowLimit"), ^ ~~~~~~~~~~~~~~~~~~~ ./params.h:120:18: note: expanded from macro 'PM_DBL' ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ ^ xgraph.c:588:6: warning: implicit declaration of function 'DelWindow' is invalid in C99 [-Wimplicit-function-declaration] DelWindow(the_win, win_info); ^ xgraph.c:611:2: warning: implicit declaration of function 'PrintWindow' is invalid in C99 [-Wimplicit-function-declaration] PrintWindow(the_win, win_info); ^ xgraph.c:640:2: warning: implicit declaration of function 'msg_box' is invalid in C99 [-Wimplicit-function-declaration] msg_box("XGraph", msg_buf); ^ xgraph.c:810:20: warning: implicit declaration of function 'XrmUniqueQuark' is invalid in C99 [-Wimplicit-function-declaration] win_context = XUniqueContext(); ^ /usr/local/include/X11/Xutil.h:359:44: note: expanded from macro 'XUniqueContext' #define XUniqueContext() ((XContext) XrmUniqueQuark()) ^ xgraph.c:821:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DelWindow(win, win_info) ^ xgraph.c:838:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xgraph.c:840:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintWindow(win, win_info) ^ xgraph.c:850:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xgraph.c:977:3: warning: implicit declaration of function 'DrawWindow' is invalid in C99 [-Wimplicit-function-declaration] DrawWindow(wi); ^ xgraph.c:908:22: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] gcvals.foreground = PM_PIXEL("ZeroColor") ^ PM_PIXEL("Background"); ^ ~~~~~~~~~~~~~~~~~~~~~~ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ ^ xgraph.c:1088:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xgraph.c:1108:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("Debug", BOOL); ^~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1108:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1108:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1109:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("Geometry", STR); ^~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1109:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1109:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1110:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("Background", PIXEL); ^~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1110:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1110:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1111:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("BorderSize", INT); ^~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1111:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1111:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1112:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("Border", PIXEL); ^~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1112:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1112:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1113:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("GridSize", INT); ^~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1113:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1113:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1114:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("GridStyle", STYLE); ^~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1114:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1114:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1115:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("Foreground", PIXEL); ^~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1115:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1115:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1116:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("ZeroColor", PIXEL); ^~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1116:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1116:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1117:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("ZeroStyle", STYLE); ^~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1117:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1117:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1118:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("ZeroWidth", INT); ^~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1118:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1118:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1119:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("LabelFont", FONT); ^~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1119:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1119:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1120:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("TitleFont", FONT); ^~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1120:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1120:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1121:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("Ticks", BOOL); ^~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1121:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1121:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1122:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("Device", STR); ^~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1122:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1122:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1123:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("Disposition", STR); ^~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1123:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1123:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1124:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("FileOrDev", STR); ^~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1124:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1124:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1125:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("PixelMarkers", BOOL); ^~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1125:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1125:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1126:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("LargePixels", BOOL); ^~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1126:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1126:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1127:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("Markers", BOOL); ^~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1127:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1127:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1128:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("StyleMarkers", BOOL); ^~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1128:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1128:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1129:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("BoundBox", BOOL); ^~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1129:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1129:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1130:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("NoLines", BOOL); ^~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1130:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1130:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1131:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("LineWidth", INT); ^~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1131:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1131:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1136:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF(newname, DBL); /* hard_devices[idx].dev_max_dim */ ^~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1136:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1136:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1138:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF(newname, STR); /* hard_devices[idx].dev_title_font */ ^~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1138:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1138:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1140:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF(newname, DBL); /* hard_devices[idx].dev_title_size */ ^~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1140:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1140:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1142:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF(newname, STR); /* hard_devices[idx].dev_axis_font */ ^~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1142:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1142:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1144:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF(newname, DBL); /* hard_devices[idx].dev_axis_size */ ^~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1144:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1144:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1151:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF(newname, STYLE); /* AllAttrs[idx].lineStyleLen */ ^~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1151:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1151:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1153:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF(newname, PIXEL); /* AllAttrs[idx].pixelValue */ ^~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1153:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1153:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1156:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] DEF("ReverseVideo", BOOL); ^~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1156:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1156:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' if (def_str = XGetDefault(disp, Prog_Name, name)) { \ ^ xgraph.c:1157:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xgraph.c:1251:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hi = index(argv[idx+1], ',')) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1251:14: note: place parentheses around the assignment to silence this warning if (hi = index(argv[idx+1], ',')) { ^ ( ) xgraph.c:1251:14: note: use '==' to turn this assignment into an equality comparison if (hi = index(argv[idx+1], ',')) { ^ == xgraph.c:1272:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hi = index(argv[idx+1], ',')) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1272:14: note: place parentheses around the assignment to silence this warning if (hi = index(argv[idx+1], ',')) { ^ ( ) xgraph.c:1272:14: note: use '==' to turn this assignment into an equality comparison if (hi = index(argv[idx+1], ',')) { ^ == xgraph.c:1324:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xgraph.c:1628:9: warning: implicit declaration of function 'TransformCompute' is invalid in C99 [-Wimplicit-function-declaration] if (TransformCompute(win_info)) { ^ xgraph.c:1631:2: warning: implicit declaration of function 'DrawTitle' is invalid in C99 [-Wimplicit-function-declaration] DrawTitle(win_info); ^ xgraph.c:1634:2: warning: implicit declaration of function 'DrawLegend' is invalid in C99 [-Wimplicit-function-declaration] DrawLegend(win_info); ^ xgraph.c:1637:2: warning: implicit declaration of function 'DrawGridAndAxis' is invalid in C99 [-Wimplicit-function-declaration] DrawGridAndAxis(win_info); ^ xgraph.c:1640:2: warning: implicit declaration of function 'DrawData' is invalid in C99 [-Wimplicit-function-declaration] DrawData(win_info); ^ xgraph.c:1642:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xgraph.c:1647:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DrawTitle(wi) ^ xgraph.c:1661:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ xgraph.c:1845:15: warning: implicit declaration of function 'getDigits' is invalid in C99 [-Wimplicit-function-declaration] Ydigits = getDigits(wi->UsrOrgY, wi->UsrOppY, Yincr, expY, logYFlag); ^ xgraph.c:1854:2: warning: implicit declaration of function 'WriteValue' is invalid in C99 [-Wimplicit-function-declaration] WriteValue(value, Yindex, expY, logYFlag, Ydigits); ^ xgraph.c:1873:2: warning: implicit declaration of function 'WriteValue' is invalid in C99 [-Wimplicit-function-declaration] WriteValue(value, Xindex, expX, logXFlag, Xdigits); ^ xgraph.c:1965:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ xgraph.c:2087:9: warning: implicit declaration of function 'WriteValue' is invalid in C99 [-Wimplicit-function-declaration] WriteValue(str1, start, expv, logFlag, digits); ^ xgraph.c:2148:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xgraph.c:2354:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ xgraph.c:2410:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 75 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xgX.c -o xgX.o xgX.c:367:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] gc = segGC(st->win, PM_PIXEL("Foreground"), ^ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ ^ xgX.c:370:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] gc = segGC(st->win, PM_PIXEL("Foreground"), ^ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ ^ xgX.c:378:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] gc = segGC(st->win, PM_PIXEL("ZeroColor"), ^ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ ^ xgX.c:381:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] gc = segGC(st->win, PM_PIXEL("ZeroColor"), ^ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c hard_devices.c -o hard_devices.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c dialog.c -o dialog.o dialog.c:705:12: warning: implicit declaration of function 'get_line' is invalid in C99 [-Wimplicit-function-declaration] while (get_line(&lineptr, line)) { ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c hpgl.c -o hpgl.o hpgl.c:77:27: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion] if(myInfo == NULL) return(NULL); ^~~~~~ hpgl.c:258:45: warning: invalid conversion specifier 'D' [-Wformat-invalid-specifier] fprintf(userState->plotterFile,"PD,PA%d,%D;PA%d,%D;PA%d,%d;\n", ~^ hpgl.c:258:53: warning: invalid conversion specifier 'D' [-Wformat-invalid-specifier] fprintf(userState->plotterFile,"PD,PA%d,%D;PA%d,%D;PA%d,%d;\n", ~^ hpgl.c:261:5: warning: data argument not used by format string [-Wformat-extra-args] MAPX(userState,ulx),MAPY(userState,uly) ); ^ hpgl.c:7:23: note: expanded from macro 'MAPX' #define MAPX(state,x) ( (x) + P1X + state->clipminX ) ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c ps.c -o ps.o ps.c:227:6: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 0, 0, ^ ps.c:227:9: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 0, 0, ^ ps.c:228:6: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] (int) (((double) width) / ^~~~~~~~~~~~~~~~~~~~~~~~~ ps.c:230:6: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] (int) (((double) height) / ^~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c idraw.c -o idraw.o idraw.c:348:31: warning: implicit conversion from 'int' to 'short' changes value from 65535 to -1 [-Wconstant-conversion] to_style = style == L_AXIS ? 65535 ~ ^~~~~ idraw.c:349:23: warning: implicit conversion from 'int' to 'short' changes value from 65535 to -1 [-Wconstant-conversion] : style == L_ZERO ? 65535 ^~~~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xtb.c -o xtb.o xtb.c:102:55: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!XQueryBestStipple(disp, able, width, height, &w, &h)) { ^~ /usr/local/include/X11/Xlib.h:2958:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ xtb.c:102:59: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!XQueryBestStipple(disp, able, width, height, &w, &h)) { ^~ /usr/local/include/X11/Xlib.h:2960:1: note: passing argument to parameter here ); ^ xtb.c:185:14: warning: implicit declaration of function 'XrmUniqueQuark' is invalid in C99 [-Wimplicit-function-declaration] h_context = XUniqueContext(); ^ /usr/local/include/X11/Xutil.h:359:44: note: expanded from macro 'XUniqueContext' #define XUniqueContext() ((XContext) XrmUniqueQuark()) ^ xtb.c:770:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] focus_evt(evt) ^ xtb.c:775:2: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration] printf("NotifyNormal"); ^ xtb.c:775:2: note: include the header or explicitly provide a declaration for 'printf' xtb.c:812:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xtb.c:1348:52: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] xtb_fmt_hort(def->align.ni, def->align.items, widths, heights, ^~~~~~ xtb.c:1348:60: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] xtb_fmt_hort(def->align.ni, def->align.items, widths, heights, ^~~~~~~ xtb.c:1350:28: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] def->align.interspace, w, h); ^ xtb.c:1350:31: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] def->align.interspace, w, h); ^ xtb.c:1353:52: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] xtb_fmt_vert(def->align.ni, def->align.items, widths, heights, ^~~~~~ xtb.c:1353:60: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] xtb_fmt_vert(def->align.ni, def->align.items, widths, heights, ^~~~~~~ xtb.c:1355:28: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] def->align.interspace, w, h); ^ xtb.c:1355:31: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] def->align.interspace, w, h); ^ 14 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c st.c -o st.o st.c:144:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^~~~~~~~~~~~~ st.c:144:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:144:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:144:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:146:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] FIND_ENTRY(table, hash_val, key, ptr, last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^~~~~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:146:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] FIND_ENTRY(table, hash_val, key, ptr, last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^~~~~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:187:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^~~~~~~~~~~~~ st.c:187:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:187:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:187:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:189:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] FIND_ENTRY(table, hash_val, key, ptr, last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^~~~~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:189:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] FIND_ENTRY(table, hash_val, key, ptr, last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^~~~~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:192:2: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table,key,value,hash_val,new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^~~~~~~~~~~~~ st.c:192:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table,key,value,hash_val,new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:192:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table,key,value,hash_val,new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:192:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table,key,value,hash_val,new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:209:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^~~~~~~~~~~~~ st.c:209:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:209:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:209:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:210:5: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table, key, value, hash_val, new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^~~~~~~~~~~~~ st.c:210:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table, key, value, hash_val, new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:210:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table, key, value, hash_val, new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:210:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table, key, value, hash_val, new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:222:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^~~~~~~~~~~~~ st.c:222:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:222:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:222:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:224:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] FIND_ENTRY(table, hash_val, key, ptr, last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^~~~~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:224:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] FIND_ENTRY(table, hash_val, key, ptr, last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^~~~~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:227:2: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table, key, (char *)0, hash_val, new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^~~~~~~~~~~~~ st.c:227:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table, key, (char *)0, hash_val, new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:227:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table, key, (char *)0, hash_val, new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:227:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] ADD_DIRECT(table, key, (char *)0, hash_val, new); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' hash_val = do_hash(key,table);\ ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:245:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^~~~~~~~~~~~~ st.c:245:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:245:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:245:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:247:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] FIND_ENTRY(table, hash_val, key, ptr, last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^~~~~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:247:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] FIND_ENTRY(table, hash_val, key, ptr, last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^~~~~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:287:17: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(ptr->key, table); ^~~~~~~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^~~~~~~~~~~~~ st.c:287:17: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(ptr->key, table); ^~~~~~~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:287:17: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(ptr->key, table); ^~~~~~~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:287:17: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(ptr->key, table); ^~~~~~~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:349:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^~~~~~~~~~~~~ st.c:349:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:349:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:349:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] hash_val = do_hash(key, table); ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:351:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] FIND_ENTRY(table, hash_val, key, ptr ,last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^~~~~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:351:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] FIND_ENTRY(table, hash_val, key, ptr ,last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) ^~~~~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:416:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] return ST_NUMHASH(x, size); ^~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:416:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] return ST_NUMHASH(x, size); ^~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:416:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] return ST_NUMHASH(x, size); ^~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' #define ABS(x) ((x) < 0 ? -(x) : (x)) ^ st.c:423:12: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] return ST_PTRHASH(x, size); ^~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) ^~~~~~~~~~~~~ st.c:430:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] return ST_NUMCMP(x, y); ^~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:430:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] return ST_NUMCMP(x, y); ^~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:437:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] return ST_NUMCMP(x, y); ^~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ st.c:437:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] return ST_NUMCMP(x, y); ^~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) ^~~~~~~~~ 58 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c params.c -o params.o params.c:301:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (font_size = index(name_copy, '-')) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ params.c:301:19: note: place parentheses around the assignment to silence this warning if (font_size = index(name_copy, '-')) { ^ ( ) params.c:301:19: note: use '==' to turn this assignment into an equality comparison if (font_size = index(name_copy, '-')) { ^ == params.c:316:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*font_info = XLoadQueryFont(param_disp, font_list[i])) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ params.c:316:18: note: place parentheses around the assignment to silence this warning if (*font_info = XLoadQueryFont(param_disp, font_list[i])) { ^ ( ) params.c:316:18: note: use '==' to turn this assignment into an equality comparison if (*font_info = XLoadQueryFont(param_disp, font_list[i])) { ^ == params.c:324:12: warning: cast to smaller integer type 'int' from 'XFontStruct *' [-Wpointer-to-int-cast] return (int) (*font_info = XLoadQueryFont(param_disp, name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. rm -f xgraph cc -o xgraph -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 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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xgraph-11.3.2.20000910_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xgraph-11.3.2.20000910_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xgraph-11.3.2.20000910_5 ===> Generating temporary packing list /usr/bin/install -c -s xgraph /wrkdirs/usr/ports/math/xgraph/work/stage/usr/local/bin/xgraph install in . done rm -f /wrkdirs/usr/ports/math/xgraph/work/stage/usr/local/share/man/man1/xgraph.1* /usr/bin/install -c -m 0444 xgraph._man /wrkdirs/usr/ports/math/xgraph/work/stage/usr/local/share/man/man1/xgraph.1 gzip -n /wrkdirs/usr/ports/math/xgraph/work/stage/usr/local/share/man/man1/xgraph.1 install.man in . done install -m 0644 /wrkdirs/usr/ports/math/xgraph/work/xgraph/examples/*.xg /wrkdirs/usr/ports/math/xgraph/work/stage/usr/local/share/examples/xgraph ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-01T07:26:25+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=e427ab10bf' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for xgraph-11.3.2.20000910_5 ===> Building xgraph-11.3.2.20000910_5 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xgraph-11.3.2.20000910_5 build of math/xgraph | xgraph-11.3.2.20000910_5 ended at Mon Apr 1 08:26:39 BST 2024 build time: 00:00:14