=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for fastcap-2.0.19920918nb3 cd src ; /opt/pkg/bin/bmake fastcap clang -pipe -Os -DFOUR -c ./mulGlobal.c clang -pipe -Os -DFOUR -c ./mulSetup.c ./mulSetup.c:61:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sys, 1, ssystem, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:61:3: warning: cast to 'ssystem *' (aka 'struct ssystem *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sys, 1, ssystem, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:61:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys, 1, ssystem, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:61:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:61:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys, 1, ssystem, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:67: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:69:3: warning: implicit declaration of function 'setPosition' is invalid in C99 [-Wimplicit-function-declaration] setPosition(sys); /* Figures out position of cube center. */ ^ ./mulSetup.c:74: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:74: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:169:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:169:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:169:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:169:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:169:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:170:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:170:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:170:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:170:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:170:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:173:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sys->is_dummy, totalq+1, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:173:3: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sys->is_dummy, totalq+1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:173: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:173:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:173:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->is_dummy, totalq+1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:176:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sys->is_dielec, totalq+1, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:176:3: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sys->is_dielec, totalq+1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:176: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:176:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:176:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->is_dielec, totalq+1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:180:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cubes, MAXDEP+1, cube****, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:180:5: warning: cast to 'cube *****' (aka 'struct cube *****') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cubes, MAXDEP+1, cube****, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:180:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes, MAXDEP+1, cube****, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:180:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:180:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes, MAXDEP+1, cube****, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:184:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cubes[i], side, cube***, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:184:7: warning: cast to 'cube ****' (aka 'struct cube ****') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:184:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:184:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:184:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:186:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:186:2: warning: cast to 'cube ***' (aka 'struct cube ***') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:186:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:186:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:186:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:188:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:188:4: warning: cast to 'cube **' (aka 'struct cube **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:188: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:188:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:188:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:207:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cubes[i], side, cube***, OFF, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:207:7: warning: cast to 'cube ****' (aka 'struct cube ****') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cubes[i], side, cube***, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:207:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i], side, cube***, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:207:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:207:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i], side, cube***, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:213:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cubes[i][j], side, cube**, OFF, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:213:2: warning: cast to 'cube ***' (aka 'struct cube ***') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cubes[i][j], side, cube**, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:213:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i][j], side, cube**, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:213:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:213:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j], side, cube**, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:219:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cubes[i][j][k], side, cube*, OFF, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:219:4: warning: cast to 'cube **' (aka 'struct cube **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cubes[i][j][k], side, cube*, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:219: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:219:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:219:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j][k], side, cube*, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:234:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc, 1, cube, OFF, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:234:4: warning: cast to 'cube *' (aka 'struct cube *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc, 1, cube, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:234:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc, 1, cube, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:234:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:234:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc, 1, cube, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:241:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->upnumeles, 1, int, OFF, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:241:4: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->upnumeles, 1, int, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:241:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:241:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:241:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, OFF, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:298:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cubes, sys->depth+1, cube****, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:298:5: warning: cast to 'cube *****' (aka 'struct cube *****') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cubes, sys->depth+1, cube****, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:298:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes, sys->depth+1, cube****, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:298:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:298:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes, sys->depth+1, cube****, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:300:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cubes[i], side, cube***, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:300:7: warning: cast to 'cube ****' (aka 'struct cube ****') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:300:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:300:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:300:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:302:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:302:2: warning: cast to 'cube ***' (aka 'struct cube ***') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:302:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:302:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:302:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:304:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:304:4: warning: cast to 'cube **' (aka 'struct cube **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:304: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:304:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:304:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:318:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc, 1, cube, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:318:2: warning: cast to 'cube *' (aka 'struct cube *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:318:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:318:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:318:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:321:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:321:2: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:321:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:321:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:321:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:340:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:340:4: warning: cast to 'charge **' (aka 'struct charge **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:340: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:340:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:340:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:341:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:341:4: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:341:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:341:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:341:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:398:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static placeqold(sys, charges) ~~~~~~ ^ ./mulSetup.c:427:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:427:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:427:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:427:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:427:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:428:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:428:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:428:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:428:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:428:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:450:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc, 1, cube, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:450:7: warning: cast to 'cube *' (aka 'struct cube *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:450:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:450:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:450:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:453:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:453:7: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:453:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:453:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:453:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:468:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:468:4: warning: cast to 'charge **' (aka 'struct charge **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:468: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:468:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:468:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:469:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:469:4: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:469:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:469:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:469:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:492:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulSetup.c:497:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getrelations(sys) ^ ./mulSetup.c:511:8: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->kids, nextc->numkids, cube*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:511:8: warning: cast to 'cube **' (aka 'struct cube **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->kids, nextc->numkids, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:511:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->kids, nextc->numkids, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:511:8: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:511:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->kids, nextc->numkids, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:524:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(parent, 1, cube, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:524:3: warning: cast to 'cube *' (aka 'struct cube *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(parent, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:524:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(parent, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:524:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:524:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(parent, 1, cube, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:534:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulSetup.c:539:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setPosition(sys) ^ ./mulSetup.c:566:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulSetup.c:576:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static indexkid(sys, dad, pqindex, pcindex) ~~~~~~ ^ ./mulSetup.c:585:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(dad->upvects, 1, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:585:7: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(dad->upvects, 1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:585:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(dad->upvects, 1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:585:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:585:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(dad->upvects, 1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:586:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(dad->nbr_is_dummy, 1, int*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:586:7: warning: cast to 'int **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(dad->nbr_is_dummy, 1, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:586: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:586:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:586:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(dad->nbr_is_dummy, 1, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:602:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulSetup.c:614:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setExact(sys, numterms) ^ ./mulSetup.c:684:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->upvects, 1, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:684:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->upvects, 1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:684:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->upvects, 1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:684:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:684:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->upvects, 1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:685:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->upnumeles, 1, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:685:3: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:685:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:685:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:685:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->upnumeles, 1, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:688:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->chgs, num_eval_pnts, charge*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:688:3: warning: cast to 'charge **' (aka 'struct charge **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->chgs, num_eval_pnts, charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:688: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:688:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:688:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->chgs, num_eval_pnts, charge*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:696:6: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->nbr_is_dummy, 1, int*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:696:6: warning: cast to 'int **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->nbr_is_dummy, 1, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:696: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:696:6: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:696:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->nbr_is_dummy, 1, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:723:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulSetup.c:773:26: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] if(nc->numnbrs > 0) CALLOC(nc->nbrs, numnbrs, cube*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:773:26: warning: cast to 'cube **' (aka 'struct cube **') from smaller integer type 'int' [-Wint-to-pointer-cast] if(nc->numnbrs > 0) CALLOC(nc->nbrs, numnbrs, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:773: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:773:26: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:773: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:809: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:812:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sys->multilist, sys->depth+1, cube*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:812:3: warning: cast to 'cube **' (aka 'struct cube **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sys->multilist, sys->depth+1, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:812: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:812:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:812:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->multilist, sys->depth+1, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:813:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sys->locallist, sys->depth+1, cube*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:813:3: warning: cast to 'cube **' (aka 'struct cube **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sys->locallist, sys->depth+1, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:813: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:813:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:813:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sys->locallist, sys->depth+1, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:827:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->multi, numterms, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:827:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->multi, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:827:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->multi, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:827:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:827:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->multi, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:839:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->local, numterms, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:839:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->local, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:839:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nc->local, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:839:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:839:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nc->local, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:859:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static setMaxq(sys) ~~~~~~ ^ ./mulSetup.c:947:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulSetup.c:952:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static markUp(child, flag) ~~~~~~ ^ ./mulSetup.c:963:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulSetup.c:970:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static getInter(child) ~~~~~~ ^ ./mulSetup.c:1031:17: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] if(vects > 0) CALLOC(child->interList, vects, cube*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulSetup.c:1031:17: warning: cast to 'cube **' (aka 'struct cube **') from smaller integer type 'int' [-Wint-to-pointer-cast] if(vects > 0) CALLOC(child->interList, vects, cube*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulSetup.c:1031: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:1031:17: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulSetup.c:1031: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulSetup.c:1040:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static getAllInter(sys) ~~~~~~ ^ ./mulSetup.c:1055:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulSetup.c:1062:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static set_vector_masks(sys) ~~~~~~ ^ ./mulSetup.c:1077:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 234 warnings generated. clang -pipe -Os -DFOUR -c ./mulMats.c ./mulMats.c:51:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mulMatDirect(sys) ^ ./mulMats.c:76:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->directq, nummats, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:76:7: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->directq, nummats, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMats.c:76:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->directq, nummats, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:76:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMats.c:76:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->directq, nummats, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:77:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(temp, nummats, int*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:77:7: warning: cast to 'int **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(temp, nummats, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMats.c:77:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(temp, nummats, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:77:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMats.c:77:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(temp, nummats, int*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:78:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->directnumeles, nummats, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:78:7: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->directnumeles, nummats, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMats.c:78:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->directnumeles, nummats, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:78:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMats.c:78:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->directnumeles, nummats, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:79:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->directmats, nummats, double**, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:79:7: warning: cast to 'double ***' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->directmats, nummats, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMats.c:79:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->directmats, nummats, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:79:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMats.c:79:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->directmats, nummats, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:80:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->precondmats, nummats, double**, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:80:7: warning: cast to 'double ***' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->precondmats, nummats, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMats.c:80:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nextc->precondmats, nummats, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:80:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMats.c:80:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nextc->precondmats, nummats, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:171:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulMats.c:177:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bdmulMatPrecond(sys) ^ ./mulMats.c:200:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] MALLOC(mat, size, double*, ON, AMSC); ^ ./mulGlobal.h:155:29: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulGlobal.h:78:17: note: expanded from macro 'MALCORE' #define MALCORE ualloc ^ ./mulMats.c:200:5: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] MALLOC(mat, size, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:155:22: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMats.c:200:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat, size, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:160:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:200:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMats.c:200:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat, size, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:202:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] MALLOC(mat[i], size, double, ON, AMSC); ^ ./mulGlobal.h:155:29: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulGlobal.h:78:17: note: expanded from macro 'MALCORE' #define MALCORE ualloc ^ ./mulMats.c:202:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:155:22: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMats.c:202:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:160:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:202:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMats.c:202:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:260:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulMats.c:279:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] olmulMatPrecond(sys) ^ ./mulMats.c:311:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] MALLOC(reorder, maxsize,int, ON, AMSC); ^ ./mulGlobal.h:155:29: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulGlobal.h:78:17: note: expanded from macro 'MALCORE' #define MALCORE ualloc ^ ./mulMats.c:311:3: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] MALLOC(reorder, maxsize,int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:155:22: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMats.c:311:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(reorder, maxsize,int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:160:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:311:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMats.c:311:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(reorder, maxsize,int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:312:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] MALLOC(mat, maxsize, double*, ON, AMSC); ^ ./mulGlobal.h:155:29: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulGlobal.h:78:17: note: expanded from macro 'MALCORE' #define MALCORE ualloc ^ ./mulMats.c:312:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] MALLOC(mat, maxsize, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:155:22: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMats.c:312:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat, maxsize, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:160:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:312:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMats.c:312:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat, maxsize, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:314:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] MALLOC(mat[i], maxsize, double, ON, AMSC); ^ ./mulGlobal.h:155:29: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulGlobal.h:78:17: note: expanded from macro 'MALCORE' #define MALCORE ualloc ^ ./mulMats.c:314:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] MALLOC(mat[i], maxsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:155:22: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMats.c:314:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat[i], maxsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:160:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:314:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMats.c:314:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat[i], maxsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:340: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:368: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:404: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:419:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(is_dummy, offset, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:419:7: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(is_dummy, offset, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMats.c:419:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(is_dummy, offset, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:419:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMats.c:419:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(is_dummy, offset, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:445:15: warning: implicit declaration of function 'compressMat' is invalid in C99 [-Wimplicit-function-declaration] nnnsize = compressMat(mat, offset, is_dummy, BOTH); ^ ./mulMats.c:450:5: warning: implicit declaration of function 'invert' is invalid in C99 [-Wimplicit-function-declaration] invert(mat, nnnsize, NULL); ^ ./mulMats.c:451:5: warning: implicit declaration of function 'expandMat' is invalid in C99 [-Wimplicit-function-declaration] expandMat(mat, offset, nnnsize, is_dummy, BOTH); ^ ./mulMats.c:479:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./mulMats.c:499: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:699: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: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->multi, numterms, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:729:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->multi, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:729:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:730:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->upmats, 1, double**, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:730:5: warning: cast to 'double ***' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->upmats, 1, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:730:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:795:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->multi, numterms, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:795:2: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->multi, numterms, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:795:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:798:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->upnumeles, nextc->upnumvects, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:798:2: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->upnumeles, nextc->upnumvects, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:798:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:799:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->upvects, nextc->upnumvects, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:799:2: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->upvects, nextc->upnumvects, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:799:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:800:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nextc->upmats, nextc->upnumvects, double**, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:800:2: warning: cast to 'double ***' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nextc->upmats, nextc->upnumvects, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:800:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:913:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->evalvects, ttlvects, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:913:7: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->evalvects, ttlvects, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:913:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:914:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->evalnumeles, ttlvects, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:914:7: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->evalnumeles, ttlvects, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:914:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:915:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->evalmats, ttlvects, double**, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:915:7: warning: cast to 'double ***' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->evalmats, ttlvects, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:915:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109: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: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->downvects, vects, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:1015:2: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->downvects, vects, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:1015:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:1016:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->downnumeles, vects, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:1016:2: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->downnumeles, vects, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:1016:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMats.c:1017:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nc->downmats, vects, double**, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMats.c:1017:2: warning: cast to 'double ***' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nc->downmats, vects, double**, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMats.c:1017:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109: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] } ^ 132 warnings generated. clang -pipe -Os -DFOUR -c ./mulDo.c ./mulDo.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mulDirect(sys) ^ ./mulDo.c:90:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDo.c:95:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mulPrecond(sys, type) ^ ./mulDo.c:105: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:147:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 5 warnings generated. clang -pipe -Os -DFOUR -c ./mulDisplay.c ./mulDisplay.c:39:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disExtrasimpcube(pc) ^ ./mulDisplay.c:43:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disExParsimpcube(pc) ^ ./mulDisplay.c:51:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:53:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dissimpcube(pc) ^ ./mulDisplay.c:63:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:65:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] discube(pc) ^ ./mulDisplay.c:82:7: warning: implicit declaration of function 'dischg' is invalid in C99 [-Wimplicit-function-declaration] dischg(pc->chgs[i]); ^ ./mulDisplay.c:91:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:93:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disupcube(pc) ^ ./mulDisplay.c:98:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disdirectcube(pc) ^ ./mulDisplay.c:106: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:112:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:115:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dissys(sys) ^ ./mulDisplay.c:129: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:135:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:139:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dismat(mat, rows, cols) ^ ./mulDisplay.c:154:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disvect(v, size) ^ ./mulDisplay.c:167:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dischg(pq) ^ ./mulDisplay.c:173:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:175:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disallchg(pq) ^ ./mulDisplay.c:179: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:180:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:182:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disfchg(pq) ^ ./mulDisplay.c:194:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:258: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:288: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:316:16: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, multerms(order), numchgs); ^ ./mulDisplay.c:332:16: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, multerms(order), multerms(order)); ^ ./mulDisplay.c:344:16: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, multerms(order), numchgs); ^ ./mulDisplay.c:393:16: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, multerms(order), multerms(order)); ^ ./mulDisplay.c:406:16: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, multerms(order), multerms(order)); ^ ./mulDisplay.c:418:25: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, numchgs, multerms(order)); ^ ./mulDisplay.c:433:25: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] dumpMat(mat, numchgs, multerms(order)); ^ ./mulDisplay.c:639: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:676:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dumpSynCore2(str, depth, cnt) ^ ./mulDisplay.c:693:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./mulDisplay.c:1062:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sym_mat, numconds+1, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulDisplay.c:1062:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sym_mat, numconds+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulDisplay.c:1062:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(sym_mat, numconds+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulDisplay.c:1062:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulDisplay.c:1062:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sym_mat, numconds+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulDisplay.c:1064:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sym_mat[i], numconds+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulDisplay.c:1064:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sym_mat[i], numconds+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulDisplay.c:1064: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulDisplay.c:1064:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulDisplay.c:1064:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(sym_mat[i], numconds+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulDisplay.c:1072: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:1149:22: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] if(scale == 1e-18) strcpy(unit, "exa"); ^ ./mulDisplay.c:1149:22: note: include the header or explicitly provide a declaration for 'strcpy' ./mulDisplay.c:1167:18: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] maxlen = MAX(strlen(getConductorName(i, name_list)), maxlen); ^ ./mulDisplay.c:1167:18: note: include the header or explicitly provide a declaration for 'strlen' ./mulDisplay.c:1181: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:1190: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:1304:7: warning: implicit declaration of function 'mulPrecond' is invalid in C99 [-Wimplicit-function-declaration] mulPrecond(sys, PRECOND); ^ ./mulDisplay.c:1306: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:1334: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:1511:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 59 warnings generated. clang -pipe -Os -DFOUR -c ./mulMulti.c ./mulMulti.c:55:10: warning: implicit declaration of function 'costerms' is invalid in C99 [-Wimplicit-function-declaration] return(costerms(order) + sinterms(order)); ^ ./mulMulti.c:55:28: warning: implicit declaration of function 'sinterms' is invalid in C99 [-Wimplicit-function-declaration] return(costerms(order) + sinterms(order)); ^ ./mulMulti.c:234:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:234:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:234:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:234:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:234:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:235:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(Rhon, maxchgs, double, ON, AMSC); /* rho^n array */ ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:235:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(Rhon, maxchgs, double, ON, AMSC); /* rho^n array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:235: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:235:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:235:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Rhon, maxchgs, double, ON, AMSC); /* rho^n array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:236:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(Beta, maxchgs, double, ON, AMSC); /* beta array */ ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:236:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(Beta, maxchgs, double, ON, AMSC); /* beta array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:236:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(Beta, maxchgs, double, ON, AMSC); /* beta array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:236:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:236:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Beta, maxchgs, double, ON, AMSC); /* beta array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:237:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(Betam, maxchgs, double, ON, AMSC); /* beta*m array */ ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:237:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(Betam, maxchgs, double, ON, AMSC); /* beta*m array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:237: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:237:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:237:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Betam, maxchgs, double, ON, AMSC); /* beta*m array */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:238:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(Irn, maxchgs, double, ON, AMSC); /* (1/r)^n+1 vector */ ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:238:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(Irn, maxchgs, double, ON, AMSC); /* (1/r)^n+1 vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:238: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:238:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:238: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:239:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(Ir, maxchgs, double, ON, AMSC); /* 1/r vector */ ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:239:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(Ir, maxchgs, double, ON, AMSC); /* 1/r vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:239: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:239:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:239:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Ir, maxchgs, double, ON, AMSC); /* 1/r vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:240:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(Mphi, maxchgs, double, ON, AMSC); /* m*phi vector */ ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:240:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(Mphi, maxchgs, double, ON, AMSC); /* m*phi vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:240: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:240:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:240:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(Mphi, maxchgs, double, ON, AMSC); /* m*phi vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:241:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(phi, maxchgs, double, ON, AMSC); /* phi vector */ ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:241:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(phi, maxchgs, double, ON, AMSC); /* phi vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:241:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(phi, maxchgs, double, ON, AMSC); /* phi vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:241:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:241:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(phi, maxchgs, double, ON, AMSC); /* phi vector */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:243:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(tleg, costerms(2*order), double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:243:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(tleg, costerms(2*order), double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:243:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(tleg, costerms(2*order), double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:243:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:243:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(tleg, costerms(2*order), double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:245:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(factFac, order+1, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:245:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(factFac, order+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:245:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(factFac, order+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:245:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:245:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(factFac, order+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:247:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(factFac[x], order+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:247:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(factFac[x], order+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:247:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(factFac[x], order+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:247:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:247:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(factFac[x], order+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:283:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(facFrA, 2*order+1, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:283:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(facFrA, 2*order+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:283:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(facFrA, 2*order+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:283:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:283:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(facFrA, 2*order+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:285:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(facFrA[x], 2*order+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:285:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(facFrA[x], 2*order+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:285: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:285:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:285:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(facFrA[x], 2*order+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:288:3: warning: implicit declaration of function 'evalFacFra' is invalid in C99 [-Wimplicit-function-declaration] evalFacFra(facFrA, order); ^ ./mulMulti.c:289:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(sinmkB, 2*order+1, double, ON, AMSC); /* sin[(m+-k)beta] */ ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:289:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(sinmkB, 2*order+1, double, ON, AMSC); /* sin[(m+-k)beta] */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:289: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:289:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:289: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:290:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cosmkB, 2*order+1, double, ON, AMSC); /* cos[(m+-k)beta] */ ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:290:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cosmkB, 2*order+1, double, ON, AMSC); /* cos[(m+-k)beta] */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:290: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:290:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:290: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:362:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat, terms, double*, ON, AQ2M); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:362:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat, terms, double*, ON, AQ2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:362:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, terms, double*, ON, AQ2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:362:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:362:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, terms, double*, ON, AQ2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:364:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat[i], numchgs, double, ON, AQ2M); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:364:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat[i], numchgs, double, ON, AQ2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:364:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], numchgs, double, ON, AQ2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:364:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:364:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], numchgs, double, ON, AQ2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:455:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat, terms, double*, ON, AM2M); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:455:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat, terms, double*, ON, AM2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:455:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, terms, double*, ON, AM2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:455:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:455:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, terms, double*, ON, AM2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:456:28: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] for(r=0; r < terms; r++) CALLOC(mat[r], terms, double, ON, AM2M); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:456:28: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] for(r=0; r < terms; r++) CALLOC(mat[r], terms, double, ON, AM2M); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:456: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:456:28: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:456: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:560:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat, numchgs, double*, ON, AM2P); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:560:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat, numchgs, double*, ON, AM2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:560:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AM2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:560:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:560:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AM2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulMulti.c:562:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat[i], terms, double, ON, AM2P); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulMulti.c:562:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat[i], terms, double, ON, AM2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulMulti.c:562:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], terms, double, ON, AM2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:562:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulMulti.c:562:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], terms, double, ON, AM2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ 108 warnings generated. clang -pipe -Os -DFOUR -c ./mulLocal.c ./mulLocal.c:151: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:152: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:162:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat, terms, double*, ON, AM2L); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulLocal.c:162:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat, terms, double*, ON, AM2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulLocal.c:162:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, terms, double*, ON, AM2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:162:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulLocal.c:162:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, terms, double*, ON, AM2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:164:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat[i], terms, double, ON, AM2L); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulLocal.c:164:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat[i], terms, double, ON, AM2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulLocal.c:164:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], terms, double, ON, AM2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:164:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulLocal.c:164:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], terms, double, ON, AM2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:167: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:170: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:240: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:241: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:251:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat, terms, double*, ON, AL2L); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulLocal.c:251:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat, terms, double*, ON, AL2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulLocal.c:251:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, terms, double*, ON, AL2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:251:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulLocal.c:251:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, terms, double*, ON, AL2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:253:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat[i], terms, double, ON, AL2L); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulLocal.c:253:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat[i], terms, double, ON, AL2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulLocal.c:253:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], terms, double, ON, AL2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:253:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulLocal.c:253:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], terms, double, ON, AL2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:256: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:259: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:343:16: warning: implicit declaration of function 'costerms' is invalid in C99 [-Wimplicit-function-declaration] int cterms = costerms(order), terms = multerms(order); ^ ./mulLocal.c:343:41: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] int cterms = costerms(order), terms = multerms(order); ^ ./mulLocal.c:349:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat, terms, double*, ON, AQ2L); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulLocal.c:349:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat, terms, double*, ON, AQ2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulLocal.c:349:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, terms, double*, ON, AQ2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:349:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulLocal.c:349:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, terms, double*, ON, AQ2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:351:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat[i], numchgs, double, ON, AQ2L); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulLocal.c:351:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat[i], numchgs, double, ON, AQ2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulLocal.c:351:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], numchgs, double, ON, AQ2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:351:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulLocal.c:351:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], numchgs, double, ON, AQ2L); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:358: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:362: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:449:16: warning: implicit declaration of function 'costerms' is invalid in C99 [-Wimplicit-function-declaration] int cterms = costerms(order), terms = multerms(order); ^ ./mulLocal.c:449:41: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] int cterms = costerms(order), terms = multerms(order); ^ ./mulLocal.c:451:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat, numchgs, double*, ON, AL2P); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulLocal.c:451:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat, numchgs, double*, ON, AL2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulLocal.c:451:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AL2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:451:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulLocal.c:451:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AL2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:453:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat[i], terms, double, ON, AL2P); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulLocal.c:453:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat[i], terms, double, ON, AL2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulLocal.c:453:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], terms, double, ON, AL2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:453:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./mulLocal.c:453:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], terms, double, ON, AL2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./mulLocal.c:458: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:462: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 */ ^ 56 warnings generated. clang -pipe -Os -DFOUR -c ./direct.c ./direct.c:48:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat, numchgs, double*, ON, AQ2PD); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./direct.c:48:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat, numchgs, double*, ON, AQ2PD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./direct.c:48:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AQ2PD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:48:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./direct.c:48:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, numchgs, double*, ON, AQ2PD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:49:30: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] for(i=0; i < numchgs; i++) CALLOC(mat[i], numchgs, double, ON, AQ2PD); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./direct.c:49:30: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] for(i=0; i < numchgs; i++) CALLOC(mat[i], numchgs, double, ON, AQ2PD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./direct.c:49: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:49:30: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./direct.c:49: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:91:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat, numpchgs, double*, ON, AQ2P); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./direct.c:91:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat, numpchgs, double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./direct.c:91:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat, numpchgs, double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:91:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./direct.c:91:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat, numpchgs, double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:93:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(mat[i], numqchgs, double, ON, AQ2P); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./direct.c:93:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(mat[i], numqchgs, double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./direct.c:93:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(mat[i], numqchgs, double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:93:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./direct.c:93:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(mat[i], numqchgs, double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:132:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] MALLOC(mat, numchgs, double*, ON, AQ2P); ^ ./mulGlobal.h:155:29: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulGlobal.h:78:17: note: expanded from macro 'MALCORE' #define MALCORE ualloc ^ ./direct.c:132:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] MALLOC(mat, numchgs, double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:155:22: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./direct.c:132:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat, numchgs, double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:160:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:132:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./direct.c:132:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat, numchgs, double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:133:32: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] for(i = 0; i < numchgs; i++) MALLOC(mat[i], numchgs, double, ON, AQ2P); ^ ./mulGlobal.h:155:29: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulGlobal.h:78:17: note: expanded from macro 'MALCORE' #define MALCORE ualloc ^ ./direct.c:133:32: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] for(i = 0; i < numchgs; i++) MALLOC(mat[i], numchgs, double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:155:22: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./direct.c:133: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:160:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:133:32: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./direct.c:133: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:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:173:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] MALLOC(mat, size, double*, ON, AMSC); ^ ./mulGlobal.h:155:29: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulGlobal.h:78:17: note: expanded from macro 'MALCORE' #define MALCORE ualloc ^ ./direct.c:173:5: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] MALLOC(mat, size, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:155:22: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./direct.c:173:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat, size, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:160:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:173:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./direct.c:173:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat, size, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:175:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] MALLOC(mat[i], size, double, ON, AMSC); ^ ./mulGlobal.h:155:29: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulGlobal.h:78:17: note: expanded from macro 'MALCORE' #define MALCORE ualloc ^ ./direct.c:175:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:155:22: note: expanded from macro 'MALLOC' else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./direct.c:175:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:160:8: note: expanded from macro 'MALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:175:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./direct.c:175:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:161:8: note: expanded from macro 'MALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:319:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_order, size, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./direct.c:319:5: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_order, size, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./direct.c:319:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_order, size, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./direct.c:319:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./direct.c:319:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_order, size, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./direct.c:392:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] matcheck(mat, rows, size) ^ ./direct.c:414:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./direct.c:417:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] matlabDump(mat, size, name) ^ ./direct.c:436:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 49 warnings generated. clang -pipe -Os -DFOUR -c ./calcp.c ./calcp.c:83:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initcalcp(panel_list) ^ ./calcp.c:145: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:147:8: warning: implicit declaration of function 'flip_normal' is invalid in C99 [-Wimplicit-function-declaration] if(flip_normal(pq)) { ^ ./calcp.c:175:8: warning: implicit declaration of function 'planarize' is invalid in C99 [-Wimplicit-function-declaration] if(planarize(pq) == FALSE) { ^ ./calcp.c:177:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(npq, 1, charge, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./calcp.c:177:7: warning: cast to 'charge *' (aka 'struct charge *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(npq, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./calcp.c:177:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(npq, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./calcp.c:177:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./calcp.c:177:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(npq, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./calcp.c:191:5: warning: implicit declaration of function 'centroid' is invalid in C99 [-Wimplicit-function-declaration] centroid(pq, length20); ^ ./calcp.c:223:5: warning: implicit declaration of function 'ComputeMoments' is invalid in C99 [-Wimplicit-function-declaration] ComputeMoments(pq); ^ ./calcp.c:230:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./calcp.c:235:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldflip_normal(panel) ^ ./calcp.c:278: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:278: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:295: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:295: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:317:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] flip_normal(panel) ^ ./calcp.c:354: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:354: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:374:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] planarize(pq) ^ ./calcp.c:422:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] centroid(pp, x2) ^ ./calcp.c:450:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:479:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Cross_Product(vector1, vector2, result_vector) ^ ./calcp.c:485:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:660:5: warning: implicit declaration of function 'dp' is invalid in C99 [-Wimplicit-function-declaration] dp(panel); ^ ./calcp.c:669:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dumpnums(flag, size) ^ ./calcp.c:701:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:717:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ComputeMoments(pp) ^ ./calcp.c:734:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(XP[i], (order+3), double, ON, AQ2P); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./calcp.c:734:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(XP[i], (order+3), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./calcp.c:734:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(XP[i], (order+3), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./calcp.c:734:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./calcp.c:734:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(XP[i], (order+3), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./calcp.c:735:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(YP[i], (order+3), double, ON, AQ2P); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./calcp.c:735:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(YP[i], (order+3), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./calcp.c:735:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(YP[i], (order+3), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./calcp.c:735:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./calcp.c:735:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(YP[i], (order+3), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./calcp.c:738:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(I, (order+1), double*, ON, AQ2P); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./calcp.c:738:5: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(I, (order+1), double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./calcp.c:738:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(I, (order+1), double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./calcp.c:738:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./calcp.c:738:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(I, (order+1), double*, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./calcp.c:739:33: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] for(i = 0; i <= order; i++) CALLOC(I[i], (order+1), double, ON, AQ2P); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./calcp.c:739:33: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] for(i = 0; i <= order; i++) CALLOC(I[i], (order+1), double, ON, AQ2P); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./calcp.c:739: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./calcp.c:739:33: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./calcp.c:739: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./calcp.c:827:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./calcp.c:831:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dp(panel) ^ ./calcp.c:871:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:878:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] testCalcp(pp) ^ ./calcp.c:903:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:906:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fileCorners(pp, f) ^ ./calcp.c:915:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./calcp.c:919:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] calcpm(multi, x, y, z, origorder, order) ^ ./calcp.c:934:14: warning: implicit declaration of function 'multerms' is invalid in C99 [-Wimplicit-function-declaration] numterms = multerms(origorder); ^ ./calcp.c:940:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 59 warnings generated. clang -pipe -Os -DFOUR -c ./fastcap.c ./fastcap.c:38:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ ./fastcap.c:75:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(title, BUFSIZ, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./fastcap.c:75:3: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(title, BUFSIZ, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./fastcap.c:75:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./fastcap.c:75:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(title, BUFSIZ, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./fastcap.c:82:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(axes, 10, double **, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./fastcap.c:82:3: warning: cast to 'double ***' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(axes, 10, double **, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./fastcap.c:82:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./fastcap.c:82:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(axes, 10, double **, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./fastcap.c:84:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(axes[i], 2, double *, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./fastcap.c:84:5: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(axes[i], 2, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./fastcap.c:84:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./fastcap.c:86:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(axes[i][j], 3, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./fastcap.c:86:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(axes[i][j], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./fastcap.c:86:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109: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); ^ 32 warnings generated. clang -pipe -Os -DFOUR -c ./blkDirect.c ./blkDirect.c:196:14: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] if((fdis = creat(getName(file, name), PMODE)) == -1) { ^ ./blkDirect.c:205:16: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if((actsiz = write(fdis, (char *)mat, realsiz)) != realsiz) { ^ ./blkDirect.c:211:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fdis); ^ ./blkDirect.c:236:14: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if((fdis = open(getName(file, name), 0)) == -1) { ^ ./blkDirect.c:244:17: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if(realsiz != read(fdis, (char *)mat, realsiz)) { ^ ./blkDirect.c:248:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fdis); ^ ./blkDirect.c:356:13: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if((fdl = open(getName(matl, name), 0)) == -1) { ^ ./blkDirect.c:363:13: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] readl = read(fdl, (char *)matri, rowliml*siz*ds); ^ ./blkDirect.c:402:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fdu); ^ ./blkDirect.c:405:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fdl); ^ ./blkDirect.c:557:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(*sqrArray, matsize, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./blkDirect.c:557:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(*sqrArray, matsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./blkDirect.c:557:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*sqrArray, matsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./blkDirect.c:557:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./blkDirect.c:557:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*sqrArray, matsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./blkDirect.c:559:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(*triArray, matsize, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./blkDirect.c:559:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(*triArray, matsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./blkDirect.c:559:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*triArray, matsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./blkDirect.c:559:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./blkDirect.c:559:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*triArray, matsize, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./blkDirect.c:560:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(*real_index, numchgs, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./blkDirect.c:560:5: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(*real_index, numchgs, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./blkDirect.c:560:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*real_index, numchgs, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./blkDirect.c:560:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./blkDirect.c:560:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*real_index, numchgs, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./blkDirect.c:634:56: warning: '/*' within block comment [-Wcomment] /* dumpMatCor((double **)NULL, *sqrArray, numchgs/2); /* for debug */ ^ 26 warnings generated. clang -pipe -Os -DFOUR -c ./uglyalloc.c ./uglyalloc.c:88:7: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] char *calloc(); ^ ./uglyalloc.c:88:7: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./uglyalloc.c:89:7: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] char *malloc(); ^ ./uglyalloc.c:89:7: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./uglyalloc.c:106:6: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] if((int)cp == -1) return(NULL); ^~~~~~~ ./uglyalloc.c:285:61: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] if(base == NULL) fprintf(stdout, "(top of memory = 0x%x", sbrk(0)); ~~ ^~~~~~~ %s 4 warnings generated. clang -pipe -Os -DFOUR -c ./patran.c ./patran.c:83:20: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:83:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:83: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:83:20: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:83:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:99:5: warning: implicit declaration of function 'input' is invalid in C99 [-Wimplicit-function-declaration] input(stream, line, surf_type, trans_vector); ^ ./patran.c:101:5: warning: implicit declaration of function 'grid_equiv_check' is invalid in C99 [-Wimplicit-function-declaration] grid_equiv_check(); ^ ./patran.c:109:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(patch_patch_table, number_patches*number_patches, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:109:7: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(patch_patch_table, number_patches*number_patches, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:109: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:109:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:109: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:111: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:113:7: warning: implicit declaration of function 'assign_conductor' is invalid in C99 [-Wimplicit-function-declaration] assign_conductor(patch_patch_table); ^ ./patran.c:117:7: warning: implicit declaration of function 'assign_names' is invalid in C99 [-Wimplicit-function-declaration] assign_names(); ^ ./patran.c:134:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] input(stream, line, surf_type, trans_vector) ^ ./patran.c:157:7: warning: implicit declaration of function 'file_title' is invalid in C99 [-Wimplicit-function-declaration] file_title(stream); ^ ./patran.c:160:7: warning: implicit declaration of function 'summary_data' is invalid in C99 [-Wimplicit-function-declaration] summary_data(stream); ^ ./patran.c:163:7: warning: implicit declaration of function 'node_data' is invalid in C99 [-Wimplicit-function-declaration] node_data(stream, trans_vector); ^ ./patran.c:166:7: warning: implicit declaration of function 'element_data' is invalid in C99 [-Wimplicit-function-declaration] element_data(stream); ^ ./patran.c:169:7: warning: implicit declaration of function 'grid_data' is invalid in C99 [-Wimplicit-function-declaration] grid_data(stream, trans_vector); ^ ./patran.c:172:7: warning: implicit declaration of function 'patch_data' is invalid in C99 [-Wimplicit-function-declaration] patch_data(stream); ^ ./patran.c:175:7: warning: implicit declaration of function 'CFEG_table' is invalid in C99 [-Wimplicit-function-declaration] CFEG_table(stream); ^ ./patran.c:178: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:179:12: warning: implicit declaration of function 'waste_line' is invalid in C99 [-Wimplicit-function-declaration] else waste_line(KC, stream); ^ ./patran.c:189:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:193:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] waste_line(num_line,stream) ^ ./patran.c:202:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:207:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] file_title(stream) ^ ./patran.c:213:24: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] if(title[0] == '\0') strcpy(title, delcr(line)); ^ ./patran.c:213:24: note: include the header or explicitly provide a declaration for 'strcpy' ./patran.c:214:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:221:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] summary_data(stream) ^ ./patran.c:226:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(list_nodes, number_nodes, NODE, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:226:3: warning: cast to 'NODE *' (aka 'struct node *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(list_nodes, number_nodes, NODE, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:226:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(list_nodes, number_nodes, NODE, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:226:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:226:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(list_nodes, number_nodes, NODE, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:227:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(list_elements, number_elements, ELEMENT, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:227:3: warning: cast to 'ELEMENT *' (aka 'struct element *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(list_elements, number_elements, ELEMENT, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:227:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(list_elements, number_elements, ELEMENT, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:227:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:227:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(list_elements, number_elements, ELEMENT, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:233:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:240:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] node_data(stream, trans_vector) ^ ./patran.c:254:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:262:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] element_data(stream) ^ ./patran.c:286:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:292:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] grid_data(stream, trans_vector) ^ ./patran.c:306:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(current_grid, 1, GRID, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:306:3: warning: cast to 'GRID *' (aka 'struct grid *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(current_grid, 1, GRID, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:306:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(current_grid, 1, GRID, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:306:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:306:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_grid, 1, GRID, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:317:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:324:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] patch_data(stream) ^ ./patran.c:337:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(current_patch, 1, PATCH, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:337:3: warning: cast to 'PATCH *' (aka 'struct patch *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(current_patch, 1, PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:337:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(current_patch, 1, PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:337:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:337:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_patch, 1, PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:345: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:345: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:345: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:350:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:358:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CFEG_table(stream) ^ ./patran.c:377:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(current_cfeg, 1, CFEG, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:377:5: warning: cast to 'CFEG *' (aka 'struct cfeg *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(current_cfeg, 1, CFEG, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:377:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(current_cfeg, 1, CFEG, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:377:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:377:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_cfeg, 1, CFEG, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:385:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(element_list, NELS, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:385:5: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(element_list, NELS, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:385:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(element_list, NELS, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:385:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:385:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(element_list, NELS, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:421:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:432:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] name_data(stream) ^ ./patran.c:440:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(start_name, 1, NAME, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:440:5: warning: cast to 'NAME *' (aka 'struct name *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(start_name, 1, NAME, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:440:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(start_name, 1, NAME, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:440:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:440:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(start_name, 1, NAME, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:444:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(current_name->next, 1, NAME, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:444:5: warning: cast to 'NAME *' (aka 'struct name *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(current_name->next, 1, NAME, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:444:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(current_name->next, 1, NAME, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:444:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:444:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_name->next, 1, NAME, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:454:9: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = strlen(line); ^ ./patran.c:454:9: note: include the header or explicitly provide a declaration for 'strlen' ./patran.c:455:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(current_name->name, len+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:455:3: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(current_name->name, len+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:455: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:455:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:455:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_name->name, len+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:465:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(current_name->patch_list, 1, SM_PATCH, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:465:4: warning: cast to 'SM_PATCH *' (aka 'struct sm_patch *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(current_name->patch_list, 1, SM_PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:465: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:465:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:465: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:469:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(current_patch->next, 1, SM_PATCH, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:469:4: warning: cast to 'SM_PATCH *' (aka 'struct sm_patch *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(current_patch->next, 1, SM_PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:469: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:469:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:469:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(current_patch->next, 1, SM_PATCH, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:483:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:490:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] grid_equiv_check() ^ ./patran.c:498:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(grid_ptr_1->equiv_ID, number_grids, int, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:498:5: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(grid_ptr_1->equiv_ID, number_grids, int, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:498: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:498:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:498: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:509: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:530:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./patran.c:573:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fill_patch_patch_table(patch_patch_table) ^ ./patran.c:594: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:609:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:634:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] assign_conductor(patch_patch_table) ^ ./patran.c:659: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:674:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:680:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] depth_search(patch_patch_table,current_table_ptr,conductor_count) ^ ./patran.c:703:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./patran.c:758:6: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(cond_name, name_suffix); ^ ./patran.c:758:6: note: include the header or explicitly provide a declaration for 'strcat' ./patran.c:759: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:800:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(pq,NELS,charge, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./patran.c:800:3: warning: cast to 'charge *' (aka 'struct charge *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(pq,NELS,charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./patran.c:800:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(pq,NELS,charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./patran.c:800:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./patran.c:800:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(pq,NELS,charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./patran.c:854:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] assign_names() ^ ./patran.c:911:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 129 warnings generated. clang -pipe -Os -DFOUR -c ./quickif.c In file included from ./quickif.c:37: ./quickif.h:69:26: warning: '/*' within block comment [-Wcomment] /* #define MAXCON 10000 /* assumes never more conductors than this */ ^ ./quickif.c:50:9: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if(!strcmp(name, cur_alias->name)) return(TRUE); ^ ./quickif.c:50:9: note: include the header or explicitly provide a declaration for 'strcmp' ./quickif.c:66:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] nlen = strlen(name); ^ ./quickif.c:66:10: note: include the header or explicitly provide a declaration for 'strlen' ./quickif.c:92:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:92:5: warning: cast to 'Name *' (aka 'struct Name *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:92: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:92:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:92:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:93:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_name->alias_list->name, strlen(new_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:93:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_name->alias_list->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:93: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:93:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:93: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:94:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(cur_name->alias_list->name, new_name); ^ ./quickif.c:94:5: note: include the header or explicitly provide a declaration for 'strcpy' ./quickif.c:97:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(last_alias, 1, Name, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:97:5: warning: cast to 'Name *' (aka 'struct Name *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(last_alias, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:97:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(last_alias, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:97:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:97:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(last_alias, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:98:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(last_alias->name, strlen(new_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:98:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(last_alias->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:98: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:98:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:98: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:134:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(*name_list, 1, Name, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:134:5: warning: cast to 'Name *' (aka 'struct Name *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(*name_list, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:134:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*name_list, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:134:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:134:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*name_list, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:135:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC((*name_list)->name, strlen(name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:135:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC((*name_list)->name, strlen(name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:135: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:135:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:135: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:151:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(prev_name->next, 1, Name, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:151:3: warning: cast to 'Name *' (aka 'struct Name *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(prev_name->next, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:151:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(prev_name->next, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:151:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:151:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(prev_name->next, 1, Name, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:152:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(prev_name->next->name, strlen(name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:152:3: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(prev_name->next->name, strlen(name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:152: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:152:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:152: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:236:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_name->name, strlen(new_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:236:4: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_name->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:236: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:236:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:236: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:323:7: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(condstr, name_suffix); ^ ./quickif.c:323:7: note: include the header or explicitly provide a declaration for 'strcat' ./quickif.c:327:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(fstquad, 1, quadl, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:327:2: warning: cast to 'quadl *' (aka 'struct quadl *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(fstquad, 1, quadl, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:327:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(fstquad, 1, quadl, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:327:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:327:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(fstquad, 1, quadl, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:331:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(curquad->next, 1, quadl, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:331:2: warning: cast to 'quadl *' (aka 'struct quadl *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(curquad->next, 1, quadl, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:331:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(curquad->next, 1, quadl, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:331:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:331:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(curquad->next, 1, quadl, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:337: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:365:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(fsttri, 1, tri, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:365:2: warning: cast to 'tri *' (aka 'struct tri *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(fsttri, 1, tri, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:365:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(fsttri, 1, tri, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:365:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:365:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(fsttri, 1, tri, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:369:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(curtri->next, 1, tri, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:369:2: warning: cast to 'tri *' (aka 'struct tri *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(curtri->next, 1, tri, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:369:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(curtri->next, 1, tri, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:369:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:369:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(curtri->next, 1, tri, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:378: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:407: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:427:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(chglst, 1, charge, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:427:7: warning: cast to 'charge *' (aka 'struct charge *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:427:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:427:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:427:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:431:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nq->next, 1, charge, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:431:7: warning: cast to 'charge *' (aka 'struct charge *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:431:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:431:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:431:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:456:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(chglst, 1, charge, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:456:7: warning: cast to 'charge *' (aka 'struct charge *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:456:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:456:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:456:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./quickif.c:460:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(nq->next, 1, charge, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./quickif.c:460:7: warning: cast to 'charge *' (aka 'struct charge *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./quickif.c:460:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./quickif.c:460:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./quickif.c:460:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ 93 warnings generated. clang -pipe -Os -DFOUR -c ./electric.c clang -pipe -Os -DFOUR -c ./input.c ./input.c:145:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if(!strcmp(plus, "+")) end_of_chain = FALSE; ^ ./input.c:145:6: note: include the header or explicitly provide a declaration for 'strcmp' ./input.c:150:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(*surf_list, 1, surface, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:150:2: warning: cast to 'surface *' (aka 'struct surface *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:150:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:150:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:150:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:154:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:154:2: warning: cast to 'surface *' (aka 'struct surface *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:154:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:154:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:154:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:164:30: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^ ./input.c:164:30: note: include the header or explicitly provide a declaration for 'strlen' ./input.c:164:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:164:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:164: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:164:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:164: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:165:7: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(cur_surf->name, file_name); ^ ./input.c:165:7: note: include the header or explicitly provide a declaration for 'strcpy' ./input.c:169:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:169:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:169: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:169:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:169: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:206:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(*surf_list, 1, surface, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:206:2: warning: cast to 'surface *' (aka 'struct surface *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:206:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:206:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:206:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:210:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:210:2: warning: cast to 'surface *' (aka 'struct surface *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:210:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:210:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:210:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:224:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:224:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:224: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:224:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:224: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:230:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:230:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:230: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:230:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:230: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:261:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(*surf_list, 1, surface, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:261:2: warning: cast to 'surface *' (aka 'struct surface *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:261:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:261:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:261:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:265:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:265:2: warning: cast to 'surface *' (aka 'struct surface *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:265:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:265:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:265:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:279:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:279:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:279: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:279:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:279: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:285:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:285:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:285: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:285:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:285: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:427:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(dummy_list, 1, charge, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:427:7: warning: cast to 'charge *' (aka 'struct charge *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(dummy_list, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:427:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(dummy_list, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:427:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:427:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(dummy_list, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:431:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:431:7: warning: cast to 'charge *' (aka 'struct charge *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:431:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:431:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:431:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:446:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:446:5: warning: cast to 'charge *' (aka 'struct charge *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:446:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:446:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:446:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:671:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:671:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:671: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:671:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:671: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:680:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:680:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:680: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:680:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:680: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:687:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(ps_file_base, strlen("stdin")+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:687:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(ps_file_base, strlen("stdin")+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:687: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:687:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:687: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:768:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->title, strlen(title)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:768:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->title, strlen(title)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:768: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:768:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:768: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:780:5: warning: implicit declaration of function 'initcalcp' is invalid in C99 [-Wimplicit-function-declaration] initcalcp(cur_surf->panels);/* get normals, edges, perpendiculars */ ^ ./input.c:783:50: warning: '/*' within block comment [-Wcomment] align_normals(cur_surf->panels, cur_surf); /* now done in calcp */ ^ ./input.c:921:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(kill_num_list, 1, ITER, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:921:7: warning: cast to 'ITER *' (aka 'struct ITER *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(kill_num_list, 1, ITER, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:921:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(kill_num_list, 1, ITER, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:921:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:921:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(kill_num_list, 1, ITER, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:925:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_cond->next, 1, ITER, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:925:7: warning: cast to 'ITER *' (aka 'struct ITER *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_cond->next, 1, ITER, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:925:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_cond->next, 1, ITER, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:925:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:925:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_cond->next, 1, ITER, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1140: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:1172:22: warning: data argument not used by format string [-Wformat-extra-args] DEFDST, DEFSCL, DEFWID); ^ ./zbufGlobal.h:135:16: note: expanded from macro 'DEFWID' #define DEFWID 1.0 /* default line width, points (-w) */ ^ ./input.c:1213:5: warning: implicit declaration of function 'dumpConfig' is invalid in C99 [-Wimplicit-function-declaration] dumpConfig(stderr, argv[0]); ^ ./input.c:1239:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(surf_list, 1, surface, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:1239:5: warning: cast to 'surface *' (aka 'struct surface *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:1239:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1239:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:1239:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1241:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(surf_list->name, strlen("stdin")+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:1241:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(surf_list->name, strlen("stdin")+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:1241: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1241:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:1241: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1247:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(surf_list->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:1247:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(surf_list->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:1247: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1247:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:1247: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1260:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(surf_list, 1, surface, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:1260:7: warning: cast to 'surface *' (aka 'struct surface *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:1260:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1260:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:1260:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1264:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:1264:7: warning: cast to 'surface *' (aka 'struct surface *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:1264:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1264:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:1264:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1268:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->name, strlen(input_file)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:1268:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->name, strlen(input_file)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:1268: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1268:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:1268: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1274:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:1274:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:1274: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1274:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:1274: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1391:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_name->name, slen+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:1391:2: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_name->name, slen+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:1391: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1391:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:1391:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_name->name, slen+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1399:4: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cur_alias->name, slen+1, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./input.c:1399:4: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cur_alias->name, slen+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./input.c:1399: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./input.c:1399:4: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./input.c:1399:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cur_alias->name, slen+1, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./input.c:1555:6: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] if(gethostname(hostname, BUFSIZ) != -1) ^ 159 warnings generated. clang -pipe -Os -DFOUR -c ./psMatDisplay.c ./psMatDisplay.c:101: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:147:7: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(line, argv[f]); ^ ./psMatDisplay.c:147:7: note: include the header or explicitly provide a declaration for 'strcat' ./psMatDisplay.c:151: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:273:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(aliased_matrix, num_alias_r, char*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./psMatDisplay.c:273:5: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(aliased_matrix, num_alias_r, char*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./psMatDisplay.c:273: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./psMatDisplay.c:273:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./psMatDisplay.c:273:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(aliased_matrix, num_alias_r, char*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./psMatDisplay.c:275:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(aliased_matrix[i], num_alias_c, char, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./psMatDisplay.c:275:7: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(aliased_matrix[i], num_alias_c, char, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./psMatDisplay.c:275: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./psMatDisplay.c:275:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./psMatDisplay.c:275: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ 13 warnings generated. clang -pipe -Os -DFOUR -c ./capsolve.c ./capsolve.c:67:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC((*capmat), numconds+1, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:67:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC((*capmat), numconds+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:67:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC((*capmat), numconds+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:67:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:67:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC((*capmat), numconds+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:69:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC((*capmat)[i], numconds+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:69:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC((*capmat)[i], numconds+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:69:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC((*capmat)[i], numconds+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:69:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:69:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC((*capmat)[i], numconds+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:73:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(q, size+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:73:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(q, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:73:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(q, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:73:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:73:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(q, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:74:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(r, size+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:74:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(r, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:74:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(r, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:74:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:74:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(r, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:80:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(bp, maxiter+1, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:80:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(bp, maxiter+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:80:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bp, maxiter+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:80:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:80:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bp, maxiter+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:81:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(bap, maxiter+1, double*, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:81:3: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(bap, maxiter+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:81:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bap, maxiter+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:81:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:81:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bap, maxiter+1, double*, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:100: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:134: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:159: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:226:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(bp[iter], size+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:226:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:226:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:226:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:226:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:227:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(bap[iter], size+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:227:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:227:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:227:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:227:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:239:5: warning: implicit declaration of function 'computePsi' is invalid in C99 [-Wimplicit-function-declaration] computePsi(sys, chglist); ^ ./capsolve.c:308:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldcomputePsi(sys, chglist) ^ ./capsolve.c:315:3: warning: implicit declaration of function 'mulDirect' is invalid in C99 [-Wimplicit-function-declaration] mulDirect(sys); ^ ./capsolve.c:320:3: warning: implicit declaration of function 'mulUp' is invalid in C99 [-Wimplicit-function-declaration] mulUp(sys); ^ ./capsolve.c:334:3: warning: implicit declaration of function 'mulDown' is invalid in C99 [-Wimplicit-function-declaration] mulDown(sys); /* do heirarchical local shift dwnwd pass */ ^ ./capsolve.c:341: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:351:3: warning: implicit declaration of function 'compute_electric_fields' is invalid in C99 [-Wimplicit-function-declaration] compute_electric_fields(sys, chglist); ^ ./capsolve.c:362:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./capsolve.c:391:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(bp[iter], size+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:391:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:391:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:391:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:391:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:392:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(bap[iter], size+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:392:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:392:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:392:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:392:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:399:5: warning: implicit declaration of function 'computePsi' is invalid in C99 [-Wimplicit-function-declaration] computePsi(sys, p, ap, size, chglist); ^ ./capsolve.c:456:3: warning: implicit declaration of function 'mulPrecond' is invalid in C99 [-Wimplicit-function-declaration] mulPrecond(sys, PRECOND); ^ ./capsolve.c:493:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(c, size+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:493:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(c, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:493:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(c, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:493:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:493:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(c, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:494:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(s, size+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:494:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(s, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:494:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(s, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:494:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:494:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(s, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:495:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(g, size+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:495:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(g, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:495:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(g, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:495:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:495:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(g, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:496:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(y, size+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:496:5: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(y, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:496:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(y, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:496:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:496:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(y, size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:520:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(bv[iter], size+1, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:520:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(bv[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:520:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bv[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:520:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:520:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bv[iter], size+1, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:521:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(bh[iter], iter+2, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./capsolve.c:521:7: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(bh[iter], iter+2, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./capsolve.c:521:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(bh[iter], iter+2, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./capsolve.c:521:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./capsolve.c:521:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(bh[iter], iter+2, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./capsolve.c:531:5: warning: implicit declaration of function 'computePsi' is invalid in C99 [-Wimplicit-function-declaration] computePsi(sys, p, ap, size, chglist); ^ ./capsolve.c:623:3: warning: implicit declaration of function 'mulPrecond' is invalid in C99 [-Wimplicit-function-declaration] mulPrecond(sys, PRECOND); ^ ./capsolve.c:644:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] computePsi(sys, q, p, size, chglist) ^ ./capsolve.c:661:3: warning: implicit declaration of function 'mulPrecond' is invalid in C99 [-Wimplicit-function-declaration] mulPrecond(sys, PRECOND); ^ ./capsolve.c:673:3: warning: implicit declaration of function 'mulDirect' is invalid in C99 [-Wimplicit-function-declaration] mulDirect(sys); ^ ./capsolve.c:678:3: warning: implicit declaration of function 'mulUp' is invalid in C99 [-Wimplicit-function-declaration] mulUp(sys); ^ ./capsolve.c:691:3: warning: implicit declaration of function 'mulDown' is invalid in C99 [-Wimplicit-function-declaration] mulDown(sys); /* do heirarchical local shift dwnwd pass */ ^ ./capsolve.c:698: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:710:3: warning: implicit declaration of function 'compute_electric_fields' is invalid in C99 [-Wimplicit-function-declaration] compute_electric_fields(sys, chglist); ^ ./capsolve.c:717:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 103 warnings generated. clang -pipe -Os -DFOUR -c ./savemat_mod.c ./savemat_mod.c:96:13: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] x.namlen = strlen(pname) + 1; ^ ./savemat_mod.c:96:13: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. clang -pipe -Os -DFOUR -c ./zbufInOut.c ./zbufInOut.c:157: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:192: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:245:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if(!strcmp(str1, "Panel") && !strcmp(str2, "charges,") ^ ./zbufInOut.c:245:6: note: include the header or explicitly provide a declaration for 'strcmp' ./zbufInOut.c:345: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:354:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(head, 1, face, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufInOut.c:354:7: warning: cast to 'face *' (aka 'struct face *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(head, 1, face, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufInOut.c:354:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(head, 1, face, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:354:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufInOut.c:354:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(head, 1, face, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:358:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(tail->next, 1, face, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufInOut.c:358:7: warning: cast to 'face *' (aka 'struct face *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(tail->next, 1, face, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufInOut.c:358:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(tail->next, 1, face, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:358:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufInOut.c:358:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(tail->next, 1, face, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:363:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(tail->c, tail->numsides, double *, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufInOut.c:363:5: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(tail->c, tail->numsides, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufInOut.c:363:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(tail->c, tail->numsides, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:363:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufInOut.c:363:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(tail->c, tail->numsides, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:365:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(tail->c[i], 3, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufInOut.c:365:2: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(tail->c[i], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufInOut.c:365:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(tail->c[i], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:365:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufInOut.c:365:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(tail->c[i], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:381:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(faces, *numfaces, face *, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufInOut.c:381:3: warning: cast to 'face **' (aka 'struct face **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(faces, *numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufInOut.c:381:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(faces, *numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:381:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufInOut.c:381:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(faces, *numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:488:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC((*tail), 1, line, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufInOut.c:488:2: warning: cast to 'line *' (aka 'struct line *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC((*tail), 1, line, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufInOut.c:488:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC((*tail), 1, line, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:488:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufInOut.c:488:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC((*tail), 1, line, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:493:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC((*tail)->next, 1, line, ON, AMSC); /* link forward */ ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufInOut.c:493:2: warning: cast to 'line *' (aka 'struct line *') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC((*tail)->next, 1, line, ON, AMSC); /* link forward */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufInOut.c:493: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:493:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufInOut.c:493:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC((*tail)->next, 1, line, ON, AMSC); /* link forward */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:567:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(linesout, (*numlines), line *, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufInOut.c:567:3: warning: cast to 'line **' (aka 'struct line **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(linesout, (*numlines), line *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufInOut.c:567:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(linesout, (*numlines), line *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:567:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufInOut.c:567:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(linesout, (*numlines), line *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufInOut.c:1015:38: warning: '/*' within block comment [-Wcomment] /* y += (numfaces*stepy + 3*FONT); /* offset 2nd array */ ^ ./zbufInOut.c:1129:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(linein, "DENSITY, statC/m^2"); ^ ./zbufInOut.c:1129:5: note: include the header or explicitly provide a declaration for 'strcpy' ./zbufInOut.c:1198: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:66:14: note: expanded from macro 'FONT' #define FONT 5.0 /* font size used to label lines in ps file */ ^~~ ./zbufInOut.c:1198: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:66:14: note: expanded from macro 'FONT' #define FONT 5.0 /* font size used to label lines in ps file */ ^~~ ./zbufInOut.c:1417:7: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(linein, argv[f]); ^ ./zbufInOut.c:1417:7: note: include the header or explicitly provide a declaration for 'strcat' 49 warnings generated. clang -pipe -Os -DFOUR -c ./zbuf2fastcap.c ./zbuf2fastcap.c:102:3: warning: implicit declaration of function 'initFaces' is invalid in C99 [-Wimplicit-function-declaration] initFaces(faces, numfaces, view); ^ ./zbuf2fastcap.c:111:3: warning: implicit declaration of function 'getAdjGraph' is invalid in C99 [-Wimplicit-function-declaration] getAdjGraph(faces, numfaces, view, rhs, normal); ^ ./zbuf2fastcap.c:120:3: warning: implicit declaration of function 'image' is invalid in C99 [-Wimplicit-function-declaration] image(sfaces, numfaces, lines, numlines, normal, rhs, view); ^ ./zbuf2fastcap.c:121: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:122:3: warning: implicit declaration of function 'makePos' is invalid in C99 [-Wimplicit-function-declaration] makePos(sfaces, numfaces, lines, numlines); ^ ./zbuf2fastcap.c:123:3: warning: implicit declaration of function 'scale2d' is invalid in C99 [-Wimplicit-function-declaration] scale2d(sfaces, numfaces, lines, numlines, scale, moffset); ^ ./zbuf2fastcap.c:125:5: warning: implicit declaration of function 'dumpCycles' is invalid in C99 [-Wimplicit-function-declaration] dumpCycles(sfaces, numfaces, stdout); /* DANGER - doesnt work (?) */ ^ ./zbuf2fastcap.c:126:5: warning: implicit declaration of function 'dumpFaceText' is invalid in C99 [-Wimplicit-function-declaration] dumpFaceText(sfaces, numfaces, stdout); ^ ./zbuf2fastcap.c:134: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. clang -pipe -Os -DFOUR -c ./zbufProj.c ./zbufProj.c:431:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(avg, 3, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufProj.c:431:3: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(avg, 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufProj.c:431:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(avg, 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufProj.c:431:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufProj.c:431:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(avg, 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ 5 warnings generated. clang -pipe -Os -DFOUR -c ./zbufSort.c ./zbufSort.c:531:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cproj, 2, double **, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufSort.c:531:5: warning: cast to 'double ***' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cproj, 2, double **, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufSort.c:531:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cproj, 2, double **, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:531:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufSort.c:531:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cproj, 2, double **, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:533:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cproj[k], MAXSIDES, double *, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufSort.c:533:7: warning: cast to 'double **' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cproj[k], MAXSIDES, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufSort.c:533:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cproj[k], MAXSIDES, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:533:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufSort.c:533:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cproj[k], MAXSIDES, double *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:535:2: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(cproj[k][i], 3, double, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufSort.c:535:2: warning: cast to 'double *' from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(cproj[k][i], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufSort.c:535:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(cproj[k][i], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:535:2: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufSort.c:535:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(cproj[k][i], 3, double, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:753:5: warning: implicit declaration of function 'dump_face' is invalid in C99 [-Wimplicit-function-declaration] dump_face(stderr, fac); ^ ./zbufSort.c:755:5: warning: implicit declaration of function 'dumpCorners' is invalid in C99 [-Wimplicit-function-declaration] dumpCorners(stderr, cproj[0], fac->numsides, 3); ^ ./zbufSort.c:1029:3: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(rfaces, numfaces, face *, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufSort.c:1029:3: warning: cast to 'face **' (aka 'struct face **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(rfaces, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufSort.c:1029:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(rfaces, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1029:3: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufSort.c:1029:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(rfaces, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:1061:7: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(faces[f]->behind, numfaces, face *, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufSort.c:1061:7: warning: cast to 'face **' (aka 'struct face **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(faces[f]->behind, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufSort.c:1061:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(faces[f]->behind, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1061:7: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufSort.c:1061:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(faces[f]->behind, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:1083:5: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] CALLOC(behind, numfaces, face *, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufSort.c:1083:5: warning: cast to 'face **' (aka 'struct face **') from smaller integer type 'int' [-Wint-to-pointer-cast] CALLOC(behind, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufSort.c:1083:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] CALLOC(behind, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1083:5: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufSort.c:1083:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CALLOC(behind, numfaces, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ ./zbufSort.c:1090:39: warning: too few arguments in call to 'is1stFaceDeeper' if(is1stFaceDeeper(fpcur, fpchk, view) == TRUE) { ~~~~~~~~~~~~~~~ ^ ./zbufSort.c:1096:25: warning: implicit declaration of function 'ualloc' is invalid in C99 [-Wimplicit-function-declaration] if(numbehind > 0) CALLOC(fpcur->behind, numbehind, face *, ON, AMSC); ^ ./mulGlobal.h:118:29: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulGlobal.h:76:28: note: expanded from macro 'CALCORE' #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./zbufSort.c:1096:25: warning: cast to 'face **' (aka 'struct face **') from smaller integer type 'int' [-Wint-to-pointer-cast] if(numbehind > 0) CALLOC(fpcur->behind, numbehind, face *, ON, AMSC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:118:22: note: expanded from macro 'CALLOC' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ./zbufSort.c:1096: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:123:8: note: expanded from macro 'CALLOC' (NUM)*sizeof(TYPE)); \ ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1096:25: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration] ./mulGlobal.h:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^ ./mulGlobal.h:109:18: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^ ./zbufSort.c:1096: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:124:8: note: expanded from macro 'CALLOC' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulGlobal.h:109:3: note: expanded from macro 'DUMPALLOCSIZ' memcount/1024, sbrk(0)); \ ^~~~~~~~~~~~~ 38 warnings generated. clang -o temp.out -pipe -Os -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 temp.out ../bin/fastcap cd src ; /opt/pkg/bin/bmake cubegen clang -pipe -Os -DFOUR -c ./cubegen.c ./cubegen.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ ./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:41:16: note: expanded from macro 'DEFNCL' #define DEFNCL 3 /* default #cells on short side of faces */ ^ ./cubegen.c:243:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ ./cubegen.c:243:5: note: include the header or explicitly provide a declaration for 'exit' ./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, ^ 10 warnings generated. clang -pipe -Os -DFOUR -c ./disrect.c ./disrect.c:182:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ ./disrect.c:182:5: note: include the header or explicitly provide a declaration for 'exit' ./disrect.c:196:5: warning: implicit declaration of function 'getEpsBnds' is invalid in C99 [-Wimplicit-function-declaration] getEpsBnds(&uepsilon, &lepsilon); ^ 2 warnings generated. clang -pipe -Os -DFOUR -c ./epsilon.c clang -o temp.out -pipe -Os -DFOUR ./cubegen.o ./disrect.o ./epsilon.o -lm mv temp.out ../bin/cubegen cd src ; /opt/pkg/bin/bmake capgen clang -pipe -Os -DFOUR -c ./pltcapgen.c ./pltcapgen.c:52:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ ./pltcapgen.c:159:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ ./pltcapgen.c:159:5: note: include the header or explicitly provide a declaration for 'exit' ./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, ^ 5 warnings generated. clang -o temp.out -pipe -Os -DFOUR ./pltcapgen.o ./disrect.o ./epsilon.o -lm mv temp.out ../bin/capgen cd src ; /opt/pkg/bin/bmake busgen clang -pipe -Os -DFOUR -c ./busgen.c ./busgen.c:120:13: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, cond, edgefrac, ncells, no_disc, ^ ./busgen.c:128:13: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, cond, edgefrac, ncells, no_disc, ^ ./busgen.c:153:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, cond, edgefrac, ncells, no_disc, ^ ./busgen.c:163:18: warning: implicit declaration of function 'disRect' is invalid in C99 [-Wimplicit-function-declaration] npanels += disRect(fp, cond, edgefrac, ncells, no_disc, ^ ./busgen.c:180:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ ./busgen.c:295:15: warning: data argument not used by format string [-Wformat-extra-args] argv[0], DEFNWI, DEFWID, DEFNCL, DEFEFR); ^ ./busgen.c:42:16: note: expanded from macro 'DEFNWI' #define DEFNWI 2 /* default problem is DEFNWI X DEFNWI bus xg */ ^ ./busgen.c:305:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ ./busgen.c:305:5: note: include the header or explicitly provide a declaration for 'exit' 7 warnings generated. clang -o temp.out -pipe -Os -DFOUR ./busgen.o ./disrect.o ./epsilon.o -lm mv temp.out ../bin/busgen cd src ; /opt/pkg/bin/bmake pipedgen clang -pipe -Os -DFOUR -c ./pipedgen.c ./pipedgen.c:60:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ ./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:266:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ ./pipedgen.c:266:5: note: include the header or explicitly provide a declaration for 'exit' ./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, ^ 9 warnings generated. clang -o temp.out -pipe -Os -DFOUR ./pipedgen.o ./disrect.o ./epsilon.o -lm mv temp.out ../bin/pipedgen cd src ; /opt/pkg/bin/bmake pyragen clang -pipe -Os -DFOUR -c ./teragen.c ./teragen.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ ./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:225:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ ./teragen.c:225:5: note: include the header or explicitly provide a declaration for 'exit' ./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, ^ 8 warnings generated. clang -pipe -Os -DFOUR -c ./distri.c ./distri.c:94:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ ./distri.c:94:5: note: include the header or explicitly provide a declaration for 'exit' ./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); ^ 3 warnings generated. clang -o temp.out -pipe -Os -DFOUR ./teragen.o ./disrect.o ./distri.o ./epsilon.o -lm mv temp.out ../bin/pyragen cd /Users/pbulk/build/cad/fastcap/work/doc && /usr/bin/env BIBTEX=/opt/pkg/bin/bibtex LATEX=/opt/pkg/bin/latex USETOOLS=no GOTMPDIR=/Users/pbulk/build MACOSX_DEPLOYMENT_TARGET=11.3 CC=clang CFLAGS=-pipe\ -Os CPPFLAGS= CXX=clang++ CXXFLAGS=-pipe\ -Os COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build/cad/fastcap/work/.cwrapper/bin:/Users/pbulk/build/cad/fastcap/work/.buildlink/bin:/Users/pbulk/build/cad/fastcap/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/pkg/etc CXXCPP=clang\ -E HOME=/Users/pbulk/build/cad/fastcap/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/cad/fastcap/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build/cad/fastcap/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/cad/fastcap/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/cad/fastcap/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/cad/fastcap/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/cad/fastcap/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/cad/fastcap/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/cad/fastcap/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/cad/fastcap/work/.cwrapper/config /opt/pkg/bin/bmake manual cd . ; pwd > temp_ ; awk '{s = sprintf("\\\\newcommand{\\\\topdir}{%s}", $1)} END {printf "{if($0 ~ /\\\\newcommand{\\\\topdir}/) print \"%s\" ; else print $0 }", s }' temp_ > temp__ ; awk -f temp__ ug.tex > temp_ ; mv temp_ ug.tex ; /bin/rm temp__ cd . ; /opt/pkg/bin/latex ug ; /opt/pkg/bin/latex ug ; /opt/pkg/bin/latex ug This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/pkgsrc) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./ug.tex LaTeX2e <2022-06-01> patch level 5 L3 programming layer <2022-08-23> (/opt/pkg/share/texmf-dist/tex/latex/base/latex209.def Entering LaTeX 2.09 COMPATIBILITY MODE ************************************************************* !!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!! This mode attempts to provide an emulation of the LaTeX 2.09 author environment so that OLD documents can be successfully processed. It should NOT be used for NEW documents! New documents should use Standard LaTeX conventions and start with the \documentclass command. Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style files that change any internal macros, especially not with those that change the FONT SELECTION or OUTPUT ROUTINES. Therefore such style files MUST BE UPDATED to use Current Standard LaTeX: LaTeX2e. If you suspect that you may be using such a style file, which is probably very, very old by now, then you should attempt to get it updated by sending a copy of this error message to the author of that file. ************************************************************* (/opt/pkg/share/texmf-dist/tex/latex/base/tracefnt.sty) (/opt/pkg/share/texmf-dist/tex/latex/base/latexsym.sty)) (/opt/pkg/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2021/10/04 v1.4n Standard LaTeX document class (/opt/pkg/share/texmf-dist/tex/latex/base/size12.clo)) (./psfig.sty psfig: version 1.1 (MC-TeX) ) (/opt/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) No file ug.aux. [0] (/opt/pkg/share/texmf-dist/tex/latex/base/ulasy.fd) [0] (./ug-license.tex [1] [2]) No file ug.toc. [3] [4] (./ug-intro.tex LaTeX Warning: Reference `comfas' on page 1 undefined on input line 30. ) (./ug-all.tex LaTeX Warning: Reference `generc' on page 1 undefined on input line 17. LaTeX Warning: Reference `genpic' on page 1 undefined on input line 28. [1] LaTeX Warning: Reference `pateg' on page 2 undefined on input line 94. LaTeX Warning: Reference `pateg' on page 2 undefined on input line 99. psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_coar se_mesh.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_coar se_mesh.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_fine _mesh.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_fine _mesh.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_nonu nif.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_nonu nif.ps [2] [3] LaTeX Warning: Reference `pateg' on page 4 undefined on input line 211. [4] LaTeX Warning: Reference `pateg' on page 5 undefined on input line 242. LaTeX Warning: Reference `pateg' on page 5 undefined on input line 268. LaTeX Warning: Reference `pateg' on page 5 undefined on input line 269. [5] Overfull \hbox (12.64009pt too wide) in paragraph at lines 289--291 \OT1/cmr/m/n/12 PATRAN will re-spond by ask-ing the user, ``WILL YOU PER-MIT OV ER-WRITE? (Y?N?S)'' LaTeX Warning: Reference `pateg' on page 6 undefined on input line 296. LaTeX Warning: Reference `pateg' on page 6 undefined on input line 309. LaTeX Warning: Reference `pateg' on page 6 undefined on input line 314. LaTeX Warning: Reference `pateg' on page 6 undefined on input line 320. [6] LaTeX Warning: Reference `pateg' on page 7 undefined on input line 375. (./ug-listif.tex LaTeX Warning: Reference `cut_sph' on page 7 undefined on input line 17. psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/cut_sph.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/cut_sph.ps [7] Overfull \hbox (2.45883pt too wide) in paragraph at lines 58--58 []\OT1/cmtt/m/n/10.95 B [-][+][] [8] LaTeX Warning: Reference `1x1bus' on page 9 undefined on input line 104. psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_ca.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_ca.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_cd.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_cd.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_da.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_da.ps [9] LaTeX Warning: Reference `listeg' on page 10 undefined on input line 158. )) (./ug-run.tex Overfull \hbox (3.7624pt too wide) in paragraph at lines 12--12 []\OT1/cmtt/m/n/12 fastcap [-o] [-d] [][] LaTeX Warning: Reference `genpic' on page 10 undefined on input line 15. LaTeX Warning: Reference `all' on page 10 undefined on input line 19. LaTeX Warning: Reference `sphrun' on page 10 undefined on input line 25. LaTeX Warning: Reference `busxin' on page 10 undefined on input line 32. LaTeX Warning: Reference `listif' on page 10 undefined on input line 35. LaTeX Warning: Reference `listif' on page 10 undefined on input line 40. LaTeX Warning: Reference `cubgen' on page 10 undefined on input line 48. LaTeX Warning: Reference `genpic' on page 10 undefined on input line 50. [10] LaTeX Warning: Reference `busxin' on page 11 undefined on input line 76. [11] LaTeX Warning: Reference `listif' on page 12 undefined on input line 159. [12] LaTeX Warning: Reference `sphrun' on page 13 undefined on input line 290. LaTeX Warning: Reference `cubgen' on page 13 undefined on input line 293. LaTeX Warning: Reference `parpla' on page 13 undefined on input line 294. LaTeX Warning: Reference `busxin' on page 13 undefined on input line 294. LaTeX Warning: Reference `listeg' on page 13 undefined on input line 300. LaTeX Warning: Reference `dram' on page 13 undefined on input line 300. LaTeX Warning: Reference `spheres' on page 13 undefined on input line 315. psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere2.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere2.ps LaTeX Warning: Reference `spheres' on page 13 undefined on input line 345. Overfull \hbox (3.27779pt too wide) in paragraph at lines 333--346 \OT1/cmr/m/n/12 lat-er-als us-ing the \OT1/cmtt/m/n/12 ISO \OT1/cmr/m/n/12 op-t ion in \OT1/cmtt/m/n/12 PATRAN\OT1/cmr/m/n/12 . The \OT1/cmtt/m/n/12 sphere1.ne u \OT1/cmr/m/n/12 case cor-re-sponds to $[] = [13] [14] [15] [16] LaTeX Warning: Reference `cubes' on page 17 undefined on input line 505. LaTeX Warning: Reference `quiref' on page 17 undefined on input line 519. psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/cubes.eps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/cubes.eps [17] LaTeX Warning: Reference `cubes' on page 18 undefined on input line 574. [18] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/pltcap.eps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/pltcap.eps LaTeX Warning: Reference `pltcap' on page 19 undefined on input line 645. LaTeX Warning: Reference `quiref' on page 19 undefined on input line 651. [19] Overfull \hbox (11.43773pt too wide) in paragraph at lines 689--689 [] \OT1/cmtt/m/n/12 title: `1mX1m 2 || plate capacitor with 0.1m separatio n (n=20 e=0.1)'[] [20] LaTeX Warning: Reference `pltcap' on page 21 undefined on input line 692. Overfull \hbox (11.43773pt too wide) in paragraph at lines 734--734 [] \OT1/cmtt/m/n/12 title: `1mX1m 2 || plate capacitor with 0.1m separatio n (n=25 e=0.1)'[] [21] LaTeX Warning: Reference `busses' on page 22 undefined on input line 773. LaTeX Warning: Reference `quiref' on page 22 undefined on input line 776. LaTeX Warning: Reference `sections' on page 22 undefined on input line 779. LaTeX Warning: Reference `cubgen' on page 22 undefined on input line 780. psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/busses.eps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/busses.eps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sections.eps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sections.eps LaTeX Warning: Reference `busses' on page 22 undefined on input line 806. [22] [23] LaTeX Warning: Reference `busses' on page 24 undefined on input line 854. [24] LaTeX Warning: Reference `listif' on page 25 undefined on input line 908. LaTeX Warning: Reference `cut_sph' on page 25 undefined on input line 911. [25] [26] LaTeX Warning: Reference `testpic' on page 27 undefined on input line 999. psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/testpic.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/testpic.ps [27] [28] Underfull \vbox (badness 10000) has occurred while \output is active [29] LaTeX Warning: Reference `connect' on page 30 undefined on input line 1151. psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/connector2.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/connector2.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/connector3.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/connector3.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/connector4.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/connector4.ps Underfull \hbox (badness 1953) in paragraph at lines 1166--1166 []\OT1/cmr/m/n/12 Figure 10: The three back-plane con-nec-tor prob-lems gen-er- ated by the scripts Underfull \vbox (badness 2134) has occurred while \output is active [30] LaTeX Warning: Reference `quiref' on page 31 undefined on input line 1177. [31] [32] LaTeX Warning: Reference `listif' on page 33 undefined on input line 1263. LaTeX Warning: Reference `ramcell' on page 33 undefined on input line 1286. (./ug-ramcellfig.tex psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/side_view.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/side_view.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/nosini.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/nosini.ps Overfull \hbox (10.83998pt too wide) in paragraph at lines 47--48 [][] ) LaTeX Warning: Reference `ramcell' on page 33 undefined on input line 1314. LaTeX Warning: Reference `ramcell' on page 33 undefined on input line 1317. [33] [34] LaTeX Warning: Reference `quiref' on page 35 undefined on input line 1330. LaTeX Warning: Reference `quiref' on page 35 undefined on input line 1363. LaTeX Warning: Reference `dashmuse' on page 35 undefined on input line 1387. LaTeX Warning: Reference `1x1bus' on page 35 undefined on input line 1394. Underfull \hbox (badness 2134) in paragraph at lines 1396--1398 []\OT1/cmr/m/n/12 right fig-ure; \OT1/cmtt/m/n/12 temp.lst \OT1/cmr/m/n/12 is LaTeX Warning: Reference `spheres' on page 35 undefined on input line 1399. LaTeX Warning: Reference `cubes' on page 35 undefined on input line 1402. LaTeX Warning: Reference `testpic' on page 35 undefined on input line 1405. LaTeX Warning: Reference `connect' on page 35 undefined on input line 1407. Underfull \hbox (badness 5091) in paragraph at lines 1407--1408 []\OT1/cmr/m/n/12 left fig-ure; in-put gen-er- Underfull \hbox (badness 5091) in paragraph at lines 1409--1411 []\OT1/cmr/m/n/12 left fig-ure; in-put gen-er- LaTeX Warning: Reference `ramcell' on page 35 undefined on input line 1412. LaTeX Warning: Reference `sphsha' on page 35 undefined on input line 1417. Underfull \hbox (badness 2662) in paragraph at lines 1417--1419 []\OT1/cmr/m/n/12 use \OT1/cmtt/m/n/12 -dc \OT1/cmr/m/n/12 to dis-play to-tal Underfull \hbox (badness 1629) in paragraph at lines 1417--1419 \OT1/cmr/m/n/12 panel charges rather that LaTeX Warning: Reference `cubeeg' on page 35 undefined on input line 1420. Overfull \hbox (8.9787pt too wide) in paragraph at lines 1391--1424 [] [35] Overfull \hbox (0.64174pt too wide) in paragraph at lines 1432--1434 \OT1/cmr/m/n/12 The \OT1/cmtt/m/n/12 -q \OT1/cmr/m/n/12 op-tion pro-vides a mea ns of check-ing the charge dis-tri-bu-tion cal-cu-lated by \OT1/cmtt/m/n/12 fas tcap\OT1/cmr/m/n/12 . LaTeX Warning: Reference `sphsha' on page 36 undefined on input line 1438. psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1_q.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1_q.ps LaTeX Warning: Reference `listeg' on page 36 undefined on input line 1460. LaTeX Warning: Reference `sphrun' on page 36 undefined on input line 1480. [36] [37] [38] LaTeX Warning: Reference `listif' on page 39 undefined on input line 1529. LaTeX Warning: Reference `neuif' on page 39 undefined on input line 1540. LaTeX Warning: Reference `trdoff' on page 39 undefined on input line 1553. Overfull \hbox (17.61273pt too wide) in paragraph at lines 1572--1572 []\OT1/cmtt/m/n/12 mksCapDump: Warning - capacitance matrix is not strictly dia gonally dominant[] LaTeX Warning: Reference `trdoff' on page 39 undefined on input line 1575. [39] (./ug-bugs.tex [40]) [41] Overfull \hbox (24.42513pt too wide) in paragraph at lines 1633--1697 [] Underfull \vbox (badness 10000) has occurred while \output is active [42] Overfull \hbox (25.42023pt too wide) in paragraph at lines 1720--1763 [] [43] LaTeX Warning: Reference `cubeeg' on page 44 undefined on input line 1769. (./ug-cubeeg.tex psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/cubeeg.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/cubeeg.ps ) [44] [45] Overfull \hbox (33.71738pt too wide) in paragraph at lines 1867--1904 [] LaTeX Warning: Reference `pipeeg' on page 46 undefined on input line 1910. (./ug-pipeeg.tex psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/pipeeg.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/pipeeg.ps ) Overfull \hbox (59.69156pt too wide) in paragraph at lines 1926--1965 [] [46] [47]) (./ug-compile.tex LaTeX Warning: Reference `specom' on page 48 undefined on input line 54. [48] LaTeX Warning: Reference `outpu' on page 49 undefined on input line 72. LaTeX Warning: Reference `outpu' on page 49 undefined on input line 117. LaTeX Warning: Reference `specom' on page 49 undefined on input line 133. Underfull \hbox (badness 10000) in paragraph at lines 147--147 []\OT1/cmr/m/n/12 Table 2: \OT1/cmtt/m/n/12 fastcap \OT1/cmr/m/n/12 out-put con -fig-u-ra-tion com-pile flags (de-fined in ) [49] [50] [51] (./ug.aux) LaTeX Warning: There were undefined references. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. ) (see the transcript file for additional information) Output written on ug.dvi (57 pages, 125344 bytes). Transcript written on ug.log. This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/pkgsrc) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./ug.tex LaTeX2e <2022-06-01> patch level 5 L3 programming layer <2022-08-23> (/opt/pkg/share/texmf-dist/tex/latex/base/latex209.def Entering LaTeX 2.09 COMPATIBILITY MODE ************************************************************* !!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!! This mode attempts to provide an emulation of the LaTeX 2.09 author environment so that OLD documents can be successfully processed. It should NOT be used for NEW documents! New documents should use Standard LaTeX conventions and start with the \documentclass command. Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style files that change any internal macros, especially not with those that change the FONT SELECTION or OUTPUT ROUTINES. Therefore such style files MUST BE UPDATED to use Current Standard LaTeX: LaTeX2e. If you suspect that you may be using such a style file, which is probably very, very old by now, then you should attempt to get it updated by sending a copy of this error message to the author of that file. ************************************************************* (/opt/pkg/share/texmf-dist/tex/latex/base/tracefnt.sty) (/opt/pkg/share/texmf-dist/tex/latex/base/latexsym.sty)) (/opt/pkg/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2021/10/04 v1.4n Standard LaTeX document class (/opt/pkg/share/texmf-dist/tex/latex/base/size12.clo)) (./psfig.sty psfig: version 1.1 (MC-TeX) ) (/opt/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) (./ug.aux ) [0] (/opt/pkg/share/texmf-dist/tex/latex/base/ulasy.fd) [0] (./ug-license.tex [1] [2]) (./ug.toc) [3] [4] (./ug-intro.tex) (./ug-all.tex [1] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_coar se_mesh.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_coar se_mesh.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_fine _mesh.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_fine _mesh.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_nonu nif.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_nonu nif.ps [2] [3] [4] [5] Overfull \hbox (12.64009pt too wide) in paragraph at lines 289--291 \OT1/cmr/m/n/12 PATRAN will re-spond by ask-ing the user, ``WILL YOU PER-MIT OV ER-WRITE? (Y?N?S)'' [6] (./ug-listif.tex psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/cut_sph.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/cut_sph.ps [7] Overfull \hbox (2.45883pt too wide) in paragraph at lines 58--58 []\OT1/cmtt/m/n/10.95 B [-][+][] [8] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_ca.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_ca.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_cd.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_cd.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_da.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_da.ps [9])) (./ug-run.tex Overfull \hbox (3.7624pt too wide) in paragraph at lines 12--12 []\OT1/cmtt/m/n/12 fastcap [-o] [-d] [][] [10] [11] [12] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere2.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere2.ps Overfull \hbox (3.27779pt too wide) in paragraph at lines 333--346 \OT1/cmr/m/n/12 lat-er-als us-ing the \OT1/cmtt/m/n/12 ISO \OT1/cmr/m/n/12 op-t ion in \OT1/cmtt/m/n/12 PATRAN\OT1/cmr/m/n/12 . The \OT1/cmtt/m/n/12 sphere1.ne u \OT1/cmr/m/n/12 case cor-re-sponds to $[] = [13] [14] [15] [16] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/cubes.eps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/cubes.eps [17] [18] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/pltcap.eps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/pltcap.eps [19] Overfull \hbox (11.43773pt too wide) in paragraph at lines 689--689 [] \OT1/cmtt/m/n/12 title: `1mX1m 2 || plate capacitor with 0.1m separatio n (n=20 e=0.1)'[] [20] Overfull \hbox (11.43773pt too wide) in paragraph at lines 734--734 [] \OT1/cmtt/m/n/12 title: `1mX1m 2 || plate capacitor with 0.1m separatio n (n=25 e=0.1)'[] [21] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/busses.eps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/busses.eps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sections.eps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sections.eps [22] [23] [24] [25] [26] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/testpic.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/testpic.ps [27] [28] Underfull \vbox (badness 10000) has occurred while \output is active [29] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/connector2.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/connector2.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/connector3.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/connector3.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/connector4.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/connector4.ps Underfull \hbox (badness 1953) in paragraph at lines 1166--1166 []\OT1/cmr/m/n/12 Figure 10: The three back-plane con-nec-tor prob-lems gen-er- ated by the scripts Underfull \vbox (badness 2134) has occurred while \output is active [30] [31] [32] (./ug-ramcellfig.tex psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/side_view.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/side_view.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/nosini.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/nosini.ps Overfull \hbox (10.83998pt too wide) in paragraph at lines 47--48 [][] ) [33] [34] Underfull \hbox (badness 2134) in paragraph at lines 1396--1398 []\OT1/cmr/m/n/12 right fig-ure; \OT1/cmtt/m/n/12 temp.lst \OT1/cmr/m/n/12 is Underfull \hbox (badness 5091) in paragraph at lines 1407--1408 []\OT1/cmr/m/n/12 left fig-ure; in-put gen-er- Underfull \hbox (badness 5091) in paragraph at lines 1409--1411 []\OT1/cmr/m/n/12 left fig-ure; in-put gen-er- Underfull \hbox (badness 2662) in paragraph at lines 1417--1419 []\OT1/cmr/m/n/12 use \OT1/cmtt/m/n/12 -dc \OT1/cmr/m/n/12 to dis-play to-tal Underfull \hbox (badness 1629) in paragraph at lines 1417--1419 \OT1/cmr/m/n/12 panel charges rather that Overfull \hbox (8.9787pt too wide) in paragraph at lines 1391--1424 [] [35] Overfull \hbox (0.64174pt too wide) in paragraph at lines 1432--1434 \OT1/cmr/m/n/12 The \OT1/cmtt/m/n/12 -q \OT1/cmr/m/n/12 op-tion pro-vides a mea ns of check-ing the charge dis-tri-bu-tion cal-cu-lated by \OT1/cmtt/m/n/12 fas tcap\OT1/cmr/m/n/12 . psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1_q.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1_q.ps [36] [37] [38] Overfull \hbox (17.61273pt too wide) in paragraph at lines 1572--1572 []\OT1/cmtt/m/n/12 mksCapDump: Warning - capacitance matrix is not strictly dia gonally dominant[] [39] (./ug-bugs.tex [40]) [41] Overfull \hbox (24.42513pt too wide) in paragraph at lines 1633--1697 [] Underfull \vbox (badness 10000) has occurred while \output is active [42] Overfull \hbox (25.42023pt too wide) in paragraph at lines 1720--1763 [] [43] (./ug-cubeeg.tex psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/cubeeg.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/cubeeg.ps ) [44] [45] Overfull \hbox (33.71738pt too wide) in paragraph at lines 1867--1904 [] (./ug-pipeeg.tex psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/pipeeg.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/pipeeg.ps ) Overfull \hbox (59.69156pt too wide) in paragraph at lines 1926--1965 [] [46] [47]) (./ug-compile.tex [48] Underfull \hbox (badness 10000) in paragraph at lines 147--147 []\OT1/cmr/m/n/12 Table 2: \OT1/cmtt/m/n/12 fastcap \OT1/cmr/m/n/12 out-put con -fig-u-ra-tion com-pile flags (de-fined in ) [49] [50] [51] (./ug.aux) ) (see the transcript file for additional information) Output written on ug.dvi (57 pages, 133764 bytes). Transcript written on ug.log. This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/pkgsrc) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./ug.tex LaTeX2e <2022-06-01> patch level 5 L3 programming layer <2022-08-23> (/opt/pkg/share/texmf-dist/tex/latex/base/latex209.def Entering LaTeX 2.09 COMPATIBILITY MODE ************************************************************* !!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!! This mode attempts to provide an emulation of the LaTeX 2.09 author environment so that OLD documents can be successfully processed. It should NOT be used for NEW documents! New documents should use Standard LaTeX conventions and start with the \documentclass command. Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style files that change any internal macros, especially not with those that change the FONT SELECTION or OUTPUT ROUTINES. Therefore such style files MUST BE UPDATED to use Current Standard LaTeX: LaTeX2e. If you suspect that you may be using such a style file, which is probably very, very old by now, then you should attempt to get it updated by sending a copy of this error message to the author of that file. ************************************************************* (/opt/pkg/share/texmf-dist/tex/latex/base/tracefnt.sty) (/opt/pkg/share/texmf-dist/tex/latex/base/latexsym.sty)) (/opt/pkg/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2021/10/04 v1.4n Standard LaTeX document class (/opt/pkg/share/texmf-dist/tex/latex/base/size12.clo)) (./psfig.sty psfig: version 1.1 (MC-TeX) ) (/opt/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) (./ug.aux ) [0] (/opt/pkg/share/texmf-dist/tex/latex/base/ulasy.fd) [0] (./ug-license.tex [1] [2]) (./ug.toc) [3] [4] (./ug-intro.tex) (./ug-all.tex [1] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_coar se_mesh.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_coar se_mesh.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_fine _mesh.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_fine _mesh.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_nonu nif.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/bus_x_one_nonu nif.ps [2] [3] [4] [5] Overfull \hbox (12.64009pt too wide) in paragraph at lines 289--291 \OT1/cmr/m/n/12 PATRAN will re-spond by ask-ing the user, ``WILL YOU PER-MIT OV ER-WRITE? (Y?N?S)'' [6] (./ug-listif.tex psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/cut_sph.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/cut_sph.ps [7] Overfull \hbox (2.45883pt too wide) in paragraph at lines 58--58 []\OT1/cmtt/m/n/10.95 B [-][+][] [8] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_ca.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_ca.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_cd.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_cd.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_da.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/1x1bus_da.ps [9])) (./ug-run.tex Overfull \hbox (3.7624pt too wide) in paragraph at lines 12--12 []\OT1/cmtt/m/n/12 fastcap [-o] [-d] [][] [10] [11] [12] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere2.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere2.ps Overfull \hbox (3.27779pt too wide) in paragraph at lines 333--346 \OT1/cmr/m/n/12 lat-er-als us-ing the \OT1/cmtt/m/n/12 ISO \OT1/cmr/m/n/12 op-t ion in \OT1/cmtt/m/n/12 PATRAN\OT1/cmr/m/n/12 . The \OT1/cmtt/m/n/12 sphere1.ne u \OT1/cmr/m/n/12 case cor-re-sponds to $[] = [13] [14] [15] [16] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/cubes.eps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/cubes.eps [17] [18] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/pltcap.eps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/pltcap.eps [19] Overfull \hbox (11.43773pt too wide) in paragraph at lines 689--689 [] \OT1/cmtt/m/n/12 title: `1mX1m 2 || plate capacitor with 0.1m separatio n (n=20 e=0.1)'[] [20] Overfull \hbox (11.43773pt too wide) in paragraph at lines 734--734 [] \OT1/cmtt/m/n/12 title: `1mX1m 2 || plate capacitor with 0.1m separatio n (n=25 e=0.1)'[] [21] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/busses.eps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/busses.eps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sections.eps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sections.eps [22] [23] [24] [25] [26] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/testpic.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/testpic.ps [27] [28] Underfull \vbox (badness 10000) has occurred while \output is active [29] psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/connector2.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/connector2.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/connector3.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/connector3.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/connector4.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/connector4.ps Underfull \hbox (badness 1953) in paragraph at lines 1166--1166 []\OT1/cmr/m/n/12 Figure 10: The three back-plane con-nec-tor prob-lems gen-er- ated by the scripts Underfull \vbox (badness 2134) has occurred while \output is active [30] [31] [32] (./ug-ramcellfig.tex psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/side_view.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/side_view.ps psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/nosini.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/nosini.ps Overfull \hbox (10.83998pt too wide) in paragraph at lines 47--48 [][] ) [33] [34] Underfull \hbox (badness 2134) in paragraph at lines 1396--1398 []\OT1/cmr/m/n/12 right fig-ure; \OT1/cmtt/m/n/12 temp.lst \OT1/cmr/m/n/12 is Underfull \hbox (badness 5091) in paragraph at lines 1407--1408 []\OT1/cmr/m/n/12 left fig-ure; in-put gen-er- Underfull \hbox (badness 5091) in paragraph at lines 1409--1411 []\OT1/cmr/m/n/12 left fig-ure; in-put gen-er- Underfull \hbox (badness 2662) in paragraph at lines 1417--1419 []\OT1/cmr/m/n/12 use \OT1/cmtt/m/n/12 -dc \OT1/cmr/m/n/12 to dis-play to-tal Underfull \hbox (badness 1629) in paragraph at lines 1417--1419 \OT1/cmr/m/n/12 panel charges rather that Overfull \hbox (8.9787pt too wide) in paragraph at lines 1391--1424 [] [35] Overfull \hbox (0.64174pt too wide) in paragraph at lines 1432--1434 \OT1/cmr/m/n/12 The \OT1/cmtt/m/n/12 -q \OT1/cmr/m/n/12 op-tion pro-vides a mea ns of check-ing the charge dis-tri-bu-tion cal-cu-lated by \OT1/cmtt/m/n/12 fas tcap\OT1/cmr/m/n/12 . psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1_q.ps f or bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/sphere1_q.ps [36] [37] [38] Overfull \hbox (17.61273pt too wide) in paragraph at lines 1572--1572 []\OT1/cmtt/m/n/12 mksCapDump: Warning - capacitance matrix is not strictly dia gonally dominant[] [39] (./ug-bugs.tex [40]) [41] Overfull \hbox (24.42513pt too wide) in paragraph at lines 1633--1697 [] Underfull \vbox (badness 10000) has occurred while \output is active [42] Overfull \hbox (25.42023pt too wide) in paragraph at lines 1720--1763 [] [43] (./ug-cubeeg.tex psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/cubeeg.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/cubeeg.ps ) [44] [45] Overfull \hbox (33.71738pt too wide) in paragraph at lines 1867--1904 [] (./ug-pipeeg.tex psfig: searching /Users/pbulk/build/cad/fastcap/work/doc/figures/pipeeg.ps for bounding box psfig: including /Users/pbulk/build/cad/fastcap/work/doc/figures/pipeeg.ps ) Overfull \hbox (59.69156pt too wide) in paragraph at lines 1926--1965 [] [46] [47]) (./ug-compile.tex [48] Underfull \hbox (badness 10000) in paragraph at lines 147--147 []\OT1/cmr/m/n/12 Table 2: \OT1/cmtt/m/n/12 fastcap \OT1/cmr/m/n/12 out-put con -fig-u-ra-tion com-pile flags (de-fined in ) [49] [50] [51] (./ug.aux) ) (see the transcript file for additional information) Output written on ug.dvi (57 pages, 133764 bytes). Transcript written on ug.log. cd . ; pwd > temp_ ; awk '{s = sprintf("\\\\newcommand{\\\\topdir}{%s}", $1)} END {printf "{if($0 ~ /\\\\newcommand{\\\\topdir}/) print \"%s\" ; else print $0 }", s }' temp_ > temp__ ; awk -f temp__ tcad.tex > temp_ ; mv temp_ tcad.tex ; /bin/rm temp__ cd . ; /opt/pkg/bin/latex tcad ; /opt/pkg/bin/latex tcad ; /opt/pkg/bin/latex tcad This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/pkgsrc) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./tcad.tex LaTeX2e <2022-06-01> patch level 5 L3 programming layer <2022-08-23> (/opt/pkg/share/texmf-dist/tex/latex/base/latex209.def Entering LaTeX 2.09 COMPATIBILITY MODE ************************************************************* !!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!! This mode attempts to provide an emulation of the LaTeX 2.09 author environment so that OLD documents can be successfully processed. It should NOT be used for NEW documents! New documents should use Standard LaTeX conventions and start with the \documentclass command. Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style files that change any internal macros, especially not with those that change the FONT SELECTION or OUTPUT ROUTINES. Therefore such style files MUST BE UPDATED to use Current Standard LaTeX: LaTeX2e. If you suspect that you may be using such a style file, which is probably very, very old by now, then you should attempt to get it updated by sending a copy of this error message to the author of that file. ************************************************************* (/opt/pkg/share/texmf-dist/tex/latex/base/tracefnt.sty) (/opt/pkg/share/texmf-dist/tex/latex/base/latexsym.sty)) (/opt/pkg/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2021/10/04 v1.4n Standard LaTeX document class (/opt/pkg/share/texmf-dist/tex/latex/base/size12.clo)) (./maketitle_mod.sty) (./tcad-math.tex) (./tcad-moments.tex) (/opt/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) No file tcad.aux. (/opt/pkg/share/texmf-dist/tex/latex/base/ulasy.fd) (./tcad-abstract.tex) (./tcad-intro.tex [1] LaTeX Warning: Citation `rue' on page 2 undefined on input line 34. LaTeX Warning: Citation `rao' on page 2 undefined on input line 34. LaTeX Warning: Citation `Nin' on page 2 undefined on input line 34. LaTeX Warning: Citation `dew' on page 2 undefined on input line 54. LaTeX Warning: Citation `roh' on page 2 undefined on input line 61. LaTeX Warning: Reference `gcrsec' on page 2 undefined on input line 65. LaTeX Warning: Reference `accsec' on page 2 undefined on input line 68. LaTeX Warning: Reference `ressec' on page 2 undefined on input line 71. LaTeX Warning: Reference `consec' on page 2 undefined on input line 72. ) (./tcad-integral.tex [2] LaTeX Warning: Reference `eq:integral' on page 3 undefined on input line 44. LaTeX Warning: Citation `zem' on page 3 undefined on input line 46. LaTeX Warning: Citation `gue' on page 3 undefined on input line 46. LaTeX Warning: Reference `eq:integral' on page 3 undefined on input line 48. LaTeX Warning: Citation `rue' on page 3 undefined on input line 48. LaTeX Warning: Citation `rao' on page 3 undefined on input line 48. LaTeX Warning: Citation `Nin' on page 3 undefined on input line 48. LaTeX Warning: Citation `hes' on page 3 undefined on input line 53. LaTeX Warning: Citation `har' on page 3 undefined on input line 54. LaTeX Warning: Reference `2x2discr' on page 3 undefined on input line 67. LaTeX Warning: Reference `eq:green' on page 3 undefined on input line 81. [3] LaTeX Warning: Citation `rao' on page 4 undefined on input line 91. LaTeX Warning: Reference `eq:green' on page 4 undefined on input line 91. LaTeX Warning: Reference `eq:qtop' on page 4 undefined on input line 115. LaTeX Warning: Reference `eq:qtop' on page 4 undefined on input line 118. ) (./tcad-gcr.tex LaTeX Warning: Reference `eq:pcoeff' on page 4 undefined on input line 20. LaTeX Warning: Citation `saa' on page 4 undefined on input line 24. [4] (/opt/pkg/share/texmf-dist/tex/latex/base/omscmr.fd)) (./tcad-accel.tex LaTeX Warning: Reference `mulsep' on page 5 undefined on input line 33. LaTeX Warning: Reference `locsep' on page 5 undefined on input line 33. LaTeX Warning: Reference `mulsep' on page 5 undefined on input line 40. LaTeX Warning: Reference `mulsep' on page 5 undefined on input line 43. LaTeX Warning: Reference `mulsep' on page 5 undefined on input line 44. LaTeX Warning: Reference `locsep' on page 5 undefined on input line 49. LaTeX Warning: Reference `locsep' on page 5 undefined on input line 51. [5] [6] LaTeX Warning: Reference `mulsep' on page 7 undefined on input line 62. LaTeX Warning: Reference `monple' on page 7 undefined on input line 64. LaTeX Warning: Reference `mulsep' on page 7 undefined on input line 77. [7] LaTeX Warning: Citation `gre' on page 8 undefined on input line 100. LaTeX Warning: Citation `jac' on page 8 undefined on input line 100. LaTeX Warning: Reference `mulsep' on page 8 undefined on input line 122. LaTeX Warning: Reference `monple' on page 8 undefined on input line 122. LaTeX Warning: Citation `gre' on page 8 undefined on input line 125. LaTeX Warning: Reference `eq:mbound' on page 8 undefined on input line 126. LaTeX Warning: Reference `locsep' on page 8 undefined on input line 134. LaTeX Warning: Reference `0thloc' on page 8 undefined on input line 150. [8] LaTeX Warning: Reference `locsep' on page 9 undefined on input line 192. LaTeX Warning: Citation `gre' on page 9 undefined on input line 195. LaTeX Warning: Citation `gre' on page 9 undefined on input line 210. LaTeX Warning: Citation `roh' on page 9 undefined on input line 210. LaTeX Warning: Citation `kat' on page 9 undefined on input line 210. LaTeX Warning: Citation `zha' on page 9 undefined on input line 210. [9] [10] Underfull \vbox (badness 10000) has occurred while \output is active [11]) (./tcad-results.tex LaTeX Warning: Reference `eq:multi' on page 12 undefined on input line 18. LaTeX Warning: Reference `remult' on page 12 undefined on input line 42. [12] LaTeX Warning: Reference `barmul' on page 13 undefined on input line 58. LaTeX Warning: Reference `dbrmul' on page 13 undefined on input line 58. LaTeX Warning: Reference `eq:mulmom' on page 13 undefined on input line 59. LaTeX Warning: Reference `mmlegn' on page 13 undefined on input line 97. LaTeX Warning: Reference `mm1leg' on page 13 undefined on input line 98. LaTeX Warning: Reference `nmulti' on page 13 undefined on input line 136. [13] LaTeX Warning: Reference `2x2' on page 14 undefined on input line 198. LaTeX Warning: Reference `2x2discr' on page 14 undefined on input line 203. LaTeX Warning: Reference `2x2discr' on page 14 undefined on input line 207. LaTeX Warning: Citation `rue' on page 14 undefined on input line 210. LaTeX Warning: Reference `times' on page 14 undefined on input line 215. LaTeX Warning: Reference `eq:qtop' on page 14 undefined on input line 216. LaTeX Warning: Reference `eq:qtop' on page 14 undefined on input line 222. [14] LaTeX Warning: Reference `values' on page 15 undefined on input line 287. LaTeX Warning: Reference `eq:qtop' on page 15 undefined on input line 288. [15] Overfull \hbox (11.3737pt too wide) in paragraph at lines 317--339 [] LaTeX Warning: Reference `times' on page 16 undefined on input line 356. LaTeX Warning: Reference `values' on page 16 undefined on input line 356. LaTeX Warning: Reference `opplot' on page 16 undefined on input line 358. Underfull \vbox (badness 6775) has occurred while \output is active [16] [17]) (./tcad-form.tex LaTeX Warning: Citation `gre' on page 18 undefined on input line 23. LaTeX Warning: Citation `fft' on page 18 undefined on input line 23. LaTeX Warning: Citation `hob' on page 18 undefined on input line 25. LaTeX Warning: Reference `mopart' on page 18 undefined on input line 26. LaTeX Warning: Reference `muform' on page 18 undefined on input line 28. [18] LaTeX Warning: Citation `jac' on page 19 undefined on input line 75. LaTeX Warning: Citation `gre' on page 19 undefined on input line 79. LaTeX Warning: Citation `fft' on page 19 undefined on input line 79. LaTeX Warning: Citation `hob' on page 19 undefined on input line 120. LaTeX Warning: Citation `mag' on page 19 undefined on input line 120. [19] LaTeX Warning: Reference `bardef' on page 20 undefined on input line 160. LaTeX Warning: Reference `dbrdef' on page 20 undefined on input line 160. LaTeX Warning: Reference `bardef' on page 20 undefined on input line 177. LaTeX Warning: Reference `dbrdef' on page 20 undefined on input line 177. [20] LaTeX Warning: Reference `bardef' on page 21 undefined on input line 209. LaTeX Warning: Reference `dbrdef' on page 21 undefined on input line 209. LaTeX Warning: Reference `bardef' on page 21 undefined on input line 225. LaTeX Warning: Reference `dbrdef' on page 21 undefined on input line 225. LaTeX Warning: Reference `sphhar' on page 21 undefined on input line 255. LaTeX Warning: Reference `bardef' on page 21 undefined on input line 256. LaTeX Warning: Reference `dbrdef' on page 21 undefined on input line 256. [21] LaTeX Warning: Reference `sphhar' on page 22 undefined on input line 307. LaTeX Warning: Reference `bardef' on page 22 undefined on input line 308. LaTeX Warning: Reference `dbrdef' on page 22 undefined on input line 308. [22] LaTeX Warning: Reference `sphhar' on page 23 undefined on input line 349. LaTeX Warning: Reference `bardef' on page 23 undefined on input line 350. LaTeX Warning: Reference `dbrdef' on page 23 undefined on input line 350. LaTeX Warning: Reference `fm2ldef' on page 23 undefined on input line 372. ) [23] (./tcad-ref.tex [24]) [25] (./tcad.aux) LaTeX Warning: There were undefined references. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. ) (see the transcript file for additional information) Output written on tcad.dvi (25 pages, 97504 bytes). Transcript written on tcad.log. This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/pkgsrc) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./tcad.tex LaTeX2e <2022-06-01> patch level 5 L3 programming layer <2022-08-23> (/opt/pkg/share/texmf-dist/tex/latex/base/latex209.def Entering LaTeX 2.09 COMPATIBILITY MODE ************************************************************* !!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!! This mode attempts to provide an emulation of the LaTeX 2.09 author environment so that OLD documents can be successfully processed. It should NOT be used for NEW documents! New documents should use Standard LaTeX conventions and start with the \documentclass command. Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style files that change any internal macros, especially not with those that change the FONT SELECTION or OUTPUT ROUTINES. Therefore such style files MUST BE UPDATED to use Current Standard LaTeX: LaTeX2e. If you suspect that you may be using such a style file, which is probably very, very old by now, then you should attempt to get it updated by sending a copy of this error message to the author of that file. ************************************************************* (/opt/pkg/share/texmf-dist/tex/latex/base/tracefnt.sty) (/opt/pkg/share/texmf-dist/tex/latex/base/latexsym.sty)) (/opt/pkg/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2021/10/04 v1.4n Standard LaTeX document class (/opt/pkg/share/texmf-dist/tex/latex/base/size12.clo)) (./maketitle_mod.sty) (./tcad-math.tex) (./tcad-moments.tex) (/opt/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) (./tcad.aux ) (/opt/pkg/share/texmf-dist/tex/latex/base/ulasy.fd) (./tcad-abstract.tex) (./tcad-intro.tex [1]) (./tcad-integral.tex [2] [3]) (./tcad-gcr.tex [4] (/opt/pkg/share/texmf-dist/tex/latex/base/omscmr.fd)) (./tcad-accel.tex [5] [6] [7] [8] [9] [10] Underfull \vbox (badness 10000) has occurred while \output is active [11]) (./tcad-results.tex [12] [13] [14] [15] Overfull \hbox (11.3737pt too wide) in paragraph at lines 317--339 [] Underfull \vbox (badness 6775) has occurred while \output is active [16] [17]) (./tcad-form.tex [18] [19] [20] [21] [22]) [23] (./tcad-ref.tex [24]) [25] (./tcad.aux) ) (see the transcript file for additional information) Output written on tcad.dvi (25 pages, 96764 bytes). Transcript written on tcad.log. This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/pkgsrc) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./tcad.tex LaTeX2e <2022-06-01> patch level 5 L3 programming layer <2022-08-23> (/opt/pkg/share/texmf-dist/tex/latex/base/latex209.def Entering LaTeX 2.09 COMPATIBILITY MODE ************************************************************* !!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!! This mode attempts to provide an emulation of the LaTeX 2.09 author environment so that OLD documents can be successfully processed. It should NOT be used for NEW documents! New documents should use Standard LaTeX conventions and start with the \documentclass command. Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style files that change any internal macros, especially not with those that change the FONT SELECTION or OUTPUT ROUTINES. Therefore such style files MUST BE UPDATED to use Current Standard LaTeX: LaTeX2e. If you suspect that you may be using such a style file, which is probably very, very old by now, then you should attempt to get it updated by sending a copy of this error message to the author of that file. ************************************************************* (/opt/pkg/share/texmf-dist/tex/latex/base/tracefnt.sty) (/opt/pkg/share/texmf-dist/tex/latex/base/latexsym.sty)) (/opt/pkg/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2021/10/04 v1.4n Standard LaTeX document class (/opt/pkg/share/texmf-dist/tex/latex/base/size12.clo)) (./maketitle_mod.sty) (./tcad-math.tex) (./tcad-moments.tex) (/opt/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) (./tcad.aux ) (/opt/pkg/share/texmf-dist/tex/latex/base/ulasy.fd) (./tcad-abstract.tex) (./tcad-intro.tex [1]) (./tcad-integral.tex [2] [3]) (./tcad-gcr.tex [4] (/opt/pkg/share/texmf-dist/tex/latex/base/omscmr.fd)) (./tcad-accel.tex [5] [6] [7] [8] [9] [10] Underfull \vbox (badness 10000) has occurred while \output is active [11]) (./tcad-results.tex [12] [13] [14] [15] Overfull \hbox (11.3737pt too wide) in paragraph at lines 317--339 [] Underfull \vbox (badness 6775) has occurred while \output is active [16] [17]) (./tcad-form.tex [18] [19] [20] [21] [22]) [23] (./tcad-ref.tex [24]) [25] (./tcad.aux) ) (see the transcript file for additional information) Output written on tcad.dvi (25 pages, 96764 bytes). Transcript written on tcad.log. cd . ; pwd > temp_ ; awk '{s = sprintf("\\\\newcommand{\\\\topdir}{%s}", $1)} END {printf "{if($0 ~ /\\\\newcommand{\\\\topdir}/) print \"%s\" ; else print $0 }", s }' temp_ > temp__ ; awk -f temp__ mtt.tex > temp_ ; mv temp_ mtt.tex ; /bin/rm temp__ cd . ; /opt/pkg/bin/latex mtt ; /opt/pkg/bin/bibtex mtt ; /opt/pkg/bin/latex mtt ; /opt/pkg/bin/latex mtt This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/pkgsrc) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./mtt.tex LaTeX2e <2022-06-01> patch level 5 L3 programming layer <2022-08-23> (/opt/pkg/share/texmf-dist/tex/latex/base/latex209.def Entering LaTeX 2.09 COMPATIBILITY MODE ************************************************************* !!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!! This mode attempts to provide an emulation of the LaTeX 2.09 author environment so that OLD documents can be successfully processed. It should NOT be used for NEW documents! New documents should use Standard LaTeX conventions and start with the \documentclass command. Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style files that change any internal macros, especially not with those that change the FONT SELECTION or OUTPUT ROUTINES. Therefore such style files MUST BE UPDATED to use Current Standard LaTeX: LaTeX2e. If you suspect that you may be using such a style file, which is probably very, very old by now, then you should attempt to get it updated by sending a copy of this error message to the author of that file. ************************************************************* (/opt/pkg/share/texmf-dist/tex/latex/base/tracefnt.sty) (/opt/pkg/share/texmf-dist/tex/latex/base/latexsym.sty)) (/opt/pkg/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2021/10/04 v1.4n Standard LaTeX document class (/opt/pkg/share/texmf-dist/tex/latex/base/size12.clo)) (./doublespace.sty) (./ieee.sty) (./newthanks.sty) (./maketitle_mod.sty) (./mtt-moments.tex) (/opt/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) No file mtt.aux. (/opt/pkg/share/texmf-dist/tex/latex/base/ulasy.fd) (./mtt-abstract.tex LaTeX Warning: Citation `nabors91' on page 1 undefined on input line 3. LaTeX Warning: Citation `nabors91' on page 1 undefined on input line 12. ) (./mtt-intro.tex LaTeX Warning: Citation `harrin68' on page 1 undefined on input line 7. LaTeX Warning: Citation `cranda56' on page 1 undefined on input line 8. LaTeX Warning: Citation `collat66' on page 1 undefined on input line 8. LaTeX Warning: Citation `brebbi84' on page 1 undefined on input line 11. [1] LaTeX Warning: Citation `nabors91' on page 2 undefined on input line 16. LaTeX Warning: Citation `greeng87' on page 2 undefined on input line 20. LaTeX Warning: Citation `greeng88' on page 2 undefined on input line 20. LaTeX Warning: Citation `rokhli85' on page 2 undefined on input line 21. LaTeX Warning: Reference `form' on page 2 undefined on input line 33. LaTeX Warning: Reference `mutapp' on page 2 undefined on input line 35. LaTeX Warning: Reference `adfamu' on page 2 undefined on input line 36. LaTeX Warning: Reference `precon' on page 2 undefined on input line 38. LaTeX Warning: Citation `maseeh90' on page 2 undefined on input line 41. LaTeX Warning: Reference `expres' on page 2 undefined on input line 42. LaTeX Warning: Reference `conclu' on page 2 undefined on input line 44. LaTeX Warning: Citation `rao84' on page 2 undefined on input line 52. LaTeX Warning: Citation `ruehli73' on page 2 undefined on input line 69. LaTeX Warning: Citation `rao84' on page 2 undefined on input line 69. LaTeX Warning: Reference `eq:integral' on page 2 undefined on input line 82. LaTeX Warning: Citation `rao84' on page 2 undefined on input line 90. [2] LaTeX Warning: Reference `eq:qtop' on page 3 undefined on input line 107. LaTeX Warning: Reference `eq:qtop' on page 3 undefined on input line 111. LaTeX Warning: Reference `eq:qtop' on page 3 undefined on input line 114. LaTeX Warning: Citation `saad86' on page 3 undefined on input line 115. LaTeX Warning: Reference `eq:qtop' on page 3 undefined on input line 121. (/opt/pkg/share/texmf-dist/tex/latex/base/omscmr.fd) LaTeX Warning: Reference `eq:pcoeff' on page 3 undefined on input line 145. ) (./mtt-multi.tex LaTeX Warning: Citation `greeng87' on page 3 undefined on input line 6. LaTeX Warning: Citation `greeng88' on page 3 undefined on input line 6. LaTeX Warning: Citation `nabors91' on page 3 undefined on input line 8. [3] LaTeX Warning: Citation `jackso75' on page 4 undefined on input line 19. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 23. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 39. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 45. LaTeX Warning: Citation `greeng88' on page 4 undefined on input line 47. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 55. (./mtt-mulevl.tex ! Too many }'s. \color@endbox ->\color@endgroup \egroup l.24 \end{figure} ? ! Emergency stop. \color@endbox ->\color@endgroup \egroup l.24 \end{figure} Output written on mtt.dvi (3 pages, 13180 bytes). Transcript written on mtt.log. This is BibTeX, Version 0.99d (TeX Live 2022/pkgsrc) The top-level auxiliary file: mtt.aux The style file: ieeetr.bst I found no \bibdata command---while reading file mtt.aux Warning--I didn't find a database entry for "nabors91" Warning--I didn't find a database entry for "harrin68" Warning--I didn't find a database entry for "cranda56" Warning--I didn't find a database entry for "collat66" Warning--I didn't find a database entry for "brebbi84" Warning--I didn't find a database entry for "greeng87" Warning--I didn't find a database entry for "greeng88" Warning--I didn't find a database entry for "rokhli85" Warning--I didn't find a database entry for "maseeh90" Warning--I didn't find a database entry for "rao84" Warning--I didn't find a database entry for "ruehli73" Warning--I didn't find a database entry for "saad86" Warning--I didn't find a database entry for "jackso75" (There was 1 error message) This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/pkgsrc) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./mtt.tex LaTeX2e <2022-06-01> patch level 5 L3 programming layer <2022-08-23> (/opt/pkg/share/texmf-dist/tex/latex/base/latex209.def Entering LaTeX 2.09 COMPATIBILITY MODE ************************************************************* !!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!! This mode attempts to provide an emulation of the LaTeX 2.09 author environment so that OLD documents can be successfully processed. It should NOT be used for NEW documents! New documents should use Standard LaTeX conventions and start with the \documentclass command. Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style files that change any internal macros, especially not with those that change the FONT SELECTION or OUTPUT ROUTINES. Therefore such style files MUST BE UPDATED to use Current Standard LaTeX: LaTeX2e. If you suspect that you may be using such a style file, which is probably very, very old by now, then you should attempt to get it updated by sending a copy of this error message to the author of that file. ************************************************************* (/opt/pkg/share/texmf-dist/tex/latex/base/tracefnt.sty) (/opt/pkg/share/texmf-dist/tex/latex/base/latexsym.sty)) (/opt/pkg/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2021/10/04 v1.4n Standard LaTeX document class (/opt/pkg/share/texmf-dist/tex/latex/base/size12.clo)) (./doublespace.sty) (./ieee.sty) (./newthanks.sty) (./maketitle_mod.sty) (./mtt-moments.tex) (/opt/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) (./mtt.aux) (/opt/pkg/share/texmf-dist/tex/latex/base/ulasy.fd) (./mtt-abstract.tex LaTeX Warning: Citation `nabors91' on page 1 undefined on input line 3. LaTeX Warning: Citation `nabors91' on page 1 undefined on input line 12. ) (./mtt-intro.tex LaTeX Warning: Citation `harrin68' on page 1 undefined on input line 7. LaTeX Warning: Citation `cranda56' on page 1 undefined on input line 8. LaTeX Warning: Citation `collat66' on page 1 undefined on input line 8. LaTeX Warning: Citation `brebbi84' on page 1 undefined on input line 11. [1] LaTeX Warning: Citation `nabors91' on page 2 undefined on input line 16. LaTeX Warning: Citation `greeng87' on page 2 undefined on input line 20. LaTeX Warning: Citation `greeng88' on page 2 undefined on input line 20. LaTeX Warning: Citation `rokhli85' on page 2 undefined on input line 21. LaTeX Warning: Reference `mutapp' on page 2 undefined on input line 35. LaTeX Warning: Reference `adfamu' on page 2 undefined on input line 36. LaTeX Warning: Reference `precon' on page 2 undefined on input line 38. LaTeX Warning: Citation `maseeh90' on page 2 undefined on input line 41. LaTeX Warning: Reference `expres' on page 2 undefined on input line 42. LaTeX Warning: Reference `conclu' on page 2 undefined on input line 44. LaTeX Warning: Citation `rao84' on page 2 undefined on input line 52. LaTeX Warning: Citation `ruehli73' on page 2 undefined on input line 69. LaTeX Warning: Citation `rao84' on page 2 undefined on input line 69. LaTeX Warning: Citation `rao84' on page 2 undefined on input line 90. [2] LaTeX Warning: Citation `saad86' on page 3 undefined on input line 115. (/opt/pkg/share/texmf-dist/tex/latex/base/omscmr.fd)) (./mtt-multi.tex LaTeX Warning: Citation `greeng87' on page 3 undefined on input line 6. LaTeX Warning: Citation `greeng88' on page 3 undefined on input line 6. LaTeX Warning: Citation `nabors91' on page 3 undefined on input line 8. [3] LaTeX Warning: Citation `jackso75' on page 4 undefined on input line 19. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 23. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 39. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 45. LaTeX Warning: Citation `greeng88' on page 4 undefined on input line 47. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 55. (./mtt-mulevl.tex ! Too many }'s. \color@endbox ->\color@endgroup \egroup l.24 \end{figure} ? ! Emergency stop. \color@endbox ->\color@endgroup \egroup l.24 \end{figure} Output written on mtt.dvi (3 pages, 13336 bytes). Transcript written on mtt.log. This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/pkgsrc) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./mtt.tex LaTeX2e <2022-06-01> patch level 5 L3 programming layer <2022-08-23> (/opt/pkg/share/texmf-dist/tex/latex/base/latex209.def Entering LaTeX 2.09 COMPATIBILITY MODE ************************************************************* !!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!! This mode attempts to provide an emulation of the LaTeX 2.09 author environment so that OLD documents can be successfully processed. It should NOT be used for NEW documents! New documents should use Standard LaTeX conventions and start with the \documentclass command. Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style files that change any internal macros, especially not with those that change the FONT SELECTION or OUTPUT ROUTINES. Therefore such style files MUST BE UPDATED to use Current Standard LaTeX: LaTeX2e. If you suspect that you may be using such a style file, which is probably very, very old by now, then you should attempt to get it updated by sending a copy of this error message to the author of that file. ************************************************************* (/opt/pkg/share/texmf-dist/tex/latex/base/tracefnt.sty) (/opt/pkg/share/texmf-dist/tex/latex/base/latexsym.sty)) (/opt/pkg/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2021/10/04 v1.4n Standard LaTeX document class (/opt/pkg/share/texmf-dist/tex/latex/base/size12.clo)) (./doublespace.sty) (./ieee.sty) (./newthanks.sty) (./maketitle_mod.sty) (./mtt-moments.tex) (/opt/pkg/share/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) (./mtt.aux) (/opt/pkg/share/texmf-dist/tex/latex/base/ulasy.fd) (./mtt-abstract.tex LaTeX Warning: Citation `nabors91' on page 1 undefined on input line 3. LaTeX Warning: Citation `nabors91' on page 1 undefined on input line 12. ) (./mtt-intro.tex LaTeX Warning: Citation `harrin68' on page 1 undefined on input line 7. LaTeX Warning: Citation `cranda56' on page 1 undefined on input line 8. LaTeX Warning: Citation `collat66' on page 1 undefined on input line 8. LaTeX Warning: Citation `brebbi84' on page 1 undefined on input line 11. [1] LaTeX Warning: Citation `nabors91' on page 2 undefined on input line 16. LaTeX Warning: Citation `greeng87' on page 2 undefined on input line 20. LaTeX Warning: Citation `greeng88' on page 2 undefined on input line 20. LaTeX Warning: Citation `rokhli85' on page 2 undefined on input line 21. LaTeX Warning: Reference `mutapp' on page 2 undefined on input line 35. LaTeX Warning: Reference `adfamu' on page 2 undefined on input line 36. LaTeX Warning: Reference `precon' on page 2 undefined on input line 38. LaTeX Warning: Citation `maseeh90' on page 2 undefined on input line 41. LaTeX Warning: Reference `expres' on page 2 undefined on input line 42. LaTeX Warning: Reference `conclu' on page 2 undefined on input line 44. LaTeX Warning: Citation `rao84' on page 2 undefined on input line 52. LaTeX Warning: Citation `ruehli73' on page 2 undefined on input line 69. LaTeX Warning: Citation `rao84' on page 2 undefined on input line 69. LaTeX Warning: Citation `rao84' on page 2 undefined on input line 90. [2] LaTeX Warning: Citation `saad86' on page 3 undefined on input line 115. (/opt/pkg/share/texmf-dist/tex/latex/base/omscmr.fd)) (./mtt-multi.tex LaTeX Warning: Citation `greeng87' on page 3 undefined on input line 6. LaTeX Warning: Citation `greeng88' on page 3 undefined on input line 6. LaTeX Warning: Citation `nabors91' on page 3 undefined on input line 8. [3] LaTeX Warning: Citation `jackso75' on page 4 undefined on input line 19. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 23. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 39. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 45. LaTeX Warning: Citation `greeng88' on page 4 undefined on input line 47. LaTeX Warning: Reference `mulevl' on page 4 undefined on input line 55. (./mtt-mulevl.tex ! Too many }'s. \color@endbox ->\color@endgroup \egroup l.24 \end{figure} ? ! Emergency stop. \color@endbox ->\color@endgroup \egroup l.24 \end{figure} Output written on mtt.dvi (3 pages, 13336 bytes). Transcript written on mtt.log. *** Error code 1 Stop. bmake: stopped in /Users/pbulk/build/cad/fastcap/work/doc *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/cad/fastcap *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/cad/fastcap