* Package: app-text/cook-1.0.2-r1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cook-1.0.2.tar.gz to /var/tmp/portage/app-text/cook-1.0.2-r1/work >>> Source unpacked in /var/tmp/portage/app-text/cook-1.0.2-r1/work >>> Preparing source in /var/tmp/portage/app-text/cook-1.0.2-r1/work/cook-1.0.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/cook-1.0.2-r1/work/cook-1.0.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/cook-1.0.2-r1/work/cook-1.0.2 ... make -j1 CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O2 -pipe -march=native -fno-common' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' cd src ; make cook make[1]: Entering directory '/var/tmp/portage/app-text/cook-1.0.2-r1/work/cook-1.0.2/src' bison -d -y dgparse.y dgparse.y:46.1-7: warning: POSIX Yacc does not support %expect [-Wyacc] 46 | %expect 1 | ^~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -c -o dgparse.o y.tab.c dgparse.y: In function ‘start_list’: dgparse.y:163:5: warning: implicit declaration of function ‘yyerror’; did you mean ‘error’? [-Wimplicit-function-declaration] 163 | yyerror("start_list: null tree"); | ^~~~~~~ | error dgparse.y: In function ‘make_exprnode’: dgparse.y:232:22: warning: implicit declaration of function ‘translate_methodname’ [-Wimplicit-function-declaration] 232 | t->u.meth.name = translate_methodname(t->u.meth.cust = va_arg(ap, char *)); | ^~~~~~~~~~~~~~~~~~~~ dgparse.y: In function ‘imm_execute’: dgparse.y:357:5: warning: implicit declaration of function ‘grok_mdef’ [-Wimplicit-function-declaration] 357 | grok_mdef(t); | ^~~~~~~~~ dgparse.y: At top level: dgparse.y:877:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 877 | yyerror(char * s) | ^~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -c -o main.o main.c main.c: In function ‘main’: main.c:84:10: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 84 | if (!strcmp(argv[1], "-v")) | ^~~~~~ main.c:110:15: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration] 110 | else if (!strncmp(argv[1], "-i", 2)) | ^~~~~~~ main.c:110:38: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 110 | else if (!strncmp(argv[1], "-i", 2)) | ^ : note: built-in ‘strncmp’ declared here main.c:112:11: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 112 | if (strlen(argv[1]) > 2) | ^~~~~~ main.c:112:11: warning: incompatible implicit declaration of built-in function ‘strlen’ main.c:42:1: note: include ‘’ or provide a declaration of ‘strlen’ 41 | #include "dgdb.h" +++ |+#include 42 | main.c:117:38: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 117 | else if (!strncmp(argv[1], "-j", 2)) | ^ : note: built-in ‘strncmp’ declared here main.c:119:11: warning: incompatible implicit declaration of built-in function ‘strlen’ 119 | if (strlen(argv[1]) > 2) | ^~~~~~ main.c:119:11: note: include ‘’ or provide a declaration of ‘strlen’ main.c:124:38: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 124 | else if (!strncmp(argv[1], "-+", 2)) | ^ : note: built-in ‘strncmp’ declared here main.c:129:11: warning: incompatible implicit declaration of built-in function ‘strlen’ 129 | if (strlen(argv[1]) > 2) | ^~~~~~ main.c:129:11: note: include ‘’ or provide a declaration of ‘strlen’ main.c:134:38: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 134 | else if (!strncmp(argv[1], "-m", 2)) | ^ : note: built-in ‘strncmp’ declared here main.c:136:11: warning: incompatible implicit declaration of built-in function ‘strlen’ 136 | if (strlen(argv[1]) > 2) | ^~~~~~ main.c:136:11: note: include ‘’ or provide a declaration of ‘strlen’ main.c:141:38: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 141 | else if (!strncmp(argv[1], "-I", 2)) | ^ : note: built-in ‘strncmp’ declared here main.c:149:11: warning: incompatible implicit declaration of built-in function ‘strlen’ 149 | if (strlen(argv[1]) > 2) | ^~~~~~ main.c:149:11: note: include ‘’ or provide a declaration of ‘strlen’ main.c:153:42: warning: incompatible implicit declaration of built-in function ‘strlen’ 153 | incdirs[nincdirs] = (char *)malloc(strlen(incdir)+1); | ^~~~~~ main.c:153:42: note: include ‘’ or provide a declaration of ‘strlen’ main.c:154:7: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] 154 | strcpy(incdirs[nincdirs++], incdir); | ^~~~~~ main.c:154:7: warning: incompatible implicit declaration of built-in function ‘strcpy’ main.c:154:7: note: include ‘’ or provide a declaration of ‘strcpy’ main.c:157:38: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 157 | else if (!strncmp(argv[1], "-c", 2)) | ^ : note: built-in ‘strncmp’ declared here main.c:165:11: warning: incompatible implicit declaration of built-in function ‘strlen’ 165 | if (strlen(argv[1]) > 2) | ^~~~~~ main.c:165:11: note: include ‘’ or provide a declaration of ‘strlen’ main.c:169:44: warning: incompatible implicit declaration of built-in function ‘strlen’ 169 | cmntstrs[ncmntstrs] = (char *)malloc(strlen(cmntstr)+1); | ^~~~~~ main.c:169:44: note: include ‘’ or provide a declaration of ‘strlen’ main.c:170:7: warning: incompatible implicit declaration of built-in function ‘strcpy’ 170 | strcpy(cmntstrs[ncmntstrs++], cmntstr); | ^~~~~~ main.c:170:7: note: include ‘’ or provide a declaration of ‘strcpy’ main.c:172:38: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 172 | else if (!strncmp(argv[1], "-d", 2)) | ^ : note: built-in ‘strncmp’ declared here main.c:180:11: warning: incompatible implicit declaration of built-in function ‘strlen’ 180 | if (strlen(argv[1]) > 2) | ^~~~~~ main.c:180:11: note: include ‘’ or provide a declaration of ‘strlen’ main.c:184:40: warning: incompatible implicit declaration of built-in function ‘strlen’ 184 | dbases[ndbases] = (char *)malloc(strlen(dbase)+1); | ^~~~~~ main.c:184:40: note: include ‘’ or provide a declaration of ‘strlen’ main.c:185:7: warning: incompatible implicit declaration of built-in function ‘strcpy’ 185 | strcpy(dbases[ndbases++], dbase); | ^~~~~~ main.c:185:7: note: include ‘’ or provide a declaration of ‘strcpy’ main.c:188:38: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 188 | else if (!strncmp(argv[1], "-D", 2) || !strncmp(argv[1], "-N", 2)) | ^ : note: built-in ‘strncmp’ declared here main.c:188:68: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 188 | else if (!strncmp(argv[1], "-D", 2) || !strncmp(argv[1], "-N", 2)) | ^ : note: built-in ‘strncmp’ declared here main.c:191:11: warning: incompatible implicit declaration of built-in function ‘strlen’ 191 | if (strlen(argv[1]) > 2) | ^~~~~~ main.c:191:11: note: include ‘’ or provide a declaration of ‘strlen’ main.c:201:12: warning: implicit declaration of function ‘isalpha’ [-Wimplicit-function-declaration] 201 | if (!isalpha(def[0])) | ^~~~~~~ main.c:206:36: warning: incompatible implicit declaration of built-in function ‘strlen’ 206 | defs[ndefs] = (char *)malloc(strlen(def)+2); | ^~~~~~ main.c:206:36: note: include ‘’ or provide a declaration of ‘strlen’ main.c:208:7: warning: incompatible implicit declaration of built-in function ‘strcpy’ 208 | strcpy(defs[ndefs++]+1, def); | ^~~~~~ main.c:208:7: note: include ‘’ or provide a declaration of ‘strcpy’ main.c:295:3: warning: implicit declaration of function ‘init_defs’; did you mean ‘init_db’? [-Wimplicit-function-declaration] 295 | init_defs(ndefs, defs); | ^~~~~~~~~ | init_db main.c:317:7: warning: implicit declaration of function ‘flush_filters’ [-Wimplicit-function-declaration] 317 | flush_filters(); | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -c -o dgexec.o dgexec.c dgexec.c: In function ‘sort_comp’: dgexec.c:409:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 409 | a->data[n] = (char *)ei; | ^ dgexec.c:421:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 421 | b->data[n] = (char *)ei; | ^ dgexec.c:428:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 428 | ret = (int)b->data[n] - (int)a->data[n]; | ^ dgexec.c:428:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 428 | ret = (int)b->data[n] - (int)a->data[n]; | ^ dgexec.c: In function ‘exec_stmt’: dgexec.c:689:15: warning: implicit declaration of function ‘execute’ [-Wimplicit-function-declaration] 689 | ret = execute(cn->stmts); /* Must be ELSE clause (no cond) */ | ^~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -c -o dgvar.o dgvar.c dgvar.c: In function ‘next_int’: dgvar.c:521:10: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration] 521 | while (isspace(*s)) s++; | ^~~~~~~ dgvar.c:528:12: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration] 528 | while (isdigit(*s)) s++; | ^~~~~~~ dgvar.c: In function ‘m_toupper’: dgvar.c:926:12: warning: implicit declaration of function ‘toupper’ [-Wimplicit-function-declaration] 926 | *p++ = toupper(*s++); | ^~~~~~~ dgvar.c: In function ‘m_tolower’: dgvar.c:938:12: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration] 938 | *p++ = tolower(*s++); | ^~~~~~~ dgvar.c: In function ‘m_ishexint’: dgvar.c:973:10: warning: implicit declaration of function ‘isxdigit’ [-Wimplicit-function-declaration] 973 | while (isxdigit(*s)) s++; | ^~~~~~~~ dgvar.c: In function ‘user_method’: dgvar.c:1171:3: warning: implicit declaration of function ‘execute’; did you mean ‘execle’? [-Wimplicit-function-declaration] 1171 | execute(mi->func->u.mdef.stmts); | ^~~~~~~ | execle dgvar.c: In function ‘custom_method’: dgvar.c:1200:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1200 | *ei = mte->func((int)v, t->u.meth.parms); | ^ dgvar.c:1205:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1205 | *es = (char *)mte->func((int)v, t->u.meth.parms); | ^ dgvar.c:1205:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1205 | *es = (char *)mte->func((int)v, t->u.meth.parms); | ^ dgvar.c: In function ‘invoke_method’: dgvar.c:1248:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1248 | *ei = mte->func((int)v, t->u.meth.parms); | ^ dgvar.c:1253:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1253 | *es = (char *)mte->func((int)v, t->u.meth.parms); | ^ dgvar.c:1253:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1253 | *es = (char *)mte->func((int)v, t->u.meth.parms); | ^ dgvar.c:1264:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1264 | *ei = mte->func(er == E_INT ? thisi : (int)thiss, t->u.meth.parms); | ^ dgvar.c:1269:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1269 | *es = (char *)mte->func(er == E_INT ? thisi : (int)thiss, t->u.meth.parms); | ^ dgvar.c:1269:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1269 | *es = (char *)mte->func(er == E_INT ? thisi : (int)thiss, t->u.meth.parms); | ^ dgvar.c: In function ‘set_array’: dgvar.c:1657:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1657 | erx == E_STRING ? esx : (char *)eix, | ^ dgvar.c:1658:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1658 | er == E_STRING ? es : (char *)ei); | ^ dgvar.c:1664:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1664 | o->data[1] = er == E_STRING ? es : (char *)ei; | ^ dgvar.c: In function ‘array_lookup’: dgvar.c:1734:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1734 | *ei = (int)o->data[1]; | ^ dgvar.c: In function ‘tsmalloc’: dgvar.c:1859:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 1859 | fprintf(stderr, "Temp stack overflow at %d bytes\n", ts_alloc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ | | | long int dgvar.c: In function ‘m_contents’: dgvar.c:801:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 801 | fread(r, 1, st.st_size, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dgvar.c: In function ‘m_run’: dgvar.c:886:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 886 | write(pd[1], in, strlen(in)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -c -o dgdb.o dgdb.c dgdb.c: In function ‘dbwarning’: dgdb.c:68:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 68 | fprintf(stderr, "%s:%d: %s\n", | ~^ | | | int | %ld 69 | current_file, 70 | lineno, | ~~~~~~ | | | long int dgdb.c: In function ‘dbcalloc’: dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:78:5: note: in expansion of macro ‘DBERROR’ 78 | DBERROR("Virtual memory shortage"); | ^~~~~~~ dgdb.c: In function ‘dbmalloc’: dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:86:5: note: in expansion of macro ‘DBERROR’ 86 | DBERROR("Virtual memory shortage"); | ^~~~~~~ dgdb.c: In function ‘push_char’: dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:105:9: note: in expansion of macro ‘DBERROR’ 105 | DBERROR("Virtual memory shortage"); | ^~~~~~~ dgdb.c: In function ‘makestr’: dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:151:5: note: in expansion of macro ‘DBERROR’ 151 | DBERROR("Virtual memory shortage"); | ^~~~~~~ dgdb.c: In function ‘read_to_eol’: dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:170:7: note: in expansion of macro ‘DBERROR’ 170 | DBERROR("Missing string field"); | ^~~~~~~ dgdb.c:182:10: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration] 182 | if (!isspace(c)) | ^~~~~~~ dgdb.c: In function ‘read_stringfield’: dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:220:7: note: in expansion of macro ‘DBERROR’ 220 | DBERROR("Missing string field"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:249:9: note: in expansion of macro ‘DBERROR’ 249 | DBERROR("End of file while reading string field"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:277:9: note: in expansion of macro ‘DBERROR’ 277 | DBERROR("End of file while reading string field"); | ^~~~~~~ dgdb.c: In function ‘valid_name’: dgdb.c:493:8: warning: implicit declaration of function ‘isalpha’ [-Wimplicit-function-declaration] 493 | if (!isalpha(*n)) | ^~~~~~~ dgdb.c:496:10: warning: implicit declaration of function ‘isalnum’ [-Wimplicit-function-declaration] 496 | if (!isalnum(*n) && *n != '_') | ^~~~~~~ dgdb.c: In function ‘read_record_desc’: dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:574:5: note: in expansion of macro ‘DBERROR’ 574 | DBERROR("Record name not valid (alpha {alphanumeric|underscore}*)"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:582:7: note: in expansion of macro ‘DBERROR’ 582 | DBERROR("1-char recognition string conflicts with existing 2-char"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:589:7: note: in expansion of macro ‘DBERROR’ 589 | DBERROR("2-char recognition string conflicts with existing 1-char"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:592:5: note: in expansion of macro ‘DBERROR’ 592 | DBERROR("Recognition string not 1 or 2 chars"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:602:9: note: in expansion of macro ‘DBERROR’ 602 | DBERROR("Creating object referral from field after first 32"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:629:5: note: in expansion of macro ‘DBERROR’ 629 | DBERROR("Too many fields. Probably forgot semicolon"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:631:5: note: in expansion of macro ‘DBERROR’ 631 | DBERROR("No fields defined"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:648:9: note: in expansion of macro ‘DBERROR’ 648 | DBERROR("More than one definitive field"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:658:9: note: in expansion of macro ‘DBERROR’ 658 | DBERROR("Bad definitive field specification"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:668:9: note: in expansion of macro ‘DBERROR’ 668 | DBERROR("Field name not valid (alpha {alphanumeric|underscore}*)"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:695:11: note: in expansion of macro ‘DBERROR’ 695 | DBERROR("int/resv field cannot be definitive, referring or" | ^~~~~~~ dgdb.c:706:16: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration] 706 | else if (isdigit(*p) && f->definitive) | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:711:11: note: in expansion of macro ‘DBERROR’ 711 | DBERROR("Over 1024 reserved referback list slots"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:720:9: note: in expansion of macro ‘DBERROR’ 720 | DBERROR("Unrecognised field parameter"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:724:9: note: in expansion of macro ‘DBERROR’ 724 | DBERROR("* and $ are mutually exclusive with other field parameters"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:734:11: note: in expansion of macro ‘DBERROR’ 734 | DBERROR("Reference to record type with no definitive field"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:737:11: note: in expansion of macro ‘DBERROR’ 737 | DBERROR("Object reference field not in first 32"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:775:5: note: in expansion of macro ‘DBERROR’ 775 | DBERROR("Previous record definitions refer to this, but no " | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:785:7: note: in expansion of macro ‘DBERROR’ 785 | DBERROR("Record definition not identical to previous definition"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:796:9: note: in expansion of macro ‘DBERROR’ 796 | DBERROR("Record definition not identical to previous definition"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:808:9: note: in expansion of macro ‘DBERROR’ 808 | DBERROR("Recognition string already used"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:815:9: note: in expansion of macro ‘DBERROR’ 815 | DBERROR("Recognition string already used"); | ^~~~~~~ dgdb.c: In function ‘read_record’: dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:955:13: note: in expansion of macro ‘DBERROR’ 955 | DBERROR("implied $ used in definitive field"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:957:13: note: in expansion of macro ‘DBERROR’ 957 | DBERROR("implied $ used in non-referring field"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:962:13: note: in expansion of macro ‘DBERROR’ 962 | DBERROR("$ used in definitive field"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:964:13: note: in expansion of macro ‘DBERROR’ 964 | DBERROR("$ used in non-referring field"); | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:974:13: note: in expansion of macro ‘DBERROR’ 974 | DBERROR( | ^~~~~~~ dgdb.c:62:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 | #define DBERROR(s) (longjmp(jb, (int)(s))) | ^ dgdb.c:979:11: note: in expansion of macro ‘DBERROR’ 979 | DBERROR("* or $: no previous value read"); | ^~~~~~~ dgdb.c:1008:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1008 | o->data[nf] = (char *)v; | ^ dgdb.c: In function ‘read_db’: dgdb.c:1133:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1133 | (char *)sj); | ^ dgdb.c:1130:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 1130 | fprintf(stderr, "%s:%d: %s\n", | ~^ | | | int | %ld 1131 | current_file, 1132 | lineno, | ~~~~~~ | | | long int dgdb.c:1192:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘long int’ [-Wformat=] 1192 | "Record `%s' - fields:%d rbacks:%d key field:%d\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1193 | " objects created: %d", 1194 | r->name, r->nfields, r->nrbacks, r->definitive, r->nobj); | ~~~~~~~ | | | long int dgdb.c:1193:32: note: format string is defined here 1193 | " objects created: %d", | ~^ | | | int | %ld dgdb.c:1196:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 1196 | fprintf(stderr, " (%d unique)\n", r->nuniq); | ~^ ~~~~~~~~ | | | | int long int | %ld x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -c -o dgmeth.o dgmeth.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -c -o dgfilt.o dgfilt.c dgfilt.c: In function ‘filter’: dgfilt.c:164:12: warning: implicit declaration of function ‘invoke_method’ [-Wimplicit-function-declaration] 164 | er = invoke_method(&ei, &es, f->m); | ^~~~~~~~~~~~~ dgfilt.c: In function ‘create_filt’: dgfilt.c:207:5: warning: ‘return’ with no value, in function returning non-void 207 | return; | ^~~~~~ dgfilt.c:203:15: note: declared here 203 | static filt * create_filt(int bufsize) | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -c -o dglex.o dgscan.c dgscan.c: In function ‘push_file’: dgscan.c:326:10: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration] 326 | while (isspace(*fn)) fn++; | ^~~~~~~ dgscan.c: In function ‘yylex’: dgscan.c:481:8: warning: implicit declaration of function ‘toupper’ [-Wimplicit-function-declaration] 481 | if (toupper(yytext[yyleng-1]) == 'K') | ^~~~~~~ dgscan.c:558:30: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration] 558 | while (isspace(*strp) || isdigit(*strp)) | ^~~~~~~ dgscan.c: In function ‘yylook’: dgscan.c:731:7: warning: implicit declaration of function ‘isalpha’ [-Wimplicit-function-declaration] 731 | if (isalpha(c)) | ^~~~~~~ dgscan.c:753:16: warning: implicit declaration of function ‘isxdigit’ [-Wimplicit-function-declaration] 753 | if (!isxdigit(c)) | ^~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed dgparse.o main.o dgexec.o dgvar.o dgdb.o dgmeth.o dgfilt.o dglex.o -o cook /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dglex.o:(.bss+0x3c8): multiple definition of `yylval'; dgparse.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dglex.o: in function `push_file': dgscan.c:(.text+0x2da): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dgscan.c:(.text+0x2ca): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead collect2: error: ld returned 1 exit status make[1]: *** [Makefile:29: cook] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-text/cook-1.0.2-r1/work/cook-1.0.2/src' make: *** [Makefile:59: cook] Error 2 * ERROR: app-text/cook-1.0.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/cook-1.0.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/cook-1.0.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:cook-1.0.2-r1:20200213-170712.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/cook-1.0.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/cook-1.0.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-text/cook-1.0.2-r1/work/cook-1.0.2' * S: '/var/tmp/portage/app-text/cook-1.0.2-r1/work/cook-1.0.2'