=>> Building science/fastcap build started at Fri Apr 5 04:54:04 BST 2024 port directory: /usr/ports/science/fastcap package name: fastcap-2.0.w.011109_1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2088 Dec 14 03:43 /usr/ports/science/fastcap/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: edcb34baff Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 01 ---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/01/.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 fastcap-2.0.w.011109_1: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/science/fastcap/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/fastcap/work XDG_CACHE_HOME=/wrkdirs/usr/ports/science/fastcap/work/.cache HOME=/wrkdirs/usr/ports/science/fastcap/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/science/fastcap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/fastcap/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-- XDG_DATA_HOME=/wrkdirs/usr/ports/science/fastcap/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/fastcap/work XDG_CACHE_HOME=/wrkdirs/usr/ports/science/fastcap/work/.cache HOME=/wrkdirs/usr/ports/science/fastcap/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/science/fastcap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/fastcap/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 -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fcommon -DNO_SBRK -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-- PORTDOCS="" PORTEXAMPLES="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/fastcap" EXAMPLESDIR="share/examples/fastcap" DATADIR="share/fastcap" WWWDIR="www/fastcap" ETCDIR="etc/fastcap" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fastcap DOCSDIR=/usr/local/share/doc/fastcap EXAMPLESDIR=/usr/local/share/examples/fastcap WWWDIR=/usr/local/www/fastcap ETCDIR=/usr/local/etc/fastcap --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 ===> NOTICE: The fastcap 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://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> fastcap-2.0.w.011109_1 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 ===> fastcap-2.0.w.011109_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of fastcap-2.0.w.011109_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fastcap 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by fastcap-2.0.w.011109_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fastcap 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by fastcap-2.0.w.011109_1 for building => SHA256 Checksum OK for fastcap-2.0wr-011109.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fastcap 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by fastcap-2.0.w.011109_1 for building ===> Extracting for fastcap-2.0.w.011109_1 => SHA256 Checksum OK for fastcap-2.0wr-011109.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for fastcap-2.0.w.011109_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for fastcap-2.0.w.011109_1 Type 4 makefile set up =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for fastcap-2.0.w.011109_1 /usr/bin/make -C src fastcap cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulGlobal.c -o ./mulGlobal.o cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulSetup.c -o ./mulSetup.o ./mulSetup.c:41:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static indexkid(); ~~~~~~ ^ ./mulSetup.c:42:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static linkcubes(); ~~~~~~ ^ ./mulSetup.c:43:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static setMaxq(); ~~~~~~ ^ ./mulSetup.c:44:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static getAllInter(); ~~~~~~ ^ ./mulSetup.c:45:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static set_vector_masks(); ~~~~~~ ^ ./mulSetup.c:58:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys, 1, ssystem, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:58:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys, 1, ssystem, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:64:3: warning: implicit declaration of function 'getrelations' is invalid in C99 [-Wimplicit-function-declaration] getrelations(sys); /* Get all the prnts and kids for each cube. */ ^ ./mulSetup.c:66:3: warning: implicit declaration of function 'setPosition' is invalid in C99 [-Wimplicit-function-declaration] setPosition(sys); /* Figures out position of cube center. */ ^ ./mulSetup.c:71:3: warning: implicit declaration of function 'setExact' is invalid in C99 [-Wimplicit-function-declaration] setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and ^ ./mulSetup.c:71:17: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and ^ ./mulSetup.c:166:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:166:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:167:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:167:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:170:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->is_dummy, totalq+1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:170:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->is_dummy, totalq+1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:173:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->is_dielec, totalq+1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:173:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->is_dielec, totalq+1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:177:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes, MAXDEP+1, cube****, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:177:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes, MAXDEP+1, cube****, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:181:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:181:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:183:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:183:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:185:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:185:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:204:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i], side, cube***, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:204:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i], side, cube***, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:210:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i][j], side, cube**, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:210:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j], side, cube**, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:216:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i][j][k], side, cube*, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:216:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j][k], side, cube*, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:231:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc, 1, cube, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:231:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc, 1, cube, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:238:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:238:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:295:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes, sys->depth+1, cube****, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:295:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes, sys->depth+1, cube****, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:297:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:297:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:299:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:299:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:301:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:301:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:315:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:315:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:318:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:318:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:337:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:337:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:338:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:338:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:395:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static placeqold(sys, charges) ~~~~~~ ^ ./mulSetup.c:424:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:424:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:425:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:425:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:447:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:447:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:450:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:450:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:465:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:465:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:466:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:466:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:489:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulSetup.c:494:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getrelations(sys) ^ ./mulSetup.c:508:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->kids, nextc->numkids, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:508:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->kids, nextc->numkids, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:521:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(parent, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:521:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(parent, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:531:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulSetup.c:536:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setPosition(sys) ^ ./mulSetup.c:563:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulSetup.c:573:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static indexkid(sys, dad, pqindex, pcindex) ~~~~~~ ^ ./mulSetup.c:582:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(dad->upvects, 1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:582:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(dad->upvects, 1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:583:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(dad->nbr_is_dummy, 1, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:583:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(dad->nbr_is_dummy, 1, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:599:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulSetup.c:611:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setExact(sys, numterms) ^ ./mulSetup.c:681:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->upvects, 1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:681:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->upvects, 1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:682:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:682:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:685:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->chgs, num_eval_pnts, charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:685:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->chgs, num_eval_pnts, charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:693:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->nbr_is_dummy, 1, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:693:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->nbr_is_dummy, 1, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:720:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulSetup.c:771:26: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] if(nc->numnbrs > 0) CALLOC(nc->nbrs, numnbrs, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:771:26: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if(nc->numnbrs > 0) CALLOC(nc->nbrs, numnbrs, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:803:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static linkcubes(sys) ~~~~~~ ^ ./mulSetup.c:808:48: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] int dindex, side, depth=sys->depth, numterms=multerms(sys->order); ^ ./mulSetup.c:811:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->multilist, sys->depth+1, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:811:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->multilist, sys->depth+1, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:812:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->locallist, sys->depth+1, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:812:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->locallist, sys->depth+1, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:826:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->multi, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:826:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->multi, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:838:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->local, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:838:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->local, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:853:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulSetup.c:858:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static setMaxq(sys) ~~~~~~ ^ ./mulSetup.c:946:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulSetup.c:951:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static markUp(child, flag) ~~~~~~ ^ ./mulSetup.c:962:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulSetup.c:969:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static getInter(child) ~~~~~~ ^ ./mulSetup.c:1030:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] if(vects > 0) CALLOC(child->interList, vects, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:1030:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if(vects > 0) CALLOC(child->interList, vects, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:1039:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static getAllInter(sys) ~~~~~~ ^ ./mulSetup.c:1054:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulSetup.c:1061:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static set_vector_masks(sys) ~~~~~~ ^ ./mulSetup.c:1076:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 115 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulMats.c -o ./mulMats.o ./mulMats.c:50:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mulMatDirect(sys) ^ ./mulMats.c:75:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->directq, nummats, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:75:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->directq, nummats, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:76:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(temp, nummats, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:76:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(temp, nummats, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:77:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->directnumeles, nummats, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:77:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->directnumeles, nummats, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:78:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->directmats, nummats, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:78:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->directmats, nummats, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:79:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->precondmats, nummats, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:79:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->precondmats, nummats, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:170:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulMats.c:176:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bdmulMatPrecond(sys) ^ ./mulMats.c:199:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat, size, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:199:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat, size, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:201:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:201:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:259:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulMats.c:278:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] olmulMatPrecond(sys) ^ ./mulMats.c:310:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(reorder, maxsize,int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:310:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(reorder, maxsize,int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:311:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat, maxsize, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:311:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat, maxsize, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:313:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat[i], maxsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:313:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat[i], maxsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:339:2: warning: implicit declaration of function 'find_flux_density_row' is invalid in C99 [-Wimplicit-function-declaration] find_flux_density_row(mat, nc->directmats[0], i, nsize, nsize, 0, 0, ^ ./mulMats.c:367:6: warning: implicit declaration of function 'find_flux_density_row' is invalid in C99 [-Wimplicit-function-declaration] find_flux_density_row(mat, nmat, i, nnsize, nsize, 0, offset, ^ ./mulMats.c:403:3: warning: implicit declaration of function 'find_flux_density_row' is invalid in C99 [-Wimplicit-function-declaration] find_flux_density_row(mat, nmat, i, nnnsize, nnsize, offset, ^ ./mulMats.c:418:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(is_dummy, offset, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:418:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(is_dummy, offset, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:444:15: warning: implicit declaration of function 'compressMat' is invalid in C99 [-Wimplicit-function-declaration] nnnsize = compressMat(mat, offset, is_dummy, BOTH); ^ ./mulMats.c:449:5: warning: implicit declaration of function 'invert' is invalid in C99 [-Wimplicit-function-declaration] invert(mat, nnnsize, NULL); ^ ./mulMats.c:450:5: warning: implicit declaration of function 'expandMat' is invalid in C99 [-Wimplicit-function-declaration] expandMat(mat, offset, nnnsize, is_dummy, BOTH); ^ ./mulMats.c:478:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulMats.c:498:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] find_flux_density_row(to_mat, from_mat, eval_row, n_chg, n_eval, row_offset, ^ ./mulMats.c:698:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulMats.c:719:14: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] numterms = multerms(order); ^ ./mulMats.c:729:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->multi, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:729:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->multi, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:730:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upmats, 1, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:730:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upmats, 1, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:795:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->multi, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:795:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->multi, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:798:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upnumeles, nextc->upnumvects, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:798:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upnumeles, nextc->upnumvects, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:799:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upvects, nextc->upnumvects, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:799:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upvects, nextc->upnumvects, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:800:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upmats, nextc->upnumvects, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:800:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upmats, nextc->upnumvects, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:913:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->evalvects, ttlvects, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:913:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->evalvects, ttlvects, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:914:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->evalnumeles, ttlvects, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:914:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->evalnumeles, ttlvects, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:915:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->evalmats, ttlvects, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:915:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->evalmats, ttlvects, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:998:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mulMatDown(sys) ^ ./mulMats.c:1015:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->downvects, vects, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:1015:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->downvects, vects, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:1016:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->downnumeles, vects, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:1016:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->downnumeles, vects, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:1017:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->downmats, vects, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:1017:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->downmats, vects, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:1066:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 63 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulDo.c -o ./mulDo.o ./mulDo.c:44:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mulDirect(sys) ^ ./mulDo.c:89:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDo.c:94:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mulPrecond(sys, type) ^ ./mulDo.c:104:7: warning: implicit declaration of function 'solve' is invalid in C99 [-Wimplicit-function-declaration] solve(nc->precond, nc->prevectq, nc->prevectq, nc->presize); ^ ./mulDo.c:146:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 5 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulDisplay.c -o ./mulDisplay.o ./mulDisplay.c:38:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disExtrasimpcube(pc) ^ ./mulDisplay.c:42:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:44:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disExParsimpcube(pc) ^ ./mulDisplay.c:50:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:52:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dissimpcube(pc) ^ ./mulDisplay.c:62:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:64:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] discube(pc) ^ ./mulDisplay.c:81:7: warning: implicit declaration of function 'dischg' is invalid in C99 [-Wimplicit-function-declaration] dischg(pc->chgs[i]); ^ ./mulDisplay.c:90:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:92:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disupcube(pc) ^ ./mulDisplay.c:97:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disdirectcube(pc) ^ ./mulDisplay.c:105:5: warning: implicit declaration of function 'dismat' is invalid in C99 [-Wimplicit-function-declaration] dismat(pc->directmats[i], pc->directnumeles[0], pc->directnumeles[i]); ^ ./mulDisplay.c:111:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:114:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dissys(sys) ^ ./mulDisplay.c:128:16: warning: incompatible pointer types passing 'cube **' (aka 'struct cube **') to parameter of type 'cube *' (aka 'struct cube *'); remove & [-Wincompatible-pointer-types] dissimpcube(&(sys->cubes[i][j][k][l])); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulDisplay.c:134:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:138:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dismat(mat, rows, cols) ^ ./mulDisplay.c:153:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:156:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disvect(v, size) ^ ./mulDisplay.c:166:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:168:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dischg(pq) ^ ./mulDisplay.c:172:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:174:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disallchg(pq) ^ ./mulDisplay.c:178:43: warning: implicit declaration of function 'disfchg' is invalid in C99 [-Wimplicit-function-declaration] for(nq = pq; nq != NULL; nq = nq->next) disfchg(pq); ^ ./mulDisplay.c:179:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:181:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disfchg(pq) ^ ./mulDisplay.c:193:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:257:5: warning: implicit declaration of function 'xyz2sphere' is invalid in C99 [-Wimplicit-function-declaration] xyz2sphere(chgs[i]->x, chgs[i]->y, chgs[i]->z, ^ ./mulDisplay.c:287:5: warning: implicit declaration of function 'xyz2sphere' is invalid in C99 [-Wimplicit-function-declaration] xyz2sphere(chgs[i]->x, chgs[i]->y, chgs[i]->z, ^ ./mulDisplay.c:315:16: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, multerms(order), numchgs); ^ ./mulDisplay.c:331:16: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, multerms(order), multerms(order)); ^ ./mulDisplay.c:343:16: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, multerms(order), numchgs); ^ ./mulDisplay.c:392:16: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, multerms(order), multerms(order)); ^ ./mulDisplay.c:405:16: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, multerms(order), multerms(order)); ^ ./mulDisplay.c:417:25: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, numchgs, multerms(order)); ^ ./mulDisplay.c:432:25: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, numchgs, multerms(order)); ^ ./mulDisplay.c:638:54: warning: format specifies type 'int' but the argument has type 'double' [-Wformat] fac->index, fac->numsides, fac->depth, fac->mark, fac->greylev); ^~~~~~~~~~~~ ./mulDisplay.c:675:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dumpSynCore2(str, depth, cnt) ^ ./mulDisplay.c:692:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:1061:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sym_mat, numconds+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulDisplay.c:1061:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sym_mat, numconds+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulDisplay.c:1063:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sym_mat[i], numconds+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulDisplay.c:1063:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sym_mat[i], numconds+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulDisplay.c:1071:8: warning: implicit declaration of function 'want_this_iter' is invalid in C99 [-Wimplicit-function-declaration] if(want_this_iter(kinp_num_list, i)) continue; ^ ./mulDisplay.c:1180:8: warning: implicit declaration of function 'want_this_iter' is invalid in C99 [-Wimplicit-function-declaration] if(want_this_iter(kinp_num_list, j)) continue; ^ ./mulDisplay.c:1189:8: warning: implicit declaration of function 'want_this_iter' is invalid in C99 [-Wimplicit-function-declaration] if(want_this_iter(kinp_num_list, i)) continue; ^ ./mulDisplay.c:1303:7: warning: implicit declaration of function 'mulPrecond' is invalid in C99 [-Wimplicit-function-declaration] mulPrecond(sys, PRECOND); ^ ./mulDisplay.c:1305:18: warning: implicit declaration of function 'savemat_mod' is invalid in C99 [-Wimplicit-function-declaration] if(j == 1) savemat_mod(fp, 1000, "Ctil", num_panels, num_panels, 0, ^ ./mulDisplay.c:1333:18: warning: implicit declaration of function 'savemat_mod' is invalid in C99 [-Wimplicit-function-declaration] if(j == 1) savemat_mod(fp, 1000, "P", num_panels, num_panels, 0, ^ ./mulDisplay.c:1510:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 51 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulMulti.c -o ./mulMulti.o ./mulMulti.c:54:10: warning: implicit declaration of function 'costerms' is invalid in C99 [-Wimplicit-function-declaration] return(costerms(order) + sinterms(order)); ^ ./mulMulti.c:54:28: warning: implicit declaration of function 'sinterms' is invalid in C99 [-Wimplicit-function-declaration] return(costerms(order) + sinterms(order)); ^ ./mulMulti.c:233:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:233:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:234:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(Rhon, maxchgs, double, ON, AMSC); /* rho^n array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:234:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Rhon, maxchgs, double, ON, AMSC); /* rho^n array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:235:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(Beta, maxchgs, double, ON, AMSC); /* beta array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:235:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Beta, maxchgs, double, ON, AMSC); /* beta array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:236:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(Betam, maxchgs, double, ON, AMSC); /* beta*m array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:236:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Betam, maxchgs, double, ON, AMSC); /* beta*m array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:237:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(Irn, maxchgs, double, ON, AMSC); /* (1/r)^n+1 vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:237:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Irn, maxchgs, double, ON, AMSC); /* (1/r)^n+1 vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:238:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(Ir, maxchgs, double, ON, AMSC); /* 1/r vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:238:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Ir, maxchgs, double, ON, AMSC); /* 1/r vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:239:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(Mphi, maxchgs, double, ON, AMSC); /* m*phi vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:239:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Mphi, maxchgs, double, ON, AMSC); /* m*phi vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:240:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(phi, maxchgs, double, ON, AMSC); /* phi vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:240:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(phi, maxchgs, double, ON, AMSC); /* phi vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:242:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(tleg, costerms(2*order), double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:242:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(tleg, costerms(2*order), double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:244:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(factFac, order+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:244:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(factFac, order+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:246:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(factFac[x], order+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:246:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(factFac[x], order+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:282:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(facFrA, 2*order+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:282:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(facFrA, 2*order+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:284:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(facFrA[x], 2*order+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:284:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(facFrA[x], 2*order+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:287:3: warning: implicit declaration of function 'evalFacFra' is invalid in C99 [-Wimplicit-function-declaration] evalFacFra(facFrA, order); ^ ./mulMulti.c:288:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sinmkB, 2*order+1, double, ON, AMSC); /* sin[(m+-k)beta] */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:288:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sinmkB, 2*order+1, double, ON, AMSC); /* sin[(m+-k)beta] */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:289:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cosmkB, 2*order+1, double, ON, AMSC); /* cos[(m+-k)beta] */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:289:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cosmkB, 2*order+1, double, ON, AMSC); /* cos[(m+-k)beta] */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:361:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, terms, double*, ON, AQ2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:361:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, terms, double*, ON, AQ2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:363:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], numchgs, double, ON, AQ2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:363:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], numchgs, double, ON, AQ2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:454:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, terms, double*, ON, AM2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:454:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, terms, double*, ON, AM2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:455:28: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] for(r=0; r < terms; r++) CALLOC(mat[r], terms, double, ON, AM2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:455:28: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] for(r=0; r < terms; r++) CALLOC(mat[r], terms, double, ON, AM2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:559:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AM2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:559:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AM2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:561:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], terms, double, ON, AM2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:561:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], terms, double, ON, AM2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ 45 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulLocal.c -o ./mulLocal.o ./mulLocal.c:150:15: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] int terms = multerms(order); /* the number of non-zero moments */ ^ ./mulLocal.c:151:12: warning: implicit declaration of function 'costerms' is invalid in C99 [-Wimplicit-function-declaration] int ct = costerms(order); /* the number of non-zero cos (bar) moments */ ^ ./mulLocal.c:161:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, terms, double*, ON, AM2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:161:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, terms, double*, ON, AM2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:163:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], terms, double, ON, AM2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:163:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], terms, double, ON, AM2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:166:3: warning: implicit declaration of function 'xyz2sphere' is invalid in C99 [-Wimplicit-function-declaration] xyz2sphere(x, y, z, xp, yp, zp, &rho, &cosA, &beta); ^ ./mulLocal.c:169:3: warning: implicit declaration of function 'evalLegendre' is invalid in C99 [-Wimplicit-function-declaration] evalLegendre(cosA, tleg, 2*order); /* multi->loc needs 2x legendres */ ^ ./mulLocal.c:239:15: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] int terms = multerms(order); /* the number of non-zero moments */ ^ ./mulLocal.c:240:12: warning: implicit declaration of function 'costerms' is invalid in C99 [-Wimplicit-function-declaration] int ct = costerms(order); /* the number of non-zero cos (bar) moments */ ^ ./mulLocal.c:250:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, terms, double*, ON, AL2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:250:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, terms, double*, ON, AL2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:252:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], terms, double, ON, AL2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:252:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], terms, double, ON, AL2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:255:3: warning: implicit declaration of function 'xyz2sphere' is invalid in C99 [-Wimplicit-function-declaration] xyz2sphere(x, y, z, xc, yc, zc, &rho, &cosA, &beta); ^ ./mulLocal.c:258:3: warning: implicit declaration of function 'evalLegendre' is invalid in C99 [-Wimplicit-function-declaration] evalLegendre(cosA, tleg, 2*order); /* local->local needs 2x legendres */ ^ ./mulLocal.c:342:16: warning: implicit declaration of function 'costerms' is invalid in C99 [-Wimplicit-function-declaration] int cterms = costerms(order), terms = multerms(order); ^ ./mulLocal.c:342:41: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] int cterms = costerms(order), terms = multerms(order); ^ ./mulLocal.c:348:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, terms, double*, ON, AQ2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:348:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, terms, double*, ON, AQ2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:350:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], numchgs, double, ON, AQ2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:350:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], numchgs, double, ON, AQ2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:357:5: warning: implicit declaration of function 'xyz2sphere' is invalid in C99 [-Wimplicit-function-declaration] xyz2sphere(chgs[j]->x, chgs[j]->y, chgs[j]->z, ^ ./mulLocal.c:361:5: warning: implicit declaration of function 'evalLegendre' is invalid in C99 [-Wimplicit-function-declaration] evalLegendre(cosA, tleg, order); /* write moments to temporary array */ ^ ./mulLocal.c:448:16: warning: implicit declaration of function 'costerms' is invalid in C99 [-Wimplicit-function-declaration] int cterms = costerms(order), terms = multerms(order); ^ ./mulLocal.c:448:41: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] int cterms = costerms(order), terms = multerms(order); ^ ./mulLocal.c:450:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AL2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:450:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AL2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:452:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], terms, double, ON, AL2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:452:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], terms, double, ON, AL2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:457:5: warning: implicit declaration of function 'xyz2sphere' is invalid in C99 [-Wimplicit-function-declaration] xyz2sphere(chgs[i]->x, chgs[i]->y, chgs[i]->z, ^ ./mulLocal.c:461:5: warning: implicit declaration of function 'evalLegendre' is invalid in C99 [-Wimplicit-function-declaration] evalLegendre(cosTh, mat[i], order); /* wr moms to 1st (cos) half of row */ ^ 32 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./direct.c -o ./direct.o ./direct.c:47:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AQ2PD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:47:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AQ2PD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:48:30: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] for(i=0; i < numchgs; i++) CALLOC(mat[i], numchgs, double, ON, AQ2PD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:48:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] for(i=0; i < numchgs; i++) CALLOC(mat[i], numchgs, double, ON, AQ2PD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:90:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, numpchgs, double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:90:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, numpchgs, double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:92:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], numqchgs, double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:92:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], numqchgs, double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:131:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat, numchgs, double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:131:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat, numchgs, double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:132:32: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] for(i = 0; i < numchgs; i++) MALLOC(mat[i], numchgs, double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:132:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] for(i = 0; i < numchgs; i++) MALLOC(mat[i], numchgs, double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:172:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat, size, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:172:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat, size, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:174:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:174:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:318:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_order, size, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:318:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_order, size, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:391:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] matcheck(mat, rows, size) ^ ./direct.c:413:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./direct.c:416:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] matlabDump(mat, size, name) ^ ./direct.c:435:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 22 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./calcp.c -o ./calcp.o ./calcp.c:82:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initcalcp(panel_list) ^ ./calcp.c:144:5: warning: implicit declaration of function 'Cross_Product' is invalid in C99 [-Wimplicit-function-declaration] Cross_Product(pq->X, pq->Y, pq->Z); ^ ./calcp.c:146:8: warning: implicit declaration of function 'flip_normal' is invalid in C99 [-Wimplicit-function-declaration] if(flip_normal(pq)) { ^ ./calcp.c:174:8: warning: implicit declaration of function 'planarize' is invalid in C99 [-Wimplicit-function-declaration] if(planarize(pq) == FALSE) { ^ ./calcp.c:176:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(npq, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./calcp.c:176:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(npq, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./calcp.c:190:5: warning: implicit declaration of function 'centroid' is invalid in C99 [-Wimplicit-function-declaration] centroid(pq, length20); ^ ./calcp.c:222:5: warning: implicit declaration of function 'ComputeMoments' is invalid in C99 [-Wimplicit-function-declaration] ComputeMoments(pq); ^ ./calcp.c:229:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./calcp.c:234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldflip_normal(panel) ^ ./calcp.c:277:42: warning: implicit declaration of function 'hack_path' is invalid in C99 [-Wimplicit-function-declaration] fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); ^ ./calcp.c:277:42: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); ~~ ^~~~~~~~~~~~~~~~~~~~ %d ./calcp.c:294:42: warning: implicit declaration of function 'hack_path' is invalid in C99 [-Wimplicit-function-declaration] fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); ^ ./calcp.c:294:42: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); ~~ ^~~~~~~~~~~~~~~~~~~~ %d ./calcp.c:316:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] flip_normal(panel) ^ ./calcp.c:353:40: warning: implicit declaration of function 'hack_path' is invalid in C99 [-Wimplicit-function-declaration] fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); ^ ./calcp.c:353:40: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); ~~ ^~~~~~~~~~~~~~~~~~~~ %d ./calcp.c:373:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] planarize(pq) ^ ./calcp.c:421:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] centroid(pp, x2) ^ ./calcp.c:449:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:478:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Cross_Product(vector1, vector2, result_vector) ^ ./calcp.c:484:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:659:5: warning: implicit declaration of function 'dp' is invalid in C99 [-Wimplicit-function-declaration] dp(panel); ^ ./calcp.c:668:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dumpnums(flag, size) ^ ./calcp.c:700:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:716:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ComputeMoments(pp) ^ ./calcp.c:733:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(XP[i], (order+3), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./calcp.c:733:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(XP[i], (order+3), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./calcp.c:734:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(YP[i], (order+3), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./calcp.c:734:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(YP[i], (order+3), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./calcp.c:737:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(I, (order+1), double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./calcp.c:737:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(I, (order+1), double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./calcp.c:738:33: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] for(i = 0; i <= order; i++) CALLOC(I[i], (order+1), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./calcp.c:738:33: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] for(i = 0; i <= order; i++) CALLOC(I[i], (order+1), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./calcp.c:826:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./calcp.c:830:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dp(panel) ^ ./calcp.c:870:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:877:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] testCalcp(pp) ^ ./calcp.c:902:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:905:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fileCorners(pp, f) ^ ./calcp.c:914:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:918:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] calcpm(multi, x, y, z, origorder, order) ^ ./calcp.c:933:14: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] numterms = multerms(origorder); ^ ./calcp.c:939:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 44 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./fastcap.c -o ./fastcap.o ./fastcap.c:75:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(title, BUFSIZ, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./fastcap.c:75:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(title, BUFSIZ, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./fastcap.c:82:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(axes, 10, double **, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./fastcap.c:82:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(axes, 10, double **, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./fastcap.c:84:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(axes[i], 2, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./fastcap.c:84:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(axes[i], 2, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./fastcap.c:86:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(axes[i][j], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./fastcap.c:86:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(axes[i][j], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./fastcap.c:99:13: warning: implicit declaration of function 'get_ps_file_base' is invalid in C99 [-Wimplicit-function-declaration] if(!q_) get_ps_file_base(argv, argc); ^ ./fastcap.c:100:5: warning: implicit declaration of function 'dump_ps_geometry' is invalid in C99 [-Wimplicit-function-declaration] dump_ps_geometry(chglist, NULL, 0, dd_); ^ ./fastcap.c:176:3: warning: implicit declaration of function 'mulMultiAlloc' is invalid in C99 [-Wimplicit-function-declaration] mulMultiAlloc(MAX(sys->max_eval_pnt, sys->max_panel), numMom, sys->depth); ^ ./fastcap.c:185:3: warning: implicit declaration of function 'mulMatDirect' is invalid in C99 [-Wimplicit-function-declaration] mulMatDirect(sys); /* Compute the direct part matrices. */ ^ ./fastcap.c:198:3: warning: implicit declaration of function 'olmulMatPrecond' is invalid in C99 [-Wimplicit-function-declaration] olmulMatPrecond(sys); ^ ./fastcap.c:216:3: warning: implicit declaration of function 'dumpnums' is invalid in C99 [-Wimplicit-function-declaration] dumpnums(ON, eval_size, up_size); /* save num/type of pot. coeff calcs */ ^ ./fastcap.c:228:3: warning: implicit declaration of function 'mulMatUp' is invalid in C99 [-Wimplicit-function-declaration] mulMatUp(sys); /* Compute the upward pass matrices. */ ^ ./fastcap.c:235:3: warning: implicit declaration of function 'mulMatDown' is invalid in C99 [-Wimplicit-function-declaration] mulMatDown(sys); /* find matrices for full Greengard dnwd pass*/ ^ ./fastcap.c:244:3: warning: implicit declaration of function 'mulMatEval' is invalid in C99 [-Wimplicit-function-declaration] mulMatEval(sys); /* set up matrices for evaluation pass */ ^ ./fastcap.c:266:13: warning: implicit declaration of function 'capsolve' is invalid in C99 [-Wimplicit-function-declaration] ttliter = capsolve(&capmat, sys, chglist, eval_size, up_size, num_cond, ^ ./fastcap.c:270:3: warning: implicit declaration of function 'mksCapDump' is invalid in C99 [-Wimplicit-function-declaration] mksCapDump(capmat, num_cond, relperm, &name_list); ^ 19 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./blkDirect.c -o ./blkDirect.o ./blkDirect.c:195:14: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] if((fdis = creat(getName(file, name), PMODE)) == -1) { ^ ./blkDirect.c:204:16: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if((actsiz = write(fdis, (char *)mat, realsiz)) != realsiz) { ^ ./blkDirect.c:210:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fdis); ^ ./blkDirect.c:235:14: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if((fdis = open(getName(file, name), 0)) == -1) { ^ ./blkDirect.c:243:17: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if(realsiz != read(fdis, (char *)mat, realsiz)) { ^ ./blkDirect.c:247:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fdis); ^ ./blkDirect.c:355:13: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if((fdl = open(getName(matl, name), 0)) == -1) { ^ ./blkDirect.c:362:13: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] readl = read(fdl, (char *)matri, rowliml*siz*ds); ^ ./blkDirect.c:401:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fdu); ^ ./blkDirect.c:404:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fdl); ^ ./blkDirect.c:556:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*sqrArray, matsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./blkDirect.c:556:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*sqrArray, matsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./blkDirect.c:558:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*triArray, matsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./blkDirect.c:558:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*triArray, matsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./blkDirect.c:559:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*real_index, numchgs, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./blkDirect.c:559:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*real_index, numchgs, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./blkDirect.c:633:56: warning: '/*' within block comment [-Wcomment] /* dumpMatCor((double **)NULL, *sqrArray, numchgs/2); /* for debug */ ^ 17 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./uglyalloc.c -o ./uglyalloc.o ./uglyalloc.c:105:16: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration] cp = (char *)calloc(nu,sizeofHDR); ^ ./uglyalloc.c:105:16: note: include the header or explicitly provide a declaration for 'calloc' 1 warning generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./patran.c -o ./patran.o ./patran.c:82:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:82:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:98:5: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration] input(stream, line, surf_type, trans_vector); ^ ./patran.c:100:5: warning: implicit declaration of function 'grid_equiv_check' is invalid in C99 [-Wimplicit-function-declaration] grid_equiv_check(); ^ ./patran.c:108:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(patch_patch_table, number_patches*number_patches, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:108:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(patch_patch_table, number_patches*number_patches, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:110:7: warning: implicit declaration of function 'fill_patch_patch_table' is invalid in C99 [-Wimplicit-function-declaration] fill_patch_patch_table(patch_patch_table); ^ ./patran.c:112:7: warning: implicit declaration of function 'assign_conductor' is invalid in C99 [-Wimplicit-function-declaration] assign_conductor(patch_patch_table); ^ ./patran.c:116:7: warning: implicit declaration of function 'assign_names' is invalid in C99 [-Wimplicit-function-declaration] assign_names(); ^ ./patran.c:133:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] input(stream, line, surf_type, trans_vector) ^ ./patran.c:156:7: warning: implicit declaration of function 'file_title' is invalid in C99 [-Wimplicit-function-declaration] file_title(stream); ^ ./patran.c:159:7: warning: implicit declaration of function 'summary_data' is invalid in C99 [-Wimplicit-function-declaration] summary_data(stream); ^ ./patran.c:162:7: warning: implicit declaration of function 'node_data' is invalid in C99 [-Wimplicit-function-declaration] node_data(stream, trans_vector); ^ ./patran.c:165:7: warning: implicit declaration of function 'element_data' is invalid in C99 [-Wimplicit-function-declaration] element_data(stream); ^ ./patran.c:168:7: warning: implicit declaration of function 'grid_data' is invalid in C99 [-Wimplicit-function-declaration] grid_data(stream, trans_vector); ^ ./patran.c:171:7: warning: implicit declaration of function 'patch_data' is invalid in C99 [-Wimplicit-function-declaration] patch_data(stream); ^ ./patran.c:174:7: warning: implicit declaration of function 'CFEG_table' is invalid in C99 [-Wimplicit-function-declaration] CFEG_table(stream); ^ ./patran.c:177:52: warning: implicit declaration of function 'name_data' is invalid in C99 [-Wimplicit-function-declaration] if(surf_type == CONDTR || surf_type == BOTH) name_data(stream); ^ ./patran.c:178:12: warning: implicit declaration of function 'waste_line' is invalid in C99 [-Wimplicit-function-declaration] else waste_line(KC, stream); ^ ./patran.c:188:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:192:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] waste_line(num_line,stream) ^ ./patran.c:206:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:211:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] file_title(stream) ^ ./patran.c:218:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:225:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] summary_data(stream) ^ ./patran.c:230:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(list_nodes, number_nodes, NODE, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:230:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(list_nodes, number_nodes, NODE, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:231:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(list_elements, number_elements, ELEMENT, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:231:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(list_elements, number_elements, ELEMENT, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:237:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:244:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] node_data(stream, trans_vector) ^ ./patran.c:258:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:266:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] element_data(stream) ^ ./patran.c:290:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:296:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] grid_data(stream, trans_vector) ^ ./patran.c:310:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(current_grid, 1, GRID, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:310:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_grid, 1, GRID, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:321:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:328:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] patch_data(stream) ^ ./patran.c:341:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(current_patch, 1, PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:341:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_patch, 1, PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:349:3: warning: format specifies type 'float *' but the argument has type 'double *' [-Wformat] &tmp, &tmp, &tmp, corner, corner+1, corner+2, corner+3); ^~~~ ./patran.c:349:9: warning: format specifies type 'float *' but the argument has type 'double *' [-Wformat] &tmp, &tmp, &tmp, corner, corner+1, corner+2, corner+3); ^~~~ ./patran.c:349:15: warning: format specifies type 'float *' but the argument has type 'double *' [-Wformat] &tmp, &tmp, &tmp, corner, corner+1, corner+2, corner+3); ^~~~ ./patran.c:354:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:362:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CFEG_table(stream) ^ ./patran.c:381:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(current_cfeg, 1, CFEG, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:381:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_cfeg, 1, CFEG, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:389:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(element_list, NELS, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:389:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(element_list, NELS, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:425:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:436:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] name_data(stream) ^ ./patran.c:444:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(start_name, 1, NAME, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:444:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(start_name, 1, NAME, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:448:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(current_name->next, 1, NAME, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:448:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_name->next, 1, NAME, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:459:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(current_name->name, len+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:459:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_name->name, len+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:469:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(current_name->patch_list, 1, SM_PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:469:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_name->patch_list, 1, SM_PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:473:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(current_patch->next, 1, SM_PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:473:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_patch->next, 1, SM_PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:487:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:494:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] grid_equiv_check() ^ ./patran.c:502:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(grid_ptr_1->equiv_ID, number_grids, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:502:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(grid_ptr_1->equiv_ID, number_grids, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:513:11: warning: implicit declaration of function 'if_same_coord' is invalid in C99 [-Wimplicit-function-declaration] if (if_same_coord(grid_ptr_1->coord,grid_ptr_2->coord)) { ^ ./patran.c:534:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:577:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fill_patch_patch_table(patch_patch_table) ^ ./patran.c:598:6: warning: implicit declaration of function 'if_same_grid' is invalid in C99 [-Wimplicit-function-declaration] if (if_same_grid(*corner++,grid_ptr)) { ^ ./patran.c:613:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:638:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] assign_conductor(patch_patch_table) ^ ./patran.c:663:7: warning: implicit declaration of function 'depth_search' is invalid in C99 [-Wimplicit-function-declaration] depth_search(patch_patch_table,current_table_ptr,conductor_count); ^ ./patran.c:678:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:684:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] depth_search(patch_patch_table,current_table_ptr,conductor_count) ^ ./patran.c:707:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:763:21: warning: implicit declaration of function 'getConductorNum' is invalid in C99 [-Wimplicit-function-declaration] conductor_ID = getConductorNum(cond_name, name_list, num_cond); ^ ./patran.c:804:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(pq,NELS,charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:804:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(pq,NELS,charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:858:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] assign_names() ^ ./patran.c:915:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 81 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./quickif.c -o ./quickif.o In file included from ./quickif.c:36: ./quickif.h:68:26: warning: '/*' within block comment [-Wcomment] /* #define MAXCON 10000 /* assumes never more conductors than this */ ^ ./quickif.c:91:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:91:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:92:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_name->alias_list->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:92:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_name->alias_list->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:96:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(last_alias, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:96:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(last_alias, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:97:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(last_alias->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:97:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(last_alias->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:133:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*name_list, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:133:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*name_list, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:134:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC((*name_list)->name, strlen(name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:134:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC((*name_list)->name, strlen(name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:150:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(prev_name->next, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:150:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(prev_name->next, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:151:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(prev_name->next->name, strlen(name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:151:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(prev_name->next->name, strlen(name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:235:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_name->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:235:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_name->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:326:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(fstquad, 1, quadl, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:326:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(fstquad, 1, quadl, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:330:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(curquad->next, 1, quadl, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:330:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(curquad->next, 1, quadl, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:336:45: warning: incompatible pointer types passing 'Name *' (aka 'struct Name *') to parameter of type 'Name **' (aka 'struct Name **'); take the address with & [-Wincompatible-pointer-types] curquad->cond = getConductorNum(condstr, name_list, num_cond); ^~~~~~~~~ & ./quickif.c:364:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(fsttri, 1, tri, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:364:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(fsttri, 1, tri, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:368:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(curtri->next, 1, tri, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:368:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(curtri->next, 1, tri, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:377:44: warning: incompatible pointer types passing 'Name *' (aka 'struct Name *') to parameter of type 'Name **' (aka 'struct Name **'); take the address with & [-Wincompatible-pointer-types] curtri->cond = getConductorNum(condstr, name_list, num_cond); ^~~~~~~~~ & ./quickif.c:406:37: warning: incompatible pointer types passing 'Name *' (aka 'struct Name *') to parameter of type 'Name **' (aka 'struct Name **'); take the address with & [-Wincompatible-pointer-types] if(renameConductor(condstr, temp2, name_list, num_cond) == FALSE) ^~~~~~~~~ & ./quickif.c:430:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:430:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:434:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:434:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:459:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:459:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:463:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:463:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ 38 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./electric.c -o ./electric.o cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./input.c -o ./input.o ./input.c:83:27: warning: implicitly declaring library function 'isspace' with type 'int (int)' [-Wimplicit-function-declaration] while (*s && !isspace(*s)) ^ ./input.c:83:27: note: include the header or explicitly provide a declaration for 'isspace' ./input.c:251:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:251:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:255:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:255:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:265:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:265:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:270:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:270:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:307:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:307:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:311:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:311:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:325:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:325:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:331:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:331:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:362:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:362:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:366:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:366:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:380:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:380:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:386:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:386:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:548:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(dummy_list, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:548:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(dummy_list, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:552:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:552:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:567:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:567:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:792:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:792:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:801:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:801:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:808:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(ps_file_base, strlen("stdin")+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:808:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(ps_file_base, strlen("stdin")+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:893:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->title, strlen(title)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:893:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->title, strlen(title)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:905:5: warning: implicit declaration of function 'initcalcp' is invalid in C99 [-Wimplicit-function-declaration] initcalcp(cur_surf->panels);/* get normals, edges, perpendiculars */ ^ ./input.c:908:50: warning: '/*' within block comment [-Wcomment] align_normals(cur_surf->panels, cur_surf); /* now done in calcp */ ^ ./input.c:1050:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(kill_num_list, 1, ITER, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1050:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(kill_num_list, 1, ITER, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1054:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_cond->next, 1, ITER, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1054:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_cond->next, 1, ITER, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1269:22: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] fprintf(stderr, "%s: bad up axis type `%s' -- use x, y or z\n"); ~^ ./input.c:1301:22: warning: data argument not used by format string [-Wformat-extra-args] DEFDST, DEFSCL, DEFWID); ^ ./zbufGlobal.h:134:16: note: expanded from macro 'DEFWID' #define DEFWID 1.0 /* default line width, points (-w) */ ^ ./input.c:1342:5: warning: implicit declaration of function 'dumpConfig' is invalid in C99 [-Wimplicit-function-declaration] dumpConfig(stderr, argv[0]); ^ ./input.c:1368:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1368:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1370:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(surf_list->name, strlen("stdin")+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1370:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(surf_list->name, strlen("stdin")+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1376:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(surf_list->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1376:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(surf_list->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1389:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1389:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1393:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1393:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1397:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->name, strlen(input_file)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1397:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->name, strlen(input_file)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1403:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1403:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1520:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_name->name, slen+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1520:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_name->name, slen+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1528:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_alias->name, slen+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1528:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_alias->name, slen+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1685:6: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] if(gethostname(hostname, BUFSIZ) != -1) ^ 67 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./psMatDisplay.c -o ./psMatDisplay.o ./psMatDisplay.c:100:3: warning: implicit declaration of function 'copyBody' is invalid in C99 [-Wimplicit-function-declaration] copyBody(fp); /* copys the body of the header from ^ ./psMatDisplay.c:150:5: warning: implicit declaration of function 'dump_line_as_ps' is invalid in C99 [-Wimplicit-function-declaration] dump_line_as_ps(fp, line, OFFSETX+2*CMDFONT, OFFSETY+IMAGEY+CMDFONT/2, ^ ./psMatDisplay.c:272:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(aliased_matrix, num_alias_r, char*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./psMatDisplay.c:272:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(aliased_matrix, num_alias_r, char*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./psMatDisplay.c:274:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(aliased_matrix[i], num_alias_c, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./psMatDisplay.c:274:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(aliased_matrix[i], num_alias_c, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ 6 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./capsolve.c -o ./capsolve.o ./capsolve.c:66:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC((*capmat), numconds+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:66:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC((*capmat), numconds+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:68:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC((*capmat)[i], numconds+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:68:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC((*capmat)[i], numconds+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:72:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(q, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:72:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(q, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:73:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(r, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:73:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(r, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:79:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bp, maxiter+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:79:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bp, maxiter+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:80:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bap, maxiter+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:80:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bap, maxiter+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:99:8: warning: implicit declaration of function 'want_this_iter' is invalid in C99 [-Wimplicit-function-declaration] if(want_this_iter(kill_num_list, cond) ^ ./capsolve.c:133:16: warning: implicit declaration of function 'gmres' is invalid in C99 [-Wimplicit-function-declaration] if((iter = gmres(sys,q,p,r,ap,bp,bap,size,maxiter,iter_tol,chglist)) ^ ./capsolve.c:158:7: warning: implicit declaration of function 'dump_ps_geometry' is invalid in C99 [-Wimplicit-function-declaration] dump_ps_geometry(chglist, q, cond, dd_); ^ ./capsolve.c:225:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:225:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:226:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:226:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:238:5: warning: implicit declaration of function 'computePsi' is invalid in C99 [-Wimplicit-function-declaration] computePsi(sys, chglist); ^ ./capsolve.c:307:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldcomputePsi(sys, chglist) ^ ./capsolve.c:314:3: warning: implicit declaration of function 'mulDirect' is invalid in C99 [-Wimplicit-function-declaration] mulDirect(sys); ^ ./capsolve.c:319:3: warning: implicit declaration of function 'mulUp' is invalid in C99 [-Wimplicit-function-declaration] mulUp(sys); ^ ./capsolve.c:333:3: warning: implicit declaration of function 'mulDown' is invalid in C99 [-Wimplicit-function-declaration] mulDown(sys); /* do heirarchical local shift dwnwd pass */ ^ ./capsolve.c:340:3: warning: implicit declaration of function 'mulEval' is invalid in C99 [-Wimplicit-function-declaration] mulEval(sys); /* evaluate either locals or multis or both */ ^ ./capsolve.c:350:3: warning: implicit declaration of function 'compute_electric_fields' is invalid in C99 [-Wimplicit-function-declaration] compute_electric_fields(sys, chglist); ^ ./capsolve.c:361:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./capsolve.c:390:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:390:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:391:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:391:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:398:5: warning: implicit declaration of function 'computePsi' is invalid in C99 [-Wimplicit-function-declaration] computePsi(sys, p, ap, size, chglist); ^ ./capsolve.c:455:3: warning: implicit declaration of function 'mulPrecond' is invalid in C99 [-Wimplicit-function-declaration] mulPrecond(sys, PRECOND); ^ ./capsolve.c:492:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(c, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:492:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(c, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:493:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(s, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:493:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(s, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:494:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(g, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:494:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(g, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:495:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(y, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:495:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(y, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:519:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bv[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:519:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bv[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:520:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bh[iter], iter+2, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:520:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bh[iter], iter+2, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:530:5: warning: implicit declaration of function 'computePsi' is invalid in C99 [-Wimplicit-function-declaration] computePsi(sys, p, ap, size, chglist); ^ ./capsolve.c:622:3: warning: implicit declaration of function 'mulPrecond' is invalid in C99 [-Wimplicit-function-declaration] mulPrecond(sys, PRECOND); ^ ./capsolve.c:643:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] computePsi(sys, q, p, size, chglist) ^ ./capsolve.c:660:3: warning: implicit declaration of function 'mulPrecond' is invalid in C99 [-Wimplicit-function-declaration] mulPrecond(sys, PRECOND); ^ ./capsolve.c:672:3: warning: implicit declaration of function 'mulDirect' is invalid in C99 [-Wimplicit-function-declaration] mulDirect(sys); ^ ./capsolve.c:677:3: warning: implicit declaration of function 'mulUp' is invalid in C99 [-Wimplicit-function-declaration] mulUp(sys); ^ ./capsolve.c:690:3: warning: implicit declaration of function 'mulDown' is invalid in C99 [-Wimplicit-function-declaration] mulDown(sys); /* do heirarchical local shift dwnwd pass */ ^ ./capsolve.c:697:3: warning: implicit declaration of function 'mulEval' is invalid in C99 [-Wimplicit-function-declaration] mulEval(sys); /* evaluate either locals or multis or both */ ^ ./capsolve.c:709:3: warning: implicit declaration of function 'compute_electric_fields' is invalid in C99 [-Wimplicit-function-declaration] compute_electric_fields(sys, chglist); ^ ./capsolve.c:716:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 55 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./savemat_mod.c -o ./savemat_mod.o cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./zbufInOut.c -o ./zbufInOut.o ./zbufInOut.c:156:10: warning: implicit declaration of function 'want_this_iter' is invalid in C99 [-Wimplicit-function-declaration] if(want_this_iter(kq_num_list, panel->cond)) continue; ^ ./zbufInOut.c:191:10: warning: implicit declaration of function 'want_this_iter' is invalid in C99 [-Wimplicit-function-declaration] if(want_this_iter(kq_num_list, panel->cond)) continue; ^ ./zbufInOut.c:344:10: warning: implicit declaration of function 'want_this_iter' is invalid in C99 [-Wimplicit-function-declaration] if(want_this_iter(kq_num_list, chgp->cond)) continue; ^ ./zbufInOut.c:353:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(head, 1, face, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:353:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(head, 1, face, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:357:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(tail->next, 1, face, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:357:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(tail->next, 1, face, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:362:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(tail->c, tail->numsides, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:362:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(tail->c, tail->numsides, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:364:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(tail->c[i], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:364:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(tail->c[i], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:380:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(faces, *numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:380:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(faces, *numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:487:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC((*tail), 1, line, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:487:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC((*tail), 1, line, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:492:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC((*tail)->next, 1, line, ON, AMSC); /* link forward */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:492:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC((*tail)->next, 1, line, ON, AMSC); /* link forward */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:566:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(linesout, (*numlines), line *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:566:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(linesout, (*numlines), line *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:1014:38: warning: '/*' within block comment [-Wcomment] /* y += (numfaces*stepy + 3*FONT); /* offset 2nd array */ ^ ./zbufInOut.c:1197:53: warning: format specifies type 'int' but the argument has type 'double' [-Wformat] fprintf(fp, "f1 [%d 0 0 %d 0 0] makesetfont\n", FONT, FONT); ~~ ^~~~ %f ./zbufGlobal.h:65:14: note: expanded from macro 'FONT' #define FONT 5.0 /* font size used to label lines in ps file */ ^~~ ./zbufInOut.c:1197:59: warning: format specifies type 'int' but the argument has type 'double' [-Wformat] fprintf(fp, "f1 [%d 0 0 %d 0 0] makesetfont\n", FONT, FONT); ~~ ^~~~ %f ./zbufGlobal.h:65:14: note: expanded from macro 'FONT' #define FONT 5.0 /* font size used to label lines in ps file */ ^~~ 22 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./zbuf2fastcap.c -o ./zbuf2fastcap.o ./zbuf2fastcap.c:101:3: warning: implicit declaration of function 'initFaces' is invalid in C99 [-Wimplicit-function-declaration] initFaces(faces, numfaces, view); ^ ./zbuf2fastcap.c:110:3: warning: implicit declaration of function 'getAdjGraph' is invalid in C99 [-Wimplicit-function-declaration] getAdjGraph(faces, numfaces, view, rhs, normal); ^ ./zbuf2fastcap.c:119:3: warning: implicit declaration of function 'image' is invalid in C99 [-Wimplicit-function-declaration] image(sfaces, numfaces, lines, numlines, normal, rhs, view); ^ ./zbuf2fastcap.c:120:3: warning: implicit declaration of function 'flatten' is invalid in C99 [-Wimplicit-function-declaration] flatten(sfaces, numfaces, lines, numlines, rhs, rotation, normal, view); ^ ./zbuf2fastcap.c:121:3: warning: implicit declaration of function 'makePos' is invalid in C99 [-Wimplicit-function-declaration] makePos(sfaces, numfaces, lines, numlines); ^ ./zbuf2fastcap.c:122:3: warning: implicit declaration of function 'scale2d' is invalid in C99 [-Wimplicit-function-declaration] scale2d(sfaces, numfaces, lines, numlines, scale, moffset); ^ ./zbuf2fastcap.c:124:5: warning: implicit declaration of function 'dumpCycles' is invalid in C99 [-Wimplicit-function-declaration] dumpCycles(sfaces, numfaces, stdout); /* DANGER - doesnt work (?) */ ^ ./zbuf2fastcap.c:125:5: warning: implicit declaration of function 'dumpFaceText' is invalid in C99 [-Wimplicit-function-declaration] dumpFaceText(sfaces, numfaces, stdout); ^ ./zbuf2fastcap.c:133:5: warning: implicit declaration of function 'dumpPs' is invalid in C99 [-Wimplicit-function-declaration] dumpPs(sfaces, numfaces, lines, numlines, fp, argvals, argcnt,use_density); ^ 9 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./zbufProj.c -o ./zbufProj.o ./zbufProj.c:430:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(avg, 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufProj.c:430:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(avg, 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ 2 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./zbufSort.c -o ./zbufSort.o ./zbufSort.c:530:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cproj, 2, double **, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:530:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cproj, 2, double **, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:532:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cproj[k], MAXSIDES, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:532:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cproj[k], MAXSIDES, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:534:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cproj[k][i], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:534:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cproj[k][i], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:752:5: warning: implicit declaration of function 'dump_face' is invalid in C99 [-Wimplicit-function-declaration] dump_face(stderr, fac); ^ ./zbufSort.c:754:5: warning: implicit declaration of function 'dumpCorners' is invalid in C99 [-Wimplicit-function-declaration] dumpCorners(stderr, cproj[0], fac->numsides, 3); ^ ./zbufSort.c:1028:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(rfaces, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1028:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(rfaces, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:1060:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(faces[f]->behind, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1060:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(faces[f]->behind, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:1082:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(behind, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1082:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(behind, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:1089:39: warning: too few arguments in call to 'is1stFaceDeeper' if(is1stFaceDeeper(fpcur, fpchk, view) == TRUE) { ~~~~~~~~~~~~~~~ ^ ./zbufSort.c:1095:25: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] if(numbehind > 0) CALLOC(fpcur->behind, numbehind, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1095:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if(numbehind > 0) CALLOC(fpcur->behind, numbehind, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ 17 warnings generated. cc -o fastcap.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./mulGlobal.o ./mulSetup.o ./mulMats.o ./mulDo.o ./mulDisplay.o ./mulMulti.o ./mulLocal.o ./direct.o ./calcp.o ./fastcap.o ./blkDirect.o ./uglyalloc.o ./patran.o ./quickif.o ./electric.o ./input.o ./psMatDisplay.o ./capsolve.o ./savemat_mod.o ./zbufInOut.o ./zbuf2fastcap.o ./zbufProj.o ./zbufSort.o -lm mv fastcap.temp.out ../bin/fastcap /usr/bin/make -C src cubegen cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./cubegen.c -o ./cubegen.o ./cubegen.c:192:14: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] else if(!strcmp(&(argv[i][1]),"pfl")) { ^ ./cubegen.c:192:14: note: include the header or explicitly provide a declaration for 'strcmp' ./cubegen.c:223:15: warning: data argument not used by format string [-Wformat-extra-args] argv[0], DEFNCL, DEFEFR); ^ ./cubegen.c:40:16: note: expanded from macro 'DEFNCL' #define DEFNCL 3 /* default #cells on short side of faces */ ^ ./cubegen.c:292:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, left_cells, no_discr, ^ ./cubegen.c:301:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, right_cells, no_discr, ^ ./cubegen.c:310:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, right_cells, no_discr, ^ ./cubegen.c:319:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, left_cells, no_discr, ^ ./cubegen.c:329:16: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, top_cells, no_discr, ^ ./cubegen.c:338:16: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, top_cells, no_discr, ^ 8 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./disrect.c -o ./disrect.o ./disrect.c:196:5: warning: implicit declaration of function 'getEpsBnds' is invalid in C99 [-Wimplicit-function-declaration] getEpsBnds(&uepsilon, &lepsilon); ^ 1 warning generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./epsilon.c -o ./epsilon.o cc -o cubegen.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./cubegen.o ./disrect.o ./epsilon.o -lm mv cubegen.temp.out ../bin/cubegen /usr/bin/make -C src capgen cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./pltcapgen.c -o ./pltcapgen.o ./pltcapgen.c:180:13: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, i+numplt, edgefrac, ncells, no_disc, ^ ./pltcapgen.c:189:13: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, cond++, edgefrac, ncells, no_disc, ^ ./pltcapgen.c:204:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, i+1, edgefrac, ncells, no_disc, ^ 3 warnings generated. cc -o capgen.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./pltcapgen.o ./disrect.o ./epsilon.o -lm mv capgen.temp.out ../bin/capgen /usr/bin/make -C src busgen cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./busgen.c -o ./busgen.o ./busgen.c:119:13: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, cond, edgefrac, ncells, no_disc, ^ ./busgen.c:127:13: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, cond, edgefrac, ncells, no_disc, ^ ./busgen.c:152:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, cond, edgefrac, ncells, no_disc, ^ ./busgen.c:162:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, cond, edgefrac, ncells, no_disc, ^ ./busgen.c:295:15: warning: data argument not used by format string [-Wformat-extra-args] argv[0], DEFNWI, DEFWID, DEFNCL, DEFEFR); ^ ./busgen.c:41:16: note: expanded from macro 'DEFNWI' #define DEFNWI 2 /* default problem is DEFNWI X DEFNWI bus xg */ ^ 5 warnings generated. cc -o busgen.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./busgen.o ./disrect.o ./epsilon.o -lm mv busgen.temp.out ../bin/busgen /usr/bin/make -C src pipedgen cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./pipedgen.c -o ./pipedgen.o ./pipedgen.c:96:14: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] else if(!strcmp(argv[i], "-cr")) { ^ ./pipedgen.c:96:14: note: include the header or explicitly provide a declaration for 'strcmp' ./pipedgen.c:301:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, left_cells, no_discr, ^ ./pipedgen.c:310:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, right_cells, no_discr, ^ ./pipedgen.c:319:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, right_cells, no_discr, ^ ./pipedgen.c:329:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, left_cells, no_discr, ^ ./pipedgen.c:340:16: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, top_cells, no_discr, ^ ./pipedgen.c:350:16: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, top_cells, no_discr, ^ 7 warnings generated. cc -o pipedgen.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./pipedgen.o ./disrect.o ./epsilon.o -lm mv pipedgen.temp.out ../bin/pipedgen /usr/bin/make -C src pyragen cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./teragen.c -o ./teragen.o ./teragen.c:178:14: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] else if(!strcmp(&(argv[i][1]), "pfl")) { ^ ./teragen.c:178:14: note: include the header or explicitly provide a declaration for 'strcmp' ./teragen.c:272:18: warning: implicit declaration of function 'disTri' is invalid in C99 [-Wimplicit-function-declaration] npanels += disTri(fp, 1, edgefrac, right_cells, no_discr, ^ ./teragen.c:280:18: warning: implicit declaration of function 'disTri' is invalid in C99 [-Wimplicit-function-declaration] npanels += disTri(fp, 1, edgefrac, left_cells, no_discr, ^ ./teragen.c:294:18: warning: implicit declaration of function 'disTri' is invalid in C99 [-Wimplicit-function-declaration] npanels += disTri(fp, 1, edgefrac, right_cells, no_discr, ^ ./teragen.c:303:18: warning: implicit declaration of function 'disTri' is invalid in C99 [-Wimplicit-function-declaration] npanels += disTri(fp, 1, edgefrac, left_cells, no_discr, ^ ./teragen.c:313:16: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, top_cells, no_discr, ^ 6 warnings generated. cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./distri.c -o ./distri.o ./distri.c:110:63: warning: data argument not used by format string [-Wformat-extra-args] fprintf(stderr, "\ndisTri: ncells = 2 not implemented\n", ncells); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./distri.c:117:5: warning: implicit declaration of function 'getEpsBnds' is invalid in C99 [-Wimplicit-function-declaration] getEpsBnds(&uepsilon, &lepsilon); ^ 2 warnings generated. cc -o pyragen.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./teragen.o ./disrect.o ./distri.o ./epsilon.o -lm mv pyragen.temp.out ../bin/pyragen =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for fastcap-2.0.w.011109_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/busgen /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/capgen /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/cubegen /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/fastcap /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/pipedgen /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/pyragen /wrkdirs/usr/ports/science/fastcap/work/stage/usr/local/bin /bin/cat /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/README /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/README.mit > /wrkdirs/usr/ports/science/fastcap/work/stage/usr/local/share/doc/fastcap/readme install -m 0644 /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/doc/*.ps /wrkdirs/usr/ports/science/fastcap/work/stage/usr/local/share/doc/fastcap /usr/bin/gzip -nf -9 /wrkdirs/usr/ports/science/fastcap/work/stage/usr/local/share/doc/fastcap/* install -m 0644 /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/examples/* /wrkdirs/usr/ports/science/fastcap/work/stage/usr/local/share/examples/fastcap ====> 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-05T03:54:04+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=edcb34baff' '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 fastcap-2.0.w.011109_1 ===> Building fastcap-2.0.w.011109_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for fastcap-2.0.w.011109_1 build of science/fastcap | fastcap-2.0.w.011109_1 ended at Fri Apr 5 04:54:53 BST 2024 build time: 00:00:57