>>> Building on exopi-2 under textproc/spiff DIST = [textproc/spiff:spiff-1.0.tar.gz] FULLPKGNAME = spiff-1.0p1 distfiles size=48291 >>> Running build in textproc/spiff at 1764833294.87 ===> textproc/spiff ===> Building from scratch spiff-1.0p1 ===> Verifying specs: c m ===> found c.102.2 m.10.1 ===> Checking files for spiff-1.0p1 `/exopi-cvs/ports/distfiles/spiff-1.0.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for spiff-1.0p1 ===> Patching for spiff-1.0p1 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.orig Mon May 2 00:51:17 1994 |+++ Makefile Fri Jun 24 18:08:15 2011 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 18. Hunk #2 succeeded at 75. Hunk #3 succeeded at 96. Hunk #4 succeeded at 107. done ===> Applying OpenBSD patch patch-command_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- command.c.orig Wed Sep 23 20:06:51 1998 |+++ command.c Fri Jun 24 19:02:50 2011 -------------------------- Patching file command.c using Plan A... Hunk #1 succeeded at 12. Hunk #2 succeeded at 173. done ===> Applying OpenBSD patch patch-comment_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- comment.c.orig Mon Feb 5 21:17:15 1990 |+++ comment.c Fri Jun 24 19:11:49 2011 -------------------------- Patching file comment.c using Plan A... Hunk #1 succeeded at 12. done ===> Applying OpenBSD patch patch-compare_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- compare.c.orig Mon Feb 5 21:17:15 1990 |+++ compare.c Fri Jun 24 18:05:34 2011 -------------------------- Patching file compare.c using Plan A... Hunk #1 succeeded at 17. Hunk #2 succeeded at 50. Hunk #3 succeeded at 85. Hunk #4 succeeded at 113. done ===> Applying OpenBSD patch patch-exact_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- exact.c.orig Fri Jun 24 19:01:09 2011 |+++ exact.c Fri Jun 24 19:01:20 2011 -------------------------- Patching file exact.c using Plan A... Hunk #1 succeeded at 11 with fuzz 1. done ===> Applying OpenBSD patch patch-float_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- float.c.orig Fri Jun 24 18:59:32 2011 |+++ float.c Fri Jun 24 19:00:15 2011 -------------------------- Patching file float.c using Plan A... Hunk #1 succeeded at 12. done ===> Applying OpenBSD patch patch-line_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- line.c.orig Fri Jun 24 19:03:33 2011 |+++ line.c Fri Jun 24 19:03:44 2011 -------------------------- Patching file line.c using Plan A... Hunk #1 succeeded at 12. done ===> Applying OpenBSD patch patch-misc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- misc.c.orig Fri Jun 24 19:04:01 2011 |+++ misc.c Fri Jun 24 19:04:18 2011 -------------------------- Patching file misc.c using Plan A... Hunk #1 succeeded at 12. done ===> Applying OpenBSD patch patch-misc_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- misc.h.orig Wed Sep 23 20:07:19 1998 |+++ misc.h Mon Sep 5 15:21:26 2005 -------------------------- Patching file misc.h using Plan A... Hunk #1 succeeded at 33. done ===> Applying OpenBSD patch patch-output_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- output.c.orig Mon Feb 5 21:17:18 1990 |+++ output.c Fri Jun 24 19:06:40 2011 -------------------------- Patching file output.c using Plan A... Hunk #1 succeeded at 12. done ===> Applying OpenBSD patch patch-parse_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- parse.c.orig Mon Feb 5 21:17:19 1990 |+++ parse.c Fri Jun 24 19:09:49 2011 -------------------------- Patching file parse.c using Plan A... Hunk #1 succeeded at 11 with fuzz 1. Hunk #2 succeeded at 69. Hunk #3 succeeded at 76. done ===> Applying OpenBSD patch patch-spiff_1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- spiff.1.orig Mon Feb 5 21:17:23 1990 |+++ spiff.1 Mon Sep 5 15:21:26 2005 -------------------------- Patching file spiff.1 using Plan A... Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-spiff_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- spiff.c.orig Mon Feb 5 21:17:20 1990 |+++ spiff.c Fri Jun 24 18:58:34 2011 -------------------------- Patching file spiff.c using Plan A... Hunk #1 succeeded at 13. Hunk #2 succeeded at 28. Hunk #3 succeeded at 40. Hunk #4 succeeded at 121. Hunk #5 succeeded at 175. done ===> Applying OpenBSD patch patch-strings_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- strings.c.orig Fri Jun 24 19:00:26 2011 |+++ strings.c Fri Jun 24 19:00:49 2011 -------------------------- Patching file strings.c using Plan A... Hunk #1 succeeded at 12. done ===> Applying OpenBSD patch patch-tol_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tol.c.orig Fri Jun 24 19:03:05 2011 |+++ tol.c Fri Jun 24 19:03:18 2011 -------------------------- Patching file tol.c using Plan A... Hunk #1 succeeded at 11 with fuzz 1. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for spiff-1.0p1 ===> Configuring for spiff-1.0p1 ===> Building for spiff-1.0p1 cc -O2 -pipe -DNOCHATTER -c spiff.c spiff.c:84:10: warning: call to undeclared function 'L_init_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | (void) L_init_file(i,filename[i]); | ^ spiff.c:89:15: warning: passing arguments to 'P_file_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | P_file_parse(i,0,L_getrlmax(i),_Y_flags); | ^ spiff.c:94:10: warning: call to undeclared function 'V_visual'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | return(V_visual(_Y_flags)); | ^ spiff.c:112:24: warning: passing arguments to 'Q_do_exact' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | edit_end = Q_do_exact(K_gettmax(0),K_gettmax(1), | ^ spiff.c:117:25: warning: passing arguments to 'G_do_miller' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | edit_end = G_do_miller(K_gettmax(0), K_gettmax(1), | ^ spiff.c:123:11: warning: passing arguments to 'O_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | O_output(edit_end,_Y_flags); | ^ spiff.c:154:11: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | C_addcmd(buf); | ^ spiff.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | _Y_cmdlines(from) | ^ spiff.c:213:5: warning: passing arguments to '_T_addtol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | T_defatol(ptr); | ^ ./tol.h:57:31: note: expanded from macro 'T_defatol' 57 | #define T_defatol(x) _T_addtol(&_T_gtol,T_ABSOLUTE,x) | ^ spiff.c:217:5: warning: passing arguments to '_T_addtol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | T_defrtol(ptr); | ^ ./tol.h:58:31: note: expanded from macro 'T_defrtol' 58 | #define T_defrtol(x) _T_addtol(&_T_gtol,T_RELATIVE,x) | ^ spiff.c:220:5: warning: passing arguments to '_T_addtol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | T_defitol(); | ^ ./tol.h:59:30: note: expanded from macro 'T_defitol' 59 | #define T_defitol() _T_addtol(&_T_gtol,T_IGNORE,(char*)NULL) | ^ spiff.c:237:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 237 | extern FILE *fopen(); | ^ spiff.c:244:13: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | Z_fatal("can't open command file\n"); | ^ spiff.c:249:14: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | C_addcmd(buf); | ^ spiff.c:259:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | C_addcmd("literal \" \" \\ "); | ^ spiff.c:260:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | C_addcmd("comment /* */ "); | ^ spiff.c:261:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | C_addcmd("literal && "); | ^ spiff.c:262:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | C_addcmd("literal || "); | ^ spiff.c:263:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | C_addcmd("literal <= "); | ^ spiff.c:264:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | C_addcmd("literal >= "); | ^ spiff.c:265:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | C_addcmd("literal != "); | ^ spiff.c:266:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | C_addcmd("literal == "); | ^ spiff.c:267:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | C_addcmd("literal -- "); | ^ spiff.c:268:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | C_addcmd("literal ++ "); | ^ spiff.c:269:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | C_addcmd("literal << "); | ^ spiff.c:270:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | C_addcmd("literal >> "); | ^ spiff.c:271:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | C_addcmd("literal -> "); | ^ spiff.c:272:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | C_addcmd("addalpha _ "); | ^ spiff.c:273:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | C_addcmd("tol a0 "); | ^ spiff.c:280:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | C_addcmd("literal ' ' \\ "); | ^ spiff.c:281:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | C_addcmd("comment # $ "); | ^ spiff.c:282:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | C_addcmd("tol a0 "); | ^ spiff.c:289:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | C_addcmd("literal ' ' ' "); | ^ spiff.c:290:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | C_addcmd("comment ^C $ "); | ^ spiff.c:291:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | C_addcmd("tol a0 "); | ^ spiff.c:298:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | C_addcmd("literal \" \" "); | ^ spiff.c:299:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | C_addcmd("comment ; $ "); | ^ spiff.c:300:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | C_addcmd("tol a0 "); | ^ spiff.c:307:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | C_addcmd("literal ' ' "); | ^ spiff.c:308:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | C_addcmd("literal \" \" "); | ^ spiff.c:309:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | C_addcmd("comment (* *) "); | ^ spiff.c:310:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | C_addcmd("literal := "); | ^ spiff.c:311:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | C_addcmd("literal <> "); | ^ spiff.c:312:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | C_addcmd("literal <= "); | ^ spiff.c:313:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | C_addcmd("literal >= "); | ^ spiff.c:314:13: warning: passing arguments to 'C_addcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | C_addcmd("tol a0 "); | ^ spiff.c:326:14: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 326 | *max_d = atoi(&argv[1][1]); | ^ spiff.c:329:12: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | Z_fatal("don't understand arguments\n"); | ^ spiff.c:335:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | Z_fatal ("spiff requires two file names.\n"); | ^ 49 warnings generated. cc -O2 -pipe -DNOCHATTER -c output.c output.c:55:7: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | if (!isatty(1)) | ^ output.c:64:13: warning: passing arguments to 'Z_complain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | Z_complain("can't find TERM entry in environment\n"); | ^ output.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | _O_pchars(line,start,end) | ^ output.c:177:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | static | ~~~~~~ | int 177 | _O_con_line(numb,flags,filenum) | ^ output.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] output.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | _O_convert(ptr) | ^ output.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | _O_get_text(file,index,flags) | ^ output.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | _O_do_lines(start,end,file) | ^ output.c:519:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | Z_fatal("type in O_output wasn't set\n"); | ^ output.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | O_output(start,flags) | ^ cc -O2 -pipe -DNOCHATTER -c compare.c 10 warnings generated. compare.c:43:9: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | Z_fatal("this line should never be reached in com"); | ^ compare.c:58:10: warning: comparing a pointer to a null character constant; did you mean to compare to (void *)0? [-Wpointer-compare] 58 | for (;('\0' != s1) && ('\0' != *s2);s1++,s2++) | ^~~~ | NULL compare.c:79:10: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | return(strcmp(s1,s2)); | ^ compare.c:79:10: note: include the header or explicitly provide a declaration for 'strcmp' compare.c:102:18: warning: passing arguments to 'T_picktol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | T_picktol(K_gettol(p1), | ^ compare.c:105:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | Z_fatal("fell off switch in _X_cmptokens"); | ^ compare.c:126:10: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | Z_fatal("_X_floatdiff called with a null tolerance"); | ^ compare.c:145:12: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | && (F_getexp(p1) < | ^ ./float.h:21:29: note: expanded from macro 'F_getexp' 21 | #define F_getexp(x) R_getexp(x) | ^ compare.c:146:6: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | F_getexp(T_getfloat(tol_tmp))-1) | ^ ./float.h:21:29: note: expanded from macro 'F_getexp' 21 | #define F_getexp(x) R_getexp(x) | ^ compare.c:147:12: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | && (F_getexp(p2) < | ^ ./float.h:21:29: note: expanded from macro 'F_getexp' 21 | #define F_getexp(x) R_getexp(x) | ^ compare.c:148:6: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | F_getexp(T_getfloat(tol_tmp))-1))) | ^ ./float.h:21:29: note: expanded from macro 'F_getexp' 21 | #define F_getexp(x) R_getexp(x) | ^ compare.c:161:23: warning: passing arguments to 'F_floatmagadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | diff = F_floatmagadd(p1,p2); | ^ compare.c:165:20: warning: passing arguments to 'F_floatsub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | diff = F_floatsub(p1,p2); | ^ compare.c:181:8: warning: call to undeclared function 'F_floatcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | if (F_floatcmp(p1,p2) > 0) | ^ compare.c:183:27: warning: passing arguments to 'F_floatmul' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | float_tmp = F_floatmul(p1, float_tmp); | ^ compare.c:187:27: warning: passing arguments to 'F_floatmul' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | float_tmp = F_floatmul(p2, float_tmp); | ^ compare.c:192:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | Z_fatal("bad value for type of tolerance in floatdiff"); | ^ compare.c:197:7: warning: call to undeclared function 'F_floatcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | if (F_floatcmp(diff,float_tmp) <= 0) | ^ 17 warnings generated. cc -O2 -pipe -DNOCHATTER -c float.c float.c:42:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 42 | F_isfloat(str,need_decimal,allow_sign) | ^ | int float.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] float.c:233:13: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | resexp += atoi(str); | ^ float.c:252:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | Z_fatal(Z_err_buf); | ^ float.c:266:15: warning: passing arguments to 'S_trimzeros' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | S_trimzeros(man); | ^ float.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | F_atof(str,allflag) | ^ In file included from float.c:19: ./float.h:25:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | extern F_float F_atof(); | ^ float.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | _F_stradd(s1,s2) | ^ float.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | addzeros(ptr,count) | ^ float.c:372:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 372 | static needinit = 1; | ~~~~~~ ^ | int float.c:387:17: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | exp1 = R_getexp(p1); | ^ float.c:388:17: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | exp2 = R_getexp(p2); | ^ float.c:407:10: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | Z_fatal("mantissas didn't get lined up properly in floatsub"); | ^ float.c:442:10: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | Z_fatal("lengths not equal in F_floatsub"); | ^ float.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | F_floatsub(p1,p2) | ^ In file included from float.c:19: ./float.h:29:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | extern F_float F_floatsub(); | ^ float.c:505:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 505 | F_floatcmp(f1,f2) | ^ | int float.c:535:14: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | if (R_getexp(f1) < R_getexp(f2)) | ^ float.c:535:29: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | if (R_getexp(f1) < R_getexp(f2)) | ^ float.c:540:14: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | if (R_getexp(f1) > R_getexp(f2)) | ^ float.c:540:29: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | if (R_getexp(f1) > R_getexp(f2)) | ^ float.c:546:13: warning: passing arguments to 'S_trimzeros' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | S_trimzeros(man1); | ^ float.c:549:13: warning: passing arguments to 'S_trimzeros' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | S_trimzeros(man2); | ^ float.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | F_floatcmp(f1,f2) | ^ float.c:616:13: warning: passing arguments to 'S_trimzeros' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | S_trimzeros(bigman); | ^ float.c:617:13: warning: passing arguments to 'S_trimzeros' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | S_trimzeros(smallman); | ^ float.c:637:29: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | R_setexp(result,(((R_getexp(f1) + R_getexp(f2)) - len)+ strlen(prod))); | ^ float.c:637:44: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | R_setexp(result,(((R_getexp(f1) + R_getexp(f2)) - len)+ strlen(prod))); | ^ float.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | F_floatmul(f1,f2) | ^ In file included from float.c:19: ./float.h:27:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | extern F_float F_floatmul(); | ^ float.c:650:10: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 650 | _F_xor(x,y) | ^ 651 | { float.c:650:8: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 650 | _F_xor(x,y) | ^ 651 | { float.c:650:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 650 | _F_xor(x,y) | ^ | int float.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] float.c:657:14: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 657 | _F_ABSDIFF(x,y) | ^ 658 | { float.c:657:12: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 657 | _F_ABSDIFF(x,y) | ^ 658 | { float.c:657:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 657 | _F_ABSDIFF(x,y) | ^ | int float.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] float.c:697:26: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | if( _F_SAMESIGN(R_getexp(p1),R_getexp(p2))) | ^ float.c:697:39: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | if( _F_SAMESIGN(R_getexp(p1),R_getexp(p2))) | ^ float.c:699:32: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | digits = _F_ABSDIFF(R_getexp(p1),R_getexp(p2)); | ^ float.c:699:45: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | digits = _F_ABSDIFF(R_getexp(p1),R_getexp(p2)); | ^ float.c:703:30: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | digits = _F_ABSADD(R_getexp(p1),R_getexp(p2)); | ^ float.c:703:30: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] float.c:703:30: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] float.c:703:43: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | digits = _F_ABSADD(R_getexp(p1),R_getexp(p2)); | ^ float.c:703:43: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] float.c:703:43: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] float.c:711:15: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | if (R_getexp(p1) < R_getexp(p2)) | ^ float.c:711:30: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | if (R_getexp(p1) < R_getexp(p2)) | ^ float.c:720:12: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | Z_fatal(Z_err_buf); | ^ float.c:732:12: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | Z_fatal(Z_err_buf); | ^ float.c:746:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | Z_fatal(Z_err_buf); | ^ float.c:753:14: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | if (R_getexp(p1) < R_getexp(p2)) | ^ float.c:753:29: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | if (R_getexp(p1) < R_getexp(p2)) | ^ float.c:757:20: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | resexp = R_getexp(p2); | ^ float.c:762:20: warning: passing arguments to 'R_getexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | resexp = R_getexp(p1); | ^ float.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | F_floatmagadd(p1,p2) | ^ In file included from float.c:19: ./float.h:28:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | extern F_float F_floatmagadd(); | ^ 59 warnings generated. cc -O2 -pipe -DNOCHATTER -c strings.c strings.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | S_wordcpy(to,from) | ^ In file included from strings.c:17: ./strings.h:10:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern void S_wordcpy(); | ^ strings.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | S_skipword(theptr) | ^ In file included from strings.c:17: ./strings.h:11:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | extern void S_skipword(); | ^ strings.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | S_skipspace(theptr) | ^ In file included from strings.c:17: ./strings.h:12:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | extern void S_skipspace(); | ^ strings.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | S_nextword(theptr) | ^ In file included from strings.c:17: ./strings.h:13:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | extern void S_nextword(); | ^ strings.c:94:9: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | return(strncmp(s1,s2,strlen(s2))); | ^ strings.c:94:9: note: include the header or explicitly provide a declaration for 'strncmp' strings.c:94:23: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | return(strncmp(s1,s2,strlen(s2))); | ^ strings.c:94:23: note: include the header or explicitly provide a declaration for 'strlen' strings.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | S_wordcmp(s1,s2) | ^ In file included from strings.c:17: ./strings.h:14:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | extern int S_wordcmp(); | ^ strings.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | S_trimzeros(str) | ^ In file included from strings.c:17: ./strings.h:15:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | extern void S_trimzeros(); | ^ strings.c:135:12: warning: passing arguments to 'S_allocstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | S_allocstr(to,strlen(from)); | ^ strings.c:136:9: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | (void) strcpy(*to,from); | ^ strings.c:136:9: note: include the header or explicitly provide a declaration for 'strcpy' strings.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | S_savestr(to,from) | ^ In file included from strings.c:17: ./strings.h:16:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern void S_savestr(); | ^ strings.c:144:20: warning: parameter 'cnt' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 144 | S_savenstr(to,from,cnt) | ^ 145 | char **to,*from; 146 | { strings.c:147:12: warning: passing arguments to 'S_allocstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | S_allocstr(to,cnt); | ^ strings.c:148:9: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | (void) strncpy(*to,from,cnt); | ^ strings.c:148:9: note: include the header or explicitly provide a declaration for 'strncpy' strings.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | S_savenstr(to,from,cnt) | ^ In file included from strings.c:17: ./strings.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern void S_savenstr(); | ^ strings.c:162:8: warning: passing arguments to '_Z_myalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | *to = Z_ALLOC(size+1,char); | ^ ./misc.h:33:44: note: expanded from macro 'Z_ALLOC' 33 | #define Z_ALLOC(n,type) ((type*) _Z_myalloc((n) * sizeof (type))) | ^ strings.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | S_allocstr(to,size) | ^ In file included from strings.c:17: ./strings.h:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern void S_allocstr(); | ^ cc -O2 -pipe -DNOCHATTER -c exact.c 26 warnings generated. exact.c:36:11: warning: passing arguments to '_Z_myalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | script = Z_ALLOC(max_d+1,E_edit); | ^ ./misc.h:33:44: note: expanded from macro 'Z_ALLOC' 33 | #define Z_ALLOC(n,type) ((type*) _Z_myalloc((n) * sizeof (type))) | ^ exact.c:41:13: warning: passing arguments to 'Z_complain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | Z_complain(Z_err_buf); | ^ exact.c:49:22: warning: call to undeclared function 'X_com'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | while (itext),y,z) | ^ parse.c:646:15: warning: passing arguments to 'F_atof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | F_atof(K_gettext(newtoken), | ^ parse.c:652:31: warning: passing arguments to 'T_gettol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | K_settol(newtoken,T_gettol(_P_next_tol)); | ^ parse.c:659:8: warning: call to undeclared function 'T_moretols'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | if (T_moretols(_P_next_tol)) | ^ parse.c:677:4: warning: passing arguments to 'S_savenstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | K_saventext(newtoken,_P_nextchr,ptr-_P_nextchr); | ^ ./token.h:66:38: note: expanded from macro 'K_saventext' 66 | #define K_saventext(x,y,z) S_savenstr(&(x->text),y,z) | ^ parse.c:697:4: warning: passing arguments to 'S_savenstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | K_saventext(newtoken,_P_nextchr,ptr-_P_nextchr); | ^ ./token.h:66:38: note: expanded from macro 'K_saventext' 66 | #define K_saventext(x,y,z) S_savenstr(&(x->text),y,z) | ^ parse.c:706:4: warning: passing arguments to 'S_savenstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | K_saventext(newtoken,_P_nextchr,1); | ^ ./token.h:66:38: note: expanded from macro 'K_saventext' 66 | #define K_saventext(x,y,z) S_savenstr(&(x->text),y,z) | ^ parse.c:711:13: warning: passing arguments to 'K_settoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | K_settoken(_P_fnumb,K_gettmax(_P_fnumb),newtoken); | ^ parse.c:721:14: warning: passing arguments to 'Z_complain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | Z_complain(Z_err_buf); | ^ parse.c:745:9: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | Z_fatal("this line should never execute"); | ^ parse.c:790:11: warning: passing arguments to 'Z_complain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | Z_complain(Z_err_buf); | ^ parse.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | P_file_parse(num,strt,lcnt,flags) | ^ In file included from parse.c:23: ./parse.h:9:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern void P_file_parse(); | ^ 51 warnings generated. cc -O2 -pipe -DNOCHATTER -c command.c command.c:42:11: warning: passing arguments to 'S_savestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | S_savestr(&_C_cmds[_C_nextcmd++],str); | ^ command.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | C_addcmd(str) | ^ In file included from command.c:19: ./command.h:12:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | extern void C_addcmd(); | ^ command.c:58:13: warning: passing arguments to 'S_skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | S_skipspace(&str); | ^ command.c:63:17: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (!S_wordcmp(str,"command")) | ^ command.c:65:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | S_nextword(&str); | ^ command.c:68:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | Z_fatal("command word is too long"); | ^ command.c:70:12: warning: passing arguments to 'S_wordcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | S_wordcpy(_C_cmdword,str); | ^ command.c:75:21: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | else if (!S_wordcmp(str,"tol")) | ^ command.c:77:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | S_nextword(&str); | ^ command.c:78:12: warning: passing arguments to 'T_tolline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | T_tolline(str); | ^ command.c:83:21: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | else if (!S_wordcmp(str,"comment")) | ^ command.c:85:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | S_nextword(&str); | ^ command.c:88:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | Z_fatal("command word is too long"); | ^ command.c:90:11: warning: passing arguments to 'W_addcom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | W_addcom(str,0); | ^ command.c:92:21: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | else if (!S_wordcmp(str,"nestcom")) | ^ command.c:94:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | S_nextword(&str); | ^ command.c:97:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | Z_fatal("command word is too long"); | ^ command.c:99:11: warning: passing arguments to 'W_addcom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | W_addcom(str,1); | ^ command.c:104:21: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | else if (!S_wordcmp(str,"literal")) | ^ command.c:106:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | S_nextword(&str); | ^ command.c:109:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | Z_fatal("command word is too long"); | ^ command.c:111:11: warning: passing arguments to 'W_addlit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | W_addlit(str); | ^ command.c:113:21: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | else if (!S_wordcmp(str,"resetcomments")) | ^ command.c:117:21: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | else if (!S_wordcmp(str,"resetliterals")) | ^ command.c:121:21: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | else if (!S_wordcmp(str,"beginchar")) | ^ command.c:123:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | S_nextword(&str); | ^ command.c:126:21: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | else if (!S_wordcmp(str,"endchar")) | ^ command.c:128:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | S_nextword(&str); | ^ command.c:131:21: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | else if (!S_wordcmp(str,"addalpha")) | ^ command.c:133:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | S_nextword(&str); | ^ command.c:134:13: warning: passing arguments to 'P_addalpha' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | P_addalpha(str); | ^ command.c:136:43: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | else if ((0 == strlen(str)) || !S_wordcmp(str,"rem") | ^ command.c:146:10: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | Z_fatal(Z_err_buf); | ^ command.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | _C_do_a_cmd(str) | ^ command.c:184:44: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | if (('\0' != _C_cmdword[0]) && (!S_wordcmp(input_line,_C_cmdword))) | ^ command.c:187:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | S_nextword(&ptr); | ^ command.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | C_is_cmd(input_line) | ^ In file included from command.c:19: ./command.h:10:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern int C_is_cmd(); | ^ 39 warnings generated. cc -O2 -pipe -DNOCHATTER -c comment.c comment.c:62:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | Z_fatal("too many beginning of line comment delimiter sets"); | ^ comment.c:65:12: warning: passing arguments to 'S_wordcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | S_wordcpy(_W_bols[_W_nextbol].begin,str); | ^ comment.c:67:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | S_nextword(&str); | ^ comment.c:75:13: warning: passing arguments to 'S_wordcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | S_wordcpy(_W_bols[_W_nextbol].end,str); | ^ comment.c:78:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | S_nextword(&str); | ^ comment.c:79:12: warning: passing arguments to 'S_wordcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | S_wordcpy(_W_bols[_W_nextbol].escape,str); | ^ comment.c:85:14: warning: passing arguments to 'Z_complain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | Z_complain("begining of line comment won't nest"); | ^ comment.c:92:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | Z_fatal("too many comment delimiter sets"); | ^ comment.c:94:12: warning: passing arguments to 'S_wordcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | S_wordcpy(_W_coms[_W_nextcom].begin,str); | ^ comment.c:96:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | S_nextword(&str); | ^ comment.c:104:13: warning: passing arguments to 'S_wordcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | S_wordcpy(_W_coms[_W_nextbol].end,str); | ^ comment.c:107:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | S_nextword(&str); | ^ comment.c:108:12: warning: passing arguments to 'S_wordcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | S_wordcpy(_W_coms[_W_nextcom].escape,str); | ^ comment.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | W_addcom(str,nestflag) | ^ In file included from comment.c:17: ./comment.h:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | extern void W_addcom(); | ^ comment.c:137:10: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | Z_fatal("too many literal delimiter sets"); | ^ comment.c:139:11: warning: passing arguments to 'S_wordcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | S_wordcpy(_W_lits[_W_nextlit].begin,str); | ^ comment.c:141:12: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | S_nextword(&str); | ^ comment.c:142:11: warning: passing arguments to 'S_wordcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | S_wordcpy(_W_lits[_W_nextlit].end,str); | ^ comment.c:144:12: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | S_nextword(&str); | ^ comment.c:145:11: warning: passing arguments to 'S_wordcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | S_wordcpy(_W_lits[_W_nextlit].escape,str); | ^ comment.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | W_addlit(str) | ^ In file included from comment.c:17: ./comment.h:77:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | extern void W_addlit(); | ^ comment.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | _W_copybol(to,from) | ^ comment.c:182:16: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | if(!S_wordcmp(str,_W_bols[i].begin)) | ^ comment.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | W_isbol(str) | ^ In file included from comment.c:17: ./comment.h:62:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | extern W_bol W_isbol(); | ^ comment.c:191:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 191 | W_is_bol(ptr) | ^ | int comment.c:198:16: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | if(!S_wordcmp(ptr->begin,_W_bols[i].begin) && | ^ comment.c:199:14: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | !S_wordcmp(ptr->end,_W_bols[i].end) && | ^ comment.c:200:14: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | !S_wordcmp(ptr->escape,_W_bols[i].escape)) | ^ comment.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | W_is_bol(ptr) | ^ In file included from comment.c:17: ./comment.h:66:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | extern int W_is_bol(); | ^ comment.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | _W_copylit(to,from) | ^ comment.c:229:16: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if(!S_wordcmp(str,_W_lits[i].begin)) | ^ comment.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | W_islit(str) | ^ In file included from comment.c:17: ./comment.h:63:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | extern W_lit W_islit(); | ^ comment.c:238:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 238 | W_is_lit(ptr) | ^ | int comment.c:245:16: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if(!S_wordcmp(ptr->begin,_W_lits[i].begin) && | ^ comment.c:246:14: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | !S_wordcmp(ptr->end,_W_lits[i].end) && | ^ comment.c:247:14: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | !S_wordcmp(ptr->escape,_W_lits[i].escape)) | ^ comment.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | W_is_lit(ptr) | ^ In file included from comment.c:17: ./comment.h:67:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | extern int W_is_lit(); | ^ comment.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | _W_copycom(to,from) | ^ comment.c:276:16: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | if(!S_wordcmp(str,_W_coms[i].begin)) | ^ comment.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | W_iscom(str) | ^ In file included from comment.c:17: ./comment.h:64:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | extern W_com W_iscom(); | ^ comment.c:285:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 285 | W_is_com(ptr) | ^ | int comment.c:292:16: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | if(!S_wordcmp(ptr->begin,_W_coms[i].begin) && | ^ comment.c:293:14: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | !S_wordcmp(ptr->end,_W_coms[i].end) && | ^ comment.c:294:14: warning: passing arguments to 'S_wordcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | !S_wordcmp(ptr->escape,_W_coms[i].escape) && | ^ comment.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | W_is_com(ptr) | ^ In file included from comment.c:17: ./comment.h:68:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | extern int W_is_com(); | ^ comment.c:304:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 304 | W_is_nesting(ptr) | ^ | int comment.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 warnings generated. cc -O2 -pipe -DNOCHATTER -c tol.c tol.c:42:10: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | Z_fatal("T_initdefault called more than once\n"); | ^ tol.c:51:3: warning: passing arguments to '_T_addtol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | T_defatol(_T_ADEF); | ^ ./tol.h:57:31: note: expanded from macro 'T_defatol' 57 | #define T_defatol(x) _T_addtol(&_T_gtol,T_ABSOLUTE,x) | ^ tol.c:52:3: warning: passing arguments to '_T_addtol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | T_defrtol(_T_RDEF); | ^ ./tol.h:58:31: note: expanded from macro 'T_defrtol' 58 | #define T_defrtol(x) _T_addtol(&_T_gtol,T_RELATIVE,x) | ^ tol.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | _T_tolclear(addr) | ^ tol.c:97:14: warning: passing arguments to 'S_skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | S_skipspace(&str); | ^ tol.c:109:14: warning: passing arguments to 'S_skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | S_skipspace(&str); | ^ tol.c:113:14: warning: passing arguments to '_T_addtol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | _T_addtol(toladdr,T_ABSOLUTE,str); | ^ tol.c:116:14: warning: passing arguments to '_T_addtol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | _T_addtol(toladdr,T_RELATIVE,str); | ^ tol.c:119:14: warning: passing arguments to '_T_addtol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | _T_addtol(toladdr,T_IGNORE,(char*)0); | ^ tol.c:122:18: warning: passing arguments to '_T_appendtols' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | _T_appendtols(toladdr,_T_gtol); | ^ tol.c:127:12: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | Z_fatal(Z_err_buf); | ^ tol.c:132:13: warning: passing arguments to 'S_nextword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | S_nextword(&str); | ^ tol.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | _T_settol(toladdr,str) | ^ tol.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | T_setdef(str) | ^ In file included from tol.c:17: ./tol.h:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | extern void T_setdef(); | ^ tol.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | _T_nextspec(ptr) | ^ tol.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | _T_getspec(from) | ^ tol.c:207:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | Z_fatal("too many tolerances per line"); | ^ tol.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | T_tolline(str) | ^ In file included from tol.c:17: ./tol.h:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | extern void T_tolline(); | ^ tol.c:217:12: warning: parameter 'next_tol' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | T_moretols(next_tol) | ^ 218 | { tol.c:217:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | T_moretols(next_tol) | ^ | int tol.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] tol.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | T_gettol(index) | ^ In file included from tol.c:17: ./tol.h:32:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | extern T_tol T_gettol(); | ^ tol.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | T_picktol(p1,p2) | ^ In file included from tol.c:17: ./tol.h:37:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | extern T_tol T_picktol(); | ^ tol.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | _T_appendtols(to,from) | ^ In file included from tol.c:17: ./tol.h:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | extern void _T_appendtols(); | ^ tol.c:306:21: warning: passing arguments to '_Z_myalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | last = *listptr = Z_ALLOC(1,_T_struct); | ^ ./misc.h:33:44: note: expanded from macro 'Z_ALLOC' 33 | #define Z_ALLOC(n,type) ((type*) _Z_myalloc((n) * sizeof (type))) | ^ tol.c:319:18: warning: passing arguments to '_Z_myalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | T_setnext(last,Z_ALLOC(1,_T_struct)); | ^ ./misc.h:33:44: note: expanded from macro 'Z_ALLOC' 33 | #define Z_ALLOC(n,type) ((type*) _Z_myalloc((n) * sizeof (type))) | ^ tol.c:339:25: warning: passing arguments to 'F_atof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | T_setfloat(last,F_atof(str,NO_USE_ALL)); | ^ tol.c:348:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | Z_fatal(Z_err_buf); | ^ tol.c:354:6: warning: call to undeclared function 'F_floatcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | (F_floatcmp(T_getfloat(last), | ^ tol.c:355:16: warning: passing arguments to 'F_atof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | F_atof("2.0",USE_ALL)) > 0)) | ^ tol.c:359:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | Z_fatal(Z_err_buf); | ^ tol.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | _T_addtol(listptr,type,str) | ^ In file included from tol.c:17: ./tol.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | extern void _T_addtol(); | ^ 38 warnings generated. cc -O2 -pipe -DNOCHATTER -c line.c line.c:53:12: warning: passing arguments to 'S_savestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | S_savestr(&_L_bl[X],str); | ^ line.c:57:12: warning: passing arguments to 'S_savestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | S_savestr(&_L_al[X],str); | ^ line.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | _L_setrline(file,X,str) | ^ line.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | L_init_file(fnumber,fname) | ^ | int line.c:71:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 71 | extern char *fgets(); | ^ /usr/include/stdio.h:137:7: note: conflicting prototype is here 137 | char *fgets(char *, int, FILE *) | ^ line.c:81:10: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | Z_fatal(Z_err_buf); | ^ line.c:101:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | Z_fatal(Z_err_buf); | ^ line.c:109:11: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | Z_fatal(Z_err_buf); | ^ line.c:125:14: warning: passing arguments to 'Z_complain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | Z_complain(Z_err_buf); | ^ line.c:133:14: warning: passing arguments to 'Z_complain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | Z_complain(Z_err_buf); | ^ line.c:147:14: warning: passing arguments to 'Z_complain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | Z_complain(Z_err_buf); | ^ line.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | L_init_file(fnumber,fname) | ^ 12 warnings generated. cc -O2 -pipe -DNOCHATTER -c token.c token.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | K_settoken(file,index,pointer) | ^ In file included from token.c:15: ./token.h:44:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | extern void K_settoken(/*file,X,ptr*/); | ^ 2 warnings generated. cc -O2 -pipe -DNOCHATTER -c floatrep.c floatrep.c:22:11: warning: passing arguments to '_Z_myalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | retval = Z_ALLOC(1,struct R_flstr); | ^ ./misc.h:33:44: note: expanded from macro 'Z_ALLOC' 33 | #define Z_ALLOC(n,type) ((type*) _Z_myalloc((n) * sizeof (type))) | ^ floatrep.c:23:21: warning: passing arguments to '_Z_myalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | retval->mantissa = Z_ALLOC(R_MANMAX,char); | ^ ./misc.h:33:44: note: expanded from macro 'Z_ALLOC' 33 | #define Z_ALLOC(n,type) ((type*) _Z_myalloc((n) * sizeof (type))) | ^ floatrep.c:27:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | R_getexp(ptr) | ^ | int floatrep.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from floatrep.c:15: ./floatrep.h:38:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | extern int R_getexp(); | ^ 5 warnings generated. cc -O2 -pipe -DNOCHATTER -c misc.c misc.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | Z_complain(str) | ^ In file included from misc.c:16: ./misc.h:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | extern void Z_complain(); | ^ misc.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | _Z_qfatal(str) | ^ misc.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | Z_fatal(str) | ^ In file included from misc.c:16: ./misc.h:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | extern void Z_fatal(); | ^ misc.c:105:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 105 | if (tmp = (int*) calloc((unsigned)k,(unsigned)1)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:105:10: note: place parentheses around the assignment to silence this warning 105 | if (tmp = (int*) calloc((unsigned)k,(unsigned)1)) | ^ | ( ) misc.c:105:10: note: use '==' to turn this assignment into an equality comparison 105 | if (tmp = (int*) calloc((unsigned)k,(unsigned)1)) | ^ | == misc.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | _Z_myalloc(k) | ^ In file included from misc.c:16: ./misc.h:34:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | extern int *_Z_myalloc(); | ^ misc.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | Z_exceed(d) | ^ In file included from misc.c:16: ./misc.h:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | extern void Z_exceed(); | ^ 10 warnings generated. cc -c -O2 -pipe -DNOCHATTER visual.c visual.c:399:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 399 | V_visual(d) | ^ | int visual.c:402:9: warning: passing arguments to 'Z_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | Z_fatal("visual mode is not available on this machine\n"); | ^ visual.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | V_visual(d) | ^ 3 warnings generated. cc -O2 -pipe -DNOCHATTER -o spiff spiff.o output.o compare.o float.o strings.o exact.o miller.o parse.o command.o comment.o tol.o line.o token.o floatrep.o misc.o visual.o -lm ld: warning: output.c(output.o:(O_output)): warning: sprintf() is often misused, please use snprintf() ld: warning: output.c(output.o:(_O_do_lines)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: float.c(float.o:(F_floatsub)): warning: strcat() is almost always misused, please use strlcat() >>> Running package in textproc/spiff at 1764833300.96 ===> textproc/spiff ===> Faking installation for spiff-1.0p1 /exopi-obj/pobj/spiff-1.0/bin/install -c -s -m 755 /exopi-obj/pobj/spiff-1.0/spiff-1.0/spiff /exopi-obj/pobj/spiff-1.0/fake-amd64/usr/local/bin /exopi-obj/pobj/spiff-1.0/bin/install -c -m 644 /exopi-obj/pobj/spiff-1.0/spiff-1.0/spiff.1 /exopi-obj/pobj/spiff-1.0/fake-amd64/usr/local/man/man1 ===> Building package for spiff-1.0p1 Create /exopi-cvs/ports/packages/amd64/all/spiff-1.0p1.tgz Creating package spiff-1.0p1 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|****** | 9% checksumming|*********** | 18% checksumming|***************** | 27% checksumming|********************** | 36% checksumming|**************************** | 45% checksumming|********************************* | 55% checksumming|*************************************** | 64% checksumming|******************************************** | 73% checksumming|************************************************** | 82% checksumming|******************************************************* | 91% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|** | 3% archiving|********************************************** | 72% archiving|****************************************************************|100% >>> Running clean in textproc/spiff at 1764833303.95 ===> textproc/spiff ===> Cleaning for spiff-1.0p1 >>> Ended at 1764833304.98 max_stuck=0.00/build=5.91/package=3.06/clean=1.17